/* ============================================================
   DealFlow Portal — product landing page
   Standalone stylesheet (no portal.css dependency)
   ============================================================ */

@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/figtree-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --ink: #060d1f;
    --ink-2: #0a1530;
    --navy: #0e1f4b;
    --blue: #2e6bff;
    --blue-deep: #1e4fd6;
    --cyan: #33e0c8;
    --text: #17233f;
    --muted: #5b6880;
    --line: rgba(14, 31, 75, 0.10);
    --bg: #f6f8fc;
    --white: #ffffff;
    --radius: 14px;
    --shadow-card: 0 8px 30px rgba(6, 13, 31, 0.07);
    --shadow-pop: 0 24px 70px rgba(6, 13, 31, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.dfl {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.dfl-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- buttons ---------- */
.dfl-btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 14.5px; letter-spacing: .1px;
    border-radius: 10px; padding: 11px 20px; border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.dfl-btn-lg { padding: 15px 26px; font-size: 15.5px; border-radius: 12px; }
.dfl-btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(46, 107, 255, 0.35);
}
.dfl-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(46, 107, 255, 0.45); }
.dfl-btn-outline { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04); }
.dfl-btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.dfl-btn-ghost { color: #dbe4ff; }
.dfl-btn-ghost:hover { color: #fff; }

/* ---------- nav ---------- */
.dfl-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 0;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.dfl-nav.is-solid { background: rgba(6, 13, 31, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); padding: 10px 0; }
.dfl-nav-inner { display: flex; align-items: center; gap: 34px; }
.dfl-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.dfl-logo-mark { color: var(--cyan); display: inline-flex; }
.dfl-logo-mark svg path { stroke: #fff; }
.dfl-nav-links { display: flex; gap: 26px; margin-left: auto; }
.dfl-nav-links a { color: #b9c4e2; font-size: 14px; font-weight: 500; transition: color .18s ease; }
.dfl-nav-links a:hover { color: #fff; }
.dfl-nav-cta { display: flex; gap: 10px; }
.dfl-nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.dfl-nav-burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.dfl-hero {
    position: relative;
    background:
        radial-gradient(900px 480px at 78% -10%, rgba(46, 107, 255, 0.22), transparent 60%),
        radial-gradient(700px 420px at 8% 110%, rgba(51, 224, 200, 0.10), transparent 55%),
        linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 55%, var(--navy) 130%);
    color: #fff;
    padding: 170px 0 110px;
    overflow: hidden;
}
.dfl-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.dfl-grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}
.dfl-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.dfl-orb-a { width: 420px; height: 420px; background: rgba(46, 107, 255, .38); top: -120px; right: -80px; animation: dflFloat 11s ease-in-out infinite; }
.dfl-orb-b { width: 300px; height: 300px; background: rgba(51, 224, 200, .18); bottom: -100px; left: -60px; animation: dflFloat 13s ease-in-out infinite reverse; }
@keyframes dflFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(26px); } }

.dfl-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.dfl-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 12.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 22px;
}
.dfl-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(51,224,200,.6); animation: dflPulse 2.2s infinite; }
@keyframes dflPulse { 0% { box-shadow: 0 0 0 0 rgba(51,224,200,.55); } 70% { box-shadow: 0 0 0 11px rgba(51,224,200,0); } 100% { box-shadow: 0 0 0 0 rgba(51,224,200,0); } }

