/* ==========================================================================
   1. GLOBAL SYSTEM SETTINGS & RESET
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #0a0f1d;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #cbd5e0;
    --accent-cyan: #00f2fe;
    --accent-blue: #0072ff;
    --glass-bg: rgba(255, 255, 255, 0.015);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-glow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0px rgba(255, 255, 255, 0.1);
    --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-stack);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* ==========================================================================
   2. AMBIENT BACKGROUND BLOBS
   ========================================================================== */
.blob-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-blue);
}

.blob-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: #7928ca;
    opacity: 0.08;
}

/* ==========================================================================
   3. PERSISTENT NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 15, 29, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-links a.active-tab {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* ==========================================================================
   4. HOME SCREEN ARCHITECTURE (PRESTIGIOUS PANEL SECTIONS)
   ========================================================================== */
.scroll-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 3rem 5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.panel h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ffffff 30%, #cbd5e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Section 1: Split Hero --- */
.layout-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
}

.layout-split .text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    align-self: flex-start;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

.glass-showcase-hero {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    height: 450px;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-graphic-core {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    border-radius: 32px;
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.3);
    animation: floatingCore 4s infinite ease-in-out;
}

/* --- Section 2: Wide Frame Banner --- */
.layout-wide-banner {
    max-width: 1100px;
}

.banner-glass-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4.5rem;
    width: 100%;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--glass-glow);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.banner-inline-preview {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 1.5rem;
    height: 220px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-bar-row {
    display: flex;
    gap: 0.5rem;
}

.preview-bar-row span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}
.preview-bar-row span:flex-start { background: #ff5f56; }

.preview-block-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.01) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* --- Section 3: Dashboard Grid --- */
.layout-dashboard-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
}

.layout-dashboard-grid .text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.stack-row-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.75rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stack-row-item:hover {
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.12);
}

.stack-row-item.glow-cyan-row {
    border-color: rgba(0, 242, 254, 0.3);
    background: rgba(0, 242, 254, 0.01);
}

