/* ═══════════════════════════════════════
   SHARED MARKETING PAGE STYLES
   Used by: landing.css, pricing.css
   All rules are unscoped or share a broad
   selector so both pages inherit them.
═══════════════════════════════════════ */


/* ── Animated Grid Background ──────── */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    animation: grid-fade 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes grid-fade {
    0%   { opacity: 0.4; }
    100% { opacity: 1; }
}


/* ── Ambient Glow ───────────────────── */
.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
    pointer-events: none;
    animation: glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0%   { opacity: 0.5; transform: translateX(-50%) scale(0.95); }
    100% { opacity: 1;   transform: translateX(-50%) scale(1.05); }
}


/* ── Gradient Brand Text ────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 50%, #6EE7B7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease-in-out infinite alternate;
    will-change: opacity;
}

@keyframes gradient-shift {
    /* opacity-only: fully composited, no paint cost */
    0%   { opacity: 0.85; }
    100% { opacity: 1; }
}


/* ── Hero Badge ─────────────────────── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-dim);
    border: 1px solid var(--brand-border);
    color: var(--brand);
    padding: 4px 12px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 32px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--brand);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--brand);
    animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}


/* ── Scroll Reveal Animations ────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: var(--transition-reveal);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: var(--transition-reveal);
}
.reveal-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: var(--transition-reveal);
}
.reveal-right.in-view {
    opacity: 1;
    transform: translateX(0);
}


/* ── CTA Section (bottom of page) ───── */
.landing-cta {
    padding: 80px 0 100px;
    background: radial-gradient(ellipse at center top, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow-bg {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
    pointer-events: none;
    animation: cta-glow-pulse 5s ease-in-out infinite alternate;
}

@keyframes cta-glow-pulse {
    0%   { opacity: 0.4; transform: translateX(-50%) scale(0.9); }
    100% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.landing-cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--text-marketing-hi);
    letter-spacing: -0.03em;
    margin: 0 0 14px;
    line-height: 1.15;
}

.landing-cta p {
    font-size: 16px;
    color: var(--text-marketing-2);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}


/* ── Shared Landing Footer ──────────── */
.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0;
}

.landing-footer .landing-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.footer-brand-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-marketing-hi);
}

.footer-tagline {
    font-size: 12px;
    color: var(--text-marketing-3);
    line-height: 1.4;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-link {
    font-size: 13px;
    color: var(--text-marketing-3);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-link:hover { color: var(--text-marketing-hi); }


/* ── Responsive (CTA + footer) ──────── */
@media (max-width: 768px) {
    .landing-cta { padding: 56px 0 72px; }

    .landing-footer .landing-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding-bottom: 8px;
    }
    .footer-brand  { align-items: center; }
    .footer-links  { flex-direction: column; gap: 10px; align-items: center; }
}

@media (max-width: 480px) {
    .landing-cta   { padding: 40px 0 56px; }
    .landing-footer { padding: 28px 0; }
    .footer-links  { gap: 8px; }

    .hero-badge { font-size: 9px; padding: 3px 8px; margin-bottom: 24px; }
}
