:root {
  --bg: #0d0d10;
  --bg-2: #15151a;
  --card: #18181e;
  --line: #26262e;
  --paper: #f5f4f0;
  --mute: #8d8c96;
  --soft: #c2c1c9;
  --violet: #8b7bff;
  --coral: #ff7a5c;
  --amber: #ffc46b;
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--coral) 60%, var(--amber) 100%);
  --radius: 24px;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--paper); font-family: 'Inter Tight', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
h1 { font-size: clamp(46px, 7.4vw, 92px); }
h2 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 44px; }
h3 { font-size: 21px; letter-spacing: -0.015em; margin-bottom: 8px; }
p { color: var(--soft); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* logo */
.logo { font-weight: 600; font-size: 26px; letter-spacing: -0.03em; display: inline-flex; align-items: baseline; color: var(--paper); }
.logo .dot { width: 0.22em; height: 0.22em; background: var(--grad); border-radius: 2px; margin-left: 0.07em; display: inline-block; }
.logo-small { font-size: 22px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 16px max(24px, calc((100% - var(--max)) / 2 + 24px)); background: rgba(13, 13, 16, 0.72); backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav nav { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.nav nav a { color: var(--soft); transition: color .2s; }
.nav nav a:hover { color: var(--paper); }
.nav .nav-cta { color: var(--bg); background: var(--paper); padding: 9px 18px; border-radius: 999px; font-weight: 500; }
.nav .nav-cta:hover { color: var(--bg); opacity: .88; }

main { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 600px; color: var(--soft); }
.muted { color: var(--mute); }
.note { margin-top: 24px; font-size: 15px; color: var(--mute); }

/* hero */
.glow { position: absolute; inset: -220px -200px auto -200px; height: 900px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(38% 42% at 72% 38%, rgba(139,123,255,0.30), transparent 70%),
    radial-gradient(30% 36% at 88% 62%, rgba(255,122,92,0.22), transparent 70%),
    radial-gradient(26% 30% at 20% 20%, rgba(255,196,107,0.08), transparent 70%);
  filter: blur(10px); }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding: clamp(70px, 11vw, 130px) 0 110px; }
.hero h1 { margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.chip { font-size: 14px; color: var(--soft); border: 1px solid var(--line); background: rgba(255,255,255,0.03); padding: 7px 14px; border-radius: 999px; }

.btn { display: inline-block; background: var(--paper); color: var(--bg); font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s, box-shadow .2s, opacity .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(255,122,92,0.55); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid var(--line); }
.btn-ghost:hover { box-shadow: none; border-color: var(--mute); }

/* phone mockup */
.mock { position: relative; justify-self: center; }
.phone { width: 290px; height: 590px; border-radius: 46px; background: #050507; padding: 11px; box-shadow: 0 0 0 1px #2c2c34, 0 40px 90px -30px rgba(139,123,255,0.55), 0 30px 60px -30px rgba(255,122,92,0.4); transform: rotate(-3deg); }
.screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #f7f2ec; color: #1d1a17; position: relative; font-size: 12px; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: #050507; border-radius: 20px; z-index: 2; }
.s-hero { height: 250px; padding: 52px 20px 20px; background: linear-gradient(160deg, #3b2a22 0%, #8a5a40 55%, #d9a57a 100%); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.s-tag { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-bottom: 6px; }
.s-title { font-size: 25px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px; }
.s-btn { align-self: flex-start; background: #fff; color: #3b2a22; font-weight: 600; font-size: 11px; padding: 8px 14px; border-radius: 999px; }
.s-body { padding: 16px 18px; display: grid; gap: 10px; }
.s-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 14px; padding: 11px 13px; box-shadow: 0 1px 0 rgba(0,0,0,0.04); }
.s-row b { font-weight: 600; }
.s-row span { color: #8a5a40; font-weight: 600; }
.s-stars { display: flex; align-items: center; gap: 8px; padding: 4px 2px; color: #6b625b; }
.s-stars i { font-style: normal; color: #e8a33d; letter-spacing: 1px; }
.mock-label { position: absolute; bottom: -34px; left: -38px; background: rgba(24,24,30,0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; font-size: 13px; color: var(--soft); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6); }
.mock-label strong { display: block; color: var(--paper); font-weight: 600; font-size: 14px; }

/* facts */
.facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 120px; }
.fact { background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; background: rgba(139,123,255,0.12); color: var(--violet); }
.icon svg { width: 22px; height: 22px; }
.fact:nth-child(2) .icon { background: rgba(255,122,92,0.12); color: var(--coral); }
.fact:nth-child(3) .icon { background: rgba(255,196,107,0.12); color: var(--amber); }

.section { padding: 110px 0; border-top: 1px solid var(--line); position: relative; }

/* portfolio */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.work:hover { transform: translateY(-4px); border-color: #3a3a44; box-shadow: 0 30px 60px -30px rgba(139,123,255,0.45); }
.work-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.work:hover .work-img img { transform: scale(1.04); }
.work-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65)); }
.work-brand { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font-size: 28px; font-weight: 600; }
.work-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px 22px; }
.work-meta h3 { margin-bottom: 2px; }
.work-meta p { font-size: 15px; color: var(--mute); }
.arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--paper); transition: background .25s, color .25s; }
.work:hover .arrow { background: var(--grad); color: #16121a; border-color: transparent; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; position: relative; }
.plan-featured { background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 30px 80px -40px rgba(139,123,255,0.6); }
.badge { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #16121a; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.plan-name { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.plan-price { font-size: 40px; font-weight: 600; letter-spacing: -0.035em; color: var(--paper); line-height: 1.1; margin-bottom: 12px; }
.plan-price small { font-size: 17px; color: var(--mute); font-weight: 500; letter-spacing: 0; }
.plan-desc { margin-bottom: 26px; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 11px; border-top: 1px solid var(--line); padding-top: 22px; }
.plan li { color: var(--soft); font-size: 15.5px; padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 15px; height: 15px; border-radius: 50%; background: rgba(139,123,255,0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23a99dff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }

/* steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #16121a; font-weight: 600; font-size: 15px; margin-bottom: 22px; }

/* about */
.about-card { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; background: linear-gradient(120deg, rgba(139,123,255,0.10), rgba(255,122,92,0.06) 60%, transparent); border: 1px solid var(--line); border-radius: 30px; padding: 44px; }
.avatar { width: 96px; height: 96px; border-radius: 28px; background: var(--grad); display: grid; place-items: center; font-size: 42px; font-weight: 600; color: #16121a; letter-spacing: -0.04em; }
.about-card h2 { margin-bottom: 14px; }
.region { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* faq */
.faq { display: grid; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--coral); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 12px; max-width: 660px; }

/* contact */
.contact-card { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(32px, 6vw, 64px); background: var(--bg-2); border: 1px solid var(--line); }
.contact-card::before { content: ""; position: absolute; inset: auto -20% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(139,123,255,0.28), transparent), radial-gradient(closest-side at 70% 40%, rgba(255,122,92,0.22), transparent); pointer-events: none; }
.contact-card > * { position: relative; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; max-width: 760px; }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--mute); }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea { background: rgba(13,13,16,0.7); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--paper); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,123,255,0.15); }
.form .btn { background: var(--grad); color: #16121a; justify-self: start; }
.hidden { display: none; }

.footer { max-width: var(--max); margin: 0 auto; padding: 60px 24px 50px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer p { color: var(--mute); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 64px; }
  .mock-label { left: -12px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .facts, .plans, .works { grid-template-columns: 1fr; }
  .plans { gap: 26px; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .about-card { grid-template-columns: 1fr; padding: 30px; }
  .section { padding: 80px 0; }
  .phone { width: 260px; height: 530px; }
}
