/* ==========================================================================
   Digital Pampas - Complete CSS Stylesheet
   Modern, responsive design for Gen Z founders and venture studios
   ========================================================================== */

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
    /* Colors */
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a2e;
    --accent-bg: #16213e;
    --primary-text: #ffffff;
    --secondary-text: #b0b0b0;
    --accent-cyan: #00d4ff;
    --accent-coral: #ff6b6b;
    --accent-teal: #4ecdc4;
    --success-green: #48ff00;
    --warning-orange: #ff7300;
    
    /* Glass morphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg-hover: rgba(0, 212, 255, 0.1);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 10px 30px rgba(0, 212, 255, 0.3);
    --shadow-glow-hover: 0 15px 40px rgba(0, 212, 255, 0.4);
    
    /* Border radius */
    --radius-sm: 0.125rem;
    --radius-base: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
}

/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-rainbow {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Animations and Keyframes
   ========================================================================== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.7; 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 1; 
    }
}

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

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

@keyframes fadeInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

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

@keyframes textGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

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

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

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

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

/* ==========================================================================
   Background and Atmospheric Effects
   ========================================================================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(45deg, var(--primary-bg), var(--secondary-bg), var(--accent-bg));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

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

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.particle:nth-child(odd) {
    background: var(--accent-coral);
    animation-duration: 8s;
}

.particle:nth-child(3n) {
    background: var(--accent-teal);
    animation-duration: 10s;
}

/* Mesh gradient overlay */
.mesh-gradient {
    position: relative;
    overflow: hidden;
}

.mesh-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all var(--transition-base);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--space-lg);
}

/* Logo with mate gourd icon */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--font-size-xl);
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.logo-icon {
    width: 40px;
    height: 40px;
    transition: all var(--transition-base);
    filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
}

.logo-text {
    height: 40px;
    width: auto;
    display: block;
    transition: all var(--transition-base);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.5));
}

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

.nav-links a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-lg);
}

.nav-links a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
    background: var(--glass-bg);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

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

.nav-links a.active {
    color: var(--accent-cyan);
    background: var(--glass-bg);
}

/* Brand icon on right side */
.nav-brand-icon {
    display: flex;
    align-items: center;
    margin-left: var(--space-lg);
}

.brand-icon {
    width: 40px;
    height: 40px;
    transition: all var(--transition-base);
    filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
    cursor: pointer;
}

.brand-icon:hover {
    transform: rotate(-5deg) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.5));
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-xs);
    gap: 4px;
}

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

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

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral), var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 2s ease-in-out infinite alternate;
    line-height: 1.3;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-2xl);
    color: var(--secondary-text);
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

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

.hero-stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--accent-cyan);
    display: block;
}

.hero-stat-label {
    font-size: var(--font-size-sm);
    color: var(--secondary-text);
    margin-top: var(--space-xs);
}

/* ==========================================================================
   Buttons and CTAs
   ========================================================================== */
.cta-container {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.cta-button {
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    white-space: nowrap;
}

.cta-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    color: var(--primary-bg);
    box-shadow: var(--shadow-glow);
    font-weight: 700;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-hover);
    filter: brightness(1.1);
}

.cta-secondary {
    background: transparent;
    color: var(--primary-text);
    border: 2px solid var(--accent-cyan);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: var(--accent-cyan);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.cta-ghost {
    background: var(--glass-bg);
    color: var(--primary-text);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.cta-ghost:hover {
    background: var(--glass-bg-hover);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Button sizes */
.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-sm);
    min-width: 120px;
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-xl);
    min-width: 250px;
}

/* Glow effect for special CTAs */
.glow-on-hover {
    position: relative;
    z-index: 1;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-full);
}

.glow-on-hover:hover:before {
    opacity: 1;
}

/* ==========================================================================
   Cards and Components
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(20px);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: var(--glass-bg-hover);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-xl);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats {
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.stat-item {
    padding: var(--space-lg);
    border-radius: var(--radius-2xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: var(--glass-bg-hover);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-lg);
    color: var(--secondary-text);
    font-weight: 500;
}

/* Animated counter effect */
.stat-number.animate {
    animation: pulse 2s ease infinite;
}



