/* ==========================================
   STREAMFLOW CLOUD - ELITE SAAS DESIGN SYSTEM
   ========================================== */
:root {
    --bg-dark: #07090e;
    --bg-surface: #0e1320;
    --bg-surface-elevated: #151b2d;
    --card-bg: rgba(14, 19, 32, 0.78);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(99, 102, 241, 0.45);
    
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #38bdf8;
    --success: #10b981;
    --warning: #f59e0b;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(56, 189, 248, 0.25) 100%);
    --gradient-card-popular: linear-gradient(180deg, rgba(30, 41, 68, 0.85) 0%, rgba(14, 19, 32, 0.95) 100%);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

h1, h2, h3, h4, .brand-name, .plan-tier, .plan-cost .val {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* Ambient Backdrops */
.bg-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.bg-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
}
.orb-1 {
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(320px, 60vw, 850px);
    height: clamp(280px, 50vw, 550px);
    background: radial-gradient(circle, #4f46e5 0%, #0284c7 100%);
}
.orb-2 {
    top: 50%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: #6366f1;
    opacity: 0.2;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

/* Header & Navbar */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 14, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 12px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    white-space: nowrap;
}

.brand-logo {
    width: 34px;
    height: 34px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.brand-name span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.5vw, 28px);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}
.nav-link:hover {
    color: var(--text-main);
}

.btn-nav {
    padding: 7px 16px;
    font-size: 0.84rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-smooth);
}
.btn-nav:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    padding: clamp(36px, 6vw, 75px) 0 clamp(24px, 4vw, 50px);
    text-align: center;
}

.hero-container {
    max-width: 920px;
    margin: 0 auto;
}

.hero-top-badges {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: clamp(16px, 2.5vw, 24px);
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
}
.status-live {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.28);
    color: #a5b4fc;
}
.rating-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    font-weight: 500;
}
.rating-stars {
    color: #fbbf24;
    letter-spacing: 0.5px;
}

.live-pulse {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.hero-heading {
    font-size: clamp(2rem, 5.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.2px;
    margin-bottom: clamp(14px, 2vw, 22px);
}

.hero-gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 700px;
    margin: 0 auto clamp(24px, 3.5vw, 36px);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: clamp(26px, 4vw, 38px);
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    min-height: 46px;
    border-radius: var(--radius-md);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    white-space: nowrap;
}

.btn-lg {
    min-width: 190px;
}
.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
    box-shadow: 0 14px 32px -4px rgba(99, 102, 241, 0.65);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--card-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.glow-btn {
    animation: pulseGlow 3s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.35); }
    100% { box-shadow: 0 0 30px rgba(56, 189, 248, 0.7); }
}

/* Payment Badges Strip (Single Clean Row) */
.payment-trust-section {
    margin-bottom: clamp(32px, 4.5vw, 50px);
}

.trust-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    margin-bottom: 12px;
    font-weight: 700;
}

.payment-badges-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-badge {
    background: #ffffff;
    border-radius: 6px;
    padding: 4px 10px;
    height: 32px;
    min-width: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: default;
    flex-shrink: 0;
}
.payment-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.45);
}

.payment-badge img {
    height: 18px;
    width: auto;
    max-width: 44px;
    object-fit: contain;
    display: block;
}

/* Console Showcase Card */
.console-card {
    background: #0b101b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px -10px rgba(99, 102, 241, 0.2);
    overflow: hidden;
    text-align: left;
    margin-top: clamp(16px, 2.5vw, 32px);
}

