/* ============================================================
   VibeMinutes — Landing page styles
   ============================================================ */

/* ---- Body ---- */
.landing-body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---- Nav ---- */
.land-nav {
    position: sticky; top: 0; z-index: 200;
    display: flex; align-items: center; gap: 24px;
    padding: 14px 5%;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background .2s;
}
[data-theme="dark"] .land-nav,
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .land-nav { background: rgba(11,13,18,.85); } }
.land-brand { text-decoration: none; color: var(--text); }
.land-nav-links { display: flex; gap: 28px; margin: 0 auto; }
.land-nav-links a {
    color: var(--muted); font-size: 14px; font-weight: 500;
    text-decoration: none; transition: color .15s;
}
.land-nav-links a:hover { color: var(--text); }
.land-nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 640px) {
    .land-nav-links { display: none; }
}

/* ---- Hero ---- */
.land-hero {
    display: flex; align-items: center; justify-content: space-between;
    gap: 60px;
    padding: 100px 5% 80px;
    max-width: 1300px; margin: 0 auto;
    min-height: 90vh;
}
.land-hero-inner { flex: 0 0 auto; max-width: 560px; }
.land-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
    color: var(--primary); font-size: 12.5px; font-weight: 600;
    letter-spacing: .03em; margin-bottom: 28px;
}
.land-h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 900; line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0 0 24px;
    color: var(--text);
}
.land-gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-2), #ec4899);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.land-subhead {
    font-size: 18px; line-height: 1.7;
    color: var(--muted); margin: 0 0 36px;
    max-width: 480px;
}
.land-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.land-cta-btn { min-width: 180px; justify-content: center; }
.land-hero-note { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---- Mockup ---- */
.land-mockup {
    flex: 1; position: relative;
    min-width: 340px; max-width: 500px;
    display: flex; align-items: center; justify-content: center;
}
.land-mock-card--main {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(99,102,241,.15), 0 4px 16px rgba(0,0,0,.07);
    overflow: hidden;
    position: relative; z-index: 2;
}
.land-mock-header {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 16px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}
.land-mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.land-mock-body { padding: 20px; display: grid; gap: 20px; }
.land-mock-section { display: grid; gap: 10px; }
.land-mock-label {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: var(--muted);
    display: flex; align-items: center; gap: 6px;
}
.land-mock-line {
    height: 10px; border-radius: 6px;
    background: var(--surface-2);
    animation: land-shimmer 2s infinite;
}
.land-mock-line.w95 { width: 95%; }
.land-mock-line.w80 { width: 80%; }
.land-mock-line.w70 { width: 70%; }
.land-mock-line.w65 { width: 65%; }
.land-mock-line.w45 { width: 45%; }
.land-mock-line.w40 { width: 40%; }
@keyframes land-shimmer {
    0%, 100% { opacity: .6; }
    50%       { opacity: 1; }
}
.land-mock-item { display: flex; align-items: flex-start; gap: 10px; }
.land-mock-check {
    flex-shrink: 0; width: 16px; height: 16px; border-radius: 4px;
    border: 2px solid var(--primary); margin-top: 2px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
}

/* Floating badges */
.land-mock-badge {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px; font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    display: flex; align-items: center; gap: 8px;
    white-space: nowrap;
    z-index: 3;
}
.land-mock-badge--rec {
    top: -18px; right: -10px;
    color: #ef4444;
    animation: land-float-a 4s ease-in-out infinite;
}
.land-mock-badge--ai {
    bottom: -18px; left: -10px;
    animation: land-float-b 4s ease-in-out infinite;
}
@keyframes land-float-a {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
@keyframes land-float-b {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(8px); }
}
.rec-pulse {
    width: 9px; height: 9px; border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239,68,68,.5);
    animation: land-rec-pulse 1.4s infinite;
}
@keyframes land-rec-pulse {
    0%  { box-shadow: 0 0 0 0 rgba(239,68,68,.7); }
    70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
    100%{ box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

@media (max-width: 900px) {
    .land-hero { flex-direction: column; padding: 60px 5% 40px; min-height: auto; text-align: center; }
    .land-hero-inner { max-width: 100%; }
    .land-hero-btns { justify-content: center; }
    .land-subhead { margin: 0 auto 36px; }
    .land-mockup { min-width: auto; width: 100%; max-width: 400px; }
}

/* ---- Stats bar ---- */
.land-stats-bar {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 5%;
}
.land-stat {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; padding: 0 40px; text-align: center;
}
.land-stat strong { font-size: 22px; font-weight: 800; color: var(--primary); }
.land-stat span { font-size: 13px; color: var(--muted); }
.land-stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
@media (max-width: 640px) {
    .land-stat-divider { display: none; }
    .land-stats-bar { gap: 20px; }
    .land-stat { padding: 0 20px; }
}

/* ---- Sections ---- */
.land-section { padding: 100px 5%; }
.land-section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.land-section-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.land-section-tag {
    display: inline-block;
    padding: 4px 14px; border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary); font-size: 12px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    margin-bottom: 16px;
}
.land-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800; letter-spacing: -.025em;
    margin: 0 0 16px; line-height: 1.2;
}
.land-section-sub {
    font-size: 17px; color: var(--muted); max-width: 580px;
    margin: 0 auto 60px; line-height: 1.7;
}

