/* CullyAI landing — Trade Republic style: huge bold type, connected bar that
   follows the background, rounded blocks, accordions. Black / white / grey
   only — no green. Loaded by index.html only (the app pages keep style.css). */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800&display=swap');

:root {
  --lp-bg: #ffffff;
  --lp-text: #0d0d0f;
  --lp-muted: #6b6b73;
  --lp-soft: #f2f2f3;
  --lp-soft-2: #e8e8ea;
  --lp-black: #0d0d0f;
  --lp-card-dark: #17181a;
  --lp-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--lp-bg); color: var(--lp-text); font-family: var(--lp-font); font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

/* ---------- Bar: full width, attached to the top, takes the tone behind it ---------- */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 72px; padding: 0 clamp(16px, 3vw, 40px);
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(13,13,15,.08);
  color: var(--lp-text);
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.lp-nav.nav-dark { background: rgba(9,9,11,.72); border-bottom-color: rgba(255,255,255,.1); color: #fff; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.lp-logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 10px; }
.lp-links { display: flex; gap: 4px; flex: 1; justify-content: center; }
.lp-links a { padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; opacity: .65; transition: background .15s, opacity .15s, color .15s; white-space: nowrap; }
.lp-links a:hover { opacity: 1; background: rgba(13,13,15,.06); }
.lp-nav.nav-dark .lp-links a:hover { background: rgba(255,255,255,.12); }
.lp-links a.active { opacity: 1; background: var(--lp-black); color: #fff; }
.lp-nav.nav-dark .lp-links a.active { background: #fff; color: var(--lp-black); }
.lp-nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lp-login { padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; opacity: .8; }
.lp-login:hover { opacity: 1; background: rgba(13,13,15,.06); }
.lp-nav.nav-dark .lp-login:hover { background: rgba(255,255,255,.12); }
.lp-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-family: inherit; font-weight: 700; cursor: pointer; border: none; transition: opacity .15s, transform .1s; }
.lp-pill:hover { opacity: .88; }
.lp-pill:active { transform: scale(.98); }
.lp-pill.solid { background: var(--lp-black); color: #fff; }
.lp-pill.light { background: #fff; color: var(--lp-black); }
.lp-pill.outline { background: transparent; border: 1.5px solid currentColor; }
.lp-nav .lp-pill { padding: 13px 24px; font-size: 15px; }
.lp-nav.nav-dark .lp-pill.solid { background: #fff; color: var(--lp-black); }
.lp-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; position: relative; }
.lp-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, top .2s; }
.lp-toggle span:nth-child(1) { top: 17px; } .lp-toggle span:nth-child(2) { top: 25px; }
.lp-nav.open .lp-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.lp-nav.open .lp-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.lp-hero {
  background: var(--lp-black); color: #fff;
  border-radius: 0 0 44px 44px;
  padding: clamp(150px, 22vh, 220px) clamp(22px, 4.5vw, 72px) clamp(72px, 11vh, 130px);
}
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1680px; margin: 0 auto; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 32px; }
.lp-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.lp-hero h1 { font-size: clamp(50px, 9.4vw, 152px); font-weight: 800; line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.lp-hero h1 span { color: rgba(255,255,255,.4); }
.lp-lead { font-size: clamp(18px, 1.9vw, 25px); line-height: 1.5; color: rgba(255,255,255,.7); max-width: 720px; margin: 36px 0 44px; }
.lp-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.lp-hero .lp-pill { padding: 21px 38px; font-size: 18px; }
.lp-hero .lp-pill.outline { color: #fff; border-color: rgba(255,255,255,.3); }
.lp-note { margin-top: 26px; font-size: 15px; color: rgba(255,255,255,.5); font-weight: 500; }

/* Chat preview: what CullyAI looks like while it works — no market claims */
.lp-chat { background: #17181a; border: 1px solid rgba(255,255,255,.08); border-radius: 36px; padding: 28px; }
.lp-chat-q { margin-left: auto; width: fit-content; max-width: 92%; background: #2a2b2f; color: #fafafa; border-radius: 24px 24px 6px 24px; padding: 14px 22px; font-size: 17px; line-height: 1.45; }
.lp-chat-a { margin-top: 22px; }
.lp-thinking { display: flex; align-items: center; color: rgba(255,255,255,.65); font-size: 17px; font-weight: 600; }
.lp-dots { display: inline-flex; gap: 6px; margin-right: 12px; }
.lp-dots i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: lp-bounce 1.2s infinite ease-in-out; }
.lp-dots i:nth-child(2) { animation-delay: .16s; } .lp-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes lp-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .3; } 40% { transform: translateY(-7px); opacity: 1; } }
.lp-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.lp-steps li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.05); border-radius: 18px; padding: 14px 18px; font-size: 16px; color: rgba(255,255,255,.85); font-weight: 500; }
.lp-steps li b { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--lp-black); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.lp-input { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; background: #0d0d0f; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 8px 8px 8px 24px; color: rgba(255,255,255,.4); font-size: 17px; }
.lp-input span:last-child { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--lp-black); display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* ---------- Sections ---------- */
.lp-section { padding: clamp(88px, 11vw, 150px) clamp(22px, 4.5vw, 72px); max-width: 1680px; margin: 0 auto; }
.lp-dark { max-width: none; margin: 10px; border-radius: 44px; background: var(--lp-black); color: #fff; padding-left: clamp(26px, 5vw, 84px); padding-right: clamp(26px, 5vw, 84px); }
.lp-dark > .lp-inner { max-width: 1680px; margin: 0 auto; }
.lp-title { font-size: clamp(42px, 8vw, 128px); font-weight: 800; line-height: .94; letter-spacing: -.05em; margin-bottom: 28px; text-wrap: balance; }
.lp-sub { font-size: clamp(18px, 2vw, 26px); line-height: 1.5; color: var(--lp-muted); max-width: 900px; margin-bottom: clamp(48px, 6vw, 84px); }
.lp-dark .lp-sub { color: rgba(255,255,255,.6); }

/* 3 steps */
.lp-steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-step { background: var(--lp-soft); border-radius: 36px; padding: 42px 38px; }
.lp-step .n { font-size: clamp(56px, 6vw, 88px); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.lp-step h3 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 26px 0 10px; }
.lp-step p { font-size: 18px; line-height: 1.5; color: var(--lp-muted); font-weight: 500; }

/* Accordions */
.lp-acc { display: grid; gap: 12px; }
.lp-acc.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.lp-item { background: var(--lp-soft); border-radius: 30px; padding: 0 clamp(24px, 3.4vw, 44px); }
.lp-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 30px 0; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.lp-item summary::-webkit-details-marker { display: none; }
.lp-item summary::after { content: '+'; margin-left: auto; font-size: 36px; font-weight: 400; line-height: 1; transition: transform .25s; flex-shrink: 0; }
.lp-item[open] summary::after { transform: rotate(45deg); }
.lp-icon { width: 48px; height: 48px; border-radius: 16px; background: var(--lp-black); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-icon svg { width: 24px; height: 24px; }
.lp-item .body { padding: 0 0 30px 68px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--lp-muted); font-weight: 500; animation: lp-in .3s ease; }
@keyframes lp-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lp-dark .lp-item { background: var(--lp-card-dark); }
.lp-dark .lp-item[open] { background: #1d1e21; }
.lp-dark .lp-icon { background: #fff; color: var(--lp-black); }
.lp-dark .lp-item .body { color: rgba(255,255,255,.62); }

/* Pricing */
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-plan { background: var(--lp-soft); border-radius: 40px; padding: 44px 38px; display: flex; flex-direction: column; position: relative; }
.lp-plan.featured { background: var(--lp-black); color: #fff; }
.lp-tag { position: absolute; top: 28px; right: 28px; background: #fff; color: var(--lp-black); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.lp-plan h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.lp-price { font-size: clamp(54px, 5.6vw, 84px); font-weight: 800; letter-spacing: -.055em; line-height: 1; margin: 26px 0 10px; }
.lp-price span { font-size: 17px; font-weight: 600; letter-spacing: 0; opacity: .5; margin-left: 6px; }
.lp-plan .desc { font-size: 17px; color: var(--lp-muted); font-weight: 500; margin-bottom: 26px; }
.lp-plan.featured .desc { color: rgba(255,255,255,.6); }
.lp-plan ul { list-style: none; margin: 0 0 34px; padding: 0; }
.lp-plan li { font-size: 17px; font-weight: 500; padding: 14px 0; border-top: 1px solid rgba(13,13,15,.1); }
.lp-plan.featured li { border-top-color: rgba(255,255,255,.14); }
.lp-plan .lp-pill { margin-top: auto; padding: 19px; font-size: 17px; }
.lp-plan.featured .lp-pill.solid { background: #fff; color: var(--lp-black); }
.lp-plan .lp-pill.outline { color: var(--lp-text); border-color: rgba(13,13,15,.25); }

/* Closing call */
.lp-cta { margin: 10px; border-radius: 44px; background: var(--lp-black); color: #fff; padding: clamp(72px, 10vw, 140px) clamp(26px, 5vw, 84px); }
.lp-cta > div { max-width: 1680px; margin: 0 auto; }
.lp-cta h2 { font-size: clamp(44px, 8.4vw, 136px); font-weight: 800; line-height: .94; letter-spacing: -.055em; margin-bottom: 44px; text-wrap: balance; }
.lp-cta .lp-pill { padding: 22px 42px; font-size: 19px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .lp-toggle { display: block; }
  .lp-nav-actions .lp-login { display: none; }
  .lp-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px clamp(16px, 3vw, 40px) 20px; background: inherit; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(128,128,128,.2); }
  .lp-nav.open .lp-links { display: flex; }
  .lp-links a { font-size: 18px; padding: 14px 16px; }
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-steps3, .lp-plans { grid-template-columns: 1fr; }
  .lp-acc.two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-nav { height: 64px; }
  .lp-hero { border-radius: 0 0 32px 32px; }
  .lp-section { padding: 64px 20px; }
  .lp-dark, .lp-cta { margin: 8px; border-radius: 30px; }
  .lp-dark { padding: 64px 22px; }
  .lp-item .body { padding-left: 0; }
  .lp-item summary { gap: 14px; padding: 24px 0; }
  .lp-chat { padding: 20px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) { .lp-dots i, .lp-item .body { animation: none; } }
