/* ========================================
   FINYUM - Stylesheet
   Clean, enterprise-grade light theme
   ======================================== */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --accent: #0d9488;
    --accent-light: #ccfbf1;
    --border: #e2e8f0;
}

* {
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }
body { background-color: var(--bg-primary); color: var(--text-primary); }

/* Navigation */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.97) !important;
    border-bottom-color: var(--border) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Cards */
.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Workflow Connector Lines */
.workflow-connector { position: relative; }

.workflow-connector::after {
    content: '';
    position: absolute;
    top: 2rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--border), transparent);
}

.workflow-connector:last-child::after { display: none; }

@media (max-width: 768px) {
    .workflow-connector::after { display: none; }
}

/* Stat Number */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) { .stat-number { font-size: 2.25rem; } }

/* Section Label */
.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.025em;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* FAQ Accordion */
.faq-icon { transition: transform 0.3s ease; }

/* Pricing Popular Card */
.pricing-popular {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15), 0 8px 32px rgba(13, 148, 136, 0.08);
}

/* Smooth focus for form inputs */
input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* ========================================
   Integrations Marquee (infinite scroll)
   ======================================== */
.marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track {
    animation-play-state: paused;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* Minimal wordmark for marquee */
.logo-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #cbd5e1;
    white-space: nowrap;
    transition: color 0.2s ease;
    flex-shrink: 0;
}
.logo-wordmark:hover { color: #334155; }
.logo-wordmark.is-soon { color: #e2e8f0; }
.logo-wordmark.is-soon:hover { color: #475569; }
.logo-wordmark .soon-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    color: #92400e;
    background: #fef3c7;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
