/* ClipKomet website – "Comet" design (matches the desktop app, 29.11.2026). */
:root {
  color-scheme: dark;
  --bg: #0a0d1a;
  --bg-2: #0e1126;
  --panel: #11152a;
  --panel-2: #181d38;
  --line: #262d55;
  --ink: #f3f5ff;
  --muted: #bcc3e6;
  --soft: #8e97c2;
  --cyan: #5ee7ff;
  --violet: #a98bff;
  --primary-a: #6a4ff2;
  --primary-b: #3f5cf0;
  --hot-a: #ff5f8f;
  --hot-b: #ff9f43;
  --ok: #56f0a6;
  --radius: 20px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 17px/1.65 Inter, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background:
    radial-gradient(1100px 620px at 85% -10%, rgba(106, 79, 242, .32), transparent 62%),
    radial-gradient(900px 520px at -10% 20%, rgba(94, 231, 255, .14), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(255, 95, 143, .12), transparent 60%),
    var(--bg);
  min-height: 100vh;
}
a { color: var(--cyan); text-underline-offset: 4px; }
a:hover { color: #9ff2ff; }
img { max-width: 100%; }
.wrap, header, main, footer { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* header */
header.site {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(10, 13, 26, .92), rgba(10, 13, 26, .7));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(38, 45, 85, .7);
}
header:not(.site) {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: .3px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px rgba(169, 139, 255, .5), 0 0 24px rgba(106, 79, 242, .45); }
nav, .links { display: flex; gap: 6px 20px; flex-wrap: wrap; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1px solid var(--line); color: var(--ink);
  background: rgba(24, 29, 56, .8); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--violet); color: var(--ink); }
.btn.primary {
  background: linear-gradient(135deg, var(--primary-a), var(--primary-b));
  border-color: #7b64ff; color: #fff;
  box-shadow: 0 10px 30px rgba(106, 79, 242, .35);
}
.btn.primary:hover { box-shadow: 0 14px 40px rgba(94, 231, 255, .25); border-color: var(--cyan); }
.btn.disabled { opacity: .75; cursor: default; pointer-events: none; }
.btn.small { padding: 9px 15px; font-size: 14px; border-radius: 11px; }

/* typography */
main { padding: 34px 0 80px; }
.eyebrow { display: inline-block; color: var(--cyan); text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 800; }
h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.045em; margin: 14px 0 18px; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.03em; margin: 8px 0 14px; }
h3 { font-size: 21px; margin: 6px 0 8px; }
p, li { color: var(--muted); }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 760px; }
.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--hot-a));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
code { background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .92em; }

/* sections & cards */
section.block { padding: 70px 0 10px; }
.hero { padding: 70px 0 30px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-card {
  position: relative; border-radius: 28px; padding: 26px; overflow: hidden;
  background: linear-gradient(160deg, rgba(36, 30, 104, .9), rgba(17, 21, 42, .95));
  border: 1px solid rgba(169, 139, 255, .35);
  box-shadow: 0 30px 80px rgba(6, 8, 20, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.hero-card::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(94, 231, 255, .35), transparent 65%);
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge { font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(13, 17, 34, .7); color: var(--muted); }
.badge.cyan { color: var(--cyan); border-color: rgba(94, 231, 255, .4); }
.badge.hot { color: #ffd2b0; border-color: rgba(255, 159, 67, .45); }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: linear-gradient(160deg, #141936, #10142a);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 20px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(169, 139, 255, .6); transform: translateY(-2px); }
.card ul { padding-left: 20px; margin: 10px 0 0; }
.card li { margin: 5px 0; }
.icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, rgba(106, 79, 242, .35), rgba(94, 231, 255, .18));
  border: 1px solid rgba(169, 139, 255, .4);
}
.step-num { font-weight: 900; font-size: 15px; color: var(--cyan); letter-spacing: .1em; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; padding: 54px 0; border-top: 1px solid rgba(38, 45, 85, .6); }
.feature:nth-of-type(even) .feature-text { order: 2; }
.feature-panel {
  border-radius: 22px; padding: 22px; background: rgba(13, 17, 34, .75); border: 1px solid var(--line);
}
.feature-panel li { margin: 8px 0; }
.check li { list-style: none; position: relative; padding-left: 26px; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 900; }
.check { padding-left: 0; }
.note { font-size: 14px; color: var(--soft); }
.summary { border: 1px solid rgba(94, 231, 255, .35); background: rgba(16, 35, 58, .55); padding: 18px 20px; border-radius: 16px; color: #d6f7ff; }

/* pricing */
.price { font-size: 34px; font-weight: 900; color: var(--ink); margin: 6px 0 2px; }
.price small { font-size: 15px; color: var(--soft); font-weight: 600; }
.plan.featured { border-color: rgba(94, 231, 255, .55); box-shadow: 0 0 0 1px rgba(94, 231, 255, .25), 0 20px 50px rgba(63, 92, 240, .25); }

/* faq */
details { background: rgba(17, 21, 42, .85); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); }
details p { margin: 10px 0 2px; }

/* legal pages */
article { max-width: 880px; }
article section { padding: 18px 0; border-bottom: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; margin: 8px 0; }
td, th { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; color: var(--muted); font-size: 15px; }
th { color: var(--ink); background: var(--panel); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--soft); font-size: 14px; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .hero, .feature, .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .feature-text { order: 0; }
  header.site nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
