/* ==========================================================================
   Ribbontech Systems - Light Blue Body + Dark Header/Footer
   Estructura diferenciada de ribbontech.com.ar
   ========================================================================== */

:root {
    /* Light Blue Body Palette */
    --bg-light: #f8fafc;
    --bg-light-alt: #f1f5f9;
    --surface-white: rgba(255, 255, 255, 0.88);
    --surface-hover: #ffffff;

    /* Dark Palette (Navbar & Footer) */
    --bg-dark: #0f172a;
    --bg-dark-secondary: #1e293b;
    --text-on-dark: #f1f5f9;
    --text-on-dark-muted: #94a3b8;

    /* Blue Accents */
    --primary-blue: #2563eb;
    --primary-blue-hover: #1d4ed8;
    --accent-sky: #0284c7;
    --emerald: #10b981;
    --emerald-hover: #059669;

    /* Text */
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;

    /* Glass & Shadows */
    --glass-border: rgba(37, 99, 235, 0.1);
    --glass-border-hover: rgba(37, 99, 235, 0.35);
    --shadow-soft: 0 4px 20px rgba(37, 99, 235, 0.06);
    --shadow-hover: 0 12px 35px rgba(37, 99, 235, 0.12);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    background: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

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

section { padding: 6rem 0; position: relative; }

/* ==========================================================================
   AMBIENT GLOWS
   ========================================================================== */

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.glow-blue {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    width: 500px; height: 500px;
}

.glow-sky {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 70%);
    width: 600px; height: 600px;
}

/* ==========================================================================
   NAVBAR — DARK
   ========================================================================== */

nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1.15rem 0;
    transition: all var(--transition-smooth);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav.scrolled {
    padding: 0.8rem 0;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.logo-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-brand img { height: 36px; width: auto; }

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.4rem;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-on-dark-muted);
}

.nav-links a:hover { color: #fff; }

.btn-whatsapp-nav {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-hover) 100%);
    color: #fff !important;
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: var(--transition-smooth);
}

.btn-whatsapp-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   HERO — VIDEO BACKGROUND (fondo.mp4)
   ========================================================================== */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
    z-index: 2;
}

.hero-video-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: -2;
}

.hero-bg-video {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.65;
    filter: brightness(1.1) contrast(1.15) saturate(1.1);
    transition: transform 0.1s ease-out;
}

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

.hero-content {
    max-width: 780px;
    z-index: 3;
}

.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.6rem;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 700;
}

.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background-color: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%  { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1);    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100%{ transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    margin-bottom: 1.4rem;
    color: #fff;
    line-height: 1.08;
}

.highlight-warm {
    background: linear-gradient(135deg, #ea580c 0%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 680px;
    line-height: 1.65;
}

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

.btn-primary-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
    transition: var(--transition-smooth);
}

.btn-primary-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #16a34a 100%);
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    color: #fff !important;
}

.btn-outline-blue {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-outline-blue:hover {
    border-color: var(--primary-blue);
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ==========================================================================
   SECTION HEADERS (reusable)
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

.section-tag {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    display: block;
}

.section-header h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    margin-bottom: 0.9rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ==========================================================================
   PROCESS / TIMELINE SECTION
   ========================================================================== */

.process-section {
    background: var(--bg-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.2) 20%, rgba(37, 99, 235, 0.2) 80%, transparent 100%);
}

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

.step-number {
    width: 56px; height: 56px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-sky));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ==========================================================================
   SOLUTIONS GRID
   ========================================================================== */

.solutions-section {
    background: var(--bg-light-alt);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

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

.solution-card {
    position: relative;
    background: var(--surface-white);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    transform-style: preserve-3d;
}

.solution-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-hover);
}

.solution-featured {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 4px 25px rgba(37, 99, 235, 0.1);
}

.solution-badge {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-sky));
    color: #fff;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card-glow {
    position: absolute;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.card-content-inner { position: relative; z-index: 2; }

.service-icon-box {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 1.4rem;
}

.icon-web { color: var(--accent-sky); background: rgba(2, 132, 199, 0.08); border-color: rgba(2, 132, 199, 0.15); }
.icon-app { color: var(--emerald); background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.15); }
.icon-cart { color: #ea580c; background: rgba(234, 88, 12, 0.08); border-color: rgba(234, 88, 12, 0.15); }

.solution-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.solution-card p {
    color: var(--text-body);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.feature-list-check { list-style: none; margin-bottom: 1.5rem; }

.feature-list-check li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature-list-check i { color: var(--primary-blue); font-size: 0.85rem; }

.btn-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.btn-card-cta:hover {
    color: var(--primary-blue-hover);
    gap: 0.7rem;
}

/* ==========================================================================
   SHOWCASE (Two-Column Layout: Text + Browser Mockup)
   ========================================================================== */

.showcase-section { background: var(--bg-light); }

.showcase-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.showcase-text .section-tag { text-align: left; display: block; margin-bottom: 0.5rem; }

.showcase-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 1.2rem;
}

.showcase-text > p {
    color: var(--text-body);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.showcase-features { list-style: none; margin-bottom: 2.5rem; }

.showcase-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.showcase-features li i {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.showcase-features li strong {
    display: block;
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.showcase-features li span {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Browser Mockup */
.browser-mockup {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.browser-bar {
    background: var(--bg-dark);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.browser-bar .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.browser-content {
    max-height: 500px;
    overflow-y: auto;
    background: #0f172a;
}

.browser-content::-webkit-scrollbar {
    width: 6px;
}
.browser-content::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.3);
    border-radius: 3px;
}

.browser-content img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* ==========================================================================
   MODULES
   ========================================================================== */

.modules-section { background: var(--bg-light-alt); }

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

.module-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-smooth);
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
}

.module-item:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-hover);
}

.module-icon-img {
    width: 90px; height: 90px;
    object-fit: contain;
    margin: 0 auto 1.3rem auto;
}

.module-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.module-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ==========================================================================
   METRICS
   ========================================================================== */

.metrics-section { padding: 5rem 0; }

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.metric-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-smooth);
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
}