.dfl-hero h1 {
    font-size: clamp(46px, 6.4vw, 76px);
    line-height: 1.02; font-weight: 800; letter-spacing: -1.8px;
    margin-bottom: 26px;
}
.dfl-hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--cyan) 0%, #6ea8ff 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dfl-lede { font-size: 18px; line-height: 1.65; color: #b9c4e2; max-width: 560px; margin-bottom: 34px; font-weight: 400; }
.dfl-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.dfl-hero-note { margin-top: 20px; font-size: 13px; color: #7d8bb0; letter-spacing: .3px; }

/* hero mock */
.dfl-hero-visual { position: relative; }
.dfl-mock {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.dfl-mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.09); }
.dfl-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dfl-mock-title { margin-left: 10px; font-size: 12.5px; color: #93a1c6; letter-spacing: .3px; }
.dfl-mock-body { padding: 10px 14px 14px; }
.dfl-mock-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 12px; border-radius: 10px;
}
.dfl-mock-row + .dfl-mock-row { border-top: 1px solid rgba(255,255,255,.06); }
.dfl-mock-doc { display: flex; align-items: center; gap: 12px; }
.dfl-mock-ico { font-size: 21px; }
.dfl-mock-doc strong { display: block; font-size: 14px; color: #eef2ff; font-weight: 600; }
.dfl-mock-doc small { font-size: 11.5px; color: #7d8bb0; }
.dfl-chip {
    font-size: 11px; font-weight: 700; letter-spacing: .4px;
    padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.dfl-chip-green { background: rgba(46, 213, 137, .14); color: #46e3a0; border: 1px solid rgba(46, 213, 137, .35); }
.dfl-chip-amber { background: rgba(255, 184, 46, .12); color: #ffc85e; border: 1px solid rgba(255, 184, 46, .35); }
.dfl-chip-blue { background: rgba(110, 168, 255, .13); color: #8fb6ff; border: 1px solid rgba(110, 168, 255, .35); }
.dfl-mock-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 8px; padding: 12px 12px 2px; border-top: 1px solid rgba(255,255,255,.09);
}
.dfl-ai-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--cyan);
}
.dfl-mock-verdict { font-size: 12.5px; color: #93a1c6; }
.dfl-mock-verdict b { color: #ffc85e; }

/* ---------- stat strip ---------- */
.dfl-stats { background: var(--ink); border-top: 1px solid rgba(255,255,255,.06); padding: 34px 0; color: #fff; }
.dfl-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dfl-stat { text-align: center; }
.dfl-stat b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -1px; background: linear-gradient(100deg, #fff 20%, #9fb6ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dfl-stat span { font-size: 12.5px; color: #7d8bb0; letter-spacing: .4px; text-transform: uppercase; font-weight: 600; }

/* ---------- sections ---------- */
.dfl-section { padding: 104px 0; }
.dfl-section-tint { background: var(--bg); }
.dfl-section-dark {
    background:
        radial-gradient(800px 400px at 85% 0%, rgba(46, 107, 255, 0.14), transparent 60%),
        linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
    color: #fff;
}
.dfl-section-head { max-width: 720px; margin-bottom: 58px; }
.dfl-section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.12; margin-bottom: 18px; }
.dfl-sub { font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.dfl-section-dark .dfl-sub { color: #b9c4e2; }

/* cards */
.dfl-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dfl-grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dfl-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; box-shadow: var(--shadow-card);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.dfl-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(6, 13, 31, 0.12); border-color: rgba(46, 107, 255, .25); }
.dfl-card h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -.3px; margin: 16px 0 10px; }
.dfl-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.dfl-card-ico {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(46,107,255,.12), rgba(51,224,200,.10));
    color: var(--blue);
}
.dfl-card-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.10); box-shadow: none; }
.dfl-card-dark:hover { border-color: rgba(51,224,200,.4); box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.dfl-card-dark h3 { color: #fff; }
.dfl-card-dark p { color: #b9c4e2; }
.dfl-card-dark .dfl-card-ico { background: rgba(51,224,200,.10); color: var(--cyan); }

/* ---------- steps ---------- */
.dfl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.dfl-step {
    position: relative; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 34px 28px 30px; box-shadow: var(--shadow-card);
}
.dfl-step-n {
    font-size: 44px; font-weight: 800; letter-spacing: -2px; line-height: 1;
    background: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 120%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    display: block; margin-bottom: 16px;
}
.dfl-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.dfl-step p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ---------- proof ---------- */
.dfl-proof { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.dfl-proof-copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -1.2px; margin-bottom: 18px; }
.dfl-proof-list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.dfl-proof-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.6; color: #b9c4e2; }
.dfl-proof-list li::before {
    content: ''; position: absolute; left: 0; top: 7px;
    width: 16px; height: 16px; border-radius: 5px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.dfl-proof-list b { color: #fff; }

.dfl-term {
    background: #04070f; border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
    box-shadow: var(--shadow-pop); overflow: hidden;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.dfl-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dfl-term-body { padding: 20px 22px; font-size: 13px; line-height: 2.05; color: #c4d3f2; overflow-x: auto; }
.dfl-term-body .c { color: #5b6880; }
.dfl-term-body .ok { color: #46e3a0; }
.dfl-term-body .hl { color: var(--cyan); }

/* ---------- CTA ---------- */
.dfl-cta {
    background:
        radial-gradient(700px 360px at 50% -20%, rgba(46, 107, 255, 0.30), transparent 65%),
        linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
    color: #fff; padding: 110px 0; text-align: center;
}
.dfl-cta-inner h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -1.4px; margin-bottom: 16px; }
.dfl-cta-inner p { font-size: 17px; color: #b9c4e2; max-width: 560px; margin: 0 auto 36px; }
.dfl-center { justify-content: center; }

/* ---------- footer ---------- */
.dfl-footer { background: #04070f; color: #7d8bb0; padding: 44px 0 40px; border-top: 1px solid rgba(255,255,255,.06); }
.dfl-footer-inner { text-align: center; display: grid; gap: 12px; justify-items: center; }
.dfl-footer-brand { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 700; font-size: 15px; }
.dfl-footer-brand .dfl-logo-mark svg path { stroke: #fff; }
.dfl-footer-line { font-size: 13.5px; }
.dfl-footer-legal { font-size: 12px; color: #4d5a78; max-width: 640px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
    .dfl-hero-inner { grid-template-columns: 1fr; gap: 54px; }
    .dfl-mock { transform: none; max-width: 560px; margin: 0 auto; }
    .dfl-proof { grid-template-columns: 1fr; gap: 44px; }
    .dfl-cols3, .dfl-grid6, .dfl-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .dfl-nav-links, .dfl-nav-cta { display: none; }
    .dfl-nav-burger { display: block; }
    .dfl-nav.is-open { background: rgba(6, 13, 31, 0.97); }
    .dfl-nav.is-open .dfl-nav-inner { flex-wrap: wrap; }
    .dfl-nav.is-open .dfl-nav-links { display: flex; flex-direction: column; width: 100%; gap: 4px; padding: 18px 0 6px; margin-left: 0; }
    .dfl-nav.is-open .dfl-nav-links a { padding: 10px 0; font-size: 16px; }
    .dfl-nav.is-open .dfl-nav-cta { display: flex; width: 100%; padding: 8px 0 16px; flex-direction: column; }
}
@media (max-width: 640px) {
    .dfl-hero { padding: 130px 0 80px; }
    .dfl-section { padding: 72px 0; }
    .dfl-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .dfl-cols3, .dfl-grid6, .dfl-steps { grid-template-columns: 1fr; }
    .dfl-hero-actions .dfl-btn { width: 100%; }
    .dfl-wrap { padding: 0 20px; }
}

/* wl30 — pricing */
.dfl-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; align-items: stretch; }
@media (max-width: 900px) { .dfl-pricing { grid-template-columns: 1fr; } }
.dfl-price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #dfe6f2; border-radius: 18px; padding: 30px 28px; box-shadow: 0 10px 34px rgba(10, 20, 40, .06); }
.dfl-price-card h3 { font-size: 19px; margin: 0 0 6px; }
.dfl-price { margin: 0 0 8px; }
.dfl-price b { font-size: 42px; letter-spacing: -0.02em; }
.dfl-price span { color: #64708a; font-size: 15px; }
.dfl-price-note { color: #64708a; font-size: 14px; line-height: 1.5; min-height: 42px; margin: 0 0 16px; }
.dfl-price-card ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.dfl-price-card ul li { padding: 7px 0 7px 26px; font-size: 14.5px; position: relative; border-bottom: 1px dashed #eef2f9; }
.dfl-price-card ul li::before { content: "✓"; position: absolute; left: 2px; color: #12b39a; font-weight: 700; }
.dfl-price-featured { border: 2px solid #12b39a; box-shadow: 0 18px 50px rgba(18, 179, 154, .16); transform: translateY(-8px); }
.dfl-price-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #12b39a, #2e6bff); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.dfl-price-foot { text-align: center; color: #64708a; font-size: 13.5px; margin-top: 26px; }
.dfl-section-dark .dfl-price-card { background: #101a2e; border-color: #24314d; }
