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

:root {
    --white: #ffffff;
    --black: #000000;
    
    /* Color Palette from Deck Images */
    /* Primary Colors - Wave Accent (replacing cyan-blue) */
    --wave-accent: #b5e5f3;
    --wave-accent-light: #d0f0f9;
    --wave-accent-dark: #8dd0e8;
    --wave-accent-darker: #6bb8d0;
    
    /* Legacy cyan-blue aliases (now using wave-accent) */
    --cyan-blue: var(--wave-accent);
    --cyan-blue-light: var(--wave-accent-light);
    --cyan-blue-dark: var(--wave-accent-dark);
    
    /* Secondary Colors - Muted Purple/Lavender (from deck pill boxes) */
    --blueDC: #bbbddc;
    --blueDC-light: #d4d6eb;
    --blueDC-dark: #9a9bc6;
    
    /* Hero Purple/Pink Colors (for harmony) */
    --purple-primary: #8b5cf6;
    --purple-secondary: #a855f7;
    --purple-light: #c084fc;
    --purple-gradient: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    
    /* Warning/Bad Signal Color - harmonic with palette but clearly negative */
    --warning-coral: #fdd5b1;  /* Soft peach - from palette */
    --warning-coral-dark: #fce5cd;  /* Lighter peach variant */
    --warning-coral-light: #fef0e6;  /* Lightest peach variant */
    
    /* Neutral Grays (from deck backgrounds) */
    --dark-grey: #3b3b3b;
    --charcoal-gray: #363636;
    --medium-gray: #757474;
    --light-gray: #d3d3d3;
    --light-grey: #eeeeee;
    --very-light-gray: #f5f5f5;
    
    /* Gradient definitions using wave-accent colors with purple accents */
    --gradient-primary: linear-gradient(135deg, var(--wave-accent) 0%, var(--purple-light) 50%, var(--blueDC) 100%);
    --gradient-primary-reverse: linear-gradient(135deg, var(--blueDC) 0%, var(--purple-light) 50%, var(--wave-accent) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--wave-accent-light) 0%, var(--purple-light) 50%, var(--blueDC-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--wave-accent) 0%, var(--purple-primary) 50%, var(--blueDC) 100%);
    --gradient-hero: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 50%, #f5f7fa 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    --gradient-dark: linear-gradient(135deg, var(--black) 0%, var(--dark-grey) 100%);
    
    /* Legacy compatibility */
    --primary-color: var(--wave-accent);
    --primary-dark: var(--wave-accent-dark);
    --primary-light: var(--wave-accent-light);
    --secondary-color: var(--blueDC);
    --secondary-light: var(--blueDC-light);
    --accent-color: var(--wave-accent);
    
    /* Text colors */
    --text-primary: var(--black);
    --text-secondary: #4a5568;
    --text-light: var(--medium-gray);
    --text-on-gradient: var(--white);
    
    /* Background colors */
    --bg-primary: var(--white);
    --bg-secondary: #f8f9ff;
    --bg-tertiary: #f0f4ff;
    --bg-dark: var(--black);
    --bg-card: var(--white);
    
    /* Border colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-gradient: rgba(181, 229, 243, 0.2);
    
    /* Shadows with color tints using wave-accent color */
    --shadow-sm: 0 2px 4px rgba(181, 229, 243, 0.06);
    --shadow-md: 0 4px 12px rgba(181, 229, 243, 0.1);
    --shadow-lg: 0 8px 24px rgba(181, 229, 243, 0.15);
    --shadow-xl: 0 16px 32px rgba(181, 229, 243, 0.2);
    --shadow-hover: 0 12px 28px rgba(141, 208, 232, 0.25);
    --shadow-gradient: 0 8px 24px rgba(181, 229, 243, 0.2);
    
    /* Animation timing */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 500;
    background: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--charcoal-gray);
    z-index: 1000;
    transition: all var(--transition-base);
    padding: 26px 30px;
    padding-top: 44px;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding-top: 26px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo-link:hover .logo-img {
    opacity: 0.4;
    animation: arrowPulse 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 12.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    -webkit-text-stroke-width: 0.2px;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    display: inline-block;
    max-width: 0%;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    bottom: -10px;
    left: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--wave-accent-dark);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    -webkit-text-stroke-width: 0.2px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--wave-accent-darker);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    -webkit-text-stroke-width: 0.2px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-secondary {
    position: relative;
    z-index: 1;
}

.btn-secondary:hover {
    border-color: var(--wave-accent-dark);
    background: var(--wave-accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* Hero Section */
.hero {
    padding: 0;
    background: var(--white);
    margin-top: 120px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* Background images from assets */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg2.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}


/* Background grid - full width behind everything */
.hero-grid-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-grid-background .grid-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    display: block;
}

/* Three-column layout for wires and content */
.hero-wires-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    align-items: stretch;
    background: transparent;
}

.hero-wires-column {
    height: 100%;
    position: relative;
    background: transparent;
}

.hero-wires-left,
.hero-wires-right {
    overflow: hidden;
    background: transparent;
}

.hero-wires-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 6rem;
}

.hero-wires-column .wires-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
}

/* Centered content box */
.hero-content-box {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(181, 229, 243, 0.5);
    border-radius: 4px;
    padding: 2.5rem 4rem 3rem;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(181, 229, 243, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.3s forwards;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.hero-label {
    position: relative;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wave-accent-dark);
    margin-bottom: 2.5rem;
    margin-top: -1.5rem;
    font-family: 'Comfortaa', sans-serif;
}

.hero-content-box .hero-title,
.hero-content-box .hero-subtitle,
.hero-content-box .hero-subtitle-small,
.hero-content-box .hero-buttons {
    position: relative;
    z-index: 2;
}

.hero-content-box .hero-title {
    margin-bottom: 0.5rem;
}

.hero-content-box .title-part-1 {
    color: var(--text-primary);
    font-weight: 700;
}

.hero-content-box .title-part-2 {
    background: linear-gradient(135deg, var(--wave-accent-dark) 0%, var(--purple-primary) 50%, var(--blueDC) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-content-box .hero-subtitle-small {
    color: var(--wave-accent-dark);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding: 0 1.5rem;
    font-family: 'Comfortaa', sans-serif;
    opacity: 0.7;
}

.hero-content-box .hero-subtitle-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--wave-accent-dark);
    opacity: 0.3;
    animation: pulse-circle 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse-circle {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(6);
        opacity: 0;
    }
}

.hero-content-box .hero-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn-hero-primary {
    background: var(--wave-accent-dark);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
    transition: all var(--transition-base);
    display: inline-block;
    text-decoration: none;
    margin-right: 1rem;
    box-shadow: var(--shadow-md);
}

.btn-hero-primary:hover {
    background: var(--wave-accent-darker);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-hero-secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
    transition: all var(--transition-base);
    display: inline-block;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.btn-hero-secondary:hover {
    border-color: var(--wave-accent-dark);
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Internal GPU animation inside text box */
.internal-gpu-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.internal-gpu-animation svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.gradient-text {
    color: var(--black);
    display: inline-block;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}



/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.encryption-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.data-block {
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-align: center;
    min-width: 180px;
}

.data-block.encrypted {
    background: #e8f2f5;
    color: var(--cyan-blue-dark);
}

/* Value Proposition */
.value-prop {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.value-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards;
}

.value-card:nth-child(1) {
    animation-delay: 0.1s;
}

.value-card:nth-child(2) {
    animation-delay: 0.2s;
}

.value-card:nth-child(3) {
    animation-delay: 0.3s;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

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

.value-card:hover .value-icon {
    transform: scale(1.05);
}

.value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color var(--transition-base);
}

.value-card:hover p {
    color: var(--text-primary);
}

/* How It Works */
/* Platform Overview Card (inside How It Works section) */
.platform-overview-wrapper {
    position: relative;
    margin: 0 auto 8rem;
    margin-top: -60px;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding-bottom: 120px;
    overflow: visible;
    z-index: 2;
}


/* Cloud 1 - Large, bottom center, slowest (farthest) - REMOVED */
.cloud-1 {
    display: none;
    transform: translateX(-50%);
    width: 200%;
    max-width: 1600px;
    animation: cloudDriftSlow 12s ease-in-out infinite;
}

/* Cloud styles removed - replaced with grid background */

.platform-overview-card {
    max-width: 900px;
    width: 100%;
    margin: 0;
    background: linear-gradient(145deg, #3d3d3d 0%, #2a2a2a 50%, #1f1f1f 100%);
    border-radius: 7.5rem;
    padding: 4rem 3rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible;
}

.platform-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.platform-overview-card:hover {
    transform: translateY(-4px); /* Smooth upward movement like other elements */
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.3),
        0 12px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 40px rgba(141, 208, 232, 0.2), /* Lattica blue glow */
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.platform-overview-card:hover::before {
    opacity: 1;
}

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

@keyframes floatHover {
    0%, 100% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(-12px);
    }
}

.platform-overview-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--wave-accent);
    margin: 0 0 3rem 0;
    text-align: center;
}

.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: start;
    overflow: visible; /* Allow tooltips to overflow */
}

