/* ================================================
   My Keeper Coach — Trial Landing Page
   Design System: Deep Navy + Neon Green
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-primary: #0B1426;
    --bg-card: rgba(17, 29, 51, 0.75);
    --accent-green: #00E676;
    --accent-blue: #448AFF;
    --accent-red: #FF5252;
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --text-muted: #546E7A;
    --border: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

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

.green { color: var(--accent-green); }
.logo-my { color: var(--accent-green); }
.logo-coach { color: var(--accent-green); }

/* -------------------- NAV -------------------- */
.trial-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 20, 38, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.login-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.login-link:hover { opacity: 0.75; }

/* -------------------- HERO -------------------- */
.trial-hero {
    text-align: center;
    padding: 100px 24px 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 230, 118, 0.06) 0%, transparent 70%);
}

.scarcity-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 82, 82, 0.12);
    color: var(--accent-red);
    border: 1px solid rgba(255, 82, 82, 0.25);
    padding: 7px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 82, 82, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); }
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 22px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* -------------------- BUTTONS -------------------- */
.btn {
    display: inline-block;
    padding: 18px 44px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--accent-green);
    color: #0B1426;
    box-shadow: 0 0 40px rgba(0, 230, 118, 0.25);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(0, 230, 118, 0.4);
}

.primary-btn:active { transform: scale(0.97); }

.risk-reversal {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* -------------------- EMOTIONAL CORE -------------------- */
.emotional-core {
    text-align: center;
    padding: 80px 24px;
    background: linear-gradient(180deg, rgba(17, 29, 51, 0.4) 0%, transparent 100%);
}

.emotional-core h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 18px;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

/* -------------------- FEATURES -------------------- */
.features {
    padding: 80px 24px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 230, 118, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.97rem;
}

/* -------------------- TRUST & SAFETY -------------------- */
.trust-safety {
    padding: 40px 24px 80px;
}

.safety-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 230, 118, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.safety-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.safety-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

.coppa-badge {
    display: inline-block;
    margin-top: 24px;
    padding: 8px 20px;
    background: rgba(68, 138, 255, 0.1);
    border: 1px solid rgba(68, 138, 255, 0.25);
    color: var(--accent-blue);
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* -------------------- FINAL CTA -------------------- */
.final-cta {
    text-align: center;
    padding: 100px 24px;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 230, 118, 0.07) 0%, transparent 70%);
}

.final-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.final-cta > .container > p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.legal-disclaimer {
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.legal-disclaimer a {
    color: var(--accent-blue);
    text-decoration: none;
}

.legal-disclaimer a:hover { text-decoration: underline; }

/* -------------------- FOOTER -------------------- */
.trial-footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-secondary); }

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

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
    .trial-nav { padding: 18px 20px; }
    .trial-hero { padding: 80px 20px 60px; }
    .safety-card { padding: 40px 24px; }
    .btn { width: 100%; text-align: center; }
}
