/* ═══════════════════════════════════════════
   index.css  –  Pipeline Landing Page
   Inspired by Dribbble's clean, grid-first UI
   ═══════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────── */
:root {
    --green-900: #0b3d20;
    --green-700: #0f5b3b;
    --green-600: #087832;
    --green-400: #2da65a;
    --green-100: #e6f4ec;
    --green-50:  #f0faf4;
    --off-white: #f9fafb;
    --white:     #ffffff;
    --text-dark: #111827;
    --text-mid:  #374151;
    --text-soft: #6b7280;
    --border:    #e5e7eb;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --transition: 0.2s ease;
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, 92%); margin: 0 auto; }

/* ── NAVBAR ──────────────────────────────── */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 68px;
    gap: 24px;
    transition: box-shadow var(--transition);
}
.top-nav.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    transition: background var(--transition), color var(--transition);
}
.nav-link:hover {
    background: var(--green-50);
    color: var(--green-600);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-login {
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mid);
    border-radius: var(--radius-pill);
    transition: color var(--transition);
}
.nav-login:hover { color: var(--green-600); }

.nav-signup {
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 700;
    background: var(--green-600);
    color: var(--white);
    border-radius: var(--radius-pill);
    transition: background var(--transition), transform var(--transition);
}
.nav-signup:hover {
    background: var(--green-700);
    transform: translateY(-1px);
}

/* ── CTAs (shared) ───────────────────────── */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--green-600);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(8,120,50,0.30);
}
.cta-primary:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8,120,50,0.35);
}

.cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    background: transparent;
    color: var(--green-700);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 2px solid var(--green-600);
    transition: background var(--transition), transform var(--transition);
}
.cta-ghost:hover {
    background: var(--green-50);
    transform: translateY(-2px);
}
.cta-ghost--light {
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.5);
}
.cta-ghost--light:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

/* ── HERO ────────────────────────────────── */
.hero {
    background: var(--white);
    padding: 80px 0 80px;
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    width: min(1160px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

/* Left column: all text content */
.hero-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--green-600);
    background: var(--green-100);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-headline {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-soft);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Right column: carousel */
.hero-right {
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.pill {
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    background: var(--off-white);
    color: var(--text-mid);
    border: 1px solid var(--border);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pill:hover {
    background: var(--green-100);
    color: var(--green-700);
    border-color: var(--green-400);
}
.pill-active {
    background: var(--green-600);
    color: var(--white);
    border-color: var(--green-600);
}
.pill-active:hover {
    background: var(--green-700);
    color: var(--white);
}

/* ── SHOWCASE GRID (Dribbble shots grid) ─── */
.showcase {
    background: var(--off-white);
    padding: 72px 0 60px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

/* tall card spans 2 rows */
.shot-card--tall {
    grid-row: span 2;
}

.shot-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}
.shot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.shot-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}
.shot-card--tall .shot-img {
    min-height: 320px;
}

.shot-emoji {
    font-size: 52px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.shot-meta {
    padding: 14px 18px 18px;
    border-top: 1px solid var(--border);
}

.shot-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-600);
}

.shot-title {
    font-size: 16px;
    font-weight: 700;
    margin: 4px 0 6px;
    color: var(--text-dark);
}

.shot-desc {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.5;
}

.showcase-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ── COMMUNITY STRIP ─────────────────────── */
.community {
    background: var(--white);
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.community-inner {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.community-text {
    flex: 1;
    min-width: 280px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--green-600);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.community-text h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.community-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-soft);
    max-width: 480px;
}

.community-media {
    width: 420px;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}
.community-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── STATS STRIP ─────────────────────────── */
.stats-strip {
    background: var(--green-900);
    padding: 52px 0;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 56px;
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.15);
}

/* ── HOW IT WORKS ────────────────────────── */
.how-it-works {
    background: var(--off-white);
    padding: 96px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    color: var(--text-dark);
    margin-top: 12px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px 36px;
    transition: box-shadow var(--transition), transform var(--transition);
    box-shadow: var(--shadow-sm);
}
.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.step-number {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--green-600);
    background: var(--green-100);
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-soft);
}

/* ── CALLOUT BANNER ──────────────────────── */
.callout-banner {
    background: var(--green-600);
    padding: 100px 0;
    text-align: center;
}

.callout-content {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.callout-banner h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
}

.callout-banner p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.callout-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.callout-banner .cta-primary {
    background: var(--white);
    color: var(--green-700);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.callout-banner .cta-primary:hover {
    background: var(--green-50);
}

/* ── FOOTER ──────────────────────────────── */
.site-footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 32px;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 32px;
}

.footer-brand img {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    line-height: 1.6;
    max-width: 260px;
}

.footer-legal {
    margin-top: 12px !important;
    font-size: 11px;
    opacity: 0.5;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 6px;
}

.footer-nav-group a {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    transition: color var(--transition);
}
.footer-nav-group a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    opacity: 0.5;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: inherit;
}
.footer-bottom-links a:hover {
    opacity: 0.8;
}

/* ── HERO CAROUSEL (vertical, right column) ── */
.hero-carousel-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hc-track-outer {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    /* show exactly one card height */
    height: 240px;
}

.hc-track {
    display: flex;
    flex-direction: column;          /* vertical stack */
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Individual cards — full width of right column */
.hc-card {
    width: 100%;
    height: 240px;                   /* exactly one viewport in the track */
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: box-shadow var(--transition);
}
.hc-card:hover {
    box-shadow: var(--shadow-md);
}

.hc-card-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hc-emoji {
    font-size: 52px;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.12));
}

.hc-card-body {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border);
}

.hc-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-600);
}

.hc-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 4px 0 4px;
}

.hc-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
}

/* Arrow buttons — stacked vertically */
.hc-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-mid);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), color var(--transition);
}
.hc-arrow:hover:not(:disabled) {
    background: var(--green-600);
    color: var(--white);
    border-color: var(--green-600);
}
.hc-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

/* Dots — horizontal row below card */
.hc-dots {
    display: flex;
    gap: 6px;
}

.hc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), width var(--transition);
}
.hc-dot--active {
    background: var(--green-600);
    width: 22px;
    border-radius: 4px;
}

/* ── AUTH MODAL ──────────────────────────── */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    background: var(--white);
    width: min(90%, 420px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-modal-overlay.active .auth-modal {
    transform: translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-soft);
    cursor: pointer;
    transition: color var(--transition);
}

.auth-modal-close:hover {
    color: var(--text-dark);
}

.auth-modal-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.auth-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.auth-modal-desc {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 28px;
}

.auth-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-modal-actions .cta-primary,
.auth-modal-actions .cta-ghost {
    width: 100%;
    justify-content: center;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 960px) {
    .top-nav { padding: 0 24px; }
    .nav-links { display: none; }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shot-card--tall { grid-row: span 1; }

    .community-inner { gap: 48px; }
    .community-media { width: 100%; height: 280px; }

    .steps-grid { grid-template-columns: 1fr; }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero { padding: 60px 0 50px; }
    .hero-headline { font-size: 38px; }

    .hero-ctas { flex-direction: column; align-items: stretch; }
    .cta-primary, .cta-ghost { justify-content: center; }

    .showcase-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .stats-grid { gap: 32px; flex-direction: column; }
    .stat-divider { display: none; }
    .stat-item { padding: 0; }

    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}