/* Platform Overview Card specific styles - override conflicting styles */
.platform-overview-card .platform-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent !important;
    position: relative;
    overflow: visible; /* Allow tooltip to overflow */
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: all 0.3s ease-out;
    position: relative;
}

.platform-feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: white;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    transition: background 0.1s ease-out, border-color 0.25s ease-out, transform 0.25s ease-out;
}

.platform-overview-card .platform-feature:hover .platform-feature-icon,
.platform-overview-card .platform-feature.feature-active .platform-feature-icon {
    /* Use palette colors instead of blue - alternate between peach and purple */
    transform: scale(1.05);
}
.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-icon,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-icon,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-icon,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-icon,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-icon,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-icon {
    background: var(--blueDC-dark); /* Grey-purple dark */
    border-color: var(--blueDC);
    box-shadow: 0 4px 16px rgba(154, 155, 198, 0.4); /* Grey-purple dark glow */
}

.platform-feature-icon svg {
    width: 42px;
    height: 42px;
    color: #000;
    transition: color 0.15s ease-in-out;
}

/* Update SVG color on hover to match icon background */
.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-icon svg,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-icon svg,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-icon svg,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-icon svg,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-icon svg,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-icon svg {
    color: #ffffff; /* White for contrast on grey-purple dark */
}

.platform-overview-card .platform-feature-text {
    color: #f5f5f5;
    font-size: 1.1rem;
    line-height: 1.5;
    transition: color 0.3s ease-out;
}

.platform-overview-card .platform-feature-text p {
    margin: 0;
    color: #f5f5f5 !important;
    transition: color 0.3s ease-out;
}

.platform-overview-card .platform-feature p {
    color: #f5f5f5 !important;
    transition: color 0.1s ease-out;
}

.platform-overview-card .platform-feature .platform-feature-detail p {
    color: #1a202c !important;
}

.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature p,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature p,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature p,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature p,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature p,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-text,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-text p,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature p {
    color: var(--blueDC-dark) !important; /* Grey-purple dark */
}

.platform-overview-card .platform-feature-text .feature-subtext {
    font-size: 0.85rem;
    color: #c0c0c0;
    font-weight: 400;
    transition: color 0.3s ease-out;
}

.platform-overview-card .platform-feature:nth-child(1):hover .platform-feature-text .feature-subtext,
.platform-overview-card .platform-feature:nth-child(1).feature-active .platform-feature-text .feature-subtext,
.platform-overview-card .platform-feature:nth-child(2):hover .platform-feature-text .feature-subtext,
.platform-overview-card .platform-feature:nth-child(2).feature-active .platform-feature-text .feature-subtext,
.platform-overview-card .platform-feature:nth-child(3):hover .platform-feature-text .feature-subtext,
.platform-overview-card .platform-feature:nth-child(3).feature-active .platform-feature-text .feature-subtext {
    color: var(--blueDC-dark); /* Grey-purple dark */
}

/* Feature Detail Box - styled like encrypted data boxes */
.platform-feature-detail {
    position: absolute;
    top: calc(100% + 2rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 400px; /* Fixed width instead of calc */
    max-width: 90vw; /* Prevent overflow on small screens */
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #1a202c;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s ease-out;
    z-index: 1000;
}

.platform-overview-card .platform-feature.feature-active .platform-feature-detail,
.platform-overview-card .platform-feature:hover .platform-feature-detail {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.platform-feature-detail::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

.platform-feature-detail p {
    margin: 0 0 1rem 0;
    color: #1a202c !important;
    font-weight: 400;
}

.platform-feature-detail p:last-child {
    margin-bottom: 0;
}

.platform-overview-card .platform-feature-detail p {
    color: #1a202c !important;
}

/* Responsive styles for Platform Overview */
@media (max-width: 1024px) {
    .platform-overview-wrapper {
        min-height: 350px;
    }
    
    .platform-features-grid {
        gap: 2rem;
    }
    
    .platform-overview-card {
        padding: 3rem 2rem;
        border-radius: 4rem;
    }
    
    .platform-overview-title {
        font-size: 1.75rem;
    }
    
}

@media (max-width: 768px) {
    .platform-overview-wrapper {
        min-height: 300px;
        margin-bottom: 3rem;
    }
    
    .platform-overview-card {
        padding: 2.5rem 1.5rem;
        border-radius: 3rem;
    }
    
    .platform-overview-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .platform-features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .platform-feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .platform-feature-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .platform-overview-cloud {
        max-width: 1000px;
    }
}

.how-it-works {
    padding: 10rem 0 10rem;
    background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f5 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works.bg-alt {
    background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f5 100%);
}

/* Background images for How It Works section */
.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.how-it-works::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg2.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.how-it-works .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Dashboard Layout */
.platform-dashboard {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dashboard-column {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    border: 1.5px solid #e8ecf1;
    /* Subtle peach/purple gradient overlay */
    position: relative;
    transition: all var(--transition-base);
}


.dashboard-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
}

.column-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.column-icon {
    width: 48px;
    height: 48px;
    background: var(--charcoal-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-self: center;
    transition: all var(--transition-base);
    padding: 8px;
}

.column-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dashboard-column:hover .column-icon {
    background: var(--charcoal-gray);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.column-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    align-self: center;
    line-height: 1.2;
}

.column-header::before {
    content: '';
    position: absolute;
    display: block;
    height: 2px;
    background: linear-gradient(to right, var(--medium-gray) 0%, var(--medium-gray) 70%, var(--wave-accent-dark) 100%);
    bottom: 0;
    left: 0;
    width: var(--column-title-width, 60%);
    transition: width 0.7s ease, background 0.7s ease;
    opacity: 0.6;
}

.column-header::after {
    content: '';
    position: absolute;
    display: block;
    background: var(--wave-accent-dark);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    width: 32px;
    height: 20px;
    bottom: -1px;
    left: calc(var(--column-title-width, 60%) + 6px);
    transition: left 0.7s ease;
    opacity: 0.7;
}

.dashboard-column:hover .column-header::before {
    width: calc(100% - 2rem);
    background: var(--wave-accent-dark);
    opacity: 1;
}

.dashboard-column:hover .column-header::after {
    left: calc(100% - 2rem + 6px);
    opacity: 1;
}

/* Process Steps (Horizontal) */
.steps-vertical {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: stretch; /* Make all steps same height */
}

.step-vertical {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: all var(--transition-base);
    position: relative;
    height: 100%; /* Make all cards same height */
}

.step-vertical:hover {
    background: linear-gradient(135deg, rgba(253, 213, 177, 0.18) 0%, rgba(154, 155, 198, 0.08) 100%);
    transform: translateY(-4px);
}

.step-vertical .step-number {
    width: 80px;
    height: 80px;
    font-size: 3.5rem;
    flex-shrink: 0;
    background: var(--wave-accent-light);
    color: var(--wave-accent-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: none;
    border: none;
    transition: all var(--transition-base);
    margin-bottom: 0.5rem;
    line-height: 1;
    transform: translateY(2px);
}

.step-vertical:hover .step-number {
    transform: translateY(2px) scale(1.05);
    background: var(--wave-accent);
    color: var(--wave-accent-darker);
    box-shadow: 0 4px 12px rgba(253, 213, 177, 0.2); /* Soft peach glow */
}

.step-vertical .step-content {
    width: 100%;
}

.step-vertical .step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.step-vertical .step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.step-connector {
    display: none;
}

/* Horizontal connector arrows between steps */
.step-vertical:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.2rem;
    top: calc(30px + 0.5rem + 1.5rem); /* Fixed position: step-number height (80px) + margin-bottom (0.5rem) + padding-top (1.5rem) */
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #d1d9e3;
    z-index: 1;
    transition: all var(--transition-base);
    opacity: 0.5;
}

.step-vertical:hover:not(:last-child)::after {
    border-left-color: rgba(154, 155, 198, 0.6); /* Purple-grey accent */
    opacity: 0.8;
    transform: scale(1.15);
}

/* Benefits Cards Container */
.benefits-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.how-it-works .platform-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: all var(--transition-base);
}

.how-it-works .platform-section:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.how-it-works .platform-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid;
    border-image: var(--gradient-primary) 1;
    padding-bottom: 0.75rem;
    position: relative;
    transition: all var(--transition-base);
}

.how-it-works .platform-section:hover .platform-title {
    color: var(--wave-accent-darker);
}

.how-it-works .feature-list {
    list-style: none;
    padding: 0;
}

.how-it-works .feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
    padding: 1rem;
    padding-right: 2rem;
    border-radius: 0.5rem;
    transition: all var(--transition-base);
}

