/* ========================================
   AVA Database - Enterprise AI Theme
   Modern, Professional, AI-Focused Design
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Titillium+Web:wght@300;400;600;700&display=swap');

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

:root {
    /* Modern AI Color Palette - Dark Teal/Blue (Takyon Logo Colors) */
    --primary: #1E5A7E;        /* Deep teal-blue - Takyon primary */
    --primary-light: #2E7AA8;  /* Medium teal-blue */
    --primary-dark: #164864;   /* Darker teal */
    --secondary: #3A8FB7;      /* Desaturated blue */
    --accent: #4A9EC1;         /* Light desaturated blue */
    --accent-light: #6BB5D0;   /* Lighter blue accent */

    /* Metallic & Subtle accents */
    --metal-shine: linear-gradient(135deg, #94A3B8 0%, #64748B 50%, #475569 100%);
    --neon-teal: #2E7AA8;
    --neon-blue: #3A8FB7;
    --neon-slate: #5E7A8F;

    /* Neural/AI specific colors - Muted */
    --neural-blue: #2E7AA8;
    --neural-teal: #1E5A7E;
    --neural-slate: #4A6B82;

    /* Neutral Text Colors - Darker */
    --text-primary: #0F172A;   /* Very dark slate */
    --text-secondary: #334155;
    --text-tertiary: #64748B;
    --text-light: #94A3B8;

    /* Backgrounds - Neutral light gray */
    --bg-primary: #F8FAFC;     /* Very light cool gray */
    --bg-secondary: #F1F5F9;   /* Light gray */
    --bg-tertiary: #E2E8F0;    /* Medium light gray */
    --bg-dark: #0F172A;

    /* Borders & Dividers - Subtle with dark blue glow */
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    --border-glow: rgba(30, 90, 126, 0.2);

    /* Shadows - Subtle dark blue glow effects */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 20px -4px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 32px -8px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(30, 90, 126, 0.12);
    --shadow-glow-teal: 0 0 40px rgba(30, 90, 126, 0.15);
    --shadow-glow-blue: 0 0 40px rgba(58, 143, 183, 0.15);

    /* Spacing - Condensed */
    --container-width: 1440px;
    --section-padding: 3rem 2rem;

    /* Typography - Space Grotesk */
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'Space Grotesk', 'SF Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;

    /* Font Weights - Space Grotesk */
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Border Radius - Modern AI rounded */
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary: #3A8FB7;
    --primary-light: #4A9EC1;
    --primary-dark: #2E7AA8;
    --secondary: #6BB5D0;
    --accent: #7CC5E0;
    --accent-light: #8DD3EA;

    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-tertiary: #94A3B8;
    --text-light: #64748B;

    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --bg-dark: #020617;

    --border-light: #334155;
    --border-medium: #475569;
    --border-glow: rgba(58, 143, 183, 0.3);

    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 12px 20px -4px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 24px 32px -8px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 40px rgba(58, 143, 183, 0.3);
    --shadow-glow-teal: 0 0 40px rgba(30, 90, 126, 0.4);
    --shadow-glow-blue: 0 0 40px rgba(58, 143, 183, 0.4);
}

