/* Acavia Design System CSS - Professional AI Consultancy Theme
   Based on the design comps with full light/dark theme support */

/* Reset and base setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties for Light Theme (Default) */
:root {
    /* Brand Colors */
    --primary-teal: #22d3cc;
    --primary-dark: #231f20;
    --secondary-teal: #1ba8a3;
    --accent-coral: #ff6b6b;
    --accent-warm: #f4a261;
    --accent-purple: #8b5cf6;

    /* Extended Palette */
    --teal-50: #f0fdfc;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    /* Neutrals - Light Theme */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(34, 211, 204, 0.2);
    --shadow-glow-intense: 0 0 60px rgba(34, 211, 204, 0.4);

    /* Theme-specific variables for Light Mode */
    --bg-color: #ffffff;
    --text-color: var(--neutral-800);
    --border-color: var(--neutral-200);
    --border-light: var(--neutral-100);
    --bg-alt: var(--neutral-50);
    --text-muted: var(--neutral-600);
    --logo-display-light: block;
    --logo-display-dark: none;
}

/* Dark theme overrides */
[data-theme="dark"] {
    /* Override theme-specific variables for Dark Mode */
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --border-color: #404040;
    --border-light: #333333;
    --bg-alt: #1a1a1a;
    --text-muted: rgba(255, 255, 255, 0.6);
    --logo-display-light: none;
    --logo-display-dark: block;

    /* Adjust neutral colors for dark theme */
    --neutral-50: #171717;
    --neutral-100: #262626;
    --neutral-200: #404040;
    --neutral-300: #525252;
    --neutral-400: #737373;
    --neutral-500: #a3a3a3;
    --neutral-600: #d4d4d4;
    --neutral-700: #e5e5e5;
    --neutral-800: #f5f5f5;
    --neutral-900: #fafafa;
}

/* System preference fallback when no manual selection */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --bg-color: #0a0a0a;
        --text-color: #ffffff;
        --border-color: #404040;
        --border-light: #333333;
        --bg-alt: #1a1a1a;
        --text-muted: rgba(255, 255, 255, 0.6);
        --logo-display-light: none;
        --logo-display-dark: block;

        --neutral-50: #171717;
        --neutral-100: #262626;
        --neutral-200: #404040;
        --neutral-300: #525252;
        --neutral-400: #737373;
        --neutral-500: #a3a3a3;
        --neutral-600: #d4d4d4;
        --neutral-700: #e5e5e5;
        --neutral-800: #f5f5f5;
        --neutral-900: #fafafa;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.04;
    background: radial-gradient(circle at 25% 25%, var(--primary-teal) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, var(--accent-purple) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, var(--accent-coral) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

[data-theme="dark"] .bg-animation {
    opacity: 0.03;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.1) rotate(120deg); }
    66% { transform: scale(0.9) rotate(240deg); }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--primary-teal);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

[data-theme="dark"] .particle {
    opacity: 0.1;
}

.particle:nth-child(1) { width: 4px; height: 4px; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; left: 40%; animation-delay: 1s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 60%; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; left: 80%; animation-delay: 3s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 30%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.3; }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(34, 211, 204, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .header {
    background: rgba(10, 10, 10, 0.8);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(34, 211, 204, 0.2);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(10, 10, 10, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}

.logo-mark {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(34, 211, 204, 0.3));
    transition: all 0.3s ease;
}

.logo:hover .logo-mark {
    filter: drop-shadow(0 0 20px rgba(34, 211, 204, 0.6));
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-mono);
}

