/* =========================================
   ABOUT PAGE: HERO SECTION (CLEAN SPLIT)
========================================= */
.about-hero-clean {
    background-color: #ffffff; 
    padding: 40px 20px 80px 20px; /* Reduced top gap to 40px */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden;
}
@media (max-width: 768px) {
    .about-hero-clean {
        padding-top: 20px !important;
    }
}

.about-hero-clean .about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Text side is slightly wider */
    gap: 60px;
    align-items: center;
}

/* --- Left Side: Text --- */
.about-hero-clean .tagline-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.about-hero-clean .line-accent {
    width: 40px;
    height: 2px;
    background-color: #2563eb; /* Tech Blue */
}

.about-hero-clean .tagline-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.about-hero-clean h1 {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 800;
    color: #0f172a; /* Very dark slate, better than pure black */
    line-height: 1.1;
    margin: 0 0 25px 0;
    letter-spacing: -1.5px;
}

.about-hero-clean .text-blue {
    color: #2563eb;
}

.about-hero-clean p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
    max-width: 550px;
}

/* --- Right Side: Image --- */
.about-hero-clean .about-image-side {
    position: relative;
    padding: 20px 20px 20px 0;
}

.about-hero-clean .image-frame-modern {
    position: relative;
    border-radius: 20px;
    z-index: 2;
}

.about-hero-clean .clean-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5; /* Gives the image a modern portrait crop */
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    position: relative;
    z-index: 2;
}

/* Decorative background pattern offset behind the image */
.about-hero-clean .geo-pattern {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80%;
    height: 80%;
    background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
    background-size: 20px 20px;
    border-radius: 20px;
    z-index: 1;
}

