/* ============================================================
   Landing page enhancements — extends the app's shared design
   system (Inter, #4F46E5, #f3f4f6, white cards, etc.).

   Does NOT redefine base tokens; only adds layout for the
   landing sections so the page feels like part of the product.
   ============================================================ */

/* ── Shared base (identical to dashboard/create) ── */
:root {
    --primary-color: #4F46E5;
    --primary-hover: #4338ca;
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --gradient-start: #4F46E5;
    --gradient-end: #06b6d4;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
}

/* ── Navbar (same as dashboard & create) ── */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* ── Dashboard card (reused from dashboard for pillar cards) ── */
.dashboard-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.card-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.55;
}

/* ── Primary button (same as dashboard) ── */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* ── HERO ── */
.lp-hero {
    padding: 140px 0 80px;
}

.lp-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--primary-color);
    margin: 0 0 14px;
    text-transform: uppercase;
}

.lp-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin: 0 0 10px;
}

.lp-subline {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0 0 24px;
}

.lp-statement {
    margin-bottom: 28px;
}

.lp-lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 6px;
    line-height: 1.5;
}

.lp-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 460px;
}

/* ── Video card (white card container, matches app cards) ── */
.lp-video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.lp-video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #1a1a2e;
}

.lp-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: background 0.2s;
}

.lp-video-overlay:hover {
    background: rgba(0, 0, 0, 0.45);
}

.lp-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.lp-video-overlay:hover .lp-play-btn {
    transform: scale(1.05);
}

/* ── Trust strip ── */
.lp-trust {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--card-bg);
}

.lp-trust-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 0 0 8px;
}

.lp-trust-names {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.02em;
}

/* ── Gradient accent sections (reuses login page's indigo→cyan) ── */
.lp-gradient-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative shapes (same as login page brand panel) */
.lp-gradient-section::before,
.lp-gradient-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.lp-gradient-section::before {
    width: 300px;
    height: 300px;
    top: -80px;
    left: -60px;
}

.lp-gradient-section::after {
    width: 400px;
    height: 400px;
    bottom: -120px;
    right: -100px;
}

.lp-section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin: 0 0 8px;
}

.lp-gradient-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.lp-problem-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lp-gradient-close {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
}

/* ── Standard light sections ── */
.lp-section {
    padding: 100px 0;
}

.lp-section-alt {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.lp-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 8px;
}

/* ── How It Works step cards ── */
.lp-step-card {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    height: 100%;
}

.lp-step-num {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 14px;
}

/* ── Final CTA ── */
.lp-cta-final {
    padding: 120px 0;
}

.lp-cta-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 12px;
}

.lp-cta-final .btn-light {
    color: var(--primary-color);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lp-cta-final .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ── Footer ── */
.lp-footer {
    padding: 28px 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-color);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .lp-hero { padding: 120px 0 60px; }
    .lp-gradient-section { padding: 80px 0; }
    .lp-section { padding: 80px 0; }
    .lp-cta-final { padding: 80px 0; }
}

@media (max-width: 767px) {
    .lp-hero { padding: 100px 0 48px; }
    .lp-gradient-section { padding: 60px 0; }
    .lp-section { padding: 60px 0; }
    .lp-cta-final { padding: 60px 0; }
}