.how-it-works .feature-list li:hover {
    background: linear-gradient(135deg, rgba(253, 213, 177, 0.18) 0%, rgba(154, 155, 198, 0.08) 100%);
    transform: translateX(2px);
}


.how-it-works .platform-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    border: 1.5px solid #e8ecf1;
    transition: all var(--transition-base);
}

.how-it-works .platform-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
}

.how-it-works .platform-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border-bottom: 3px solid;
    border-image: var(--gradient-primary) 1;
    padding-bottom: 0.5rem;
    position: relative;
    transition: all var(--transition-base);
}

.how-it-works .platform-section:hover .platform-title {
    color: var(--wave-accent-darker);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out forwards;
    padding-bottom: 8px;
    z-index: 1;
}

.section-title::before {
    content: '';
    position: absolute;
    display: block;
    width: var(--text-width-percent, 60%);
    height: 3px;
    background: linear-gradient(to right, var(--medium-gray) 0%, var(--medium-gray) 70%, var(--wave-accent) 100%);
    bottom: 0;
    left: calc((100% - var(--text-width-percent, 60%)) / 2);
    transition: width 0.7s ease, left 0.7s ease, background 0.7s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    background: var(--wave-accent);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    width: 56px;
    height: 33px;
    bottom: -1px;
    left: calc((100% + var(--text-width-percent, 60%)) / 2 + 14px);
    transition: left 0.7s ease;
}

.section-title:hover::before {
    left: 0%;
    width: 100%;
    background: var(--wave-accent);
}

.section-title:hover::after {
    left: calc(100% + 14px);
}

.steps {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Platform grid within How It Works section */
.how-it-works .platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Connecting line between all steps */
.steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(to right, 
        var(--wave-accent-dark) 0%,
        var(--wave-accent-dark) 33%,
        #d1d9e3 33%,
        #d1d9e3 66%,
        var(--wave-accent-dark) 66%,
        var(--wave-accent-dark) 100%);
    z-index: 0;
    opacity: 0.4;
    transition: opacity var(--transition-base);
}

.steps:hover::before {
    opacity: 0.6;
    background: var(--wave-accent-dark);
}

/* Visual flow connectors - arrows between steps in horizontal layout */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 32px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #d1d9e3;
    z-index: 2;
    transition: all var(--transition-base);
    opacity: 0.5;
}

.step:hover:not(:last-child)::after {
    border-left-color: var(--wave-accent-dark);
    opacity: 0.9;
    transform: scale(1.15);
}

.step {
    flex: 1;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards;
    border: 1.5px solid #e8ecf1;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    transition: all var(--transition-base);
    position: relative;
    overflow: visible;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.step:nth-child(1) {
    animation-delay: 0.1s;
}

.step:nth-child(2) {
    animation-delay: 0.2s;
}

.step:nth-child(3) {
    animation-delay: 0.3s;
}

.step:nth-child(4) {
    animation-delay: 0.4s;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
    background: linear-gradient(135deg, #ffffff 0%, #f5f8fc 100%);
}

.step:hover::before {
    transform: scaleX(1);
}

.step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--wave-accent-dark) 0%, var(--wave-accent-darker) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(107, 184, 208, 0.3), 0 2px 6px rgba(107, 184, 208, 0.2);
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    filter: blur(8px);
    transition: opacity var(--transition-base);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(107, 184, 208, 0.4), 0 3px 10px rgba(107, 184, 208, 0.3);
    background: linear-gradient(135deg, var(--wave-accent-darker) 0%, #5aa5c0 100%);
}

.step:hover .step-number::after {
    opacity: 0.4;
}

.step-content {
    flex: 1;
    width: 100%;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    transition: color var(--transition-base);
    line-height: 1.3;
}

.step:hover .step-content h3 {
    color: var(--wave-accent-darker);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    transition: color var(--transition-base);
    font-size: 1rem;
}

.step:hover .step-content p {
    color: var(--text-primary);
}

/* Platform Features */
.platform {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

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

.platform-section {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.platform-section:nth-child(1) {
    animation-delay: 0.1s;
}

.platform-section:nth-child(2) {
    animation-delay: 0.2s;
}

.platform-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.platform-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border-bottom: 3px solid;
    border-image: var(--gradient-primary) 1;
    padding-bottom: 0.5rem;
    position: relative;
    transition: all var(--transition-base);
}

.platform-section:hover .platform-title {
    color: var(--cyan-blue);
}

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

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    padding: 1rem;
    padding-right: 2rem;
    border-radius: 0.5rem;
    transition: all var(--transition-base);
    border-left: 3px solid transparent; /* Reserve space for border to prevent layout shift */
}

.feature-list li:hover {
    background: linear-gradient(90deg, rgba(253, 213, 177, 0.18) 0%, rgba(154, 155, 198, 0.08) 100%);
    border-left-color: rgba(154, 155, 198, 0.3); /* Subtle purple-grey accent */
    transform: translateX(2px);
    padding-left: 2rem;
    padding-right: 1rem;
}

.feature-list li .feature-icon {
    transition: transform var(--transition-base);
}

.feature-list li:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.feature-list p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color var(--transition-base);
}

.feature-list li:hover p {
    color: var(--text-primary);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    pointer-events: none;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: var(--black);
    color: var(--white);
    border-color: var(--white);
}

.cta .btn-primary:hover {
    background: var(--gradient-secondary);
}

.cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta .btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 32px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

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

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

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

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

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

    .encryption-visual {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .container {
        padding: 0 1rem;
    }

    .hero-content-box {
        padding: 2rem 2.5rem;
        max-width: 90%;
    }

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

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

    .internal-gpu-animation {
        max-width: 400px;
    }


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

    .steps {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem 0;
    }

    .steps::before {
        display: none;
    }

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

    .step {
        padding: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .platform-dashboard {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dashboard-column {
        padding: 2rem;
    }

    .column-header {
        margin-bottom: 2rem;
    }

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

    .benefits-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps-vertical {
        flex-direction: column;
        gap: 2rem;
    }

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

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }

    .step-content h3 {
        font-size: 1.35rem;
    }

    .platform-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .platform-side {
        padding: 2rem;
    }
}

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .internal-gpu-animation {
        max-width: 300px;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: var(--shadow-md);
    }
    50% {
        box-shadow: var(--shadow-gradient);
    }
}

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

/* Smooth entrance animations for sections */
.value-card,
.step,
.platform-section,
.use-case-card,
.fhe-step {
    will-change: transform, opacity;
}

/* Logo Link */
.logo-link {
    text-decoration: none;
    color: inherit;
}

/* Active Navigation Link */
.nav-links a.active {
    color: var(--white);
    font-weight: 600;
}

