/* ================================================================
   FlowNav Landing — Light Premium Design
   Style: ioasys + HubSpot Canvas
   Clean, editorial, bold typography, generous whitespace
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
    --white: #FFFFFF;
    --bg: #FAFBFC;
    --bg-warm: #F8F6F3;
    --dark: #1B2A3D;
    --text: #33475B;
    --text-light: #516F90;
    --text-muted: #8899AA;
    --border: #E6ECF1;
    --border-lt: #EEF2F6;
    --orange: #FF7A59;
    --orange-dk: #E8603C;
    --orange-bg: #FFF3EF;
    --teal: #00A4BD;
    --teal-bg: #E8F8FB;
    --green: #00BDA5;
    --green-bg: #E5FAF5;
    --purple: #6A78D1;
    --purple-bg: #ECEDF8;
    --red: #F2545B;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.1);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-lt);
    transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-sm); }

.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1.15rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }

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

.nav-links a {
    font-size: 0.88rem; font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

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

.nav-cta {
    padding: 9px 22px;
    background: var(--orange);
    color: white !important;
    border-radius: 8px;
    font-weight: 600; font-size: 0.85rem;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--orange-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,122,89,0.3);
}

.nav-login {
    padding: 8px 18px !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 8px !important;
    color: var(--text) !important;
    font-weight: 600 !important;
    transition: all var(--transition) !important;
}

.nav-login:hover {
    border-color: var(--dark) !important;
    background: var(--bg) !important;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding: 140px 0 80px;
    background: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-bg-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -300px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0,164,189,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,122,89,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative; z-index: 1;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px 6px 8px;
    background: var(--teal-bg);
    border: 1px solid rgba(0,164,189,0.12);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 28px;
}

.hero-eyebrow-dot {
    width: 24px; height: 24px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
}

.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--dark);
    margin-bottom: 24px;
}

.hero h1 .accent { color: var(--orange); }

.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--text-light);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto 36px;
}

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

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: var(--orange);
    color: white;
    border-radius: 10px;
    font-weight: 600; font-size: 0.95rem;
    transition: all var(--transition);
    border: none; cursor: pointer;
}

.btn-primary:hover {
    background: var(--orange-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,122,89,0.3);
}

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-weight: 500; font-size: 0.95rem;
    transition: all var(--transition);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

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

/* Hero Metrics */
.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    padding: 24px 40px;
    background: var(--bg);
    border: 1px solid var(--border-lt);
    border-radius: var(--radius-lg);
}

.hero-metric { text-align: center; }

.hero-metric-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.hero-metric-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-metric-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
    padding: 40px 0;
    background: var(--bg);
    border-top: 1px solid var(--border-lt);
    border-bottom: 1px solid var(--border-lt);
}

.trust-badges {
    display: flex; align-items: center;
    justify-content: center; gap: 36px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.85rem; font-weight: 500;
    color: var(--text-muted);
}

.trust-badge-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
}

/* ========================================
   SECTIONS — SHARED
   ======================================== */
.section-header {
    max-width: 600px;
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 16px;
}

.section-tag::before {
    content: ''; width: 14px; height: 2px;
    background: var(--orange); border-radius: 1px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   FEATURES — Alternating showcase
   ======================================== */
.features-section {
    padding: 100px 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-content { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-content .feature-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.feature-tag.teal { background: var(--teal-bg); color: var(--teal); }
.feature-tag.orange { background: var(--orange-bg); color: var(--orange); }
.feature-tag.purple { background: var(--purple-bg); color: var(--purple); }
.feature-tag.green { background: var(--green-bg); color: var(--green); }

.feature-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-bottom: 14px;
}

.feature-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-bullets li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.88rem; color: var(--text);
    font-weight: 500;
}

.feature-bullets li .icon {
    width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--green-bg);
    color: var(--green);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

.feature-visual {
    position: relative;
}

.feature-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* ========================================
   CAPABILITIES — Card grid
   ======================================== */
.capabilities {
    padding: 100px 0;
    background: var(--bg);
    border-top: 1px solid var(--border-lt);
    border-bottom: 1px solid var(--border-lt);
}

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

.cap-card {
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: default;
}

.cap-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.cap-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.cap-icon.teal { background: var(--teal-bg); }
.cap-icon.orange { background: var(--orange-bg); }
.cap-icon.purple { background: var(--purple-bg); }
.cap-icon.green { background: var(--green-bg); }

.cap-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.cap-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-section { padding: 100px 0; }

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

.steps::before {
    content: '';
    position: absolute; top: 36px;
    left: 18%; right: 18%; height: 2px;
    background: linear-gradient(90deg, var(--border-lt), var(--orange), var(--border-lt));
    border-radius: 2px;
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white);
    border: 2px solid var(--orange);
    border-radius: 14px;
    font-size: 1.1rem; font-weight: 800;
    color: var(--orange);
    margin: 0 auto 20px;
    position: relative; z-index: 1;
}