body {
    font-family: var(--font-primary);
    font-weight: var(--fw-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   Navigation - Enterprise Style
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(249, 250, 251, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(249, 250, 251, 0.6);
    backdrop-filter: blur(24px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

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

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-nav-primary) {
    margin-right: 0.5rem;
}

/* Make the two button elements closer together */
.nav-links .btn-nav-primary:nth-last-child(2) {
    margin-right: 0.5rem;
}

.nav-links .btn-nav-primary:last-child {
    margin-left: -1.2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--text-secondary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-links a:hover::after {
    width: 80%;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid rgba(28, 90, 128, 0.2);
    font-size: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.theme-toggle:hover {
    background-color: rgba(28, 90, 128, 0.08);
    border-color: rgba(147, 120, 195, 0.4);
    color: var(--primary);
    box-shadow: 0 0 12px rgba(147, 120, 195, 0.2);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(20deg);
}

/* Navigation Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
    perspective: 2000px;
    z-index: 10000;
}

.nav-dropdown-toggle {
    cursor: pointer;
    position: relative;
    transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .nav-dropdown-toggle {
    color: var(--primary);
}

/* Bridge gap between nav item and dropdown */
.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 1.5rem;
    background: transparent;
    z-index: 999;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0rem);
    left: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.98) 50%, rgba(240, 238, 250, 0.98) 100%);
    background-size: 200% 200%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 5px;
    box-shadow: 0 8px 32px rgba(28, 90, 128, 0.2), 0 0 40px rgba(147, 120, 195, 0.15), inset 0 0 60px rgba(168, 145, 210, 0.08);
    border: 1px solid rgba(28, 90, 128, 0.2);
    border-top: none;
    padding: 1.5rem;
    visibility: hidden;
    min-width: fit-content;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-2px) rotateX(-15deg);
    transform-origin: top center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                visibility 0s 0.6s;
    transition-delay: 0s;
    gap: 2rem;
    animation: gradient-shift-dropdown 8s ease infinite;
    display: flex;
    pointer-events: none;
    will-change: opacity, transform;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-radius: 5px;
    background: linear-gradient(90deg,
        rgba(28, 90, 128, 0.6) 0%,
        rgba(147, 120, 195, 0.8) 25%,
        rgba(168, 145, 210, 0.6) 50%,
        rgba(147, 120, 195, 0.8) 75%,
        rgba(28, 90, 128, 0.6) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: border-chase 4s linear infinite;
    background-size: 300% 100%;
}

@keyframes gradient-shift-dropdown {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes border-chase {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 300% 0%;
    }
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                visibility 0s 0s;
    transition-delay: 0s;
    pointer-events: auto;
}

.nav-dropdown-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 280px;
}

.nav-dropdown-section:only-child {
    min-width: 350px;
}

.nav-dropdown-section h4 {
    font-size: 0.75rem;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid rgba(28, 90, 128, 0.3);
    padding-bottom: 0.5rem;
    position: relative;
}

.nav-dropdown-section h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, rgba(147, 120, 195, 0.6), transparent);
    animation: h4-glow 2s ease-in-out infinite;
}

@keyframes h4-glow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.dropdown-ava-logo {
    width: 60px;
    height: auto;
    margin-right: 0.5rem;
    transition: all 0.12s ease;
    filter: grayscale(0.3);
}

.nav-dropdown-section a {
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: var(--fw-normal) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    padding: 0.75rem;
    border-radius: 5px;
    transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
    border-left: 2px solid transparent;
}

.dropdown-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.12s ease;
    filter: grayscale(0.3);
    line-height: 1;
}

.dropdown-icon-simple {
    font-size: 1rem;
    margin-right: 0.5rem;
    transition: all 0.12s ease;
    filter: grayscale(0.3);
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.nav-dropdown-section a::after {
    display: none !important;
}

.nav-dropdown-section a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, rgba(28, 90, 128, 0.1) 0%, rgba(147, 120, 195, 0.15) 50%, rgba(168, 145, 210, 0.1) 100%);
    transition: width 0.12s ease;
    z-index: -1;
}

.nav-dropdown-section a:hover {
    background: linear-gradient(90deg, rgba(28, 90, 128, 0.05) 0%, rgba(147, 120, 195, 0.08) 100%);
    color: var(--primary) !important;
    transform: translateX(4px);
    border-left-color: rgba(147, 120, 195, 0.6);
    box-shadow: 0 0 15px rgba(147, 120, 195, 0.1), inset 0 0 20px rgba(168, 145, 210, 0.05);
}

.nav-dropdown-section a:hover::before {
    width: 100%;
}

.nav-dropdown-section a:hover .dropdown-icon {
    transform: scale(1.15) rotate(5deg);
    filter: grayscale(0) drop-shadow(0 0 8px rgba(147, 120, 195, 0.4));
}

.nav-dropdown-section a:hover .dropdown-icon-simple {
    transform: scale(1.1);
    filter: grayscale(0) drop-shadow(0 0 6px rgba(147, 120, 195, 0.4));
}

.nav-dropdown-section a:hover .dropdown-ava-logo {
    transform: scale(1.05);
    filter: grayscale(0) drop-shadow(0 0 8px rgba(147, 120, 195, 0.3));
}

.dropdown-item-title {
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all 0.12s ease;
}

.nav-dropdown-section a:hover .dropdown-item-title {
    text-shadow: 0 0 8px rgba(147, 120, 195, 0.3);
}

.dropdown-item-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: var(--fw-normal);
}

/* Navigation Button Styles - Solid Dark Style */
.btn-nav-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 0.375rem;
    font-weight: var(--fw-medium);
    font-size: 0.6875rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 90, 126, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(30, 90, 126, 0.25), 0 0 20px rgba(30, 90, 126, 0.15);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.btn-nav-primary .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-nav-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: 0;
}

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

