/* landing.css — TimeQuorum marketing landing page styles */

:root {
    --primary: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #EEF2FF;
    --accent: #10B981;
    --text: #111827;
    --text-mid: #374151;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --bg: #ffffff;
    --bg-soft: #F9FAFB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

a { color: inherit; text-decoration: none; }

.inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden { display: none !important; }

/* ===== NAV ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    transition: color 0.15s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s, box-shadow 0.15s;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    box-shadow: var(--shadow-sm);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-mid);
    border-radius: 2px;
}

.nav-mobile {
    border-top: 1px solid var(--border);
    background: white;
    padding: 16px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-mobile a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-mid);
}

.mobile-cta {
    background: var(--primary);
    color: white !important;
    padding: 12px 0;
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* ===== HERO ===== */
.hero {
    padding: 80px 24px 64px;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text);
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
    position: relative;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.btn-hero-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79,70,229,0.4);
}

.btn-hero-secondary {
    display: inline-block;
    color: var(--text-mid);
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s;
}

.btn-hero-secondary:hover { color: var(--primary); }

.hero-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* Mockup */
.mockup-window {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.mockup-bar {
    background: #F3F4F6;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.mockup-url {
    margin-left: 8px;
    font-size: 12px;
    color: var(--text-muted);
    background: white;
    border: 1px solid var(--border);
    padding: 2px 12px;
    border-radius: 4px;
}

.mockup-body { padding: 0; }

.mockup-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    align-items: center;
}

.mockup-row:last-child { border-bottom: none; }

.header-row {
    background: var(--bg-soft);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.bold { font-weight: 600; color: var(--text); }

.pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.pill.active { background: #D1FAE5; color: #065F46; }
.pill.done { background: #DBEAFE; color: #1E40AF; }
.pill.paused { background: #FEF3C7; color: #92400E; }

.mockup-timer {
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    grid-template-columns: none;
    border-bottom: none;
}

.timer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #A5F3FC;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.timer-stop {
    margin-left: auto;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: default;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 24px;
}

.proof-label {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.proof-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 96px 24px;
}

.how-it-works .inner {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 12px;
}

.how-it-works h2,
.features h2,
.compare h2,
.pricing h2,
.cta-band h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 48px;
    color: var(--text);
}

.steps {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    flex-wrap: wrap;
    justify-content: center;
}

.step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.step p em { color: var(--primary); font-style: normal; font-weight: 500; }

.step-arrow {
    font-size: 24px;
    color: var(--border);
    padding-top: 8px;
    align-self: flex-start;
    margin-top: 4px;
}

/* ===== FEATURES ===== */
.features {
    background: var(--bg-soft);
    padding: 96px 24px;
}

.features .inner { text-align: center; }

.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: -32px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: box-shadow 0.2s, transform 0.2s;
    color: var(--text);
    text-decoration: none;
    display: block;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-card-link {
    border-color: var(--border);
    cursor: pointer;
}

.feature-card-link:hover {
    border-color: var(--primary);
}

.feature-arrow {
    font-size: 14px;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.15s, transform 0.15s;
    display: inline-block;
}

.feature-card-link:hover .feature-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== COMPARE ===== */
.compare {
    padding: 96px 24px;
}

.compare .inner { text-align: center; }

.compare-table-wrap {
    overflow-x: auto;
    margin-bottom: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.compare-table th {
    background: var(--bg-soft);
    padding: 14px 20px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-mid);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.compare-table th.us-col {
    background: var(--primary-light);
    color: var(--primary);
}

.compare-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-mid);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td.feature-col {
    font-weight: 500;
    color: var(--text);
}

.compare-table td.us {
    background: rgba(79,70,229,0.04);
    font-weight: 500;
    color: var(--text);
}

.compare-table tr:hover td { background: var(--bg-soft); }
.compare-table tr:hover td.us { background: rgba(79,70,229,0.07); }

.check { color: #10B981; font-weight: 700; }
.cross { color: #EF4444; font-weight: 700; }
.partial { color: #F59E0B; font-weight: 700; }

.compare-callout {
    background: var(--primary-light);
    border: 1px solid rgba(79,70,229,0.2);
    border-radius: var(--radius);
    padding: 20px 28px;
    font-size: 14px;
    color: var(--text-mid);
    text-align: left;
    max-width: 640px;
    margin: 0 auto;
}

.compare-callout strong { color: var(--primary); }

/* ===== PRICING ===== */
.pricing {
    background: var(--bg-soft);
    padding: 96px 24px;
}

.pricing .inner { text-align: center; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
    align-items: stretch;
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: left;
    position: relative;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover { box-shadow: var(--shadow-md); }

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary), var(--shadow-md);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.plan-price {
    margin-bottom: 12px;
    line-height: 1;
}

.price {
    font-size: 42px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -2px;
}

.period {
    font-size: 16px;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.plan-features li {
    font-size: 14px;
    color: var(--text-mid);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.plan-features li:last-child { border-bottom: none; }

.plan-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--border);
    color: var(--text-mid);
    transition: all 0.15s;
}

.plan-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.plan-btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.plan-btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.plan-btn-enterprise {
    background: #111827;
    border-color: #111827;
    color: white;
}

.plan-btn-enterprise:hover {
    background: #1f2937;
    border-color: #1f2937;
    color: white;
}

.pricing-card-enterprise {
    border-color: #111827;
    background: #fafafa;
}

.enterprise-price {
    font-size: 32px;
    letter-spacing: -1px;
}

.feature-support {
    color: var(--primary) !important;
    font-weight: 600;
}

.feature-support::before {
    content: '★' !important;
    color: var(--primary) !important;
}

.pricing-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== CTA BAND ===== */
.cta-band {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 80px 24px;
    text-align: center;
}

.cta-band h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-band p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
}

.cta-band .btn-hero-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cta-band .btn-hero-primary:hover {
    background: #F0F0FF;
    color: var(--primary-dark);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 56px 24px 32px;
}

.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4 {
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    transition: color 0.15s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 60px 24px 48px;
        gap: 48px;
    }

    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 16px; }

    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin-left: auto; margin-right: auto; }
    .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }

    .footer-cols { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .hero h1 { font-size: 30px; letter-spacing: -0.8px; }
    .how-it-works h2, .features h2, .compare h2, .pricing h2, .cta-band h2 {
        font-size: 26px;
    }

    .steps { flex-direction: column; align-items: center; }
    .step-arrow { display: none; }
    .feature-grid { grid-template-columns: 1fr; }

    .pricing-grid, .pricing-grid-4 { grid-template-columns: 1fr; max-width: 380px; }

    .stat-divider { display: none; }
    .proof-stats { gap: 28px; }

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