/* ==========================================================================
   PM360 — LANDING PAGE LAYOUT STYLES
   Design tokens (colors, fonts, radii, shadows) now come from app.css,
   which this page also loads — so the marketing site and the product
   share one palette instead of drifting into their own. This file only
   holds the section layouts that don't exist anywhere in the app shell:
   hero, GSS section, feature grid, comparison, pricing, footer.
   ========================================================================== */

body { display: block; overflow-x: hidden; scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   TOP NAV (bespoke — not the app drawer, this is pre-login)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 76px;
    background: var(--bg-sidebar);
    backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    z-index: 1000;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .logo-badge { font-size: 15px; }
.brand-word { font-size: 13px; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 14px; transition: var(--transition-smooth); }
.nav-links a:hover { color: var(--accent-cyan-ai); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.icon-btn {
    background: var(--bg-glass-element);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-smooth);
}
.icon-btn:hover { color: var(--accent-cyan-ai); border-color: var(--accent-cyan-ai); }

@media (max-width: 860px) { .nav-links { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    padding: 168px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%; left: 50%;
    width: 1200px; height: 700px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.10), transparent 55%),
        radial-gradient(circle at 70% 30%, rgba(0, 229, 255, 0.10), transparent 55%);
    pointer-events: none;
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; position: relative; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-mock { display: none; } }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 20px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent-cyan-ai);
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    border: 1px solid var(--border-glow);
}

.hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    color: var(--text-primary);
}
.hero h1 .accent {
    background: linear-gradient(135deg, var(--accent-gold-primary), var(--accent-cyan-ai));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p.lede { font-size: 1.15rem; line-height: 1.65; color: var(--text-secondary); max-width: 560px; margin-bottom: 2.25rem; }
@media (max-width: 980px) { .hero p.lede { margin-left: auto; margin-right: auto; } }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.5rem; }
@media (max-width: 980px) { .hero-cta { justify-content: center; } }

.btn-lg { padding: 15px 28px; font-size: 15px; }

.hero-microtrust { display: flex; align-items: center; gap: 10px; color: var(--text-tertiary); font-size: 13px; }
@media (max-width: 980px) { .hero-microtrust { justify-content: center; } }
.hero-microtrust i { color: var(--completed-green); }

/* Decorative product preview — literally the same component classes as
   the real dashboard (see app.css), just scaled down. Not a fake mockup. */
.hero-mock {
    background: var(--bg-card);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}

.hero-mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.hero-mock-header .dots { display: flex; gap: 6px; }
.hero-mock-header .dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-subtle); }
.hero-mock-header .label { font-family: var(--font-family-mono); font-size: 11px; color: var(--text-tertiary); }

.hero-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 1.25rem; }
.hero-mock-stat { background: var(--bg-glass-element); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 10px; }
.hero-mock-stat .n { font-family: var(--font-family-mono); font-weight: 800; font-size: 20px; color: var(--text-primary); }
.hero-mock-stat .l { font-size: 10px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }

.hero-mock-rooms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.hero-mock-room { aspect-ratio: 1; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-family-mono); font-size: 11px; font-weight: 700; }
.hero-mock-room.g { background: rgba(16,185,129,0.14); color: var(--completed-green); border: 1px solid rgba(16,185,129,0.35); }
.hero-mock-room.y { background: rgba(245,158,11,0.14); color: var(--pending-yellow); border: 1px solid rgba(245,158,11,0.35); }
.hero-mock-room.r { background: rgba(239,68,68,0.14); color: var(--notstarted-red); border: 1px solid rgba(239,68,68,0.35); }

/* ==========================================================================
   STAT STRIP
   ========================================================================== */
.stat-strip { padding: 0 0 90px; }
.stat-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .stat-strip-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-strip-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}
.stat-strip-card:hover { border-color: var(--border-glow); transform: translateY(-3px); }
.stat-strip-card .n { font-family: var(--font-family-mono); font-size: 1.9rem; font-weight: 800; background: linear-gradient(135deg, var(--accent-gold-primary), var(--accent-cyan-ai)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-strip-card .l { font-size: 12.5px; color: var(--text-secondary); margin-top: 6px; font-weight: 600; }

/* ==========================================================================
   SECTION HEADERS (shared shape across GSS / features / how-it-works / etc.)
   ========================================================================== */
.section { padding: 100px 0; }
.section-tinted { background: var(--bg-glass-element); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-gold-primary); margin-bottom: 12px; }
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; color: var(--text-primary); margin-bottom: 14px; }
.section-header p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.6; }

/* ==========================================================================
   GSS SECTION — the centerpiece
   ========================================================================== */