.btn-nav-primary:hover .arrow {
    transform: translateX(3px);
}

.btn-nav-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 90, 126, 0.35), 0 0 24px rgba(30, 90, 126, 0.2);
    border-color: rgba(30, 90, 126, 0.5);
}

/* Dark Theme - Navigation */
[data-theme="dark"] .navbar {
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
    position: relative;
}

[data-theme="dark"] .navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(5, 10, 20, 0.95) 0%, rgba(10, 15, 30, 0.7) 15%, rgba(15, 23, 42, 0.4) 30%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .navbar .container {
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Dark Theme - Dropdown */
[data-theme="dark"] .nav-dropdown-menu {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(30, 41, 59, 0.95) 100%);
    border-color: rgba(51, 65, 85, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Dark Theme - Tech Section (minimal overrides needed now) */

/* ========================================
   Hero Section - Modern AI Theme
   ======================================== */

.hero {
    padding: 8rem 0 4rem;
    background: #0F172A;
    position: relative;
    overflow: hidden;
    font-family: 'Titillium Web', sans-serif;
}

.hero * {
    font-family: 'Titillium Web', sans-serif;
}

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

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 75%;
}

.hero-title {
    font-size: 3rem;
    font-weight: var(--fw-bold);
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg,
        #1c5a80 0%,
        #2e7aa8 20%,
        #9378c3 40%,
        #a891d2 60%,
        #2e7aa8 80%,
        #1c5a80 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow-title 8s linear infinite;
}

@keyframes gradient-flow-title {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradient-shift 10s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-description {
    font-size: 1.125rem;
    font-weight: var(--fw-normal);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.hero .hero-description {
    color: #CBD5E1;
}

.hero-highlight {
    background: rgba(30, 90, 126, 0.05);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    margin-bottom: 1.5rem;
}

.hero .hero-highlight {
    background: rgba(58, 143, 183, 0.1);
    border-left: 3px solid #3A8FB7;
}

.hero-highlight strong {
    color: var(--primary);
    font-weight: var(--fw-semibold);
}

.hero .hero-highlight strong {
    color: #4A9EC1;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: var(--fw-medium);
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero .hero-tagline {
    color: #3A8FB7;
}

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

/* ========================================
   Buttons - Enterprise Modern
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: var(--fw-medium);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: 1px solid rgba(30, 90, 126, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(30, 90, 126, 0.25), 0 0 20px rgba(30, 90, 126, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 90, 126, 0.35), 0 0 40px rgba(30, 90, 126, 0.25);
    border-color: rgba(30, 90, 126, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: var(--primary);
    border: 1px solid rgba(30, 90, 126, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: rgba(30, 90, 126, 0.5);
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 90, 126, 0.15), 0 0 16px rgba(30, 90, 126, 0.1);
}

/* ========================================
   AI Neural Network Visualization
   ======================================== */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.6;
}

.ai-graphic {
    position: relative;
    width: 585px;
    height: 585px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Database Layers - 3D Stacked Database Representation */
.db-layers {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.db-layer {
    position: absolute;
    width: 80%;
    height: 30px;
    background: linear-gradient(90deg, transparent 0%, rgba(28, 90, 128, 0.2) 50%, transparent 100%);
    border: 1px solid rgba(28, 90, 128, 0.5);
    border-radius: 8px;
    transform-style: preserve-3d;
    animation: layer-float 4s ease-in-out infinite;
    animation-delay: calc(var(--layer) * -0.8s);
    top: calc(40% + var(--layer) * 25px);
    box-shadow: 0 0 20px rgba(28, 90, 128, 0.4), inset 0 0 10px rgba(242, 175, 76, 0.1);
}

/* Data Streams - Flowing Data */
.data-streams {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.stream-line {
    stroke: url(#streamGradient);
    stroke-width: 2;
    stroke-linecap: round;
    animation: stream-flow 2s linear infinite;
    animation-delay: var(--stream-delay);
    filter: drop-shadow(0 0 8px rgba(240, 123, 73, 0.8)) drop-shadow(0 0 4px rgba(242, 175, 76, 0.6));
}

/* Columnar Database Blocks */
.column-blocks {
    position: absolute;
    width: 80%;
    height: 60%;
    left: 10%;
    bottom: 20%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 8px;
}

.column-block {
    width: 12%;
    height: var(--height);
    background: linear-gradient(180deg, rgba(28, 90, 128, 0.7) 0%, rgba(21, 93, 130, 0.4) 100%);
    border: 1px solid rgba(28, 90, 128, 0.6);
    border-radius: 4px 4px 0 0;
    position: relative;
    animation: column-pulse 3s ease-in-out infinite;
    animation-delay: calc(var(--col) * 0.2s);
    box-shadow: 0 0 25px rgba(28, 90, 128, 0.5), 0 0 15px rgba(242, 175, 76, 0.2);
}

.column-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f2af4c, #f07b49);
    opacity: 0;
    animation: data-load 2s ease-in-out infinite;
    animation-delay: calc(var(--col) * 0.2s);
    box-shadow: 0 0 10px rgba(242, 175, 76, 0.8);
}

/* Neural Network Connections */
.neural-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    pointer-events: none;
}

.connection-path {
    fill: none;
    stroke: #1c5a80;
    stroke-width: 1.5;
    stroke-dasharray: 10 5;
    animation: path-flow 4s linear infinite;
    animation-delay: var(--path-delay);
    filter: drop-shadow(0 0 8px rgba(28, 90, 128, 0.7)) drop-shadow(0 0 4px rgba(242, 175, 76, 0.3));
}

/* Data Nodes */
.data-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #f2af4c 0%, #f07b49 50%, transparent 70%);
    border-radius: 50%;
    left: var(--node-x);
    top: var(--node-y);
    animation: node-pulse 2s ease-in-out infinite;
    animation-delay: var(--node-delay);
    box-shadow: 0 0 20px rgba(242, 175, 76, 0.9), 0 0 35px rgba(240, 123, 73, 0.5);
}

.data-node::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    border: 2px solid #f2af4c;
    border-radius: 50%;
    top: -50%;
    left: -50%;
    opacity: 0;
    animation: node-ripple 2s ease-out infinite;
    animation-delay: var(--node-delay);
}

/* Central Processing Core */
.processing-core {
    position: absolute;
    width: 120px;
    height: 120px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.core-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #1c5a80;
    border-radius: 50%;
    opacity: 0.5;
    animation: orbit-rotate 8s linear infinite;
    box-shadow: 0 0 15px rgba(28, 90, 128, 0.6), inset 0 0 10px rgba(242, 175, 76, 0.2);
}

.core-orbit:nth-child(1) {
    animation-duration: 6s;
}

.core-orbit:nth-child(2) {
    animation-duration: 8s;
    animation-direction: reverse;
}

.core-center {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #f2af4c 0%, #f07b49 50%, #1c5a80 100%);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px rgba(242, 175, 76, 0.9), 0 0 60px rgba(240, 123, 73, 0.6), 0 0 80px rgba(28, 90, 128, 0.4);
    animation: core-glow 2s ease-in-out infinite;
    border: 2px solid rgba(242, 175, 76, 0.6);
}

/* Animations */
@keyframes layer-float {
    0%, 100% {
        transform: translateY(0) rotateX(5deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) rotateX(8deg);
        opacity: 0.8;
    }
}

@keyframes stream-flow {
    0% {
        stroke-dasharray: 0 500;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dasharray: 100 500;
        stroke-dashoffset: -600;
    }
}

@keyframes column-pulse {
    0%, 100% {
        opacity: 0.7;
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

@keyframes data-load {
    0%, 100% {
        opacity: 0;
        width: 0%;
    }
    50% {
        opacity: 1;
        width: 100%;
    }
}

@keyframes path-flow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -100;
    }
}

@keyframes node-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes node-ripple {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes orbit-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes core-glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(30, 90, 126, 0.8), 0 0 60px rgba(30, 90, 126, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(30, 90, 126, 1), 0 0 80px rgba(30, 90, 126, 0.6);
    }
}

.neural-node {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--neural-teal), var(--neural-blue));
    border-radius: 50%;
    animation: float 4s ease-in-out infinite, glow-pulse 3s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(30, 90, 126, 0.35), 0 0 60px rgba(30, 90, 126, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(30, 90, 126, 0.35), 0 0 60px rgba(30, 90, 126, 0.25);
    }
    50% {
        box-shadow: 0 10px 50px rgba(30, 90, 126, 0.5), 0 0 80px rgba(30, 90, 126, 0.4);
    }
}

.neural-node::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.neural-node:nth-child(1) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
    z-index: 3;
}