/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    padding: var(--space-3xl) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-2xl);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

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

.feature-card {
    padding: var(--space-xl);
    border-radius: var(--radius-3xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-15px);
    background: var(--glass-bg-hover);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-2xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-3xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.feature-card h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-sm);
    color: var(--primary-text);
    font-weight: 700;
}

.feature-card p {
    color: var(--secondary-text);
    line-height: 1.7;
    font-size: var(--font-size-lg);
}

/* Feature card gradient border effect */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-3xl);
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover::before {
    opacity: 0.5;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.final-cta {
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 107, 0.1));
    border-radius: var(--radius-3xl);
    margin: var(--space-2xl) var(--space-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent-cyan), transparent);
    animation: spin 20s linear infinite;
    opacity: 0.1;
}

.final-cta > * {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
    color: var(--primary-text);
    font-weight: 800;
}

.final-cta p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-2xl);
    color: var(--secondary-text);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

 /* Footer Logo Section */
.footer-logo-container {
    text-align: center;
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.3));
    transition: all var(--transition-base);
}

.footer-logo:hover {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.5));
}

.footer-brand {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    color: var(--secondary-text);
    font-size: var(--font-size-base);
    font-style: italic;
}
/* ==========================================================================
   Footer
   ========================================================================== */

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-section h4 {
    color: var(--accent-cyan);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

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

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section ul li a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-section ul li a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--glass-border);
    color: var(--secondary-text);
}

/* ==========================================================================
   Loading States and Skeletons
   ========================================================================== */
.skeleton {
    background: linear-gradient(90deg, var(--glass-bg) 25%, rgba(255, 255, 255, 0.1) 50%, var(--glass-bg) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top: 3px solid var(--accent-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* ==========================================================================
   Scroll Indicators and Progress
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--glass-border);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-coral));
    width: 0%;
    transition: width 0.1s ease;
}

.scroll-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-cyan);
    color: var(--primary-bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    background: var(--accent-coral);
}

/* ==========================================================================
   Form Styles
   ========================================================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--primary-text);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--primary-text);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: var(--glass-bg-hover);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--secondary-text);
}

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

.form-error {
    color: var(--accent-coral);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

.form-success {
    color: var(--success-green);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

/* ==========================================================================
   Modal and Overlay Components
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--primary-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--glass-border);
}

.modal-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-text);
}

.modal-close {
    background: none;
    border: none;
    color: var(--secondary-text);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-base);
    transition: all var(--transition-base);
}

.modal-close:hover {
    color: var(--accent-coral);
    background: var(--glass-bg);
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-md);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    max-width: 400px;
    min-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid var(--success-green);
}

.toast.error {
    border-left: 4px solid var(--accent-coral);
}

.toast.warning {
    border-left: 4px solid var(--warning-orange);
}

.toast.info {
    border-left: 4px solid var(--accent-cyan);
}



/* ==========================================================================
   Pricing Tables
   ========================================================================== */
.pricing {
    padding: var(--space-3xl) var(--space-lg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--accent-cyan);
    transform: scale(1.05);
    background: var(--glass-bg-hover);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-sm);
    color: var(--primary-text);
}

.pricing-price {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: var(--space-xs);
}

.pricing-period {
    color: var(--secondary-text);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-lg);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    padding: var(--space-xs) 0;
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.pricing-features li::before {
    content: "✓";
    color: var(--success-green);
    font-weight: bold;
}

/* ==========================================================================
   Blog and Content Styles
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral));
    position: relative;
    overflow: hidden;
}

.blog-content {
    padding: var(--space-lg);
}

.blog-meta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--secondary-text);
}

.blog-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--primary-text);
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.blog-read-more {
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-base);
    
}

.blog-read-more:hover {
    color: var(--accent-coral);
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral));
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-bg);
}

.team-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--primary-text);
}

.team-role {
    color: var(--accent-cyan);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-sm);
}

.team-bio {
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    text-decoration: none;
    transition: all var(--transition-base);
}

.team-social a:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: var(--glass-bg-hover);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-lg);
    text-align: left;
    color: var(--primary-text);
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
}

.faq-question:hover {
    background: var(--glass-bg-hover);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--secondary-text);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-icon {
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
   
   /* ==========================================================================
   Testimonials Section - ADDED FOR MOAI DATA CASE STUDY
   ========================================================================== */

