/* Incrudible landing — warm canvas, gradient glow, soft rounded cards */
:root {
  --bg: #fcfbf8; --card: #fff; --ink: #1c1c1c; --mute: #6b6b6b; --line: #ecebe7;
  --o: #ff8a00; --p: #ff2e7e; --v: #6f5bff; --b: #4b73ff;
  --grad: linear-gradient(120deg, var(--o), var(--p) 50%, var(--v));
  --r: 20px; --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 30px rgba(0,0,0,.06);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
html, body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.mute { color: var(--mute); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 14px; transition: transform .15s, background .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost:hover { background: rgba(0,0,0,.05); }
.btn.lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.lang { height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: 600 13px Inter, sans-serif; cursor: pointer; color: var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(252,251,248,.75); border-bottom: 1px solid transparent; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.links { display: flex; gap: 24px; margin-right: auto; font-size: 14px; color: var(--mute); }
.links a:hover { color: var(--ink); }
.nav-act { display: flex; align-items: center; gap: 8px; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; text-align: center; }
.glow { position: absolute; left: 50%; top: 260px; width: 1300px; height: 900px; transform: translateX(-50%); z-index: -1; filter: blur(90px); opacity: .55;
  background: radial-gradient(closest-side at 30% 45%, var(--b), transparent), radial-gradient(closest-side at 55% 55%, var(--p), transparent), radial-gradient(closest-side at 75% 45%, var(--o), transparent); }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font-size: 13px; font-weight: 500; box-shadow: var(--shadow); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
h1 { margin-top: 24px; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; max-width: 900px; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 20px; font-size: clamp(16px, 2vw, 19px); line-height: 1.55; color: var(--mute); max-width: 640px; }

.prompt { margin-top: 36px; width: min(680px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 16px 16px 12px; box-shadow: 0 20px 60px rgba(111,91,255,.18), var(--shadow); text-align: left; }
.prompt textarea { width: 100%; border: 0; outline: 0; resize: none; font: 400 17px/1.5 Inter, sans-serif; color: var(--ink); background: none; }
.prompt-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.chip-sm { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--mute); padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; }
.send { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .15s; }
.send:hover { transform: scale(1.06); }
.ideas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; max-width: 680px; }
.idea { border: 1px solid var(--line); background: rgba(255,255,255,.7); border-radius: 99px; padding: 8px 14px; font: 500 13px Inter, sans-serif; color: var(--ink); cursor: pointer; transition: background .15s; }
.idea:hover { background: #fff; }

/* Phones (pure CSS mockups) */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin-top: 72px; perspective: 1400px; }
.phone { width: 250px; height: 510px; border-radius: 40px; padding: 10px; background: #0f1115; box-shadow: 0 30px 80px rgba(28,28,28,.28); flex: none; }
.phone.main { width: 270px; height: 550px; z-index: 1; }
.tilt-l { transform: rotateY(14deg) rotateZ(-3deg) translateY(10px); }
.tilt-r { transform: rotateY(-14deg) rotateZ(3deg) translateY(10px); }
.scr { height: 100%; border-radius: 31px; background: #15171d; padding: 34px 16px 16px; display: flex; flex-direction: column; gap: 12px; text-align: left; color: #fff; overflow: hidden; position: relative; }
.row-sb { display: flex; justify-content: space-between; align-items: center; }
.h { font-size: 17px; letter-spacing: -.02em; }
.ib, .av { width: 32px; height: 32px; border-radius: 50%; background: #252832; }
.av { background: linear-gradient(135deg, var(--v), var(--b)); }
.av.big { width: 64px; height: 64px; border: 4px solid #15171d; position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); }
.stories { display: flex; gap: 10px; }
.st { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid transparent; background: linear-gradient(#6f5bff,#6f5bff) padding-box, var(--grad) border-box; }
.st.b { background: linear-gradient(#ff2e7e,#ff2e7e) padding-box, var(--grad) border-box; }
.st.c { background: linear-gradient(#3ddc97,#3ddc97) padding-box, var(--grad) border-box; }
.st.d { background: linear-gradient(#ffb23d,#ffb23d) padding-box, var(--grad) border-box; }
.chips { display: flex; gap: 6px; }
.chips span { font-size: 10px; font-weight: 600; padding: 6px 10px; border-radius: 99px; background: #252832; color: #9aa1b4; }
.chips .on { background: var(--v); color: #fff; }
.media { height: 150px; border-radius: 18px; background: linear-gradient(135deg, var(--v), #3de0ff); position: relative; }
.tag { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: #0f1115; }
.line { height: 9px; border-radius: 5px; background: #fff; }
.line.mute { background: #3a3f4c; height: 7px; }
.line.c { margin-inline: auto; }
.w70 { width: 70%; } .w50 { width: 50%; } .w40 { width: 40%; } .w30 { width: 30%; }
.tabbar { margin-top: auto; height: 50px; border-radius: 22px; background: #22252e; display: flex; justify-content: space-around; align-items: center; }
.tabbar i { width: 18px; height: 18px; border-radius: 6px; background: #4a5060; }
.tabbar .fab { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); margin-top: -26px; }
.promo { height: 108px; border-radius: 20px; background: linear-gradient(135deg, var(--b), var(--v)); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.promo b { font-size: 17px; }
.promo span { font-size: 10px; font-weight: 700; color: #0f1115; background: #fff; padding: 5px 11px; border-radius: 99px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.grid4 i { aspect-ratio: 1; border-radius: 14px; background: rgba(79,124,255,.25); }
.grid4 .b { background: rgba(123,92,255,.25); } .grid4 .c { background: rgba(61,220,151,.25); } .grid4 .d { background: rgba(255,178,61,.25); }
.chart { height: 80px; } .chart svg { width: 100%; height: 100%; }
.player { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: #22252e; }
.player > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.art { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--p), var(--o)); }
.play { width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.cover { height: 96px; border-radius: 20px; background: linear-gradient(135deg, var(--p), var(--v)); position: relative; margin-bottom: 30px; }
.stats { display: flex; justify-content: space-around; font-size: 14px; }
.bubble { font-size: 11px; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: #252832; align-self: flex-start; }
.bubble.me { background: var(--b); border-radius: 16px 16px 4px 16px; align-self: flex-end; }
.toggle { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 12px; border-radius: 14px; background: #22252e; }
.toggle span { width: 90px; height: 8px; border-radius: 4px; background: #fff; }
.toggle i { width: 38px; height: 22px; border-radius: 11px; background: #3ddc97; position: relative; }
.toggle i::after { content: ''; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.6); backdrop-filter: blur(10px); }
.numbers div { text-align: center; }
.numbers b { display: block; font-size: 34px; letter-spacing: -.03em; }
.numbers span { font-size: 13px; color: var(--mute); }

/* Sections */
.sec { padding-top: 110px; text-align: center; }
.sec.narrow { max-width: 760px; }
.kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
h2 { margin-top: 10px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; max-width: 760px; margin-inline: auto; }
.sub { margin: 14px auto 0; color: var(--mute); font-size: 17px; max-width: 600px; line-height: 1.55; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; text-align: left; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 18px 40px rgba(0,0,0,.08); }
.card h3 { font-size: 18px; letter-spacing: -.02em; margin-top: 18px; }
.card p { margin-top: 8px; color: var(--mute); line-height: 1.55; font-size: 15px; }
.steps, .feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; }
.fi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; }
.f1 { background: linear-gradient(135deg, var(--o), var(--p)); } .f2 { background: linear-gradient(135deg, var(--p), var(--v)); }
.f3 { background: linear-gradient(135deg, var(--v), var(--b)); } .f4 { background: linear-gradient(135deg, var(--b), #3de0ff); }
.f5 { background: linear-gradient(135deg, #1c1c1c, var(--v)); } .f6 { background: linear-gradient(135deg, #3ddc97, var(--b)); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.tag-c { font: 500 14px ui-monospace, 'JetBrains Mono', monospace; padding: 10px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* CTA */
.cta { position: relative; overflow: hidden; margin-top: 110px; padding: 80px 24px; border-radius: 32px; text-align: center; background: #fff; border: 1px solid var(--line); isolation: isolate; }
.glow.small { top: 30%; width: 900px; height: 500px; opacity: .45; }
.cta p { margin: 12px 0 28px; color: var(--mute); font-size: 17px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); text-align: left; padding: 20px 4px; }
details:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--mute); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 10px; color: var(--mute); line-height: 1.6; }

/* Footer */
.foot { margin-top: 110px; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; font-size: 14px; }

@media (max-width: 900px) {
  .links { display: none; }
  .nav-act { margin-left: auto; }
  .steps, .feats { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .phone:not(.main) { display: none; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .hero { padding-top: 48px; }
  .foot-in { flex-direction: column; text-align: center; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