/* ---- Features grid ---- */
.land-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px; text-align: left;
}
.land-feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.land-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99,102,241,.1), 0 4px 12px rgba(0,0,0,.06);
}
.land-feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: color-mix(in srgb, var(--fi-color) 12%, transparent);
    color: var(--fi-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 16px;
    border: 1px solid color-mix(in srgb, var(--fi-color) 20%, transparent);
}
.land-feature-card h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.land-feature-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---- Steps ---- */
.land-steps {
    display: flex; flex-direction: column; gap: 0;
    max-width: 700px; margin: 0 auto; text-align: left;
}
.land-step {
    display: grid;
    grid-template-columns: 48px 2px 1fr;
    gap: 0 20px;
    align-items: start;
}
.land-step-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff; font-size: 18px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; position: relative; z-index: 1;
}
.land-step-connector {
    background: var(--border); width: 2px;
    height: calc(100% + 40px); margin-top: 48px;
    margin-left: -1px;
    align-self: stretch;
}
.land-step-connector--last { background: transparent; }
.land-step-content {
    padding: 0 0 48px;
    display: flex; flex-direction: column; gap: 10px;
}
.land-step-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary); font-size: 18px;
    display: flex; align-items: center; justify-content: center;
}
.land-step-content h3 { margin: 0; font-size: 18px; font-weight: 700; }
.land-step-content p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ---- CTA section ---- */
.land-cta-section {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary) 8%, var(--bg)),
        color-mix(in srgb, var(--primary-2) 8%, var(--bg)));
    padding: 100px 5%;
    text-align: center;
    border-top: 1px solid var(--border);
}
.land-cta-inner { max-width: 680px; margin: 0 auto; }
.land-cta-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800; letter-spacing: -.025em; margin: 0 0 16px;
}
.land-cta-inner p { font-size: 17px; color: var(--muted); margin: 0 0 36px; line-height: 1.7; }

/* ---- Footer ---- */
.land-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 5%;
    text-align: center;
}
.land-footer-inner { max-width: 700px; margin: 0 auto; display: grid; gap: 16px; place-items: center; }
.land-footer-tagline { font-size: 14px; color: var(--muted); margin: 0; }
.land-footer-links { display: flex; gap: 24px; }
.land-footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.land-footer-links a:hover { color: var(--text); }
.land-footer-copy { font-size: 12px; color: var(--muted); margin: 0; }

/* ---- Dark mode for landing ---- */
[data-theme="dark"] .land-nav { background: rgba(11,13,18,.85); }
[data-theme="dark"] .land-mock-card--main { box-shadow: 0 24px 80px rgba(99,102,241,.1); }
[data-theme="dark"] .land-feature-card:hover { box-shadow: 0 12px 40px rgba(99,102,241,.08); }