.nav-links a.active::after {
    max-width: 100%;
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: var(--bg-primary);
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

/* Centered page header (for HEAL, FHE, WORKLOADS) */
.page-header-centered {
    text-align: center;
}

.page-header-centered .page-header-content {
    justify-content: center;
}

.page-header-centered .page-header-accent {
    display: none;
}

.page-header-centered .page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

.page-header-centered .page-title::before,
.page-header-centered .page-title::after {
    display: none;
}

.page-header-centered .page-subtitle {
    margin: 0 auto;
}

.page-header-centered .page-eyebrow {
    display: none;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg2.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.page-header-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.page-header-centered .page-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-header-accent {
    width: 8px;
    height: 120px;
    background: linear-gradient(180deg, var(--wave-accent) 0%, var(--blueDC) 100%);
    flex-shrink: 0;
    border-radius: 2px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out forwards;
}

.page-header-text {
    flex: 1;
    padding-top: 0.5rem;
}

.page-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.1s forwards;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.2s forwards;
    position: relative;
    padding-bottom: 1rem;
    transition: color var(--transition-base);
}

.page-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(135deg, var(--wave-accent) 0%, var(--blueDC) 100%);
    border-radius: 2px;
    transition: width 0.7s ease, background 0.7s ease;
    z-index: 1;
}

.page-title::after {
    content: '';
    position: absolute;
    display: block;
    background: var(--blueDC);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    width: 50px;
    height: 30px;
    bottom: -2px;
    left: 60%;
    opacity: 0;
    transition: all 0.7s ease;
    transform: translateX(-10px);
    z-index: 2;
}

.page-header-content:hover .page-title {
    color: var(--wave-accent-darker);
}

.page-header-content:hover .page-title::before {
    width: 85%;
    background: linear-gradient(135deg, var(--wave-accent-dark) 0%, var(--blueDC-dark) 100%);
}

.page-header-content:hover .page-title::after {
    opacity: 1;
    left: 85%;
    transform: translateX(10px);
    background: var(--blueDC-dark);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.3s forwards;
}

/* Platform Page Styles */
.platform-overview {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.overview-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.platform-section-detailed {
    padding: 6rem 0;
}

.platform-section-detailed.bg-alt {
    background: var(--bg-secondary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.features-detailed {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card-large {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon-large {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card-large h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-sublist {
    list-style: none;
    padding-left: 0;
}

.feature-sublist li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.feature-sublist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* Workflow */
.how-it-works-detailed {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.workflow-number {
    width: 60px;
    height: 60px;
    background: var(--wave-accent-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.workflow-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.workflow-connector {
    width: 40px;
    height: 2px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* About Page Styles */
.about-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.about-section.bg-alt {
    background: var(--bg-secondary);
}

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

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

.value-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

.stat-card {
    background: var(--wave-accent-dark);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Documentation Page Styles */
.docs-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.docs-section.bg-alt {
    background: var(--bg-secondary);
}

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

.doc-link-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all var(--transition-base);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.doc-link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.doc-link-card:nth-child(2) {
    animation-delay: 0.2s;
}

.doc-link-card:nth-child(3) {
    animation-delay: 0.3s;
}

.doc-link-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.doc-link-card:hover .doc-icon {
    transform: scale(1.1);
}

.doc-link-card:hover .doc-link-arrow {
    transform: translateX(5px);
    color: var(--primary-blue);
}

.doc-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.doc-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.doc-link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.doc-link-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.doc-link-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

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

.docs-guide {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.docs-guide h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.guide-steps {
    list-style: none;
    counter-reset: step-counter;
}

.guide-steps li {
    counter-increment: step-counter;
    margin-bottom: 2rem;
    padding-left: 3rem;
    position: relative;
}

.guide-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--wave-accent-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.guide-steps strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

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

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

.concept-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
}

.concept-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.resources-list {
    display: grid;
    gap: 2rem;
}

.resource-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.resource-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.resource-item p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: var(--primary-dark);
}

.faq-list {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Contact Page Styles */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container h2,
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-left: 3px solid var(--cyan-blue);
}

.info-card:hover .info-icon {
    transform: scale(1.1);
}

.info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.info-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.info-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--primary-dark);
}

/* Homepage New Sections */
.use-cases-home {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.use-cases-dark {
    background: var(--charcoal-gray);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.use-cases-dark .container {
    position: relative;
    z-index: 1;
}

.use-cases-dark .use-case-card {
    background: #2a2a2a;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.use-cases-dark .use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--wave-accent-dark), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-cases-dark .use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(107, 184, 208, 0.2);
    border-color: rgba(107, 184, 208, 0.3);
    background: linear-gradient(135deg, #d0e8f5 0%, #e0f0f8 100%);
}

.use-cases-dark .use-case-card:hover::before {
    opacity: 1;
}

.use-cases-dark .use-case-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 184, 208, 0.15);
    border-radius: 12px;
    padding: 12px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.use-cases-dark .use-case-card:hover .use-case-icon {
    background: rgba(70, 130, 180, 0.3);
    transform: scale(1.1);
}

.use-cases-dark .use-case-icon img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: filter 0.3s ease;
}

.use-cases-dark .use-case-card:hover .use-case-icon img {
    filter: brightness(0) invert(0);
    opacity: 0.8;
}

.use-cases-dark .use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.use-cases-dark .use-case-card:hover h3 {
    color: var(--text-primary);
}

.use-cases-dark .use-case-card p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.use-cases-dark .use-case-card:hover p {
    color: var(--text-secondary);
}

.use-cases-dark .use-case-card p:last-child {
    margin-bottom: 0;
}

.use-cases-dark .use-case-card p strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.use-case-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.use-case-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter var(--transition-base);
}

.tech-overview {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.tech-overview-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-overview-item {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.tech-overview-item:nth-child(1) {
    animation-delay: 0.1s;
}

.tech-overview-item:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-overview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.tech-overview-item .tech-link {
    transition: all var(--transition-base);
}

.tech-overview-item:hover .tech-link {
    color: var(--cyan-blue);
    transform: translateX(5px);
}

.tech-overview-item h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-overview-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tech-link:hover {
    color: var(--primary-dark);
}

/* Platform Value Section */
.platform-value {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.platform-value::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.platform-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.platform-side {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.platform-side:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.platform-side h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-side-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.platform-features {
    list-style: none;
    margin-bottom: 2rem;
}

.platform-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    padding-left: 1.5rem;
}

.platform-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cyan-blue);
    font-weight: 700;
}

.examples-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

.examples-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    padding-left: 1.25rem;
}

.examples-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--blueDC);
    font-weight: 700;
    font-size: 1.25rem;
}

.problem-section {
    padding: 6rem 0;
    background: var(--charcoal-gray);
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--purple-gradient);
    opacity: 0.3;
    z-index: 1;
}

.problem-section::after {
    display: none;
}

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

.problem-card {
    background: #2a2a2a;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(154, 155, 198, 0.2); /* Subtle purple-grey border */
    position: relative;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(253, 213, 177, 0.1);
    border-color: rgba(253, 213, 177, 0.3); /* Soft peach border on hover */
}

.problem-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.problem-card:hover .problem-icon {
    opacity: 1;
}

.problem-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

.compromise-badge {
    display: inline-block;
    background: transparent;
    color: #fdd5b1; /* Soft peach - subtle and harmonic */
    border: 1.5px solid #fdd5b1;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.problem-card:hover .compromise-badge {
    opacity: 1;
    transform: scale(1.02);
}

.problem-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1rem;
}

.solution-intro {
    text-align: center;
    max-width: 1000px;
    margin: 2rem auto 0;
    padding: 2rem 2rem;
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(154, 155, 198, 0.2); /* Subtle purple-grey border */
}

.solution-intro:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(141, 208, 232, 0.25);
    border-color: var(--wave-accent-dark); /* Lattica blue accent on hover */
}

.solution-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.solution-intro:hover .solution-icon img {
    transform: scale(1.1);
}

.solution-intro h3 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--white);
    font-weight: 700;
}

.solution-intro p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.problem-section .section-title {
    color: var(--white);
}

.problem-section .section-title::before {
    background-color: rgba(255, 255, 255, 0.3);
}

.problem-section .section-title:hover::before {
    background-color: var(--wave-accent);
}

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

.example-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.example-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.example-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.problem-explanation {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.problem-explanation p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.solutions-section {
    padding: 6rem 0;
}

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

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.solution-problem {
    color: #dc2626;
    font-weight: 600;
}

.solutions-note {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 2rem;
}

.solution-hero {
    padding: 6rem 0;
    background: var(--wave-accent-dark);
    color: var(--white);
}

.solution-hero .section-title {
    color: white;
}

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

.fhe-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.flow-step {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    font-weight: 600;
}

.flow-step.highlight {
    background: white;
    color: var(--primary-color);
}

.flow-arrow {
    font-size: 1.5rem;
}

.flow-description {
    text-align: center;
    margin-top: 1rem;
    opacity: 0.9;
}

.solution-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.breakthrough {
    margin-top: 2rem;
}

.breakthrough-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.breakthrough-item strong {
    display: block;
    margin-bottom: 0.5rem;
}

.tech-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.tech-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.comparison-card {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: var(--shadow-md);
}

.comparison-card.old {
    border-left: 4px solid #dc2626;
}

.comparison-card.new {
    border-left: 4px solid var(--primary-color);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.comparison-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.comparison-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
}

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

.tech-detail-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.tech-detail-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.tech-cta {
    text-align: center;
    margin-top: 3rem;
}

.platform-preview {
    padding: 6rem 0;
}

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

.platform-feature {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.platform-feature .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-feature .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.platform-cta {
    text-align: center;
}

.traction-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.traction-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.traction-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* HEAL Page Styles */
.heal-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.heal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.heal-benefits {
    padding: 6rem 0;
}

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

.benefit-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.hardware-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.hardware-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.hardware-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.hardware-partners {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
}

.hardware-partners h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.partner-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.partner-tag {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.technical-details {
    padding: 6rem 0;
}

.tech-architecture {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.arch-layer {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.arch-layer.highlight {
    background: var(--wave-accent-dark);
    color: var(--white);
}

.arch-layer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.arch-layer p {
    line-height: 1.7;
    opacity: 0.9;
}

.patent-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.arch-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--text-secondary);
    margin: 1rem 0;
}

.arch-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.arch-benefit {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.arch-benefit h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.integration-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.integration-process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--wave-accent-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.process-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
}

/* FHE Page Styles */
.fhe-hero-stats {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

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

.fhe-stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--cyan-blue);
}

.fhe-stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.fhe-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.fhe-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.fhe-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.fhe-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    color: var(--black);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.5s ease-out forwards;
    cursor: pointer;
}

.fhe-step:nth-child(1) {
    animation-delay: 0.1s;
}

.fhe-step:nth-child(3) {
    animation-delay: 0.2s;
}

.fhe-step:nth-child(5) {
    animation-delay: 0.15s;
}

/* Uniform hover effect for all steps */
.fhe-step:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--wave-accent);
}

