:root {
  --bg: #FAFAF7;
  --bg-alt: #F2F1EC;
  --surface: #FFFFFF;
  --ink: #1A1A2E;
  --ink-light: #3D3D56;
  --ink-muted: #8A8AA3;
  --ink-faint: #C2C2D1;
  --coral: #E8573A;
  --coral-light: #FF7A5C;
  --coral-bg: #FEF0EC;
  --teal: #2B9E8C;
  --teal-bg: #EAFAF6;
  --navy: #1A1A2E;
  --navy-light: #2D2D4A;
  --gold: #C4960C;
  --gold-bg: #FDF8E8;
  --border: #E4E3DD;
  --border-dark: #D0CFCA;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Outfit', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', monospace;
  --max-w: 1100px;
  --shadow: 0 1px 3px rgba(26,26,46,.06);
  --shadow-lg: 0 12px 40px rgba(26,26,46,.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.65; overflow-x: hidden; font-size: 15px; }
::selection { background: var(--coral); color: #fff; }
a { color: var(--coral); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,250,247,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); transition: .3s; }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.nav-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--coral); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > span { display: block; padding: 8px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink-light); border-radius: 8px; transition: .15s; cursor: pointer; text-decoration: none; }
.nav-item > a:hover, .nav-item > span:hover { color: var(--ink); background: var(--bg-alt); }
.nav-item.active > a { color: var(--coral); }
.nav-drop { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%) translateY(6px); opacity: 0; pointer-events: none; transition: .2s; z-index: 50; }
.nav-item:hover .nav-drop { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop-inner { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px; min-width: 260px; box-shadow: var(--shadow-lg); }
.nav-drop a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: .12s; text-decoration: none; color: var(--ink-light); }
.nav-drop a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-drop-ico { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.nav-drop-txt .lbl { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.nav-drop-txt .desc { font-size: 11px; color: var(--ink-muted); margin-top: 1px; }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 22px; cursor: pointer; padding: 4px 0; }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 24px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; border: none; cursor: pointer; transition: .2s; font-family: var(--font); text-decoration: none; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: #d14a2e; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,87,58,.2); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border-dark); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-light); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 8px 18px; font-size: 12px; }

/* ─── SECTIONS ─── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-bordered { border-top: 1px solid var(--border); }
.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--coral); margin-bottom: 10px; }
.section-title { font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); font-weight: 400; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 16px; font-style: italic; color: var(--ink); }
.section-desc { font-size: 16px; color: var(--ink-light); max-width: 520px; line-height: 1.7; margin-bottom: 40px; }
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* ─── CARDS ─── */
.card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: .3s; position: relative; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border-dark); }
.card-ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 16px; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.card p { font-size: 13.5px; color: var(--ink-light); line-height: 1.65; }

/* ─── GRIDS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ─── STATS ─── */
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat-num { font-family: var(--serif); font-size: 40px; font-weight: 400; font-style: italic; color: var(--coral); line-height: 1; }
.stat-label { font-size: 12px; color: var(--ink-muted); margin-top: 6px; font-weight: 500; }