.gss-flow { display: flex; align-items: stretch; gap: 0; margin-bottom: 4rem; flex-wrap: wrap; }
.gss-flow-step {
    flex: 1;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    position: relative;
}
.gss-flow-step.problem { border-color: rgba(239, 68, 68, 0.3); }
.gss-flow-step .step-num { font-family: var(--font-family-mono); font-size: 12px; color: var(--text-tertiary); font-weight: 700; margin-bottom: 10px; }
.gss-flow-step h4 { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.gss-flow-step p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
.gss-flow-arrow { display: flex; align-items: center; justify-content: center; padding: 0 1rem; color: var(--text-tertiary); font-size: 18px; }
@media (max-width: 860px) { .gss-flow { flex-direction: column; } .gss-flow-arrow { transform: rotate(90deg); padding: 0.5rem 0; } }

.gss-break-banner {
    text-align: center;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-gold-primary), var(--accent-cyan-ai));
    border-radius: var(--radius-md);
    margin-bottom: 3rem;
}
.gss-break-banner-inner { background: var(--bg-main); border-radius: calc(var(--radius-md) - 2px); padding: 1.5rem 2rem; }
.gss-break-banner-inner h3 { font-size: 1.3rem; font-weight: 800; color: var(--text-primary); }
.gss-break-banner-inner span { background: linear-gradient(135deg, var(--accent-gold-primary), var(--accent-cyan-ai)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.gss-mechanisms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .gss-mechanisms { grid-template-columns: 1fr; } }
.gss-mechanism { text-align: center; padding: 1.75rem 1.25rem; }
.gss-mechanism-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent-cyan-ai);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.gss-mechanism h4 { font-size: 15.5px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.gss-mechanism p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--border-subtle);
    padding: 1.85rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-glow); box-shadow: var(--shadow-card); }

.feature-icon {
    width: 50px; height: 50px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
@media (max-width: 980px) { .steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-row { grid-template-columns: 1fr; } }

.step-card { text-align: center; padding: 0 0.5rem; }
.step-badge {
    width: 44px; height: 44px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    color: var(--accent-cyan-ai);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-family-mono);
    font-weight: 800;
    font-size: 15px;
}
.step-card h4 { font-size: 14.5px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

/* ==========================================================================
   COMPARISON
   ========================================================================== */
.comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 860px) { .comparison-grid { grid-template-columns: 1fr; } }

.comp-card { border-radius: var(--radius-lg); padding: 2.25rem; border: 1px solid var(--border-subtle); }
.comp-card.old { background: rgba(239, 68, 68, 0.04); border-color: rgba(239, 68, 68, 0.25); }
.comp-card.new { background: rgba(0, 229, 255, 0.05); border-color: var(--border-glow); }
.comp-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; color: var(--text-primary); }
.comp-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.comp-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.comp-list li i { margin-top: 3px; flex-shrink: 0; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
}
.price-card.featured { border-color: var(--accent-gold-primary); box-shadow: 0 0 0 1px var(--accent-gold-primary), var(--shadow-card); }

.popular-badge {
    position: absolute;
    top: -13px; right: 24px;
    background: linear-gradient(135deg, var(--accent-gold-primary), #AA820A);
    color: #000;
    padding: 5px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.price-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); }
.price-card .price-sub { color: var(--text-tertiary); font-size: 13px; margin-top: 4px; }
.price-amount { font-family: var(--font-family-mono); font-size: 2.4rem; font-weight: 800; margin: 18px 0 4px; color: var(--text-primary); }
.price-amount span { font-family: var(--font-family-sans); font-size: 0.95rem; color: var(--text-tertiary); font-weight: 500; }
.price-features { list-style: none; margin: 22px 0 30px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.price-features li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-secondary); }
.price-features li i { color: var(--completed-green); flex-shrink: 0; }

/* ==========================================================================
   FINAL CTA BAND
   ========================================================================== */
.final-cta {
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08), transparent 60%);
    pointer-events: none;
}
.final-cta h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--text-primary); margin-bottom: 14px; position: relative; }
.final-cta p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; position: relative; }
.final-cta .hero-cta { justify-content: center; position: relative; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border-subtle); padding: 50px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: var(--accent-cyan-ai); }
.footer-copy { color: var(--text-tertiary); font-size: 12.5px; margin-top: 24px; text-align: center; }

/* ==========================================================================
   DEMO MODAL — reuses app.css's .modal / .form-group, this just adds the
   response-message box style specific to this form.
   ========================================================================== */
.form-response-msg { margin-bottom: 14px; font-weight: 600; font-size: 13.5px; padding: 10px 14px; border-radius: var(--radius-sm); display: none; }
.form-response-msg.show { display: block; }
.form-response-msg.success { background: rgba(16,185,129,0.12); color: var(--completed-green); border: 1px solid rgba(16,185,129,0.3); }
.form-response-msg.danger { background: rgba(239,68,68,0.12); color: var(--notstarted-red); border: 1px solid rgba(239,68,68,0.3); }