/* --- Reveal Animation --- */
.about-hero-clean .reveal {
    opacity: 0;
    animation: slideRightShow 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideRightShow {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* --- Staggered cascade for the text block's own children --- */
.about-hero-clean .about-text-side.reveal .tagline-wrapper,
.about-hero-clean .about-text-side.reveal h1,
.about-hero-clean .about-text-side.reveal p {
    opacity: 0;
    animation: fadeUpChild 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-hero-clean .about-text-side.reveal .tagline-wrapper { animation-delay: 0.15s; }
.about-hero-clean .about-text-side.reveal h1 { animation-delay: 0.3s; }
.about-hero-clean .about-text-side.reveal p { animation-delay: 0.5s; }

@keyframes fadeUpChild {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Ambient idle motion: dot pattern gently drifts, portrait gently floats --- */
.about-hero-clean .geo-pattern {
    animation: dotDrift 14s ease-in-out infinite;
}

@keyframes dotDrift {
    0%, 100% { background-position: 0 0; }
    50% { background-position: 12px 12px; }
}

.about-hero-clean .image-frame-modern {
    animation: heroImgFloat 6s ease-in-out infinite;
}

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

.about-hero-clean .clean-img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-hero-clean .image-frame-modern:hover .clean-img {
    transform: scale(1.015);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 960px) {
    .about-hero-clean .about-container {
        grid-template-columns: 1fr; /* Stack layout on mobile */
        gap: 50px;
    }
    
    .about-hero-clean .about-text-side {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .about-hero-clean .tagline-wrapper {
        justify-content: center;
    }
    
    .about-hero-clean p {
        max-width: 600px;
    }
    
    .about-hero-clean .clean-img {
        aspect-ratio: 16/9; /* Switch to landscape crop on small screens */
    }
    
    .about-hero-clean .geo-pattern {
        right: -15px;
        bottom: -15px;
    }
}

/* ==========================================
   2. SIMPLE INTRO SECTION
   ========================================== */
.intro-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.2rem;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.intro-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Abstract Network Graphic CSS */
.network-graphic {
    position: relative;
    height: 300px;
    background: var(--bg-light);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.network-graphic:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

/* The image previously had no base sizing rule, so it only behaved on mobile */
.intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.network-graphic:hover .intro-img {
    transform: scale(1.04);
}

.node {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    position: absolute;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.central-node {
    background: var(--accent-orange);
    color: white;
    z-index: 2;
}

.carrier-node {
    background: white;
    color: var(--forest-green);
    border: 1px solid var(--forest-green);
}

.pos-1 { top: 40px; left: 40px; }
.pos-2 { bottom: 40px; left: 80px; }
.pos-3 { top: 120px; right: 40px; }

/* =========================================
   CUSTOM SENDER ID SECTION (PHONE MOCKUP)
========================================= */
.sender-id-section {
    padding: 100px 20px;
    background-color: #f8fafc; /* Soft off-white to make the phone pop */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

.sender-id-section .sender-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- Left Side: Content --- */
.sender-id-section .badge-accent {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(249, 115, 22, 0.1);
    color: #ea580c;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.sender-id-section h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.sender-id-section .text-gradient-orange {
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sender-id-section p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.sender-id-section .stat-highlight {
    font-weight: 600;
    color: #0f172a;
    font-size: 1.1rem;
    margin-bottom: 35px;
}

/* Buttons */
.sender-id-section .sender-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.sender-id-section .btn-primary-solid {
    background-color: #ea580c;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.25);
}

.sender-id-section .btn-primary-solid:hover {
    background-color: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.4);
}

.sender-id-section .btn-outline-dark {
    background-color: transparent;
    color: #0f172a;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid #cbd5e1;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sender-id-section .btn-outline-dark:hover {
    border-color: #0f172a;
    background-color: #0f172a;
    color: #ffffff;
}

/* --- Right Side: Pure CSS iPhone 17 Pro Max Mockup --- */
.sender-id-section .sender-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.sender-id-section .phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    z-index: 1;
    animation: glowPulse 4.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.sender-id-section .iphone-mockup {
    position: relative;
    z-index: 2;
    width: 300px;
    height: 520px;
    background-color: #000000;
    border-radius: 50px;
    /* The metallic bezel */
    box-shadow: 
        0 0 0 12px #334155, 
        0 0 0 13px #1e293b, 
        0 30px 60px rgba(0,0,0,0.3),
        inset 0 0 20px rgba(255,255,255,0.2);
    transform: rotate3d(0, 1, 0, -10deg) rotate3d(1, 0, 0, 5deg); /* Subtle 3D tilt */
    transition: transform 0.5s ease;
}

.sender-id-section .iphone-mockup:hover {
    transform: rotate3d(0, 0, 0, 0deg); /* Flattens on hover */
}

/* Hardware Buttons */
.sender-id-section .power-button,
.sender-id-section .volume-up,
.sender-id-section .volume-down {
    position: absolute;
    background: #1e293b;
    border-radius: 4px;
}
.sender-id-section .power-button { right: -15px; top: 180px; width: 3px; height: 60px; }
.sender-id-section .volume-up { left: -15px; top: 150px; width: 3px; height: 50px; }
.sender-id-section .volume-down { left: -15px; top: 220px; width: 3px; height: 50px; }

/* The Dynamic Island */
.sender-id-section .dynamic-island {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background-color: #000000;
    border-radius: 20px;
    z-index: 20;
    box-shadow: inset 0 0 5px rgba(255,255,255,0.1);
}

/* Screen Area */
.sender-id-section .screen-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 38px; /* Slightly smaller than outer radius */
    overflow: hidden;
    background: #1e293b;
}

.sender-id-section .phone-wallpaper {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- The iOS Notification --- */
.sender-id-section .ios-notification {
    position: absolute;
    top: 60px; /* Sits right below the dynamic island */
    left: 15px;
    right: 15px;
    background: rgba(250, 250, 250, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 15;
}

.sender-id-section .notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sender-id-section .notif-app-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sender-id-section .app-icon {
    width: 20px;
    height: 20px;
    background: #34d399; /* Green icon bg */
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sender-id-section .app-icon svg {
    width: 14px;
    height: 14px;
}

.sender-id-section .sender-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.5px;
}

.sender-id-section .notif-time {
    font-size: 0.8rem;
    color: #666666;
}

.sender-id-section .notif-body {
    font-size: 0.95rem;
    color: #111111;
    line-height: 1.4;
}

/* --- Drop-down Animation --- */
.sender-id-section .drop-anim {
    animation: dropIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: translateY(-40px) scale(0.9);
}

@keyframes dropIn {
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 960px) {
    .sender-id-section .sender-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .sender-id-section .sender-content {
        text-align: center;
    }
    
    .sender-id-section .sender-actions {
        justify-content: center;
    }
    
    .sender-id-section .iphone-mockup {
        transform: rotate3d(0, 0, 0, 0deg); /* Disable tilt on mobile for cleaner fit */
    }
}

@media (max-width: 400px) {
    /* Slightly scale down the phone for very small devices */
    .sender-id-section .iphone-mockup {
        width: 280px;
        height: 570px;
    }
    .sender-id-section .btn-primary-solid,
    .sender-id-section .btn-outline-dark {
        width: 100%;
        text-align: center;
    }
}
/* =========================================
   INFRASTRUCTURE SECTION (DARK TECH THEME)
========================================= */
.infrastructure-section {
    background-color: #0b1120; /* Deep slate tech background */
    padding: 70px 20px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Subtle Technical Grid Background */
.infrastructure-section .infra-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px; /* Creates the grid squares */
    z-index: 1;
    pointer-events: none;
}

.infrastructure-section .infra-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- Section Header --- */
.infrastructure-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.infrastructure-section .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* Bright Cyan gradient for tech vibe */
.infrastructure-section .text-gradient-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* --- Stats Grid --- */
.infrastructure-section .infra-stats-grid {
    display: grid;
    /* Auto-creates columns beautifully based on screen size */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* --- Dark Glass Stat Cards --- */
.infrastructure-section .stat-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Hovering makes the card glow like an active terminal */
.infrastructure-section .stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                inset 0 0 20px rgba(6, 182, 212, 0.1);
}

/* --- The SVG Icons --- */
.infrastructure-section .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4; /* Bright cyan */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.infrastructure-section .stat-icon svg {
    width: 30px;
    height: 30px;
}

.infrastructure-section .stat-card:hover .stat-icon {
    background: #06b6d4;
    color: #0b1120;
    transform: scale(1.1) rotate(6deg);
}

/* --- Typography inside Cards --- */
.infrastructure-section .stat-card h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
}

.infrastructure-section .stat-card p {
    font-size: 1.05rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
}

/* --- Blinking "Live Status" Indicator --- */
.infrastructure-section .live-status {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981; /* Success Green */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.infrastructure-section .pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: serverPulse 2s infinite;
}

@keyframes serverPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- Reveal Animation --- */
.infrastructure-section .reveal {
    opacity: 0;
    animation: fadeUpInfra 0.8s ease forwards;
}

@keyframes fadeUpInfra {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Device Adjustments --- */
@media (max-width: 600px) {
    .infrastructure-section .stat-card {
        padding: 30px 20px;
    }
    
    .infrastructure-section .stat-card h3 {
        font-size: 2.8rem;
    }
}
/* =========================================
   PRICING SECTION STYLES
========================================= */
.modern-pricing-section {
    padding: 70px 20px;
    background-color: #f8fafc; /* Very light slate background */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.modern-pricing-section .pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header --- */
.modern-pricing-section .section-header {
    text-align: center;
    margin-bottom: 70px;
}

.modern-pricing-section .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.modern-pricing-section .text-blue {
    color: #2563eb;
}

.modern-pricing-section .section-header p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Pricing Grid --- */
.modern-pricing-section .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center; /* This allows the middle card to sit taller than the others */
}

/* --- Base Pricing Card --- */
.modern-pricing-section .pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.modern-pricing-section .pricing-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-5px);
}

.modern-pricing-section .card-top h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.modern-pricing-section .pricing-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 25px 0;
    min-height: 45px; /* Keeps heights aligned */
}

.modern-pricing-section .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.modern-pricing-section .price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 5px;
    margin-right: 2px;
    color: #64748b;
}

.modern-pricing-section .price .period {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    align-self: flex-end;
    margin-bottom: 8px;
    margin-left: 5px;
}

/* List Items */
.modern-pricing-section .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1; /* Pushes the button to the bottom evenly */
}

.modern-pricing-section .pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 15px;
}

.modern-pricing-section .check-icon {
    width: 20px;
    height: 20px;
    color: #10b981; /* Success Green */
    flex-shrink: 0;
}

/* Buttons */
.modern-pricing-section .btn-outline-pricing {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    background: transparent;
    color: #0f172a;
    border: 2px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-pricing-section .btn-outline-pricing:hover {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
}

/* --- "Most Popular" Card Override --- */
.modern-pricing-section .popular-card {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    transform: scale(1.05); /* Makes it slightly larger */
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
    z-index: 2;
}

.modern-pricing-section .popular-card:hover {
    transform: scale(1.05) translateY(-5px);
}

.modern-pricing-section .popular-card .card-top h3,
.modern-pricing-section .popular-card .price {
    color: #ffffff;
}

.modern-pricing-section .popular-card .pricing-desc,
.modern-pricing-section .popular-card .price .currency,
.modern-pricing-section .popular-card .price .period,
.modern-pricing-section .popular-card .pricing-features li {
    color: #cbd5e1; /* Lighter text for dark background */
}

.modern-pricing-section .popular-card .check-icon {
    color: #3b82f6; /* Blue checkmarks for the dark card */
}

/* Floating Badge */
.modern-pricing-section .popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.modern-pricing-section .btn-solid-pricing {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    background: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-pricing-section .btn-solid-pricing:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* --- Reveal Animation --- */
.modern-pricing-section .reveal {
    opacity: 0;
    animation: fadeUpPricing 0.8s ease forwards;
}

@keyframes fadeUpPricing {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    /* Disable the scale effect on smaller screens so it doesn't break boundaries */
    .modern-pricing-section .popular-card {
        transform: scale(1);
        margin-top: 20px; /* Gives room for the badge */
    }
    
    .modern-pricing-section .popular-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .modern-pricing-section .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-pricing-section .pricing-card {
        padding: 30px 20px;
    }
}

/* ==========================================
   MOBILE BREAKPOINTS ≤ 768px — ABOUT PAGE
   ========================================== */
@media (max-width: 768px) {
    /* Hero */
    .about-hero, .about-hero2 {
        background-position: 80% center !important;
        height: auto;
        min-height: 100svh;
        padding: 100px 16px 60px;
        background-attachment: scroll; /* fixed bg doesn't work on mobile */
    }
    .hero-text-card {
        height: auto;
        padding: 30px 20px;
        border-radius: 12px; 
    }
    .hero-text-card h1 { font-size: 2rem; }
    .hero-text-card p { font-size: 1rem; }

    /* Intro section */
    .intro-section { padding: 50px 16px; }
    .intro-container { grid-template-columns: 1fr; gap: 30px; }
    .intro-text h2 { font-size: 1.6rem; }
    .network-graphic { height: 200px; }
    .intro-img { width: 100%; border-radius: 12px; }

    /* Sender ID */
    .sender-id-section { padding: 50px 16px; }
    .sender-banner {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
        border-radius: 16px;
    }
    .sender-content h2 { font-size: 1.7rem; }
    .sender-actions { flex-direction: column; gap: 12px; }
    .sender-actions a { text-align: center; }

    /* Infrastructure stats */
    .infrastructure-section { padding: 50px 16px; }
    .infra-stats { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
    .stat-box h3 { font-size: 2.5rem; }

    /* Pricing */
    .pricing-section { padding: 50px 16px 70px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .pricing-card { padding: 30px 20px; }
    .pricing-card.popular { padding: 30px 20px; }
    .price { font-size: 2.3rem; }

    /* CTA banner */
    .contact-cta-section { padding: 40px 16px 60px; }
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 24px;
        border-radius: 16px;
    }
    .cta-text h2 { font-size: 1.7rem; }
    .cta-action a { width: 100%; text-align: center; display: block; }
}

/* ==========================================
   5. CONTACT CTA BANNER (Light Theme)
   ========================================== */
.contact-cta-section {
    padding: 60px 20px 100px;
    background-color: var(--bg-light); /* Matches the background of the pricing section */
    display: flex;
    justify-content: center;
}

.cta-banner {
    max-width: 1000px;
    width: 100%;
    /* Soft, elegant gradient card */
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(226, 232, 240, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.cta-banner:hover::before {
    left: 130%;
}

.cta-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.cta-text h2 {
    font-size: 2.2rem;
    color: var(--deep-blue);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cta-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
    max-width: 550px;
}

.cta-action {
    flex-shrink: 0; /* Prevents the button from getting squished */
}

/* Responsive Adjustments for Mobile */
@media (max-width: 850px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}