.row-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}
.glow-cyan-row .row-indicator {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.row-line-placeholder {
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.row-line-placeholder.short { width: 40%; }
.row-line-placeholder.medium { width: 60%; }
.row-line-placeholder.long { width: 85%; }

/* --- Section 4: Shielded Security Focus --- */
.layout-isolated-center {
    justify-content: center;
}

.security-shield-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 5rem 4rem;
    max-width: 860px;
    width: 100%;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: var(--glass-glow);
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.shield-icon-frame {
    font-size: 4.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 140px;
    height: 140px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.shield-text {
    flex: 1;
}

/* --- Section 5: Stacked CTA --- */
.layout-stacked-cta {
    justify-content: center;
}

.cta-glass-pillar {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 5.5rem 4rem;
    max-width: 860px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    box-shadow: var(--glass-glow);
}

.cta-glass-pillar p {
    margin-bottom: 3.5rem;
}

.btn-home-cta {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    background: #ffffff;
    color: var(--bg-main);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-home-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes floatingCore {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ==========================================================================
   5. INSIGHTS & BLOG PAGE LAYOUT
   ========================================================================== */
.blog-container {
    padding-top: 140px;
    padding-bottom: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Featured article — full glass card matching home panels */
.blog-featured-zone {
    display: flex;
    flex-direction: column;
}

.featured-glass-shield {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-glow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.3s ease;
}

.featured-glass-shield:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.blog-meta-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.blog-tag {
    background: rgba(0, 242, 254, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-read-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-featured-zone h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-featured-zone p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.blog-author-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

.pub-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

/* Sidebar stream — glass card container matching the home panel style */
.blog-sidebar-stream {
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-glow);
    height: fit-content;
}

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

.stream-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-indicator-badge {
    font-size: 0.75rem;
    border: 1px solid rgba(0, 242, 254, 0.2);
    background: rgba(0, 242, 254, 0.05);
    color: var(--accent-cyan);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.stream-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Each sidebar card inherits the layered-glass feel */
.preview-track-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.preview-track-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.track-date {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.preview-track-item h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    color: #ffffff;
    font-weight: 600;
}

.preview-track-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ==========================================================================
   6. SUBSCRIPTIONS PAGE LAYOUT
   ========================================================================== */
.subs-container {
    padding-top: 120px;
    padding-bottom: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Page header wrapped in the same glass panel style */
.subs-header {
    text-align: center;
    padding: 4rem 3rem 3rem 3rem;
    max-width: 780px;
    margin: 0 auto 3rem auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--glass-glow);
}

.subs-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #ffffff 30%, #cbd5e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subs-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.toggle-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: #ffffff;
    font-weight: 600;
}

.discount-badge {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 0.25rem;
}

.matrix-toggle-btn {
    width: 54px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.matrix-toggle-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.toggle-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s;
}

.matrix-toggle-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-cyan);
}

.matrix-toggle-btn.active .toggle-thumb {
    transform: translateX(26px);
}

.subs-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    padding: 0 2rem;
    max-width: 920px;
    margin: 0 auto;
    align-items: stretch;
}

/* Pricing cards — same frost glass as home panel cards */
.matrix-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-glow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.matrix-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Featured/highlighted card gets the cyan glow treatment */
.matrix-card.matrix-featured {
    background: rgba(0, 242, 254, 0.02);
    border: 1px solid rgba(0, 242, 254, 0.35);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 242, 254, 0.06),
        inset 0 1px 0px rgba(255, 255, 255, 0.1);
}

.popular-ribbon {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(0, 242, 254, 0.25);
}

.matrix-tier-meta {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.matrix-tier-meta.cyan-text {
    color: var(--accent-cyan);
}

.matrix-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.matrix-price .currency {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-right: 0.2rem;
}

.matrix-price .amount {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.matrix-price .period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.4rem;
}

.matrix-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.matrix-divider {
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 2rem;
}

.matrix-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.matrix-features li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.75rem;
    line-height: 1.4;
}

.matrix-features li span {
    color: var(--accent-cyan);
}

.btn-matrix-primary, .btn-matrix-secondary {
    display: inline-block;
    width: 100%;
    padding: 1.1rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    margin-top: auto;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.btn-matrix-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.15);
}

.btn-matrix-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.3);
}

/* Secondary button uses the glass pill style from the home screen */
.btn-matrix-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-matrix-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* ==========================================================================
   7. GLOBAL MEDIA QUERIES (RESPONSIVE VIEWPORT BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
    .panel h1 {
        font-size: 2.8rem;
    }
    
    .layout-split {
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .navbar {
        padding: 0 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }

    /* Home Panel Unrolling Grid States */
    .panel {
        padding: 100px 2rem 4rem 2rem;
        min-height: auto;
    }

    .layout-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .badge {
        align-self: center;
    }

    .glass-showcase-hero {
        height: 350px;
    }

    .banner-glass-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem;
        gap: 2.5rem;
        text-align: center;
    }

    .layout-dashboard-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    /* Blog Grid Roll Down */
    .blog-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 110px;
    }

    .featured-glass-shield {
        padding: 2.5rem 2rem;
    }

    .blog-featured-zone h1 {
        font-size: 2.2rem;
    }

    .blog-sidebar-stream {
        padding: 2rem;
    }
}