[data-theme="dark"] .logo-text {
    background: linear-gradient(135deg, var(--primary-teal), #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Logo Display Logic */
.logo-light {
    display: var(--logo-display-light);
}

.logo-dark {
    display: var(--logo-display-dark);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

[data-theme="dark"] .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link:hover {
    color: var(--primary-teal);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-teal), transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(34, 211, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 211, 204, 0.4);
}

/* Theme toggle switch styling */
.theme-toggle-container {
    display: none; /* Hidden for now - remove this line to re-enable theme toggle */
    /* display: flex; */
    align-items: center;
}

.theme-toggle-switch {
    background-color: var(--border-color);
}

[data-theme="dark"] .theme-toggle-switch {
    background-color: var(--text-muted);
}

.theme-toggle-input:checked + .theme-toggle-switch {
    background-color: var(--text-muted);
}

.theme-toggle-input:checked + .theme-toggle-switch .theme-toggle-thumb {
    transform: translateX(1.5rem);
}

[data-theme="dark"] .theme-toggle-input:checked + .theme-toggle-switch {
    background-color: var(--border-color);
}

/* Hero Section */
.hero {
    min-height: auto;
    padding: 20vh 0 8rem;
    display: flex;
    align-items: flex-start;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(34, 211, 204, 0.08) 0%, rgba(255, 255, 255, 1) 70%);
    overflow: hidden;
}

[data-theme="dark"] .hero {
    background: radial-gradient(ellipse at center, rgba(34, 211, 204, 0.05) 0%, rgba(10, 10, 10, 1) 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(34, 211, 204, 0.12) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 25%),
        linear-gradient(135deg, transparent 0%, rgba(34, 211, 204, 0.04) 50%, transparent 100%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

[data-theme="dark"] .hero::before {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(34, 211, 204, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 25%),
        linear-gradient(135deg, transparent 0%, rgba(34, 211, 204, 0.02) 50%, transparent 100%);
}

@keyframes heroGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 211, 204, 0.08);
    color: var(--secondary-teal);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(34, 211, 204, 0.2);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .hero-badge {
    background: rgba(34, 211, 204, 0.1);
    color: var(--primary-teal);
}

.hero-headline {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 50%, var(--primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShimmer 3s ease-in-out infinite alternate;
}

[data-theme="dark"] .hero-headline {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-teal) 50%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
}

@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

[data-theme="dark"] .hero-subheadline {
    color: rgba(255, 255, 255, 0.7);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(34, 211, 204, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border: 1px solid rgba(34, 211, 204, 0.3);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(34, 211, 204, 0.4);
}

.btn-secondary:hover {
    background: rgba(34, 211, 204, 0.08);
    border-color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 211, 204, 0.2);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(34, 211, 204, 0.1);
}

/* Hero Visual - AI Visualization */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-visualization {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central AI Core */
.ai-core {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(34, 211, 204, 0.4);
    animation: coreGlow 3s ease-in-out infinite alternate;
    z-index: 10;
}

.ai-core::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: corePulse 2s ease-in-out infinite;
    transform: scale(1);
}

.ai-core::after {
    content: '⚡';
    font-size: 3rem;
    color: white;
    z-index: 2;
    position: relative;
}

@keyframes coreGlow {
    0% { box-shadow: 0 0 40px rgba(34, 211, 204, 0.4); }
    100% { box-shadow: 0 0 60px rgba(34, 211, 204, 0.8); }
}

@keyframes corePulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.3); opacity: 0.1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Data Nodes in Orbit */
.data-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-teal);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34, 211, 204, 0.6);
    animation: nodeGlow 2s ease-in-out infinite alternate;
}

.data-node.large {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-purple));
}

.data-node.small {
    width: 8px;
    height: 8px;
    opacity: 0.8;
}

@keyframes nodeGlow {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* Orbital Paths */
.orbit {
    position: absolute;
    border: 1px solid rgba(34, 211, 204, 0.2);
    border-radius: 50%;
    animation: orbitRotate linear infinite;
}

.orbit-1 {
    width: 200px;
    height: 200px;
    animation-duration: 20s;
}

.orbit-2 {
    width: 280px;
    height: 280px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 360px;
    height: 360px;
    animation-duration: 40s;
}

@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Data Flow Lines */
.data-stream {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-teal), transparent);
    opacity: 0.6;
    animation: dataFlow 3s linear infinite;
    transform-origin: center;
}

.stream-1 {
    width: 150px;
    top: 45%;
    left: 15%;
    transform: rotate(25deg);
    animation-delay: 0s;
}

.stream-2 {
    width: 120px;
    top: 35%;
    right: 20%;
    transform: rotate(-30deg);
    animation-delay: 1s;
}