.step h3 {
    font-size: 1.05rem; font-weight: 700;
    color: var(--dark); margin-bottom: 8px;
}

.step p {
    font-size: 0.85rem; color: var(--text-light);
    line-height: 1.6; max-width: 260px;
    margin: 0 auto;
}

/* ========================================
   PRICING
   ======================================== */
.pricing-section {
    padding: 100px 0;
    background: var(--bg);
    border-top: 1px solid var(--border-lt);
}

.pricing-notice {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    background: var(--orange-bg);
    border: 1px solid rgba(255,122,89,0.15);
    border-radius: 100px;
    font-size: 0.82rem; font-weight: 600;
    color: var(--orange);
    margin-bottom: 48px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}

.price-card {
    padding: 36px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
}

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

.price-card.featured {
    border-color: var(--teal);
    box-shadow: 0 0 0 1px var(--teal), var(--shadow-md);
}

.price-badge {
    position: absolute;
    top: -11px; left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--teal);
    color: white;
    border-radius: 100px;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.price-name {
    font-size: 0.9rem; font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.price-amount {
    font-size: 2.6rem; font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.price-amount span {
    font-size: 1rem; font-weight: 500;
    color: var(--text-muted);
}

.price-desc {
    font-size: 0.85rem; color: var(--text-light);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-lt);
}

.price-features {
    list-style: none;
    display: flex; flex-direction: column; gap: 12px;
    margin-bottom: 28px;
}

.price-features li {
    font-size: 0.86rem; color: var(--text);
    display: flex; align-items: center; gap: 10px;
}

.price-features .check { color: var(--green); font-weight: 700; }
.price-features .x { color: var(--text-muted); opacity: 0.35; }
.price-features li.off { opacity: 0.4; }

.btn-price {
    width: 100%; padding: 12px;
    border-radius: 10px; font-family: inherit;
    font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: all var(--transition);
    text-align: center; display: block;
}

.btn-price.primary {
    background: var(--teal); color: white; border: none;
}
.btn-price.primary:hover {
    background: #0090A5;
    box-shadow: 0 6px 20px rgba(0,164,189,0.25);
}
.btn-price.outline {
    background: var(--white); color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-price.outline:hover {
    border-color: var(--text-muted);
}

/* ========================================
   SECURITY
   ======================================== */
.security-section { padding: 100px 0; }

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sec-card {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--border-lt);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.sec-card:hover {
    background: var(--white);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.sec-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--teal-bg);
    border-radius: 12px;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.sec-card h4 {
    font-size: 0.95rem; font-weight: 700;
    color: var(--dark); margin-bottom: 6px;
}

.sec-card p {
    font-size: 0.82rem; color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   CTA
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,164,189,0.15) 0%, transparent 70%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,122,89,0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative; z-index: 1;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800; color: white;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.cta-section p {
    color: rgba(255,255,255,0.65);
    font-size: 1.02rem;
    max-width: 460px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-lt);
    background: var(--bg);
}

.footer-inner {
    display: flex; align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 0.82rem; color: var(--text-muted);
}

.footer-copy a { color: var(--teal); font-weight: 600; }
.footer-copy a:hover { text-decoration: underline; }

.footer-links {
    display: flex; gap: 24px;
    list-style: none;
}

.footer-links a {
    font-size: 0.82rem; color: var(--text-muted);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--dark); }

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse .feature-content { order: 1; }
    .feature-row.reverse .feature-visual { order: 2; }
    .cap-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .steps { grid-template-columns: 1fr; gap: 40px; }
    .steps::before { display: none; }
    .security-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero { padding: 120px 0 60px; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas a { width: 100%; text-align: center; justify-content: center; }
    .nav-links { display: none; }
    .cap-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
    .features-section, .capabilities, .how-section, .pricing-section, .security-section { padding: 70px 0; }
}