.fhe-step:hover h3,
.fhe-step:hover p {
    color: var(--black);
}

/* Encrypted Compute step (highlight) - keep gradient but uniform hover */
.fhe-step.highlight {
    background: var(--gradient-primary);
    color: var(--white);
    animation: scaleIn 0.5s ease-out forwards, pulse 2s ease-in-out infinite;
    animation-delay: 0.15s;
    box-shadow: var(--shadow-gradient);
}

.fhe-step.highlight:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--wave-accent);
}

.fhe-step.highlight:hover h3,
.fhe-step.highlight:hover p {
    color: var(--black);
}

.fhe-step.highlight h3,
.fhe-step.highlight p {
    color: var(--white);
}

.fhe-step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.fhe-step:hover .fhe-step-icon {
    transform: scale(1.15) rotate(5deg);
}

.fhe-step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.fhe-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.fhe-step p {
    line-height: 1.7;
    opacity: 0.9;
    color: var(--text-secondary);
}

.fhe-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.fhe-arrow:hover {
    transform: scale(1.3);
    color: var(--wave-accent);
}

.fhe-flow-diagram:hover .fhe-arrow {
    transform: scale(1.2);
    color: var(--cyan-blue);
}

.fhe-problem {
    padding: 6rem 0;
}

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

.problem-box {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-left: 4px solid #dc2626;
}

.problem-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-stat {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    margin: 1rem 0;
}

.problem-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.breakthrough-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.breakthrough-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.breakthrough-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.breakthrough-stats {
    margin-top: 2rem;
}

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

.stat-before {
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-arrow {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.stat-after {
    color: var(--primary-color);
    font-weight: 600;
}

.speed-comparison {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.speed-old, .speed-new {
    margin-bottom: 2rem;
}

.speed-old h4, .speed-new h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.speed-bar {
    height: 30px;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.speed-bar.slow {
    background: #fee2e2;
    width: 20%;
}

.speed-bar.fast {
    background: var(--wave-accent-dark);
    width: 100%;
}

.innovation-section {
    padding: 6rem 0;
}

.innovation-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.innovation-old, .innovation-new {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.innovation-old {
    border-left: 4px solid #dc2626;
}

.innovation-new {
    border-left: 4px solid var(--primary-color);
}

.innovation-old h3, .innovation-new h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.innovation-old ul, .innovation-new ul {
    list-style: none;
    padding: 0;
}

.innovation-old li, .innovation-new li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.innovation-arrow {
    font-size: 2rem;
    color: var(--text-secondary);
}

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

.innovation-detail {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.innovation-detail h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.fhe-use-cases {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.use-case-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
    cursor: default;
}

.use-case-card:nth-child(1) {
    animation-delay: 0.1s;
}

.use-case-card:nth-child(2) {
    animation-delay: 0.2s;
}

.use-case-card:nth-child(3) {
    animation-delay: 0.3s;
}

.use-case-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1);
}

.use-case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color var(--transition-base);
}

.use-case-card:hover p {
    color: var(--text-primary);
}

.why-matters {
    padding: 6rem 0;
}

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

.matter-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.matter-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Survey Page Styles */
.survey-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.survey-intro {
    max-width: 900px;
    margin: 0 auto;
}

.survey-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.survey-results {
    padding: 6rem 0;
}

.survey-placeholder {
    max-width: 800px;
    margin: 0 auto;
}

.placeholder-content {
    background: white;
    padding: 4rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.placeholder-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.survey-topics {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 2rem auto 0;
}

.survey-topics li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.survey-topics li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.insights-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.insight-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.insight-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.survey-participate {
    padding: 6rem 0;
}

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

.participate-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.participate-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.benefit-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.participate-cta {
    text-align: center;
    margin-top: 3rem;
}

.methodology-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.methodology-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.methodology-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.methodology-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Platform Page New Styles */
.platform-components {
    padding: 6rem 0;
}

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

.component-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.component-card:nth-child(1) {
    animation-delay: 0.1s;
}

.component-card:nth-child(2) {
    animation-delay: 0.2s;
}

.component-card:nth-child(3) {
    animation-delay: 0.3s;
}

.component-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-gradient);
    background: var(--bg-primary);
}

.component-card:hover .component-icon {
    transform: scale(1.1);
}

.component-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.component-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.component-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.component-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.component-features {
    list-style: none;
    padding: 0;
}

.component-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.component-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.requirements-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.requirement-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.requirement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.requirement-question {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: block;
}

.requirement-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.requirement-solution {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.requirement-solution strong {
    color: var(--primary-color);
}

.gravity-section {
    padding: 6rem 0;
}

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

.gravity-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.gravity-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.use-cases-section {
    padding: 6rem 0;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 1rem auto 0;
    text-align: center;
}

/* Responsive Styles for New Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

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

    .workflow {
        flex-direction: column;
    }

    .workflow-connector {
        width: 2px;
        height: 40px;
    }

    .docs-content {
        grid-template-columns: 1fr;
    }

    .docs-quicklinks {
        grid-template-columns: 1fr;
    }

    .solution-content {
        grid-template-columns: 1fr;
    }

    .tech-comparison {
        flex-direction: column;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }

    .problem-content {
        grid-template-columns: 1fr;
    }

    .breakthrough-content {
        grid-template-columns: 1fr;
    }

    .innovation-comparison {
        flex-direction: column;
    }

    .innovation-arrow {
        transform: rotate(90deg);
    }

    .integration-process {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .fhe-flow-diagram {
        flex-direction: column;
    }

    .fhe-arrow {
        transform: rotate(90deg);
    }
}

/* Architecture Diagram Container */
.architecture-diagram {
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 600px;
    background: transparent;
    border-radius: 8px;
}

/* Hospital Local Servers */
.hospital-server {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    height: 320px;
    border: 2px dashed var(--wave-accent-dark);
    border-radius: 12px;
    background: rgba(148, 211, 230, 0.15);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hospital-server:hover {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 4px 12px rgba(181, 229, 243, 0.3);
    background: rgba(181, 229, 243, 0.2);
}

.server-label {
    font-size: 0.875rem;
    color: #4a5568;
    text-align: center;
    font-weight: 500;
    margin-bottom: 1rem;
    width: 100%;
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.records-container {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
    justify-content: center;
}

.record-icon {
    width: 50px;
    height: auto;
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.record-icon:hover {
    transform: scale(1.1);
}

.record-icon.aligned-with-encrypt {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 20px;
    width: 40px;
    animation: sequenceHighlightRecord 8s ease-in-out infinite;
    animation-delay: 0s;
}

.record-icon.aligned-with-encrypt:hover {
    transform: translateY(-50%) scale(1.15);
}

/* Arrow from record to encrypt */
.arrow-record-to-encrypt {
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 20px;
    width: 30px;
    height: 2px;
    background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    background-size: 20px 2px;
    z-index: 5;
    opacity: 0.4;
    animation: arrowPulse 8s ease-in-out infinite, arrowMove 0.5s linear infinite;
    animation-delay: 0.5s, 0s;
}

.arrow-record-to-encrypt::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -1px;
    width: 0;
    height: 0;
    border-left: 6px solid #3b3b3b;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    animation: arrowHeadPulse 8s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Encrypted Data */
.encrypted-data {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: #000;
    word-break: break-all;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.11);
    line-height: 1.3;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.encrypted-data-1:hover {
    transform: translateY(-50%) translateX(0) scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #84a4bb;
}

.encrypted-data-2:hover {
    transform: translateY(-50%) translateX(0) scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #84a4bb;
}

.encrypted-data-1 {
    left: 360px;
    top: 50%;
    height: 43px;
    width: 114px;
    transform: translateY(-50%);
    margin-top: -12px;
    animation: dataFlow1 2.5s ease-in-out infinite;
}

.encrypted-data-2 {
    left: 360px;
    top: 50%;
    height: 43px;
    width: 114px;
    transform: translateY(-50%);
    margin-top: 120px;
    animation: dataFlow2 2.5s ease-in-out infinite 2.5s;
}

.ciphertext {
    line-height: 1.4;
}

@keyframes dataFlow1 {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(5px);
    }
}

@keyframes dataFlow2 {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(-5px);
    }
}

/* Arrow from Encrypt to AI */
.arrow-encrypt-to-ai {
    position: absolute;
    left: 325px;
    width: 272px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 20px;
    height: 2px;
    background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    background-size: 20px 2px;
    z-index: 5;
    opacity: 0.4;
    box-shadow: none;
    animation: arrowPulseLong 8s ease-in-out infinite, arrowMove 0.5s linear infinite;
    animation-delay: 1.7s, 0s;
}

.arrow-encrypt-to-ai::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -1px;
    width: 0;
    height: 0;
    border-left: 6px solid #3b3b3b;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    animation: arrowHeadPulseLong 8s ease-in-out infinite;
    animation-delay: 1.7s;
}

/* Arrow from AI to Decrypt */
.arrow-ai-to-decrypt {
    position: absolute;
    width: 272px;
    left: 330px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 90px;
    height: 2px;
    background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    background-size: 20px 2px;
    z-index: 5;
    opacity: 0.4;
    box-shadow: none;
    animation: arrowPulseLong 8s ease-in-out infinite, arrowMoveLeft 0.5s linear infinite;
    animation-delay: 4.4s, 0s;
}

.arrow-ai-to-decrypt::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -1px;
    width: 0;
    height: 0;
    border-right: 6px solid #3b3b3b;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    animation: arrowHeadPulseLong 8s ease-in-out infinite;
    animation-delay: 4.4s;
}

/* Encrypt Block */
.encrypt-block {
    position: absolute;
    left: 185px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 20px;
    width: 140px;
    height: 50px;
    background: #3b3b3b;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    padding: 0.5rem 0.75rem;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: sequenceHighlightBlockEncrypt 8s ease-in-out infinite;
    animation-delay: 1.2s;
}

.encrypt-block:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 59, 59, 0.4);
    background: #454545;
}