.neural-node:nth-child(2) {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.8s;
    opacity: 0.85;
    width: 80px;
    height: 80px;
    z-index: 2;
}

.neural-node:nth-child(3) {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    animation-delay: 1.6s;
    opacity: 0.75;
    width: 70px;
    height: 70px;
    z-index: 2;
}

.neural-node:nth-child(4) {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2.4s;
    opacity: 0.65;
    width: 60px;
    height: 60px;
    z-index: 1;
}

.neural-node:nth-child(5) {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    animation-delay: 3.2s;
    opacity: 0.55;
    width: 50px;
    height: 50px;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ========================================
   Features Section - Enterprise Cards
   ======================================== */

.features {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.section-title {
    font-size: 2rem;
    font-weight: var(--fw-bold);
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    font-family: var(--font-primary);
}

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

.feature-card {
    background: rgba(249, 250, 251, 0.5);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(30, 90, 126, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    border-color: rgba(30, 90, 126, 0.35);
    box-shadow: 0 12px 24px rgba(30, 90, 126, 0.15), 0 0 24px rgba(30, 90, 126, 0.1);
    transform: translateY(-4px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-medium);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: grayscale(0.2);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: var(--fw-normal);
}

/* ========================================
   Code Example Section
   ======================================== */

.code-example {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.code-block {
    background: rgba(31, 41, 55, 0.95);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    overflow-x: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(107, 114, 128, 0.2);
    backdrop-filter: blur(12px);
}

.code-block pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: var(--fw-medium);
}

.code-block code {
    color: #E2E8F0;
}

.code-block .comment {
    color: #94A3B8;
    font-style: italic;
}

.code-block .keyword {
    color: #C084FC;
    font-weight: var(--fw-medium);
}

.code-block .string {
    color: #6EE7B7;
}

/* ========================================
   Technology Section
   ======================================== */

.technology {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

.tech-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-4px);
}

.tech-item h3 {
    font-size: 1.375rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 1rem;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.tech-item p {
    color: var(--text-secondary);
    font-weight: var(--fw-normal);
    line-height: 1.7;
}

/* ========================================
   CTA Section - Enterprise Grade
   ======================================== */

.cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.cta-title {
    font-size: 2rem;
    font-weight: var(--fw-bold);
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    position: relative;
}

.cta-description {
    font-size: 1rem;
    font-weight: var(--fw-normal);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.75rem;
    position: relative;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
}

.cta .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ========================================
   What We Do Section
   ======================================== */

.what-we-do {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 750px;
    margin: -1rem auto 2rem;
    line-height: 1.6;
}

/* Tech Introduction Section - Compact & Heavy Graphics */
.tech-intro-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.tech-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1440px;
    margin: 0 auto;
}

/* Left Side - Company & Stats */
.tech-intro-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-header {
    padding: 0;
    position: relative;
}

.tech-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.tech-title {
    font-size: 2rem;
    font-weight: var(--fw-bold);
    line-height: 1.3;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1.25rem 0;
}

.tech-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.tech-description strong {
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
}

/* Compact Stats with Circular Graphs */
.tech-stats-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tech-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.tech-stat-item:hover {
    transform: scale(1.05);
}

.tech-stat-visual {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-graph {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.tech-stat-item:hover .stat-graph {
    transform: scale(1.05);
}

.stat-circle {
    transition: stroke-dashoffset 1s ease;
}

.tech-stat-num {
    font-size: 0.875rem;
    font-weight: var(--fw-bold);
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.tech-stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: var(--fw-medium);
    text-align: center;
    line-height: 1.2;
}

/* Right Side - AVA Tech Card */
.tech-intro-right {
    position: relative;
}

.ava-tech-card {
    padding: 0;
    position: relative;
    overflow: visible;
}

.ava-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

.ava-tech-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(28, 90, 128, 0.2));
}

.ava-tech-title {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    margin: 0;
    color: var(--primary);
}

.ava-tech-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0 0;
    font-weight: var(--fw-normal);
}

.ava-card-description {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    padding: 0;
}

/* Tech Features Grid - Compact Boxes */
.tech-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.tech-feature-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.tech-feature-box:hover {
    transform: translateX(3px);
}

.tech-feature-icon {
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.tech-feature-text strong {
    font-size: 0.875rem;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.tech-feature-text span {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Tech Pulse Visualization */
.tech-visual-element {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    pointer-events: none;
}

.tech-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(147, 120, 195, 0.4);
    border-radius: 50%;
    animation: tech-pulse 3s ease-out infinite;
}

@keyframes tech-pulse {
    0% {
        width: 60px;
        height: 60px;
        opacity: 1;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.what-card {
    background: rgba(255, 255, 255, 0.4);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(28, 90, 128, 0.22);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.what-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(28, 90, 128, 0.2), 0 0 24px rgba(242, 175, 76, 0.15);
    border-color: rgba(242, 175, 76, 0.45);
}

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

.what-card h3 {
    font-size: 1.25rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.what-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: var(--fw-normal);
}

/* ========================================
   Product Line Section
   ======================================== */

.product-line {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.product-line-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.product-line-card {
    background: rgba(249, 250, 251, 0.6);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(28, 90, 128, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
}

.product-line-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(28, 90, 128, 0.25), 0 0 32px rgba(242, 175, 76, 0.2);
    border-color: rgba(242, 175, 76, 0.5);
}

.product-line-card.featured {
    border-color: rgba(242, 175, 76, 0.45);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 16px 48px rgba(28, 90, 128, 0.25), 0 0 40px rgba(242, 175, 76, 0.2);
}

.product-line-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-line-header h3 {
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.product-line-badge {
    font-size: 0.75rem;
    font-weight: var(--fw-semibold);
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(30, 90, 126, 0.1) 0%, rgba(58, 143, 183, 0.1) 100%);
    color: var(--primary);
    border-radius: var(--radius-md);
    border: 1px solid rgba(30, 90, 126, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(30, 90, 126, 0.08);
}

.product-line-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 0.9375rem;
}

.product-line-features {
    list-style: none;
    margin-bottom: 1.25rem;
}

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

.product-line-features li::before {
    content: "✓";
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--fw-bold);
    font-size: 1.125rem;
}

.btn-text {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: var(--fw-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-text:hover {
    gap: 0.75rem;
    color: var(--text-primary);
}

/* ========================================
   Strengths / Why AVA Section
   ======================================== */

.strengths {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.strength-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(28, 90, 128, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.strength-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(28, 90, 128, 0.2), 0 0 24px rgba(242, 175, 76, 0.15);
    border-color: rgba(242, 175, 76, 0.5);
}

.strength-number {
    font-size: 2.5rem;
    font-weight: var(--fw-bold);
    background: linear-gradient(135deg, #1c5a80, #f2af4c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.strength-card h3 {
    font-size: 1.125rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.strength-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ========================================
   Technology Deep Dive Section
   ======================================== */

.technology-deep {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.tech-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.tech-detail-card {
    background: rgba(249, 250, 251, 0.5);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(30, 90, 126, 0.18);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.tech-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 90, 126, 0.15), 0 0 20px rgba(30, 90, 126, 0.1);
    border-color: rgba(30, 90, 126, 0.35);
}

.tech-detail-card h3 {
    font-size: 1.125rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.tech-detail-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ========================================
   Use Cases Home Section
   ======================================== */

.use-cases-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.use-cases-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.use-case-home {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(30, 90, 126, 0.18);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.use-case-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(30, 90, 126, 0.12), 0 0 20px rgba(30, 90, 126, 0.08);
    border-color: rgba(30, 90, 126, 0.35);
}

.use-case-home h3 {
    font-size: 1.125rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.use-case-home p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ========================================
   CTA Actions
   ======================================== */

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Expanded Footer - Anthropic Style
   ======================================== */

.footer-expanded {
    padding: 2.5rem 0 1.5rem;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    font-size: 0.8125rem;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: var(--fw-normal);
    transition: color 0.2s ease;
}

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

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

.footer-brand .logo {
    font-size: 1.25rem;
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

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

.footer-social a {
    color: var(--text-tertiary);
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.footer-copyright p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* ========================================
   Footer - Clean Enterprise (Old - Keep for compatibility)
   ======================================== */

.footer {
    padding: 2.5rem 0;
    background: var(--bg-tertiary);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.footer p {
    color: var(--text-tertiary);
    font-weight: var(--fw-normal);
    font-size: 0.9375rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }

    .ai-graphic {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero .container {
        text-align: center;
    }

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

    .hero-visual {
        display: none;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .features-grid,
    .tech-grid,
    .what-we-do-grid,
    .product-line-grid,
    .strengths-grid,
    .tech-detail-grid,
    .use-cases-grid-home {
        grid-template-columns: 1fr;
    }

    .tech-intro-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-stats-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .tech-features-grid {
        grid-template-columns: 1fr;
    }

    .tech-visual-element {
        display: none;
    }

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

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .strength-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }

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

    .strength-number {
        font-size: 1.75rem;
    }

    .product-line-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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