/* ============================================
   QSW LLC - Redesigned Styles
   Inspired by qsw.dev with Orange Accent
   ============================================ */

/* CSS Variables - Dark Mode (Default) */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0e0e14;
    --bg-card: #16161f;
    --accent: #FF6B00;
    --accent-dim: rgba(255, 107, 0, 0.12);
    --accent-glow: rgba(255, 107, 0, 0.3);
    --accent-strong: rgba(255, 107, 0, 0.5);
    --text-primary: #f0f0f5;
    --text-secondary: #8888a0;
    --text-muted: #555568;
    --border: #25252f;
    --gradient-accent: linear-gradient(135deg, #FF6B00 0%, #FF8C00 100%);
    --shadow: rgba(0, 0, 0, 0.3);
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #ebebef;
    --bg-card: #ffffff;
    --accent: #E55A00;
    --accent-dim: rgba(255, 107, 0, 0.1);
    --accent-glow: rgba(255, 107, 0, 0.25);
    --accent-strong: rgba(255, 107, 0, 0.4);
    --text-primary: #1a1a1f;
    --text-secondary: #555568;
    --text-muted: #8888a0;
    --border: #c0c0c8;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Light mode card borders */
[data-theme="light"] .card,
[data-theme="light"] .service-card,
[data-theme="light"] .portfolio-card,
[data-theme="light"] .venture-card,
[data-theme="light"] .value-card,
[data-theme="light"] .project-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .contact-form {
    border-width: 2px;
}

/* Light mode orange text enhancement */
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .page-header p,
[data-theme="light"] .section-subtitle,
[data-theme="light"] .cta-content p,
[data-theme="light"] .service-link,
[data-theme="light"] .section-label {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body.nav-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: auto !important;
}

html.nav-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* Noise Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 10000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Grid Background Pattern */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

[data-theme="light"] .grid-bg {
    opacity: 0.3;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
}

[data-theme="light"] nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--accent);
}

.theme-toggle .sun-icon {
    display: none;
    color: #fbbf24;
}

.theme-toggle .moon-icon {
    display: block;
    color: var(--text-secondary);
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 4rem 4rem;
}

.hero-glow {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-label {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--accent);
    text-shadow: 0 0 40px var(--accent-glow);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 30px var(--accent-dim);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* ============================================
   Page Header (Inner Pages)
   ============================================ */
.page-header {
    padding: 10rem 4rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-glow {
    display: none;
}

.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    position: relative;
}

.page-header p {
    color: var(--accent);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* ============================================
   Sections
   ============================================ */
section {
    padding: 6rem 4rem;
    position: relative;
}

section > .container {
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

.section-header-glow {
    display: none;
}

.section-label {
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
}

.section-subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-dim);
    box-shadow: 0 20px 60px -20px var(--accent-dim);
}

.card:hover::before {
    transform: scaleX(1);
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-dim);
    box-shadow: 0 20px 60px -20px var(--accent-dim);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

/* Portfolio Cards */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px -20px var(--accent-dim);
}

.portfolio-card:hover::before {
    transform: scaleX(1);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-icon {
    font-size: 4rem;
    opacity: 0.6;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Venture Cards */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.venture-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.venture-card:hover::before {
    transform: scaleX(1);
}

.venture-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-dim);
}

.venture-header {
    margin-bottom: 1rem;
}

.venture-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.venture-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.venture-status.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.venture-status.development {
    background: var(--accent-dim);
    color: var(--accent);
}

.venture-status.coming {
    background: rgba(136, 136, 160, 0.15);
    color: var(--text-secondary);
}

.venture-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.venture-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.venture-tags span {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    color: var(--text-muted);
}

/* ============================================
   Process Section
   ============================================ */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover .process-number {
    border-color: var(--accent);
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.process-content {
    flex: 1;
    padding-top: 0.5rem;
}

.process-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.process-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Tech Stack Tags
   ============================================ */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer Social Icons */
.footer-social a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.footer-social a:hover {
    color: var(--accent);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ============================================
   Footer
   ============================================ */
footer {
    padding: 5rem 4rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo img {
    height: 90px;
    width: auto;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 280px;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   About Page
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Placeholder image style */
.about-image.placeholder {
    width: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border);
    border-radius: 12px;
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: 0.7;
}

[data-theme="light"] .about-image.placeholder {
    background: linear-gradient(135deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.06) 100%);
    border-color: rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-text .btn {
    margin-top: 1rem;
}

.about-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-dim);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    text-align: center;
    padding: 6rem 4rem;
    position: relative;
}

.cta-glow {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Service Detail Pages
   ============================================ */
.service-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-detail-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-features-list {
    list-style: none;
    margin-top: 2rem;
}

.service-features-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.service-features-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 1.5rem 0;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 600;
}

/* ============================================
   Portfolio Detail Pages
   ============================================ */
.project-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px -20px var(--accent-dim);
}

.project-image {
    height: 220px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 3rem;
    opacity: 0.4;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ============================================
   404 Page
   ============================================ */
.error-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 60px var(--accent-glow);
}

.error-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    nav {
        padding: 1rem 2rem;
    }
    
    nav.scrolled {
        padding: 0.75rem 2rem;
    }
    
    .logo img {
        height: 75px;
    }
    
    .nav-links {
        gap: 2rem;
    }
    
    .footer-brand .logo img {
        height: 75px;
    }
    
    section,
    .page-header,
    .hero,
    footer,
    .cta-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-content,
    .service-detail-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }
    
    nav.scrolled {
        padding: 0.75rem 1.5rem;
    }
    
    .logo img {
        height: 60px;
    }
    
    .footer-brand .logo img {
        height: 60px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 99;
        margin: 0;
        padding: 0;
        overflow: hidden;
        overscroll-behavior: none;
        -webkit-overflow-scrolling: auto;
    }
    
    .nav-links.active {
        transform: translateX(0);
        touch-action: none;
        -webkit-touch-callout: none;
    }
    
    .nav-links li {
        list-style: none;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 101;
    }
    
    .theme-toggle {
        z-index: 101;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    section,
    .page-header,
    footer,
    .cta-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .services-grid,
    .portfolio-grid,
    .ventures-grid,
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-image {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .projects-showcase {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .process-step {
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .portfolio-grid,
    .ventures-grid,
    .projects-showcase,
    .values-grid,
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    section,
    .page-header,
    footer,
    .cta-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .page-header {
        padding-top: 7rem;
        padding-bottom: 2rem;
    }
    
    .service-card,
    .portfolio-card,
    .venture-card,
    .pricing-card,
    .value-card {
        padding: 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}
