/* ==========================================================================
   ZIPLY: THE MIND GAME - GLOBAL STYLESHEET
   Publisher: GlyIQ Labs (GlyIQ)
   Theme: Sky Blue (#0284C7), Teal (#0D9488), Fire (#EA580C), Slate & Pure White
   ========================================================================== */

:root {
    /* Color Palette */
    --accent-sky: #0284C7;
    --accent-sky-dark: #0369A1;
    --accent-sky-light: #38BDF8;
    --accent-sky-soft: #E0F2FE;
    --accent-sky-subtle: #F0F9FF;
    --accent-sky-bg: #D0ECFE;

    --accent-fire: #EA580C;
    --accent-fire-light: #F97316;
    --accent-fire-soft: #FFEDD5;

    --accent-teal: #0D9488;
    --accent-teal-light: #14B8A6;
    --accent-teal-soft: #CCFBF1;
    --accent-green: #10B981;
    --accent-green-soft: #D1FAE5;

    --bg-page: #F8FAFC;
    --bg-surface: #F1F5F9;
    --card-white: #FFFFFF;
    --card-border: #D6E6F5;
    --board-cell-bg: #E0F2FE;
    --board-cell-border: #BAE6FD;
    --wall-color: #334155;

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    /* Radii & Shadows */
    --radius-full: 9999px;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 28px -4px rgba(2, 132, 199, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 48px -8px rgba(2, 132, 199, 0.2), 0 8px 20px -4px rgba(15, 23, 42, 0.06);

    /* Gradients */
    --grad-primary-btn: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    --grad-fire: linear-gradient(135deg, #FB923C 0%, #EA580C 100%);
    --grad-hero: linear-gradient(180deg, #D0ECFE 0%, #F8FAFC 55%, #F8FAFC 100%);
}

/* Reset & Global Overflow Prevention */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-sky);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-sky-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

code {
    font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
    background: var(--accent-sky-soft);
    color: var(--accent-sky-dark);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.88em;
    font-weight: 600;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-sky-soft);
    color: var(--accent-sky-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(2, 132, 199, 0.2);
    margin-bottom: 16px;
}

.section-tag svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px auto;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.25;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
}

/* ==========================================================================
   NAVIGATION BAR (DESKTOP & MOBILE)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    background: #FFFFFF;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    color: var(--text-primary);
}

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

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-sky);
}

.nav-cta-badge img {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.nav-cta-badge img:hover {
    transform: translateY(-2px);
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: var(--accent-sky-soft);
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: var(--accent-sky-dark);
    font-size: 22px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.mobile-toggle:hover {
    background: var(--accent-sky);
    color: #FFFFFF;
}

/* Mobile Backdrop Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: var(--grad-hero);
    padding: 50px 0 90px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
}

.hero-title {
    font-size: 50px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.playstore-badge-link {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.playstore-badge-link:hover {
    transform: translateY(-3px) scale(1.02);
}

.google-play-badge {
    height: 56px;
    width: auto;
    display: block;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(2, 132, 199, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==========================================================================
   INTERACTIVE MINI PUZZLE BOARD DEMO ("Z" SWEEPING RIBBON PATH)
   ========================================================================== */
.hero-visual-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.card-header-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.level-indicator {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-sky);
    background: var(--accent-sky-soft);
    padding: 4px 14px;
    border-radius: var(--radius-full);
}

.demo-status {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-fire);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.demo-status svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Grid Wrapper with Canvas Overlay */
.board-container-rel {
    position: relative;
    margin-bottom: 20px;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    background: #F0F9FF;
    padding: 12px;
    border-radius: 20px;
    border: 2px solid #D6E6F5;
    user-select: none;
    touch-action: none;
    position: relative;
}

.grid-cell {
    aspect-ratio: 1 / 1;
    background: #E0F2FE;
    border-radius: 14px;
    border: 1.5px solid #BAE6FD;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    z-index: 1;
}

.grid-cell:hover {
    background: #D0ECFE;
}

.grid-cell.cell-visited {
    background: #CCFBF1;
    border-color: #99F6E4;
}

/* Continuous Path Canvas */
.board-canvas-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    border-radius: 20px;
}

/* Circular Node Badges (Matching Ziply In-Game Design) */
.node-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    color: #0F172A;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
    position: relative;
    z-index: 10;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.node-badge.target-orange {
    border-color: #EA580C;
    color: #EA580C;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.2), 0 4px 10px rgba(234, 88, 12, 0.2);
    animation: pulseNode 1.8s infinite;
}

.node-badge.connected-node {
    border-color: #0D9488;
    color: #0F172A;
}