.encrypt-block .block-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.block-logo {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Decrypt Block */
.decrypt-block {
    position: absolute;
    left: 185px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 90px;
    width: 140px;
    height: 50px;
    background: #3b3b3b;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    padding: 0.5rem 0.75rem;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: sequenceHighlightBlockDecrypt 8s ease-in-out infinite;
    animation-delay: 5.6s;
}

.decrypt-block:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 59, 59, 0.4);
    background: #454545;
}

.decrypt-block .block-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* AI Block Container */
.ai-block-container {
    position: absolute;
    left: 562px;
    top: 50%;
    margin-top: 50px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 180px;
}

.ai-cloud-outline {
    position: absolute;
    width: 150%;
    height: 150%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
}

.ai-cloud-outline img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ai-block {
    position: relative;
    background: #3b3b3b;
    border: none !important;
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    z-index: 1;
    height: 110px;
    width: 120px;
    animation: sequenceHighlightAI 8s ease-in-out infinite;
    animation-delay: 2.9s;
}

.ai-block-container:hover .ai-block {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(59, 59, 59, 0.5);
    background: #454545;
}

.ai-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.ai-icon {
    width: 60px;
    height: auto;
    align-self: center;
    margin-top: -10px;
}

.ai-block-logo {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Sequential Animation Keyframes */
/* Record: 0s → 0.5s (0% → 6.25%) */
@keyframes sequenceHighlightRecord {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(-60px);
    }
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(-60px);
    }
    1% {
        opacity: 0;
        transform: translateY(-50%) translateX(-60px);
    }
    6.25% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
    7.25%, 100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Encrypt: 1.2s → 1.7s (15% → 21.25% of 8s cycle) */