.metric-card:hover { box-shadow: var(--shadow-hover); }

.counter-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-banner {
    background: linear-gradient(135deg, #fff 0%, rgba(239, 246, 255, 0.95) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 28px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.08);
}

.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.15rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

/* ==========================================================================
   FOOTER — DARK
   ========================================================================== */

footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 4rem 0 2rem 0;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 36px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-on-dark-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-on-dark);
}

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

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
    color: var(--text-on-dark-muted);
    font-size: 0.9rem;
}

.footer-col ul li a:hover { color: #fff; }

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social a {
    color: var(--text-on-dark-muted);
    font-size: 1.3rem;
    transition: var(--transition-fast);
}

.footer-social a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-on-dark-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */

.floating-whatsapp {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 58px; height: 58px;
    background: var(--emerald);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    z-index: 999;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.55);
}

/* ==========================================================================
   RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */

@media (max-width: 992px) {
    .nav-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
        text-align: center;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .btn-whatsapp-nav {
        width: 100%;
        justify-content: center;
    }

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

    .showcase-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .showcase-visual { max-width: 500px; margin: 0 auto; }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .process-timeline::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 3.5rem 0; }
    
    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 3.5rem;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 7.5vw, 3rem);
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-group .btn-whatsapp,
    .cta-group .btn-primary-blue,
    .cta-group .btn-outline-light,
    .cta-group .btn-outline-blue {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 1.1rem 1.5rem;
    }
    
    .solution-card {
        padding: 2rem 1.4rem;
    }
    
    .cta-banner {
        padding: 2.5rem 1.25rem;
        border-radius: 20px;
    }
    
    .cta-banner h2 {
        font-size: 1.75rem;
    }
    
    .cta-banner p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
    
    .process-timeline { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-brand p { max-width: 100%; }
    .footer-social { justify-content: center; }
    
    .floating-whatsapp {
        bottom: 1.25rem; right: 1.25rem;
        width: 52px; height: 52px;
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .module-item {
        padding: 1.5rem 1rem;
    }
    .module-icon-img {
        width: 64px; height: 64px;
        margin-bottom: 0.8rem;
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .metric-card {
        padding: 1.8rem 1rem;
    }
    .counter-number {
        font-size: 2.4rem;
    }
}

/* ==========================================================================
   EMAIL SELECTION MODAL
   ========================================================================== */
.email-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.email-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.email-modal-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 2.2rem 2rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(37, 99, 235, 0.15);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.email-modal-overlay.active .email-modal-card {
    transform: translateY(0) scale(1);
}

.email-modal-close {
    position: absolute;
    top: 1rem; right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.email-modal-close:hover {
    color: var(--text-main);
}

.email-modal-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.email-modal-icon {
    width: 54px; height: 54px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem auto;
}

.email-modal-header h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.email-modal-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.email-options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.email-option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    background: var(--bg-light-alt);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.email-option-btn i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.email-option-btn.gmail-btn i { color: #ea4335; }
.email-option-btn.outlook-btn i { color: #0078d4; }
.email-option-btn.yahoo-btn i { color: #6001d2; }
.email-option-btn.app-btn i { color: var(--primary-blue); }

.email-option-btn:hover {
    background: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.email-copy-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.04);
    border: 1.5px dashed rgba(37, 99, 235, 0.25);
    padding: 0.6rem 1rem;
    border-radius: 12px;
}

.email-address-text {
    font-family: monospace;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.btn-copy-email {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s ease;
}

.btn-copy-email:hover {
    background: var(--primary-blue-hover);
}

/* ==========================================================================
   ERROR PAGES STYLING
   ========================================================================== */
.error-hero {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 1.5rem 4rem 1.5rem;
    position: relative;
    z-index: 2;
}

.error-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    max-width: 640px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(4.5rem, 12vw, 7.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.error-card h1 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: #020617;
    margin-bottom: 1rem;
}

.error-card p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.2rem;
}

.error-card .cta-group {
    justify-content: center;
}

@media (max-width: 576px) {
    .error-card {
        padding: 2.5rem 1.4rem;
        border-radius: 20px;
    }
}