.console-header {
    background: #080c15;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.console-window-buttons {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.console-window-buttons span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #334155;
}
.console-window-buttons span:nth-child(1) { background: #ef4444; }
.console-window-buttons span:nth-child(2) { background: #f59e0b; }
.console-window-buttons span:nth-child(3) { background: #10b981; }

.console-tab-name {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.console-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 6px #38bdf8;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.console-content {
    padding: clamp(14px, 2.5vw, 20px);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-title {
    font-size: 0.68rem;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.metric-number {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-indigo { color: #a5b4fc; }

.console-stream-bar {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.stream-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pill-red {
    background: rgba(239, 68, 68, 0.18);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.audio-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    flex-shrink: 0;
}
.audio-bars span {
    width: 3px;
    background: var(--accent);
    border-radius: 2px;
    animation: barBounce 1s infinite alternate ease-in-out;
}
.audio-bars span:nth-child(1) { height: 6px; }
.audio-bars span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.audio-bars span:nth-child(3) { height: 9px; animation-delay: 0.3s; }
.audio-bars span:nth-child(4) { height: 16px; animation-delay: 0.2s; }
.audio-bars span:nth-child(5) { height: 8px; animation-delay: 0.4s; }
.audio-bars span:nth-child(6) { height: 13px; animation-delay: 0.1s; }

@keyframes barBounce {
    0% { height: 4px; }
    100% { height: 16px; }
}

/* Sections Shared */
.section {
    padding: clamp(45px, 7vw, 85px) 0;
}

.section-title-wrap {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(32px, 5vw, 55px);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section-title {
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.7px;
    margin-bottom: 10px;
}

.section-sub {
    color: var(--text-muted);
    font-size: clamp(0.92rem, 2vw, 1.05rem);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 2.5vw, 26px);
}

.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3.5vw, 30px);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: var(--transition-smooth);
}
.feature-box:hover {
    transform: translateY(-4px);
    border-color: var(--card-border-hover);
    background: var(--card-bg-hover);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
}

.feature-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
    align-items: stretch;
    margin-bottom: clamp(32px, 5vw, 48px);
}

.pricing-plan-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3.5vw, 36px) clamp(20px, 3vw, 28px);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.pricing-plan-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-4px);
}

.popular-card {
    background: var(--gradient-card-popular);
    border: 2px solid var(--primary);
    box-shadow: 0 20px 45px -15px rgba(99, 102, 241, 0.35);
}

.popular-ribbon {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.plan-head {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
}

.plan-tier {
    font-size: clamp(1.2rem, 2.2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 4px;
}

.plan-summary {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    min-height: 36px;
}

.plan-cost {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
}

.plan-cost .curr {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-muted);
}

.plan-cost .val {
    font-size: clamp(2.4rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1.2px;
}

.plan-cost .dur {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.plan-specs {
    list-style: none;
    margin-bottom: 26px;
    flex-grow: 1;
}

.plan-specs li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 11px;
    line-height: 1.45;
}

.plan-note {
    display: block;
    text-align: center;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Guarantee Strip */
.guarantee-strip {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.guarantee-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guarantee-col strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-main);
    font-weight: 600;
}

.guarantee-col span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
    max-width: 760px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-row {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-trigger {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 600;
    font-size: clamp(0.92rem, 2vw, 1rem);
    user-select: none;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform var(--transition-smooth);
    flex-shrink: 0;
}

.faq-body {
    padding: 0 20px 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    display: none;
}

.faq-row.active {
    border-color: rgba(99, 102, 241, 0.4);
}

.faq-row.active .faq-icon {
    transform: rotate(45deg);
}

.faq-row.active .faq-body {
    display: block;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(36px, 5vw, 55px) 0 26px;
    background: rgba(6, 9, 15, 0.98);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(24px, 4vw, 40px);
    margin-bottom: 26px;
}

.footer-disclaimer {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.55;
    margin: 12px 0 14px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-links-col h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.footer-links-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

.footer-links-col a:hover {
    color: var(--accent);
}

/* ==========================================
   MODAL SYSTEM & ULTRA-RESPONSIVE CHECKOUT
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-card {
    background: #0d1322;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    max-width: 580px;
    width: 100%;
    padding: clamp(18px, 4vw, 28px);
    box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.85);
    position: relative;
    max-height: 88vh;
    overflow-y: auto;
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.modal-head h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    color: var(--text-main);
}

.modal-x {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    padding: 4px;
    transition: color var(--transition-fast);
}
.modal-x:hover {
    color: #ffffff;
}

.modal-scroll {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.65;
}

/* Custom Paddle Inline Modal Wrapper */
.checkout-modal-card {
    max-width: 680px;
    width: 100%;
    padding: clamp(14px, 3vw, 22px);
    background: #0d1322;
    border: 1px solid rgba(99, 102, 241, 0.4);
    box-shadow: 0 25px 80px -15px rgba(0, 0, 0, 0.9), 0 0 35px -10px rgba(99, 102, 241, 0.35);
}

.checkout-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.secure-checkout-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.checkout-frame-container {
    width: 100%;
    min-height: 490px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.checkout-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    text-align: center;
    padding: 30px 20px;
}

.checkout-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(99, 102, 241, 0.15);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

.loading-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.loading-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.checkout-frame-container iframe {
    width: 100% !important;
    min-width: 100% !important;
    border: none !important;
    background: transparent !important;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .popular-card {
        order: -1;
    }

    .guarantee-strip {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

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

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .console-stream-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .stream-info {
        font-size: 0.72rem;
    }

    .btn-lg {
        width: 100%;
        min-width: 100%;
    }

    .plan-summary {
        min-height: auto;
    }

    .payment-badges-strip {
        gap: 6px;
    }

    .modal-card {
        padding: 18px 14px;
    }
}

/* Small Screens (max-width: 640px) */
@media (max-width: 640px) {
    .checkout-modal-card {
        padding: 12px 6px;
        max-height: 96vh;
        border-radius: 16px;
    }
    
    .checkout-frame-container {
        min-height: 540px;
    }
}