@keyframes sequenceHighlightBlockEncrypt {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    15% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    16% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    18.125% {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    21.25% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    22.25%, 99% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Decrypt: 5.6s → 6.1s (70% → 76.25% of 8s cycle) */
@keyframes sequenceHighlightBlockDecrypt {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    70% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    71% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    73.125% {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    76.25% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    77.25%, 99% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Arrow Record→Encrypt: 0.5s → 1.2s (6.25% → 15%) */
@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    6.25% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    6.875% {
        opacity: 0.7;
        box-shadow: 0 2px 6px rgba(141, 208, 232, 0.25);
        background-image: repeating-linear-gradient(to right, #6b8ba3 0px, #6b8ba3 4px, transparent 4px, transparent 8px);
    }
    7.5% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    14.375% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    15% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
}

/* Arrow Encrypt→AI: 1.7s → 2.9s (21.25% → 36.25%), Arrow AI→Decrypt: 4.4s → 5.6s (55% → 70%) */
@keyframes arrowPulseLong {
    0%, 100% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    21.25% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    21.875% {
        opacity: 0.7;
        box-shadow: 0 2px 6px rgba(141, 208, 232, 0.25);
        background-image: repeating-linear-gradient(to right, #6b8ba3 0px, #6b8ba3 4px, transparent 4px, transparent 8px);
    }
    22.5% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    35.625% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    36.25% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    55% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
    55.625% {
        opacity: 0.7;
        box-shadow: 0 2px 6px rgba(141, 208, 232, 0.25);
        background-image: repeating-linear-gradient(to right, #6b8ba3 0px, #6b8ba3 4px, transparent 4px, transparent 8px);
    }
    56.25% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    69.375% {
        opacity: 1;
        box-shadow: 0 4px 12px rgba(141, 208, 232, 0.5);
        background-image: repeating-linear-gradient(to right, var(--wave-accent-dark) 0px, var(--wave-accent-dark) 4px, transparent 4px, transparent 8px);
    }
    70% {
        opacity: 0.4;
        box-shadow: none;
        background-image: repeating-linear-gradient(to right, #3b3b3b 0px, #3b3b3b 4px, transparent 4px, transparent 8px);
    }
}

@keyframes arrowMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 0;
    }
}

@keyframes arrowMoveLeft {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -20px 0;
    }
}

/* Arrow Head Record→Encrypt: 0.5s → 1.2s (6.25% → 15%) */
@keyframes arrowHeadPulse {
    0%, 100% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    6.25% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    6.875% {
        opacity: 0.7;
        border-left-color: #6b8ba3;
        border-right-color: #6b8ba3;
    }
    7.5% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    14.375% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    15% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
}

/* Arrow Head Encrypt→AI: 1.7s → 2.9s (21.25% → 36.25%), Arrow Head AI→Decrypt: 4.4s → 5.6s (55% → 70%) */
@keyframes arrowHeadPulseLong {
    0%, 100% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    21.25% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    21.875% {
        opacity: 0.7;
        border-left-color: #6b8ba3;
        border-right-color: #6b8ba3;
    }
    22.5% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    35.625% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    36.25% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    55% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
    55.625% {
        opacity: 0.7;
        border-left-color: #6b8ba3;
        border-right-color: #6b8ba3;
    }
    56.25% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    69.375% {
        opacity: 1;
        border-left-color: var(--wave-accent-dark);
        border-right-color: var(--wave-accent-dark);
    }
    70% {
        opacity: 0.4;
        border-left-color: #3b3b3b;
        border-right-color: #3b3b3b;
    }
}

/* AI: 2.9s → 4.4s (36.25% → 55%) - Fast shake animation */
@keyframes sequenceHighlightAI {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translateX(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    36.25% {
        opacity: 1;
        transform: scale(1) translateX(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    37.25% {
        opacity: 1;
        transform: scale(1) translateX(0);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    37.75% {
        transform: scale(1) translateX(-4px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    38.5% {
        transform: scale(1) translateX(4px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    39.375% {
        transform: scale(1) translateX(-4px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    40.25% {
        transform: scale(1) translateX(4px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    41% {
        transform: scale(1) translateX(-3px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    41.875% {
        transform: scale(1) translateX(3px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    42.75% {
        transform: scale(1) translateX(-3px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    43.625% {
        transform: scale(1) translateX(3px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    44.375% {
        transform: scale(1) translateX(-2px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    45.25% {
        transform: scale(1) translateX(2px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    46.125% {
        transform: scale(1) translateX(-2px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    47% {
        transform: scale(1) translateX(2px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    47.875% {
        transform: scale(1) translateX(-1px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    48.75% {
        transform: scale(1) translateX(1px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    49.625% {
        transform: scale(1) translateX(-1px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    50.5% {
        transform: scale(1) translateX(1px);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    51.375% {
        transform: scale(1) translateX(0);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    55% {
        opacity: 1;
        transform: scale(1) translateX(0);
        box-shadow: 0 8px 16px rgba(141, 208, 232, 0.5);
    }
    56%, 99% {
        opacity: 1;
        transform: scale(1) translateX(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

/* Parallel Compute Diagram */
.parallel-compute-diagram {
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 600px;
    background: transparent;
    border-radius: 8px;
    overflow: visible;
}

.parallel-compute-diagram .circuit-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Ambient glow orbs */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: orbFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--wave-accent) 0%, transparent 70%);
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--blueDC) 0%, transparent 70%);
    right: 15%;
    top: 60%;
    animation-delay: 3s;
}

/* Flowing parallel wires - curved and organic */
.wire {
    position: absolute;
    stroke-width: 2;
    fill: none;
    opacity: 0.5;
    filter: drop-shadow(0 0 3px currentColor);
    pointer-events: none;
}

.wire-1 {
    stroke: var(--wave-accent-dark);
    top: 20%;
    left: 0;
    width: 100%;
    height: 100%;
}

.wire-2 {
    stroke: var(--wave-accent-darker);
    top: 35%;
    left: 0;
    width: 100%;
    height: 100%;
}

.wire-3 {
    stroke: var(--blueDC);
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
}

.wire-4 {
    stroke: var(--wave-accent-dark);
    top: 65%;
    left: 0;
    width: 100%;
    height: 100%;
}

.wire-5 {
    stroke: var(--wave-accent-darker);
    top: 80%;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Data particles flowing along wires */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0.5px);
}

.particle-wave {
    background: var(--wave-accent-dark);
    box-shadow: 0 0 12px var(--wave-accent-dark), 0 0 24px var(--wave-accent-dark);
}

.particle-blue {
    background: var(--blueDC);
    box-shadow: 0 0 12px var(--blueDC), 0 0 24px var(--blueDC);
}

/* Glowing nodes where wires split/merge */
.node {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 208, 232, 0.6) 0%, rgba(107, 184, 208, 0.3) 50%, transparent 100%);
    box-shadow: 0 0 30px var(--wave-accent-dark), 0 0 60px var(--wave-accent-dark);
    animation: nodePulse 3s ease-in-out infinite;
    pointer-events: none;
}

.node-large {
    width: 120px;
    height: 120px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.node-medium {
    width: 60px;
    height: 60px;
    animation-delay: 0.5s;
}

.node-small {
    width: 30px;
    height: 30px;
    animation-delay: 1s;
}

/* Abstract processing shapes */
.processing-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(187, 189, 220, 0.2) 0%, transparent 70%);
    border: 2px solid var(--blueDC);
    opacity: 0.5;
    animation: shapePulse 4s ease-in-out infinite;
    pointer-events: none;
}

.shape-1 {
    width: 200px;
    height: 200px;
    left: 25%;
    top: 30%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    left: 70%;
    top: 25%;
    animation-delay: 1s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    left: 20%;
    top: 70%;
    animation-delay: 2s;
}

.shape-4 {
    width: 160px;
    height: 160px;
    left: 75%;
    top: 65%;
    animation-delay: 1.5s;
}

/* Flowing data streams */
.data-stream {
    position: absolute;
    width: 3px;
    background: linear-gradient(to right, transparent, var(--wave-accent-dark), transparent);
    opacity: 0.5;
    filter: blur(1px);
    animation: streamFlow 2s linear infinite;
    pointer-events: none;
}

/* Connection wires - curved paths */
.connection-wire {
    position: absolute;
    stroke-width: 1.5;
    fill: none;
    opacity: 0.3;
    filter: drop-shadow(0 0 2px currentColor);
    pointer-events: none;
}

/* Particle trails */
.particle-trail {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--wave-accent-dark), transparent);
    opacity: 0.3;
    filter: blur(2px);
    animation: trailMove 3s linear infinite;
    pointer-events: none;
}

/* Parallel Compute Animations */
@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.3;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.2;
    }
}

@keyframes nodePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
        box-shadow: 0 0 30px var(--wave-accent-dark), 0 0 60px var(--wave-accent-dark);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
        box-shadow: 0 0 50px var(--wave-accent-dark), 0 0 100px var(--wave-accent-dark);
    }
}

@keyframes shapePulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes streamFlow {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(calc(100vw + 100px));
        opacity: 0;
    }
}

@keyframes trailMove {
    0% {
        transform: translateX(-200px);
        opacity: 0;
    }
    20% {
        opacity: 0.4;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(calc(100vw + 200px));
        opacity: 0;
    }
}

@keyframes particleMove1 {
    0% {
        left: 0%;
        top: 20%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 45%;
        top: 48%;
    }
    60% {
        left: 55%;
        top: 52%;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        top: 80%;
        opacity: 0;
    }
}

@keyframes particleMove2 {
    0% {
        left: 0%;
        top: 35%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 48%;
        top: 50%;
    }
    60% {
        left: 52%;
        top: 50%;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        top: 65%;
        opacity: 0;
    }
}

@keyframes particleMove3 {
    0% {
        left: 0%;
        top: 50%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 50%;
        top: 50%;
    }
    60% {
        left: 50%;
        top: 50%;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        top: 50%;
        opacity: 0;
    }
}

@keyframes particleMove4 {
    0% {
        left: 0%;
        top: 65%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 52%;
        top: 50%;
    }
    60% {
        left: 48%;
        top: 50%;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        top: 35%;
        opacity: 0;
    }
}

@keyframes particleMove5 {
    0% {
        left: 0%;
        top: 80%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 55%;
        top: 52%;
    }
    60% {
        left: 45%;
        top: 48%;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        top: 20%;
        opacity: 0;
    }
}

/* Responsive for parallel compute */
@media (max-width: 768px) {
    .parallel-compute-diagram {
        height: 400px;
        min-height: 400px;
    }

    .node-large {
        width: 80px;
        height: 80px;
    }

    .processing-shape {
        width: 100px !important;
        height: 100px !important;
    }

    .ambient-orb {
        width: 150px !important;
        height: 150px !important;
    }
}

/* Blog Catalog Styles */
.blog-section {
    padding: 4rem 0 6rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.blog-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgrounds/bg2.png');
    background-size: cover;
    background-position: center left;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.blog-section.bg-alt {
    background: var(--bg-primary);
}

/* Unified header and blog section (for news page) */
.blog-section-unified {
    padding: 8rem 0 6rem;
}

.blog-section-unified .blog-grid {
    margin-top: 5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* Highlighted Blog Card */
.blog-card-highlight {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    border: 1.5px solid #e8ecf1;
    transition: all var(--transition-base);
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.6s ease-out forwards;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
    margin-bottom: 3rem;
    z-index: 2;
}

.blog-card-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(181, 229, 243, 0.08) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.blog-card-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
    background: var(--bg-primary);
}

.blog-card-highlight:hover::before {
    opacity: 1;
}

.blog-card-highlight-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.blog-card-highlight-thumbnail {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.blog-card-highlight-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 20%, 
        rgba(255, 255, 255, 0.15) 40%, 
        rgba(255, 255, 255, 0.3) 65%, 
        rgba(255, 255, 255, 0.5) 85%, 
        rgba(255, 255, 255, 0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

.blog-card-highlight:hover .blog-card-highlight-thumbnail {
    background: linear-gradient(135deg, var(--blueDC) 0%, var(--warning-coral) 100%);
}

.blog-card-highlight-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    position: relative;
    z-index: 1;
}

.blog-card-highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(181, 229, 243, 0.15) 0%, rgba(154, 155, 198, 0.15) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
}

.blog-card-highlight:hover .blog-card-highlight-thumbnail img {
    transform: scale(1.08);
}

.blog-card-highlight:hover .blog-card-highlight-overlay {
    opacity: 1;
}

.blog-card-highlight-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.blog-card-highlight-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-card-highlight-category {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    color: var(--text-primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(154, 155, 198, 0.2);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(154, 155, 198, 0.2);
}

.blog-card-highlight:hover .blog-card-highlight-category {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(154, 155, 198, 0.4);
    font-size: 0.875rem;
}

.blog-card-highlight-date {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-card-highlight-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
    transition: all var(--transition-base);
    padding-bottom: 0.75rem;
    position: relative;
    overflow: visible;
}

.blog-card-highlight-title::before {
    content: '';
    position: absolute;
    display: block;
    width: 60%;
    height: 4px;
    background: var(--wave-accent-dark);
    bottom: 0;
    left: 0;
    transition: width 0.7s ease, background 0.7s ease;
    z-index: 1;
}

.blog-card-highlight-title::after {
    content: '';
    position: absolute;
    display: block;
    background: var(--wave-accent-dark);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    width: 50px;
    height: 30px;
    bottom: -2px;
    left: 60%;
    opacity: 0;
    transition: all 0.7s ease;
    transform: translateX(-10px);
    z-index: 2;
}

.blog-card-highlight:hover .blog-card-highlight-title {
    color: var(--wave-accent-dark);
}

.blog-card-highlight:hover .blog-card-highlight-title::before {
    width: 85%;
    background: var(--wave-accent-dark);
}

.blog-card-highlight:hover .blog-card-highlight-title::after {
    opacity: 1;
    left: 85%;
    transform: translateX(10px);
    background: var(--wave-accent-dark);
}

.blog-card-highlight-excerpt {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    transition: color var(--transition-base);
}

.blog-card-highlight:hover .blog-card-highlight-excerpt {
    color: var(--text-secondary);
}

.blog-card-highlight-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--wave-accent-dark);
    font-weight: 700;
    font-size: 1.125rem;
    transition: all var(--transition-base);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background: rgba(181, 229, 243, 0.15);
    border: 1.5px solid rgba(141, 208, 232, 0.3);
    align-self: flex-start;
}

.blog-card-highlight:hover .blog-card-highlight-cta {
    color: var(--wave-accent-dark);
    background: rgba(181, 229, 243, 0.25);
    border-color: var(--wave-accent-dark);
    transform: translateX(5px);
}

.blog-card-highlight-cta .arrow {
    transition: transform var(--transition-base);
}

.blog-card-highlight:hover .blog-card-highlight-cta .arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-card-highlight-thumbnail {
        height: 280px;
    }
    
    .blog-card-highlight-content {
        padding: 2rem;
    }
    
    .blog-card-highlight-title {
        font-size: 1.75rem;
    }
    
    .blog-card-highlight-excerpt {
        font-size: 1rem;
    }
}

.blog-card {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(59, 59, 59, 0.08), 0 2px 8px rgba(59, 59, 59, 0.04);
    border: 1.5px solid #e8ecf1;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(181, 229, 243, 0.05) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 59, 59, 0.12), 0 4px 12px rgba(59, 59, 59, 0.08);
    border-color: var(--wave-accent-dark);
    background: var(--bg-primary);
}

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

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-base);
}

.blog-card-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.blog-card-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 20%, 
        rgba(255, 255, 255, 0.15) 40%, 
        rgba(255, 255, 255, 0.3) 65%, 
        rgba(255, 255, 255, 0.5) 85%, 
        rgba(255, 255, 255, 0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

.blog-card:hover .blog-card-thumbnail {
    background: linear-gradient(135deg, var(--blueDC) 0%, var(--warning-coral) 100%);
}

.blog-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    position: relative;
    z-index: 1;
}

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(181, 229, 243, 0.1) 0%, rgba(154, 155, 198, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
}

.blog-card:hover .blog-card-thumbnail img {
    transform: scale(1.1);
}

.blog-card:hover .blog-card-overlay {
    opacity: 1;
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-card-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--blueDC-light) 0%, var(--warning-coral-light) 100%);
    color: var(--text-primary);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(154, 155, 198, 0.2);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(154, 155, 198, 0.2);
}

.blog-card:hover .blog-card-category {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(154, 155, 198, 0.4);
}

.blog-card-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
    transition: all var(--transition-base);
    padding-bottom: 0.5rem;
    position: relative;
    overflow: visible;
}

.blog-card-title::before {
    content: '';
    position: absolute;
    display: block;
    width: 60%;
    height: 3px;
    background: var(--wave-accent-dark);
    bottom: 0;
    left: 0;
    transition: width 0.7s ease, background 0.7s ease;
    z-index: 1;
}

.blog-card-title::after {
    content: '';
    position: absolute;
    display: block;
    background: var(--wave-accent-dark);
    mask: url('assets/images/banner-tag.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('assets/images/banner-tag.svg') no-repeat center;
    -webkit-mask-size: contain;
    width: 40px;
    height: 24px;
    bottom: -1px;
    left: 60%;
    opacity: 0;
    transition: all 0.7s ease;
    transform: translateX(-10px);
    z-index: 2;
}

.blog-card:hover .blog-card-title {
    color: var(--wave-accent-dark);
}

.blog-card:hover .blog-card-title::before {
    width: 85%;
    background: var(--wave-accent-dark);
}

.blog-card:hover .blog-card-title::after {
    opacity: 1;
    left: 85%;
    transform: translateX(10px);
    background: var(--wave-accent-dark);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.blog-card:hover .blog-card-excerpt {
    color: var(--text-secondary);
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wave-accent-dark);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: auto;
    transition: all var(--transition-base);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(181, 229, 243, 0.15);
    border: 1.5px solid rgba(141, 208, 232, 0.3);
}

.blog-card-cta .arrow {
    transition: transform var(--transition-base);
    display: inline-block;
}

.blog-card:hover .blog-card-cta {
    color: var(--wave-accent-dark);
    transform: translateX(4px);
    background: rgba(181, 229, 243, 0.25);
    border-color: var(--wave-accent-dark);
    padding-left: 1.5rem;
}

.blog-card:hover .blog-card-cta .arrow {
    transform: translateX(4px);
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    pointer-events: none;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.newsletter-section.bg-alt {
    background: var(--gradient-dark);
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.newsletter-content > p {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.newsletter-input-group:focus-within {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(181, 229, 243, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--white);
    font-family: inherit;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group .btn {
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--white);
}

.newsletter-input-group .btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.newsletter-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-style: italic;
}

/* Responsive Blog Catalog */
@media (max-width: 768px) {
    .page-header-content {
        gap: 1.5rem;
    }
    
    .page-header-accent {
        width: 6px;
        height: 100px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-card-thumbnail {
        height: 180px;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-card-title {
        font-size: 1.25rem;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 1rem;
        padding: 1rem;
    }
    
    .newsletter-input-group .btn {
        width: 100%;
        border-radius: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        gap: 1.5rem;
    }
    
    .blog-card-thumbnail {
        height: 160px;
    }
    
    .newsletter-content h2 {
        font-size: 1.75rem;
    }
}
