/* ===== Blinkea — AI & Automation ===== */
:root {
  --violet: #7C3AED;
  --purple: #A855F7;
  --cyan: #06B6D4;
  --ink: #07070F;
  --ink-2: #0C0D1C;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-brd: rgba(255, 255, 255, 0.09);
  --text: #EDEDF7;
  --muted: #9A9BB2;
  --radius: 20px;
  --grad: linear-gradient(120deg, #7C3AED 0%, #A855F7 45%, #06B6D4 100%);
  --shadow: 0 30px 80px -20px rgba(124, 58, 237, 0.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background glow + grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(600px circle at 12% 8%, rgba(124, 58, 237, 0.22), transparent 45%),
    radial-gradient(700px circle at 88% 20%, rgba(6, 182, 212, 0.18), transparent 50%),
    radial-gradient(600px circle at 50% 100%, rgba(168, 85, 247, 0.14), transparent 55%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
}

.container { width: min(1160px, 92vw); margin: 0 auto; }

a { color: inherit; text-decoration: none; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 14px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(124, 58, 237, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(124, 58, 237, 0.75); }
.btn-ghost {
  background: var(--panel); color: var(--text); border: 1px solid var(--panel-brd);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.07); }
.btn svg { width: 18px; height: 18px; }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 15, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 18px -6px rgba(124,58,237,0.7); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ===== Hero ===== */
.hero { padding: 90px 0 80px; text-align: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: var(--panel); border: 1px solid var(--panel-brd); color: var(--muted);
  margin-bottom: 26px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.hero h1 {
  font-size: clamp(38px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 800; margin-bottom: 24px;
}
.hero p.sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--muted);
  max-width: 640px; margin: 0 auto 38px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 26px; color: var(--muted); font-size: 14px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--cyan); }

/* Floating orbit visual */
.orbit {
  margin: 60px auto 0; width: min(560px, 90vw); height: 200px; position: relative;
}
.orbit .core {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 26px;
  background: var(--grad); box-shadow: var(--shadow);
  display: grid; place-items: center; animation: float 5s ease-in-out infinite;
}
.orbit .core img { width: 58px; height: 58px; }
.orbit .chip {
  position: absolute; padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 600;
  background: rgba(12,13,28,0.8); border: 1px solid var(--panel-brd); backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 8px; color: var(--text);
  animation: float 6s ease-in-out infinite;
}
.orbit .chip svg { width: 16px; height: 16px; }
.orbit .c1 { top: 6%; left: 2%; }
.orbit .c2 { top: 12%; right: 3%; animation-delay: .8s; }
.orbit .c3 { bottom: 8%; left: 10%; animation-delay: 1.4s; }
.orbit .c4 { bottom: 4%; right: 8%; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Section headings ===== */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head .eyebrow { color: var(--purple); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.02em; margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius);
  padding: 30px; transition: transform .25s ease, border-color .25s ease, background .25s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(168,85,247,0.4); background: rgba(255,255,255,0.06); }
.feature .ficon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(6,182,212,0.25));
  border: 1px solid var(--panel-brd); margin-bottom: 18px;
}
.feature .ficon svg { width: 26px; height: 26px; color: var(--purple); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ===== Downloads ===== */
.downloads-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dl-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--panel-brd); border-radius: 24px; padding: 34px;
  transition: transform .25s ease, border-color .25s ease;
}
.dl-card:hover { transform: translateY(-5px); border-color: rgba(124,58,237,0.5); }
.dl-card::before {
  content: ""; position: absolute; top: -40%; right: -20%; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(124,58,237,0.25), transparent 70%); z-index: 0;
}
.dl-card > * { position: relative; z-index: 1; }
.dl-top { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.dl-top img { width: 66px; height: 66px; border-radius: 18px; box-shadow: 0 10px 26px -8px rgba(124,58,237,0.6); }
.dl-top .dl-title h3 { font-size: 23px; letter-spacing: -0.01em; }
.dl-top .dl-title span { color: var(--muted); font-size: 14px; }
.dl-desc { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.dl-specs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.spec {
  font-size: 13px; color: var(--text); background: rgba(255,255,255,0.05);
  border: 1px solid var(--panel-brd); border-radius: 9px; padding: 6px 12px;
  display: inline-flex; align-items: center; gap: 6px;
}
.spec svg { width: 14px; height: 14px; color: var(--cyan); }
.dl-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dl-actions .btn { flex: 1; justify-content: center; min-width: 140px; }

/* ===== Steps / install ===== */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.step-col {
  background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius); padding: 30px;
}
.step-col .head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.step-col .head img { width: 40px; height: 40px; border-radius: 11px; }
.step-col .head h3 { font-size: 20px; }
.step { display: flex; gap: 15px; margin-bottom: 18px; }
.step:last-child { margin-bottom: 0; }
.step .num {
  flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 14px;
}
.step .txt h4 { font-size: 15px; margin-bottom: 2px; }
.step .txt p { color: var(--muted); font-size: 14px; }
.step .txt code {
  background: rgba(255,255,255,0.08); padding: 1px 7px; border-radius: 6px; font-size: 13px;
  color: var(--cyan);
}

/* ===== FAQ ===== */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--panel-brd); border-radius: 14px; margin-bottom: 14px;
  background: var(--panel); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text);
  font-size: 16px; font-weight: 600; padding: 20px 22px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; font-family: inherit;
}
.faq-q .plus { transition: transform .25s; color: var(--purple); font-size: 22px; line-height: 1; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ===== CTA banner ===== */
.cta-banner {
  text-align: center; border-radius: 28px; padding: 60px 30px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(124,58,237,0.18), rgba(6,182,212,0.12));
  border: 1px solid var(--panel-brd);
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-banner p { color: var(--muted); margin-bottom: 28px; font-size: 17px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 50px 0 34px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer .brand { margin-bottom: 12px; }
.footer p { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links .col h4 { font-size: 14px; margin-bottom: 14px; color: var(--text); }
.footer-links .col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-links .col a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted); font-size: 13px; text-align: center; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
  .downloads-grid, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(7,7,15,0.97); padding: 20px 6vw 26px; gap: 18px; border-bottom: 1px solid var(--panel-brd);
  }
  .hero { padding: 60px 0 50px; }
  .orbit .chip { font-size: 12px; padding: 8px 12px; }
}
@media (max-width: 520px) {
  .hero-meta { gap: 14px; }
  .dl-card { padding: 26px; }
  .orbit .c1, .orbit .c3 { left: -2%; }
  .orbit .c2, .orbit .c4 { right: -2%; }
}