@media (max-width: 820px) {
    .security-shield-card {
        flex-direction: column;
        text-align: center;
        padding: 3.5rem 2.5rem;
        gap: 2rem;
    }

    /* Subscriptions Row Rebalancing */
    .subs-matrix {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .matrix-card {
        padding: 2.5rem;
    }
}

@media (max-width: 640px) {
    .navbar {
        height: 70px;
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .nav-logo {
        height: 26px;
    }
    
    .panel h1 {
        font-size: 2.3rem;
    }
    
    .subs-header {
        padding: 2.5rem 1.5rem;
        border-radius: 28px;
    }

    .subs-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .panel {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .glass-hero-card, .banner-glass-wrapper, .security-shield-card, .cta-glass-pillar {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }

    .btn-home-cta {
        width: 100%;
        text-align: center;
    }

    .blog-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .featured-glass-shield {
        padding: 2rem 1.25rem;
        border-radius: 24px;
    }

    .blog-sidebar-stream {
        padding: 1.5rem 1.25rem;
        border-radius: 24px;
    }

    .blog-featured-zone h1 {
        font-size: 1.8rem;
    }
    
    .blog-meta-row {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .subs-header {
        padding: 2rem 1.25rem;
        border-radius: 24px;
    }

    .matrix-card {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }

    .matrix-price .amount {
        font-size: 3.2rem;
    }
}

/* ==========================================================================
   8. CONTACT PAGE
   ========================================================================== */
.contact-minimal-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 5rem 2rem;
}

.glass-card-wide {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 5rem;
    width: 100%;
    max-width: 1000px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--glass-glow);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.contact-info-block h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 30%, #cbd5e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info-block > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 3rem;
}

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

.info-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
}

.info-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.4rem;
}

.info-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.email-text {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
    font-size: 0.9rem !important;
    color: #ffffff !important;
}

/* Right column action hub */
.action-card-inner {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.action-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.03);
}

.action-card-inner h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.action-card-inner > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.5rem;
}

.btn-minimal {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.btn-minimal:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.3);
}

.btn-secondary {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .glass-card-wide {
        grid-template-columns: 1fr;
        padding: 3rem 2.5rem;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .glass-card-wide {
        padding: 2.5rem 1.5rem;
        border-radius: 28px;
    }

    .contact-info-block h1 {
        font-size: 2.1rem;
    }
}

/* ==========================================================================
   9. AFFILIATE PAGE
   ========================================================================== */
.affiliate-container {
    padding-top: 140px;
    padding-bottom: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Page header — glass panel matching the subscriptions header */
.affiliate-header {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4.5rem 5rem;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--glass-glow);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.affiliate-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    background: linear-gradient(180deg, #ffffff 30%, #cbd5e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.affiliate-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Three-column tier cards */
.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tier-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2.75rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-glow);
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Featured center card gets the cyan glow */
.tier-card.tier-premium {
    background: rgba(0, 242, 254, 0.02);
    border: 1px solid rgba(0, 242, 254, 0.35);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 242, 254, 0.06),
        inset 0 1px 0px rgba(255, 255, 255, 0.1);
}

.tier-badge-meta {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.tier-badge-meta.accent {
    color: var(--accent-cyan);
}

.tier-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.payout-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.payout-amount span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 0.2rem;
}

.tier-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.divider {
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 1.75rem;
}

.perk-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
}

.perk-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.4;
}

/* Style the checkmark character */
.tier-card.tier-premium .perk-list li::first-letter,
.perk-list li {
    color: var(--text-muted);
}

/* CTA footer panel */
.affiliate-action-footer {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4rem;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--glass-glow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.affiliate-action-footer p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 540px;
}

.btn-affiliate {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-affiliate:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.35);
}

@media (max-width: 900px) {
    .affiliate-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .affiliate-header {
        padding: 3rem 2.5rem;
    }

    .affiliate-header h1 {
        font-size: 2.2rem;
    }

    .affiliate-action-footer {
        padding: 3rem 2rem;
    }
}

@media (max-width: 480px) {
    .affiliate-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        gap: 2.5rem;
    }

    .affiliate-header {
        padding: 2.5rem 1.5rem;
        border-radius: 28px;
    }

    .affiliate-header h1 {
        font-size: 1.9rem;
    }

    .tier-card {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }

    .affiliate-action-footer {
        padding: 2.5rem 1.5rem;
        border-radius: 28px;
    }
}