.stream-3 {
    width: 100px;
    bottom: 30%;
    left: 25%;
    transform: rotate(60deg);
    animation-delay: 2s;
}

.stream-4 {
    width: 130px;
    bottom: 35%;
    right: 15%;
    transform: rotate(-45deg);
    animation-delay: 1.5s;
}

@keyframes dataFlow {
    0% { opacity: 0; transform: scaleX(0) rotate(var(--rotation, 0deg)); }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; transform: scaleX(1) rotate(var(--rotation, 0deg)); }
    100% { opacity: 0; transform: scaleX(0) rotate(var(--rotation, 0deg)); }
}

/* Geometric Accents */
.geo-accent {
    position: absolute;
    border: 1px solid rgba(34, 211, 204, 0.3);
    animation: geometricFloat 6s ease-in-out infinite;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid rgba(34, 211, 204, 0.2);
    top: 20%;
    right: 25%;
    animation-delay: 0s;
}

.square {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(34, 211, 204, 0.3);
    top: 70%;
    left: 20%;
    animation-delay: 2s;
}

.diamond {
    width: 16px;
    height: 16px;
    background: rgba(34, 211, 204, 0.2);
    transform: rotate(45deg);
    top: 25%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes geometricFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

/* Positioning Data Nodes on Orbits */
.orbit-1 .data-node {
    position: absolute;
    top: -6px;
    left: 50%;
    margin-left: -6px;
}

.orbit-2 .data-node {
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -10px;
}

.orbit-3 .data-node {
    position: absolute;
    top: -4px;
    left: 50%;
    margin-left: -4px;
}

/* Additional nodes at different positions */
.orbit-1 .data-node:nth-child(2) {
    top: 50%;
    left: -6px;
    margin-top: -6px;
    margin-left: 0;
}

.orbit-2 .data-node:nth-child(2) {
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    margin-top: 0;
}

.orbit-2 .data-node:nth-child(3) {
    top: 50%;
    right: -10px;
    margin-top: -10px;
    margin-left: 0;
    left: auto;
}

.orbit-3 .data-node:nth-child(2) {
    top: 25%;
    right: 15%;
    left: auto;
    margin: 0;
}

.orbit-3 .data-node:nth-child(3) {
    bottom: 25%;
    left: 15%;
    margin: 0;
}

/* Sections */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-badge {
    display: inline-block;
    background: rgba(34, 211, 204, 0.08);
    color: var(--secondary-teal);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(34, 211, 204, 0.2);
}

[data-theme="dark"] .section-badge {
    background: rgba(34, 211, 204, 0.1);
    color: var(--primary-teal);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

[data-theme="dark"] .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

[data-theme="dark"] .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* Approach Section */
.approach-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(250, 250, 250, 1) 0%, rgba(248, 248, 248, 1) 100%);
    position: relative;
}

[data-theme="dark"] .approach-section {
    background: linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(15, 15, 15, 1) 100%);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.approach-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(34, 211, 204, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(34, 211, 204, 0.08);
    text-align: center;
}

[data-theme="dark"] .approach-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(34, 211, 204, 0.1);
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 211, 204, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

[data-theme="dark"] .approach-card::before {
    background: linear-gradient(135deg, rgba(34, 211, 204, 0.05) 0%, transparent 50%);
}

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

.approach-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 204, 0.3);
    box-shadow: 0 20px 40px rgba(34, 211, 204, 0.15);
}

[data-theme="dark"] .approach-card:hover {
    box-shadow: 0 20px 40px rgba(34, 211, 204, 0.1);
}

.approach-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(34, 211, 204, 0.3);
    position: relative;
    z-index: 2;
}

.approach-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .approach-title {
    color: white;
}

.approach-description {
    color: var(--neutral-600);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .approach-description {
    color: rgba(255, 255, 255, 0.7);
}

/* Credibility Section */
.credibility-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .credibility-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a1a 100%);
}

.credibility-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%2322d3cc" opacity="0.15"/><circle cx="20" cy="20" r="1" fill="%2322d3cc" opacity="0.15"/><circle cx="80" cy="80" r="1" fill="%2322d3cc" opacity="0.15"/></svg>');
    background-size: 100px 100px;
    animation: backgroundMove 20s linear infinite;
}