@keyframes pulseNode {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.board-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.board-footer-btn {
    background: var(--accent-sky-soft);
    border: 1px solid rgba(2, 132, 199, 0.2);
    color: var(--accent-sky-dark);
    font-weight: 700;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.board-footer-btn:hover {
    background: var(--accent-sky);
    color: #FFFFFF;
}

/* Victory Overlay in Demo Board */
.demo-victory-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 30;
}

.demo-victory-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.victory-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-green-soft);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.victory-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.victory-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.victory-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 280px;
}

.victory-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 260px;
}

.btn-play-again {
    background: var(--accent-sky-soft);
    color: var(--accent-sky-dark);
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-play-again:hover {
    background: var(--accent-sky);
    color: #FFFFFF;
}

/* ==========================================================================
   ADVANTAGES & FEATURES SECTION
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.feature-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-sky-light);
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-sky-soft);
    color: var(--accent-sky-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.feature-icon-box svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.feature-icon-box.fire {
    background: var(--accent-fire-soft);
    color: var(--accent-fire);
}

.feature-icon-box.teal {
    background: var(--accent-teal-soft);
    color: var(--accent-teal);
}

.feature-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   HOW TO PLAY (RULES) SECTION
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    position: relative;
    text-align: center;
}

.step-badge {
    width: 44px;
    height: 44px;
    background: var(--grad-primary-btn);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.step-card:nth-child(2) .step-badge {
    background: var(--grad-fire);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.step-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==========================================================================
   SCREENSHOTS SHOWCASE (01 TO 06 SERIAL-WISE WITH CURVED EDGES)
   ========================================================================== */
.screenshots-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.screenshot-item {
    background: #FFFFFF;
    border-radius: 36px;
    padding: 10px;
    border: 3px solid #E2E8F0;
    box-shadow: 0 16px 36px -6px rgba(2, 132, 199, 0.14), 0 6px 16px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.screenshot-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-sky);
    box-shadow: 0 24px 48px -8px rgba(2, 132, 199, 0.25), 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    display: block;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #EEF2F6;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.screenshot-caption {
    padding: 16px 14px 10px 14px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.screenshot-num {
    background: var(--accent-sky-soft);
    color: var(--accent-sky-dark);
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item.active {
    border-color: var(--accent-sky);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 22px 26px;
    text-align: left;
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon-svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-sky);
    transition: transform 0.25s ease;
}

.faq-item.active .faq-icon-svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 26px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 22px;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    color: #FFFFFF;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}

.cta-desc {
    font-size: 18px;
    color: #E0F2FE;
    max-width: 600px;
    margin: 0 auto 32px auto;
}

/* ==========================================================================
   DEDICATED LEGAL PAGES (BALANCED SPACING & POLISHED HIERARCHY)
   ========================================================================== */
.legal-page-header {
    background: var(--grad-hero);
    padding: 40px 0 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.legal-meta-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 700;
    margin-top: 10px;
}

.legal-content-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
    margin: 20px auto 60px auto;
}

.legal-content-card section {
    padding: 0 0 32px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
}

.legal-content-card section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-content-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}

.legal-content-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.75;
}

.legal-content-card ul {
    margin-bottom: 18px;
    padding-left: 24px;
}

.legal-content-card li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.info-callout {
    background: var(--accent-sky-subtle);
    border-left: 4px solid var(--accent-sky);
    padding: 18px 22px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 20px 0;
}

.info-callout p {
    margin: 0;
    color: var(--accent-sky-dark);
    font-size: 14px;
    font-weight: 600;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #FFFFFF;
}

.legal-table th, .legal-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.legal-table th {
    background: var(--accent-sky-soft);
    color: var(--accent-sky-dark);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.contact-card-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 18px;
}

.contact-card-box h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-card-box p {
    margin-bottom: 6px;
    font-size: 15px;
}

.copy-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-sky-soft);
    border: 1px solid rgba(2, 132, 199, 0.3);
    color: var(--accent-sky-dark);
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s ease;
}

.copy-email-btn:hover {
    background: var(--accent-sky);
    color: #FFFFFF;
}

/* ==========================================================================
   FOOTER (UNIFIED)
   ========================================================================== */
.site-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px 0;
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 14px;
    max-width: 340px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

/* Toast */
.toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0F172A;
    color: #FFFFFF;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast-notice.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (FIXED DRAWER OVERFLOW & HIDDEN STATE)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions, .hero-stats {
        justify-content: center;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: #FFFFFF;
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.18);
        flex-direction: column;
        align-items: flex-start;
        padding: 84px 28px 32px 28px;
        gap: 18px;
        z-index: 9999;
        transform: translateX(110%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
    }

    .nav-links.mobile-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 17px;
        font-weight: 700;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
        display: block;
    }

    .mobile-toggle {
        display: flex;
        z-index: 10000;
    }

    .hero-title {
        font-size: 34px;
    }
    .hero-desc {
        font-size: 16px;
    }
    .section-title {
        font-size: 26px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .legal-content-card {
        padding: 28px 18px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