.testimonials {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--glass-bg);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials h2 {
    text-align: center;
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: var(--font-size-xl);
    color: var(--secondary-text);
    margin-bottom: var(--space-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-3xl);
    padding: var(--space-xl);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-coral));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-2xl);
    background: var(--glass-bg-hover);
}

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

.testimonial-quote-icon {
    font-size: 4rem;
    color: var(--accent-cyan);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: var(--space-sm);
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: var(--space-xl);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--primary-text);
    margin-bottom: var(--space-md);
}

.testimonial-text.highlight {
    color: var(--accent-cyan);
    font-weight: 600;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--font-size-xl);
    color: var(--primary-bg);
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-text);
    margin-bottom: 4px;
}

.author-title {
    font-size: var(--font-size-sm);
    color: var(--secondary-text);
    margin-bottom: 2px;
}

.author-company a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color var(--transition-base);
    font-weight: 600;
}

.author-company a:hover {
    color: var(--accent-coral);
    text-decoration: underline;
}

.author-company-desc {
    font-size: var(--font-size-sm);
    color: var(--secondary-text);
    margin-bottom: var(--space-xs);
}

.author-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    color: var(--secondary-text);
    font-weight: 500;
}

.linkedin-link {
    position: absolute;
    top: var(--space-lg);
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    text-decoration: none;
    transition: all var(--transition-base);
}

.linkedin-link:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
    transform: scale(1.1);
}

.case-study-badge {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    background: var(--accent-cyan);
    color: var(--primary-bg);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-md);
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    color: var(--accent-cyan);
    font-size: 10px;
}

/* Placeholder card for future testimonials */
.placeholder-card {
    border-style: dashed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.placeholder-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--accent-coral);
}

.placeholder-content {
    text-align: center;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 2px dashed var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: var(--font-size-3xl);
    color: var(--accent-coral);
    transition: all var(--transition-base);
}

.placeholder-card:hover .placeholder-icon {
    transform: rotate(90deg);
    border-color: var(--accent-coral);
}

.placeholder-content h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-sm);
    color: var(--primary-text);
}

.placeholder-content p {
    color: var(--secondary-text);
    margin-bottom: var(--space-lg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: var(--space-lg);
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .linkedin-link {
        position: static;
        margin-top: var(--space-sm);
    }
    
    .case-study-badge {
        position: static;
        margin-bottom: var(--space-md);
        display: inline-flex;
    }
    
    .placeholder-card {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .testimonial-text {
        font-size: var(--font-size-base);
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
}
   
   
@media (max-width: 1024px) {
    :root {
        --space-3xl: 4rem;
        --space-2xl: 3rem;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

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

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

    .nav-brand-icon {
        margin-left: auto;
    }

    .hero {
        padding: var(--space-3xl) var(--space-md) var(--space-xl);
        min-height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.3;
        margin-bottom: var(--space-lg);
        width: 100%;
        overflow: visible;
    }
    
    .hero p {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-xl);
    }
    
    .hero-content {
        max-width: 100%;
        width: 100%;
        padding: 0;
        overflow: visible;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .features-grid,
    .pricing-grid,
    .testimonials-grid,
    .blog-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .hero-stats {
        gap: var(--space-lg);
    }
    
    .final-cta {
        margin: var(--space-lg) var(--space-sm);
        padding: var(--space-xl) var(--space-sm);
    }
    
    .features h2,
    .final-cta h2 {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 480px) {
    :root {
        --space-3xl: 3rem;
        --space-2xl: 2rem;
        --space-xl: 1.5rem;
    }

    .hero {
        padding: var(--space-2xl) var(--space-md) var(--space-lg);
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        line-height: 1.4;
        margin-bottom: var(--space-md);
        width: 100%;
        max-width: 100%;
        overflow: visible;
        white-space: normal;
    }

    .hero p {
        font-size: var(--font-size-base);
        line-height: 1.6;
        margin-bottom: var(--space-lg);
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .stat-item {
        padding: var(--space-sm);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);
    }
    
    .feature-card,
    .testimonial-card,
    .pricing-card {
        padding: var(--space-lg);
    }
    
    .modal {
        width: 95%;
        padding: var(--space-lg);
    }
    
    .toast-container {
        left: var(--space-sm);
        right: var(--space-sm);
    }
    
    .toast {
        min-width: auto;
    }
    
    .cta-button {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--font-size-base);
    }
}

/* Extra small screens - prevent button overflow and improve text visibility */
@media (max-width: 360px) {
    .cta-button {
        min-width: 160px;
        font-size: var(--font-size-sm);
        padding: var(--space-xs) var(--space-md);
    }

    .hero {
        padding: var(--space-2xl) var(--space-sm) var(--space-lg);
        padding-top: 80px;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 10vw, 2.25rem);
        line-height: 1.3;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }
}

/* ==========================================================================
   Dark Mode Toggle (if needed)
   ========================================================================== */
.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: var(--space-xs);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--primary-text);
}

.theme-toggle:hover {
    background: var(--glass-bg-hover);
    border-color: var(--accent-cyan);
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .background-animation,
    .particles,
    header,
    .scroll-to-top,
    .modal-overlay,
    .toast-container {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .glass-card,
    .feature-card,
    .testimonial-card {
        border: 1px solid #ccc !important;
        background: white !important;
    }
}

/* Additional mobile-specific fixes */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: clamp(2.25rem, 6vw, 3.5rem);
    }
}

