/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Optimize rendering performance */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent layout shifts during interactions */
.navbar, .nav-container, .brand-logo, .brand-name, .logo-image {
    contain: layout style paint;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    background: #000000;
    min-height: 100vh;
    /* Smooth page transitions */
    transition: opacity 0.3s ease-in-out;
}

/* Page transition classes */
/* Smooth page loading */
body {
    transition: opacity 1.5s ease-out;
}

/* Color Utilities */
.text-accent-gold {
    color: #FFD700;
}

.text-accent-blue {
    color: #0066CC;
}

/* Brand Name Styling */
.brand-name {
    /* PRIMARY BRAND NAME STYLING - Navigation/Header Usage */
    background: linear-gradient(135deg, #FFD700 0%, #ffffff 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: var(--brand-size-primary);
    font-weight: 800;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    min-width: max-content;
    flex-shrink: 0;
    line-height: 1.2;
    /* Fix for button click glitch */
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
    position: relative;
    z-index: 10;
}

/* VIVACE DIGITALS TYPOGRAPHY STANDARDS */
:root {
    /* Brand Name Size Hierarchy */
    --brand-size-hero: clamp(3rem, 5vw, 4.5rem);        /* 48-72px - Hero sections (+8px) */
    --brand-size-primary: clamp(1.875rem, 2.5vw, 2.25rem); /* 30-36px - Navigation/Headers (+8px) */
    --brand-size-secondary: clamp(1.625rem, 2vw, 1.875rem); /* 26-30px - Subheaders (+8px) */
    --brand-size-body: 1.5rem;                             /* 24px - Body text mentions (+8px) */
    --brand-size-footer: clamp(1.75rem, 2vw, 2.125rem); /* 28-34px - Footer branding (+8px) */
    
    /* Accessibility Minimums */
    --brand-min-touch: 44px;                             /* Minimum touch target */
    --brand-min-readable: 16px;                          /* WCAG minimum readable size */
    
    /* Brand Colors */
    --brand-gradient: linear-gradient(135deg, #FFD700 0%, #ffffff 50%, #FFD700 100%);
    --brand-gold: #FFD700;
    --brand-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    --brand-filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
}

/* BRAND NAME CONTEXT-SPECIFIC CLASSES */

/* Hero Section Brand Name */
.brand-name--hero {
    font-size: var(--brand-size-hero);
    font-weight: 900;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--brand-shadow);
    filter: var(--brand-filter);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 1rem;
}

/* Secondary Header Brand Name */
.brand-name--secondary {
    font-size: var(--brand-size-secondary);
    font-weight: 700;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Body Text Brand Mentions */
.brand-name--body {
    font-size: var(--brand-size-body);
    font-weight: 600;
    color: var(--brand-gold);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

/* Footer Brand Name */
.brand-name--footer {
    font-size: var(--brand-size-footer);
    font-weight: 800;
    color: var(--brand-gold);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

/* Logo Integration */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 16px;
    min-width: max-content;
    flex-shrink: 0;
    /* Prevent glitch during button interactions */
    position: relative;
    z-index: 10;
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.logo-image {
    width: auto;
    height: 48px;
    max-width: 60px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    background: transparent;
    border-radius: 8px;
    transition: opacity 1.5s ease, transform 1.8s ease;
    /* Stabilize logo during interactions */
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

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

/* Fallback for missing images */
.logo-image:not([src]), 
.logo-image[src=""], 
.logo-image[src="#"] {
    display: none;
}

/* Logo loading state */
.logo-image {
    transition: opacity 0.3s ease;
}

.logo-image:not([complete]) {
    opacity: 0.5;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    /* Prevent navbar glitches */
    will-change: background, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    /* Stabilize container during interactions */
    position: relative;
    z-index: 10;
}

.nav-logo {
    flex-shrink: 0;
    min-width: max-content;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: max-content;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
    transition: left 1.8s ease;
    z-index: -1;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #0066CC;
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-0.5px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0066CC;
    border-radius: 2px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.nav-cta {
    background: #000000;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #FFD700;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 2.0s ease;
    z-index: -1;
}

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

.nav-cta:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.2);
    color: #ffffff;
    /* Ensure isolated hover effects */
    will-change: transform, box-shadow, background;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: #000000;
}

/* Hero Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7) contrast(1.2);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -2;
}

.hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -4;
}

/* Matrix Rain Animation */
.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
    overflow: hidden;
}

.matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* Matrix characters animation */
@keyframes matrixFall {
    0% {
        transform: translateY(-100vh);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.matrix-char {
    position: absolute;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff41;
    animation: matrixFall linear infinite;
    pointer-events: none;
}

/* Performance optimization for matrix animation */
.matrix-rain * {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 80vh;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    width: 100%;
}

.hero-title-main {
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease-out;
    display: block;
    width: 100%;
}

.hero-title-accent {
    color: #FFD700;
    animation: fadeInUp 1s ease-out 0.3s both;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    display: block;
    width: 100%;
}

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

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.5;
    animation: fadeInUp 1s ease-out 0.6s both;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
    justify-content: center;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    min-width: 160px;
    /* Fix button interaction glitches */
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.btn::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 2.0s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}
.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #0066CC 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    /* Ensure smooth hover without affecting other elements */
    will-change: transform, box-shadow;
}

.btn-secondary {
    background: transparent;
    color: #94a3b8;
    border: 2px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.1);
}

.btn-secondary:hover {
    background: rgba(148, 163, 184, 0.15);
    border-color: #0066CC;
    color: #0066CC;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

/* Story Text Styling */
.story-text {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* Founder Section */
.founder-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.03);
}

.founder-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Futuristic Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 1.2s ease-out 0.5s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.futuristic-visual {
    position: relative;
    height: 400px;
    overflow: hidden;
}

/* AI Particles Animation */
.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 20px 30px, #FFD700, transparent),
        radial-gradient(2px 2px at 40px 70px, #0066CC, transparent),
        radial-gradient(1px 1px at 90px 40px, #FFD700, transparent),
        radial-gradient(1px 1px at 130px 80px, #0066CC, transparent),
        radial-gradient(2px 2px at 160px 30px, #FFD700, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-10px) translateX(10px); }
    66% { transform: translateY(5px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* Neural Network Visualization */
.neural-network {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.node-1 { top: 20px; left: 50px; animation-delay: 0s; }
.node-2 { top: 80px; left: 20px; animation-delay: 0.4s; }
.node-3 { top: 140px; left: 60px; animation-delay: 0.8s; }
.node-4 { top: 60px; right: 40px; background: #0066CC; box-shadow: 0 0 20px rgba(0, 102, 204, 0.6); animation-delay: 1.2s; }
.node-5 { top: 120px; right: 20px; background: #0066CC; box-shadow: 0 0 20px rgba(0, 102, 204, 0.6); animation-delay: 1.6s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.8), rgba(0, 102, 204, 0.8));
    transform-origin: left center;
    animation: dataFlow 3s ease-in-out infinite;
}

.connection-1 {
    top: 26px;
    left: 62px;
    width: 180px;
    transform: rotate(12deg);
    animation-delay: 0s;
}

.connection-2 {
    top: 86px;
    left: 32px;
    width: 200px;
    transform: rotate(-8deg);
    animation-delay: 0.5s;
}

.connection-3 {
    top: 146px;
    left: 72px;
    width: 160px;
    transform: rotate(-15deg);
    animation-delay: 1s;
}

.connection-4 {
    top: 66px;
    left: 62px;
    width: 140px;
    transform: rotate(25deg);
    animation-delay: 1.5s;
}

@keyframes dataFlow {
    0% { opacity: 0.3; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.3; transform: scaleX(0); }
}

/* Data Streams */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.stream {
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, transparent, #FFD700, transparent);
    animation: streamFlow 4s linear infinite;
}

.stream-1 { left: 20%; height: 60px; animation-delay: 0s; }
.stream-2 { left: 60%; height: 80px; animation-delay: 1.3s; }
.stream-3 { left: 80%; height: 50px; animation-delay: 2.6s; }

@keyframes streamFlow {
    0% { transform: translateY(-100px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(400px); opacity: 0; }
}

/* Page Header */
.page-header {
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    color: #94a3b8;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.1s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.1s !important;
    }
    
    .matrix-canvas {
        display: none !important;
    }
    
    body {
        transition: none !important;
    }
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 80px 0;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
}

.lead {
    font-size: 20px;
    color: #e2e8f0;
    margin-bottom: 24px;
    font-weight: 500;
}

.content-text p {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 8px;
}

.stat-label {
    color: #94a3b8;
    font-weight: 500;
}

/* Mission & Vision */
.mission-vision {
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.mv-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.mv-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
}

.mv-card p {
    color: #94a3b8;
    line-height: 1.7;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.value-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0066CC;
}

.value-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Services Section */
.services-overview {
    padding: 80px 0;
}

/* Interactive Services Dropdown System */
.interactive-services {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 10;
}

.service-dropdown {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 1.3s ease;
    margin-bottom: 16px;
    width: 100%;
    position: relative;
    z-index: 5;
}

.service-dropdown:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.1);
}

.service-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 1.2s ease;
    min-height: 44px; /* Accessibility: minimum touch target */
    width: 100%;
    position: relative;
}

.service-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.service-header:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

.service-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #0066CC);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 1.5s ease;
}

.service-header:hover .service-number {
    transform: scale(1.05);
}

.service-title {
    flex: 1;
    min-width: 0; /* Prevent flex item from overflowing */
}

/* SERVICES DROPDOWN ACCESSIBILITY & TYPOGRAPHY FIXES */
.service-title h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
    line-height: 1.3;
    /* Ensure service titles are readable and accessible */
    min-height: var(--brand-min-touch);
    display: flex;
    align-items: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-tagline {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.service-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #94a3b8;
    transition: all 1.3s ease;
}

.chevron {
    width: 100%;
    height: 100%;
    transition: transform 1.8s ease;
}

/* Expanded state styles */
.service-dropdown.expanded .service-icon {
    color: #FFD700;
}

.service-dropdown.expanded .chevron {
    transform: rotate(180deg);
}

.service-dropdown.expanded {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Service content (dropdown content) */
.service-content {
    max-height: 0;
    overflow: visible;
    transition: max-height 1.8s ease, padding 1.8s ease, opacity 1.5s ease;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    position: relative;
    z-index: 1;
    /* Ensure content is fully visible when expanded */
}

.service-content.expanded {
    max-height: 800px; /* Significantly increased to prevent any truncation */
    padding: 24px 32px 32px;
    opacity: 1;
    overflow: visible;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    width: 100%;
}

.service-features li {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.6; /* Improved readability */
    padding: 10px 0; /* Increased padding for better touch targets */
    position: relative;
    padding-left: 24px;
    min-height: 24px; /* Ensure minimum readable height */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #FFD700;
    font-weight: bold;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .interactive-services {
        max-width: 100%;
        padding: 0 16px;
        overflow: visible;
    }
    
    .service-header {
        padding: 20px 24px;
        gap: 16px;
    }
    
    .service-content.expanded {
        padding: 20px 24px 24px;
        max-height: 900px; /* Further increased for tablet view */
        overflow: visible;
    }
    
    .service-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .service-header {
        padding: 18px 20px;
        gap: 12px;
        flex-wrap: nowrap;
    }
    
    .service-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .service-title h3 {
        font-size: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .service-tagline {
        font-size: 14px;
    }
    
    .service-content.expanded {
        padding: 16px 20px 20px;
        max-height: 1000px; /* Further increased for mobile view */
        overflow: visible;
    }
    
    .service-features li {
        font-size: 14px;
        padding: 6px 0;
        padding-left: 20px;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-icon {
        width: 20px;
        height: 20px;
    }
}

/* Animation performance optimization */
.service-dropdown,
.service-header,
.service-content,
.chevron {
    will-change: transform;
    backface-visibility: hidden;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .service-dropdown,
    .service-header,
    .service-content,
    .chevron,
    .service-number {
        transition: none !important;
    }
}

/* Process Section */
.process-section {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #0066CC);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 auto 24px;
}

.process-step h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-step p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-header p {
    color: #94a3b8;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e2e8f0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    transition: all 1.4s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #94a3b8;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
}

.error-message {
    color: #ef4444;
    font-size: 14px;
    margin-top: 4px;
    display: block;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    margin-top: 32px;
}

.success-icon {
    font-size: 48px;
    color: #22c55e;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #FFD700;
}

.form-success p {
    color: #94a3b8;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 24px;
    margin-top: 4px;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #e2e8f0;
}

.contact-details a,
.contact-details p {
    color: #94a3b8;
    text-decoration: none;
}

.contact-details a:hover {
    color: #FFD700;
}

.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #0066CC;
}

.social-icon {
    font-size: 20px;
}

.response-time {
    margin-top: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.time-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.time-label {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

.time-value {
    color: #FFD700;
    font-weight: 600;
    font-size: 14px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #e2e8f0;
}

.faq-item p {
    color: #94a3b8;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #FFD700;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #e2e8f0;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0066CC;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #94a3b8;
}

/* Enhanced Contact Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e2e8f0;
}

.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.1);
}

.form-group select option {
    background: #000000;
    color: #ffffff;
}

/* Newsletter Section Styles */
.newsletter-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.newsletter-info h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
}

.newsletter-description {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 32px;
    line-height: 1.6;
}

.newsletter-benefits {
    list-style: none;
    margin-bottom: 40px;
}

.newsletter-benefits li {
    color: #e2e8f0;
    padding: 12px 0;
    position: relative;
    padding-left: 32px;
    font-size: 16px;
    line-height: 1.5;
}

.newsletter-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
    font-size: 18px;
}

.newsletter-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.newsletter-form-container {
    background: #000000;
    border: 2px solid #FFD700;
    border-radius: 20px;
    padding: 40px;
}

.newsletter-form-container .form-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.newsletter-form-container .form-header p {
    color: #ffffff;
    margin-bottom: 32px;
}

.newsletter-form-container .form-group label {
    color: #ffffff;
}

.newsletter-form-container .form-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.newsletter-form-container .form-group input:focus {
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form-container .checkbox-label {
    color: #ffffff;
}

.newsletter-form-container .error-message {
    color: #ff6b6b;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
        max-width: 50px;
    }
    
    .brand-logo {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 36px;
        max-width: 45px;
    }
    
    .brand-logo {
        gap: 10px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        padding: 0 20px;
        min-height: 75vh;
    }
    
    .hero-content {
        max-width: 800px;
    }
    
    .hero-title {
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .hero-subtitle {
        margin-bottom: 48px;
        max-width: 600px;
    }
    
    .hero-cta {
        gap: 20px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-video {
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-container {
        padding: 0 16px;
        min-height: 70vh;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .nav-container {
        padding: 0 16px;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .nav-logo {
        flex-shrink: 0;
        min-width: max-content;
        margin-right: 16px;
    }
    
    .brand-name {
        font-size: clamp(1.125rem, 4vw, 1.325rem);
        white-space: nowrap;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 0;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-title-main, .hero-title-accent {
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid,
    .services-table {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .service-number {
        align-self: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-elements {
        height: 300px;
    }
    
    .futuristic-visual {
        height: 250px;
    }
    
    .neural-network {
        width: 250px;
        height: 150px;
    }
    
    .node {
        width: 8px;
        height: 8px;
    }
    
    .connection {
        position: relative;
        width: 100px !important;
        transform: none !important;
    }
    
    .service-benefits {
        justify-content: center;
    }
    
    .hero-video {
        opacity: 0.25;
    }
    
    .brand-name {
        font-size: 1.2em;
    }
    
}

@media (max-width: 480px) {
    .hero-container {
        min-height: 65vh;
        padding: 0 12px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        margin-bottom: 32px;
    }
    
    .hero-cta {
        gap: 12px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 15px;
        max-width: 260px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 14px;
        min-width: 140px;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .feature-card,
    .service-card,
    .contact-card,
    .mv-card {
        padding: 24px;
    }
    
    .hero-video {
        opacity: 0.2;
    }
    
    .brand-name {
        font-size: var(--brand-size-primary);
        letter-spacing: -0.01em;
        min-font-size: var(--brand-min-readable);
    }
    
    .brand-name--hero {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .brand-name--secondary {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    
    .nav-container {
        padding: 0 12px;
        min-height: 70px;
        /* Ensure minimum touch target for brand logo */
        min-height: var(--brand-min-touch);
    }
    
    .brand-logo {
        gap: 8px;
    }
    
    .logo-image {
        width: 28px;
        height: 28px;
    }
    
    .newsletter-stats {
        justify-content: center;
        gap: 24px;
    }
}