/* ─── FEATURE ROWS ─── */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border); }
.feat-row:last-child { border-bottom: none; }
.feat-row.reverse .feat-visual { order: -1; }
.feat-badge { display: inline-flex; padding: 4px 12px; border-radius: 100px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.feat-info h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; font-style: italic; letter-spacing: -.01em; margin-bottom: 12px; }
.feat-info > p { font-size: 14.5px; color: var(--ink-light); line-height: 1.7; margin-bottom: 18px; }
.feat-list { list-style: none; }
.feat-list li { padding: 4px 0; font-size: 13px; color: var(--ink-light); display: flex; align-items: flex-start; gap: 8px; }
.feat-list li::before { content: '✓'; color: var(--teal); font-weight: 700; font-size: 12px; margin-top: 2px; flex-shrink: 0; }
.feat-visual { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ─── SCREEN MOCKUP ─── */
.screen { border-radius: var(--radius); background: var(--navy); overflow: hidden; box-shadow: var(--shadow-lg); }
.screen-bar { padding: 10px 14px; background: rgba(255,255,255,.06); display: flex; align-items: center; gap: 6px; }
.screen-dot { width: 8px; height: 8px; border-radius: 50%; }
.screen-body { padding: 16px; }
.screen-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; margin-bottom: 5px; font-size: 11.5px; font-family: var(--mono); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.7); }
.screen-dot-sm { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.screen-badge { padding: 2px 8px; border-radius: 100px; font-size: 9px; font-weight: 600; }

/* ─── PRICING ─── */
.pricing-toggle { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 40px; }
.pricing-toggle span { font-size: 13.5px; color: var(--ink-muted); font-weight: 500; cursor: pointer; transition: .2s; }
.pricing-toggle span.active { color: var(--ink); font-weight: 600; }
.pricing-switch { width: 44px; height: 24px; border-radius: 12px; background: var(--border-dark); position: relative; cursor: pointer; transition: .2s; }
.pricing-switch.yearly { background: var(--coral); }
.pricing-switch::after { content: ''; width: 18px; height: 18px; border-radius: 50%; background: #fff; position: absolute; top: 3px; left: 3px; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.pricing-switch.yearly::after { transform: translateX(20px); }
.plan { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; position: relative; transition: .3s; display: flex; flex-direction: column; }
.plan:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.plan.ft { border-color: var(--coral); border-width: 2px; }
.plan-pop { position: absolute; top: 0; right: 20px; padding: 4px 12px; border-radius: 0 0 8px 8px; background: var(--coral); color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.plan-hdr { padding: 24px 22px 0; }
.plan-name { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.plan-tag { font-size: 12px; color: var(--ink-muted); margin-bottom: 14px; }
.plan-price { font-family: var(--serif); font-size: 42px; font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.plan-price .mo { font-family: var(--font); font-style: normal; font-size: 13px; font-weight: 400; color: var(--ink-muted); }
.plan-price .orig { font-family: var(--font); font-style: normal; font-size: 13px; color: var(--ink-faint); text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.plan-list { padding: 14px 22px; flex: 1; }
.plan-list li { list-style: none; padding: 3px 0; font-size: 12px; color: var(--ink-light); display: flex; align-items: center; gap: 7px; }
.plan-list li::before { content: '✓'; color: var(--teal); font-weight: 700; font-size: 10px; flex-shrink: 0; }
.plan-list li.hl { color: var(--coral); font-weight: 500; }
.plan-list li.hl::before { color: var(--coral); }
.plan-cta { padding: 0 22px 22px; }
.btn-plan { width: 100%; padding: 11px 0; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; border: none; cursor: pointer; font-family: var(--font); transition: .2s; }
.btn-plan-fill { background: var(--coral); color: #fff; }
.btn-plan-fill:hover { background: #d14a2e; }
.btn-plan-line { background: transparent; color: var(--ink); border: 1.5px solid var(--border-dark); }
.btn-plan-line:hover { border-color: var(--ink); }

/* ─── FAQ ─── */
.faq-list { max-width: 660px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-q { font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); transition: .2s; }
.faq-q:hover { color: var(--coral); }
.faq-q .arrow { font-size: 18px; color: var(--ink-muted); transition: .3s; }
.faq-q.open .arrow { transform: rotate(45deg); color: var(--coral); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; font-size: 13.5px; color: var(--ink-light); line-height: 1.7; }
.faq-a.open { max-height: 300px; padding-top: 10px; }

/* ─── MODAL ─── */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(26,26,46,.5); backdrop-filter: blur(6px); align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px; max-width: 440px; width: 92%; max-height: 90vh; overflow-y: auto; position: relative; }
.modal h2 { font-family: var(--serif); font-size: 24px; font-weight: 400; font-style: italic; margin-bottom: 4px; }
.modal .sub { font-size: 13px; color: var(--ink-muted); margin-bottom: 24px; }
.modal label { font-size: 11px; font-weight: 600; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 5px; }
.modal input { width: 100%; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--ink); font-size: 14px; font-family: var(--font); outline: none; margin-bottom: 14px; transition: .15s; }
.modal input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(232,87,58,.08); }
.btn-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--ink-muted); font-size: 22px; cursor: pointer; }

/* ─── CTA BOX ─── */
.cta-box { border-radius: 20px; background: var(--navy); padding: 60px 40px; text-align: center; position: relative; overflow: hidden; color: #fff; }
.cta-box::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(232,87,58,.15), transparent 60%); pointer-events: none; }
.cta-box h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 400; font-style: italic; margin-bottom: 12px; position: relative; }
.cta-box p { font-size: 15px; color: rgba(255,255,255,.65); max-width: 420px; margin: 0 auto 28px; position: relative; }

/* ─── FOOTER ─── */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 13px; color: var(--ink-muted); line-height: 1.7; margin-top: 10px; max-width: 260px; }
.footer-col h4 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--ink-muted); padding: 3px 0; transition: .15s; }
.footer-col a:hover { color: var(--coral); }
.footer-bar { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-bar p { font-size: 11px; color: var(--ink-faint); }

/* ─── PAGE HEADER ─── */
.page-header { padding: 130px 0 56px; text-align: center; }

/* ─── LOGIN ─── */
.login-box { max-width: 420px; margin: 0 auto; padding: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); }
.login-box h1 { font-family: var(--serif); font-size: 26px; font-weight: 400; font-style: italic; margin-bottom: 4px; text-align: center; }
.login-box .sub { font-size: 13.5px; color: var(--ink-muted); text-align: center; margin-bottom: 24px; }
.login-box label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); display: block; margin-bottom: 5px; }
.login-box input { width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--ink); font-size: 14px; font-family: var(--font); outline: none; margin-bottom: 16px; transition: .15s; }
.login-box input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(232,87,58,.08); }
.login-domain { display: flex; align-items: center; gap: 0; margin-bottom: 16px; }
.login-domain input { border-radius: 10px 0 0 10px; margin-bottom: 0; }
.login-domain span { padding: 12px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-left: none; border-radius: 0 10px 10px 0; font-size: 13px; color: var(--ink-muted); white-space: nowrap; }

/* ─── INTEGRATIONS ─── */
.int-card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: .3s; }
.int-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.int-logo { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; background: var(--bg-alt); }
.int-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.int-card p { font-size: 13px; color: var(--ink-light); line-height: 1.6; margin-bottom: 12px; }
.int-tag { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 600; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; flex-direction: column; background: var(--surface); padding: 20px 24px; gap: 4px; align-items: stretch; overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 200; }
  .nav-links.open { display: flex; }
  body.menu-open { overflow: hidden; }
  .nav-drop { position: static; transform: none; opacity: 1; pointer-events: auto; }
  .nav-drop-inner { box-shadow: none; border: none; background: var(--bg-alt); min-width: 0; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
}
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .feat-row { grid-template-columns: 1fr; gap: 28px; }
  .feat-row.reverse .feat-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-visual { display: none; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-box { padding: 40px 20px; }
}

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(16px); transition: all .5s cubic-bezier(.16,1,.3,1); }
.fade-up.visible { opacity: 1; transform: none; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