/* Landscape mobile fix */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: var(--space-lg) var(--space-sm);
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: var(--space-sm);
    }
    
    .hero p {
        font-size: var(--font-size-sm);
        margin-bottom: var(--space-sm);
    }
}

/* Text overflow prevention */
.hero h1,
.hero p,
.features h2,
.final-cta h2 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Container width adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-xs);
    }
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-xs);
    background: none;
    border: none;
    z-index: 1001;
}

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

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

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

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

/* Mobile navigation styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(17, 20, 30, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.mobile-menu-open {
        left: 0;
    }
    
    .nav-links a {
        font-size: var(--font-size-xl);
        color: var(--text-primary);
        text-decoration: none;
        transition: color 0.3s ease;
        padding: var(--space-sm) var(--space-lg);
        border-radius: var(--border-radius);
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--accent-cyan);
        background: rgba(34, 211, 238, 0.1);
    }
}

/* Active navigation link styles */
.nav-link.active {
    color: var(--accent-cyan);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 1px;
}
@media (prefers-contrast: high) {
    :root {
        --glass-border: rgba(255, 255, 255, 0.3);
        --secondary-text: #cccccc;
    }
    
    .cta-button {
        border-width: 2px;
    }
}

/* ==========================================================================
   About and Services Sections
   ========================================================================== */

.about,
.services {
    padding: var(--space-3xl) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.about h2,
.services h2 {
    text-align: center;
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.about > p {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--secondary-text);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.about-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.about-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    background: var(--glass-bg-hover);
    box-shadow: var(--shadow-lg);
}

.about-item h3 {
    font-size: var(--font-size-xl);
    color: var(--primary-text);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    background: var(--glass-bg-hover);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    font-size: var(--font-size-2xl);
    color: var(--primary-text);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.service-card > p {
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-lg);
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    color: var(--secondary-text);
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
    line-height: 1.6;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Contact info styling */
.contact-info {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
}

.contact-info h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
    color: var(--primary-text);
}

.contact-info p {
    font-size: var(--font-size-lg);
    color: var(--secondary-text);
    margin-bottom: var(--space-sm);
}

.contact-info a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-info a:hover {
    color: var(--accent-coral);
    text-decoration: underline;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about h2,
    .services h2 {
        font-size: var(--font-size-3xl);
    }
}


/* ==========================================================================
   Reduced Motion Support
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .background-animation {
        animation: none;
    }
    
    .particle {
        animation: none;
    }
}

/* ==========================================================================
   Focus Styles for Accessibility
   ========================================================================== */
*:focus {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* ==========================================================================
   Selection Styles
   ========================================================================== */
::selection {
    background: var(--accent-cyan);
    color: var(--primary-bg);
}

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