[data-theme="dark"] .credibility-section::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%2322d3cc" opacity="0.1"/><circle cx="20" cy="20" r="1" fill="%2322d3cc" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="%2322d3cc" opacity="0.1"/></svg>');
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.credibility-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(34, 211, 204, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

[data-theme="dark"] .credibility-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(34, 211, 204, 0.1);
}

.credibility-item:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 204, 0.4);
    box-shadow: 0 15px 35px rgba(34, 211, 204, 0.15);
}

[data-theme="dark"] .credibility-item:hover {
    border-color: rgba(34, 211, 204, 0.3);
    box-shadow: 0 15px 35px rgba(34, 211, 204, 0.1);
}

.credibility-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-teal), #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.credibility-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Differentiation Section */
.differentiation-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(248, 248, 248, 1) 0%, rgba(245, 245, 245, 1) 100%);
}

[data-theme="dark"] .differentiation-section {
    background: linear-gradient(180deg, rgba(15, 15, 15, 1) 0%, rgba(10, 10, 10, 1) 100%);
}

.differentiation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.differentiation-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

[data-theme="dark"] .differentiation-text h2 {
    color: white;
}

.differentiation-text p {
    color: var(--neutral-600);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

[data-theme="dark"] .differentiation-text p {
    color: rgba(255, 255, 255, 0.7);
}

.differentiation-list {
    list-style: none;
}

.differentiation-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--neutral-700);
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .differentiation-list li {
    color: rgba(255, 255, 255, 0.8);
}

.differentiation-list li:hover {
    background: rgba(34, 211, 204, 0.08);
}

[data-theme="dark"] .differentiation-list li:hover {
    background: rgba(34, 211, 204, 0.05);
}

.differentiation-list li::before {
    content: "✓";
    color: var(--primary-teal);
    font-weight: bold;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    background: rgba(34, 211, 204, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="dark"] .differentiation-list li::before {
    background: rgba(34, 211, 204, 0.1);
}

.differentiation-visual {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(34, 211, 204, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(34, 211, 204, 0.1);
}

[data-theme="dark"] .differentiation-visual {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(34, 211, 204, 0.1);
}

.code-snippet {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(34, 211, 204, 0.3);
    position: relative;
}

[data-theme="dark"] .code-snippet {
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(34, 211, 204, 0.2);
}

.code-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot:nth-child(1) { background: #ff5f56; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #27ca3f; }

.code-line {
    margin-bottom: 0.5rem;
    animation: typewriter 0.1s ease-in-out;
}

.code-comment { color: #6a9955; }
.code-keyword { color: var(--primary-teal); }
.code-string { color: #ce9178; }

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 150px 150px;
    animation: geometricMove 15s linear infinite;
}

@keyframes geometricMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(360deg); }
}

.final-cta h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.submit-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-teal);
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 204, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: white;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(34, 211, 204, 0.1);
}

.footer .logo-mark {
    width: 80px;
}

.footer-logo {
    display: block !important;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--primary-teal);
    transform: translateY(-1px);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--neutral-700);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

[data-theme="dark"] .mobile-menu-btn {
    color: white;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

[data-theme="dark"] .mobile-menu {
    background: rgba(10, 10, 10, 0.98);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

[data-theme="dark"] .mobile-nav-link {
    color: white;
}

.mobile-nav-link:hover {
    color: var(--primary-teal);
    transform: scale(1.1);
}

/* Articles Section */
.articles-section {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-card h3 {
    margin-bottom: 1rem;
}

.article-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.article-card h3 a:hover {
    color: var(--primary-teal);
}

.article-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.article-excerpt {
    color: var(--text-muted);
    line-height: 1.6;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.pagination-info {
    color: var(--text-muted);
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-visual {
        height: 300px;
    }

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

    .differentiation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .credibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

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

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

    .header-actions {
        gap: 0.5rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .cta-form {
        margin: 0 1rem;
        padding: 2rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

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

/* Loading animation */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-badge,
    .section-badge {
        border-width: 2px;
    }

    .btn-primary,
    .btn-secondary,
    .cta-button {
        border: 2px solid currentColor;
    }
}