:root {
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-accent: #22d3ee;
    --color-accent-secondary: #a855f7;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #22d3ee 100%);
    --gradient-text: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    --gradient-border: linear-gradient(135deg, #6366f1, #a855f7, #22d3ee);
    --color-text: #f1f5f9;
    --color-text-muted: #94a3b8;
    --color-background: #0f172a;
    --color-background-light: #1e293b;
    --color-background-card: rgba(30, 41, 59, 0.8);
    --color-border: rgba(51, 65, 85, 0.5);
    --color-glow: rgba(99, 102, 241, 0.15);
    --color-navbar-bg: rgba(15, 23, 42, 0.8);
    --color-dot-grid: rgba(148, 163, 184, 0.1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

/* Light Theme */
[data-theme="light"] {
    --color-text: #1e293b;
    --color-text-muted: #475569;
    --color-background: #f8fafc;
    --color-background-light: #e2e8f0;
    --color-background-card: rgba(255, 255, 255, 0.9);
    --color-border: rgba(148, 163, 184, 0.4);
    --color-glow: rgba(99, 102, 241, 0.1);
    --color-navbar-bg: rgba(248, 250, 252, 0.9);
    --color-dot-grid: rgba(99, 102, 241, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Global background with grid pattern */
body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-background);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
    min-height: 100vh;
}

/* Dot grid overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--color-dot-grid) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-navbar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.logo:hover {
    color: var(--color-accent);
}

.logo-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.05);
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-links a:not(.btn) {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a:not(.btn):hover {
    color: var(--color-text);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    position: relative;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow:
        0 4px 15px rgba(99, 102, 241, 0.4),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(99, 102, 241, 0.5),
        0 0 0 1px rgba(99, 102, 241, 0.2);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.5);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    padding: calc(72px + var(--spacing-xl)) 0 var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
}

/* Multi-layered hero glow effect */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(99, 102, 241, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 30% 10%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 70% 10%, rgba(34, 211, 238, 0.1) 0%, transparent 60%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

/* Stats - Glassmorphic container */
.hero-stats {
    display: inline-flex;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat {
    text-align: center;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(var(--spacing-lg) / -2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--color-border), transparent);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    max-width: 160px;
    opacity: 0.8;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    font-size: 1.125rem;
}

/* Section Dividers */
.section-divider {
    display: block;
    width: 100%;
    height: 60px;
    margin: var(--spacing-md) 0;
    opacity: 0.8;
}

/* Video Showcase Section */
.video-showcase {
    padding: var(--spacing-lg) 0;
    background: transparent;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-background-card);
    aspect-ratio: 16 / 9;
}

.video-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: var(--gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.video-card:hover::before {
    opacity: 1;
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.video-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services {
    background-color: transparent;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    position: relative;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium service cards with gradient border */
.service-card {
    padding: var(--spacing-md);
    background: var(--color-background-card);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid transparent;
    background-clip: padding-box;
}

/* Gradient border effect */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.1), rgba(34, 211, 238, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
    background: var(--gradient-border);
}

/* Card glow on hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 0.15;
}

.service-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* SVG Icons */
.icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary-light);
    stroke-width: 1.5;
    fill: none;
}

/* Icon with background */
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.service-icon .icon {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Case Studies Section */
.case-studies {
    background: transparent;
    position: relative;
}

.case-studies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

.case-study-card {
    background: var(--color-background-card);
    border-radius: 16px;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.case-study-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.1), rgba(34, 211, 238, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.case-study-card:hover::before {
    opacity: 1;
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.case-study-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.case-study-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.case-study-card > p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.case-study-metrics {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

.case-study-metrics .metric {
    text-align: center;
    flex: 1;
}

.case-study-metrics .metric-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-study-metrics .metric-label {
    display: block;
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Approach Section */
.approach {
    background: transparent;
    position: relative;
}

.approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.approach-content {
    max-width: 900px;
    margin: 0 auto;
}

.approach-content .section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

/* Section Images */
.section-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
    transform: scale(1.01);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.approach-visual,
.why-visual {
    margin: var(--spacing-lg) 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.approach-visual::before,
.why-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.approach-lead {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

.approach-diagram {
    margin: var(--spacing-md) auto;
    max-width: 900px;
    padding: var(--spacing-md);
    background: rgba(30, 41, 59, 0.3);
    border-radius: 20px;
    border: 1px solid var(--color-border);
}

.approach-diagram img {
    width: 100%;
    height: auto;
    display: block;
}

[data-theme="light"] .approach-diagram {
    background: rgba(99, 102, 241, 0.08);
}

[data-theme="light"] .hero-stats {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .approach-item {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

[data-theme="light"] .contact-content {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .why-summary {
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.25);
}

[data-theme="light"] .approach-footer {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .btn-secondary {
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--color-accent-secondary);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.approach-item {
    background: rgba(30, 41, 59, 0.4);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.approach-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.approach-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.approach-item p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.approach-footer {
    text-align: center;
    color: var(--color-text);
    font-size: 1.125rem;
    font-weight: 500;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Why Choose Us Section */
.why-us {
    background: transparent;
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.why-us .section-subtitle {
    max-width: 800px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.why-card {
    background: var(--color-background-card);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.1), rgba(34, 211, 238, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.why-card:hover::before {
    opacity: 1;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.why-icon .icon {
    width: 24px;
    height: 24px;
}

.why-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.why-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.why-stat {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

.why-summary {
    text-align: center;
    color: var(--color-text);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--spacing-md);
    background: rgba(30, 41, 59, 0.3);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

/* Contact Section */
.contact {
    background-color: transparent;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 80%;
    background:
        radial-gradient(ellipse at center bottom, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

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

.contact .section-subtitle {
    max-width: 536px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.4);
    padding: var(--spacing-lg);
    border-radius: 24px;
    border: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group label .optional {
    font-weight: 400;
    color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.contact-form .contact-cta {
    margin-top: var(--spacing-xs);
    width: 100%;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background-color: transparent;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid var(--color-border);
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-logo {
    height: 40px;
    width: auto;
}

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

.footer-location {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.footer-location a {
    color: var(--color-accent);
    text-decoration: none;
}

.footer-location a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom p {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .footer-links {
        justify-content: center;
    }
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .navbar .container {
        height: 64px;
    }

    .nav-links {
        gap: var(--spacing-sm);
    }

    .hero {
        padding: calc(64px + var(--spacing-lg)) 0 var(--spacing-lg);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hero-stats {
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .stat-value {
        font-size: 2.25rem;
    }

    .stat-desc {
        max-width: 140px;
        font-size: 0.7rem;
    }

    .about-content {
        padding: var(--spacing-md);
    }

    .contact-content {
        padding: var(--spacing-md);
    }

    .why-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: var(--spacing-md);
    }

    .approach-diagram {
        padding: var(--spacing-sm);
    }

    .approach-diagram img {
        width: 100%;
        height: auto;
    }

    .approach-lead {
        font-size: 1rem;
    }
}

/* Responsive - Tablet: Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: var(--spacing-lg);
        gap: var(--spacing-sm);
        background: var(--color-navbar-bg);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a:not(.btn) {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1.125rem;
    }

    .nav-links a:not(.btn)::after {
        display: none;
    }

    .nav-links .btn {
        margin-top: var(--spacing-sm);
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-visual {
        opacity: 0.4;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .stat:not(:last-child)::after {
        display: none;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-desc {
        max-width: 100%;
    }

    .service-card,
    .approach-item,
    .why-card {
        padding: var(--spacing-sm);
    }

    .service-icon,
    .why-icon {
        width: 44px;
        height: 44px;
    }

    .service-icon .icon,
    .why-icon .icon {
        width: 22px;
        height: 22px;
    }

    .footer-logo {
        height: 32px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--color-text-muted);
}

.theme-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
    background: var(--color-glow);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
    transform: rotate(15deg);
}

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

.theme-toggle .icon-moon {
    display: block;
}

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

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

/* Light theme body background adjustment */
[data-theme="light"] body {
    background-image:
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 50%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
}

/* Light theme hero visual opacity */
[data-theme="light"] .hero-visual {
    opacity: 0.5;
}

/* Light theme section divider */
[data-theme="light"] .section-divider {
    opacity: 0.6;
}

/* Smooth theme transition */
html {
    color-scheme: dark light;
}

html, body,
.navbar,
.service-card,
.approach-item,
.why-card,
.contact-content,
.hero-stats,
.btn-secondary {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Performance: will-change for animated elements */
.hero::before {
    will-change: opacity, transform;
}

.service-card,
.why-card,
.approach-item {
    will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero::before {
        animation: none;
    }

    /* Hide animated SVG for users who prefer reduced motion */
    .hero-visual {
        opacity: 0.3;
    }
}
