/* ===== Zekini CC — marketing site ===== */

:root {
  --bg:        #0b0f1a;
  --bg-alt:    #0f1424;
  --surface:   #141a2e;
  --surface-2: #1a2138;
  --border:    #232c47;
  --text:      #e8ecf6;
  --muted:     #9aa6c4;
  --faint:     #6b768f;

  --brand:     #6c5ce7;
  --brand-2:   #00d1b2;
  --accent:    #ff7a59;

  --grad: linear-gradient(120deg, #7c6cff 0%, #4bc8ff 55%, #00d1b2 100%);

  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1140px;

  --ff-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-head: 'Sora', var(--ff-sans);

  --shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--ff-head); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #06121f; font-weight: 700;
  box-shadow: 0 10px 30px -10px rgba(75,200,255,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(75,200,255,.6); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11,15,26,.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-color: var(--border); background: rgba(11,15,26,.9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-head); font-weight: 800; font-size: 20px; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 11px; background: var(--grad); color: #06121f;
  font-weight: 800; font-size: 20px; box-shadow: 0 8px 20px -8px rgba(124,108,255,.7);
}
.brand-text { letter-spacing: -.02em; }
.brand-cc { color: var(--brand-2); margin-left: 3px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
  color: var(--text); border: 1px solid var(--border); padding: 9px 18px; border-radius: 999px;
}
.nav .nav-cta:hover { border-color: var(--brand); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 12px 24px 24px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.mobile-nav a { padding: 12px 0; color: var(--muted); border-bottom: 1px solid var(--border); font-weight: 500; }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav .nav-cta { color: var(--brand-2); }

/* ===== Hero ===== */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px; font-weight: 700;
  color: var(--brand-2); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; margin-bottom: 22px; }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); max-width: 640px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--ff-head); font-size: 1.5rem; font-weight: 700; }
.hero-stats span { color: var(--faint); font-size: 14px; }

.hero-glow {
  position: absolute; z-index: 1; top: -180px; right: -140px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(124,108,255,.35), rgba(0,209,178,.12) 45%, transparent 70%);
  filter: blur(30px); pointer-events: none;
}

/* Hero two-column layout with demo */
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; max-width: var(--maxw); }
.hero-copy { max-width: 620px; }

/* Funky AI copilot demo window */
.hero-demo { position: relative; z-index: 2; }
.demo-window {
  background: #0a0e18; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .4s ease;
}
.hero-demo:hover .demo-window { transform: perspective(1200px) rotateY(0) rotateX(0); }
.demo-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.demo-title { margin-left: 8px; font-size: 12.5px; color: var(--faint); font-family: ui-monospace, monospace; }
.demo-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 16px; min-height: 210px; }
.msg { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.55; }
.msg-user { justify-content: flex-end; }
.msg-user span {
  background: rgba(124,108,255,.16); border: 1px solid rgba(124,108,255,.3);
  color: var(--text); padding: 10px 14px; border-radius: 14px 14px 4px 14px; max-width: 82%;
}
.msg-ai { align-items: flex-start; }
.msg-avatar {
  flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 8px; background: var(--grad); color: #06121f; font-size: 14px; font-weight: 800;
}
.msg-text {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); padding: 10px 14px; border-radius: 4px 14px 14px 14px; max-width: 82%; min-height: 20px;
}
.msg-text::after { content: '▋'; color: var(--brand-2); animation: blink 1s step-end infinite; margin-left: 1px; }
.msg-text.done::after { content: ''; }
@keyframes blink { 50% { opacity: 0; } }
.demo-input {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-top: 1px solid var(--border); background: rgba(255,255,255,.02);
}
.demo-caret { color: var(--faint); font-size: 14px; }
.demo-send {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px;
  background: var(--grad); color: #06121f; font-weight: 700;
}

/* ===== Strip ===== */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.strip p { text-align: center; color: var(--muted); padding: 22px 0; font-size: 15px; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.08rem; }

/* ===== Grids / cards ===== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(124,108,255,.5); background: var(--surface-2); }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 12px; background: rgba(124,108,255,.12); color: var(--brand-2);
  font-size: 22px; border: 1px solid rgba(124,108,255,.25);
}
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ===== AI section ===== */
.ai-card .card-icon {
  background: rgba(0,209,178,.1); border-color: rgba(0,209,178,.3);
  font-size: 22px; filter: saturate(1.1);
}
.ai-banner {
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  padding: 30px 34px; border-radius: var(--radius);
  border: 1px solid rgba(124,108,255,.35);
  background:
    radial-gradient(circle at 0% 0%, rgba(124,108,255,.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0,209,178,.14), transparent 55%),
    var(--surface);
}
.ai-banner-text h3 { font-size: 1.3rem; margin-bottom: 8px; }
.ai-banner-text p { color: var(--muted); max-width: 520px; font-size: .98rem; }
.ai-chip-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ai-chip-row li {
  font-size: 13px; font-weight: 600; color: var(--text);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
}

/* AI stack chips highlight */
.stack-ai {
  color: var(--text) !important;
  border-color: rgba(0,209,178,.4) !important;
  background: linear-gradient(180deg, rgba(0,209,178,.08), rgba(124,108,255,.06)) !important;
}

/* ===== Why ===== */
.why-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.why-copy h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 14px; }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.check-list li { position: relative; padding-left: 34px; color: var(--muted); }
.check-list li strong { color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 6px; background: rgba(0,209,178,.15); color: var(--brand-2);
  font-size: 13px; font-weight: 700;
}

.why-panel {
  background: #0a0e18; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.why-panel::before {
  content: ""; display: block; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.03), transparent);
  border-bottom: 1px solid var(--border);
}
.code-block {
  margin: 0; padding: 22px 26px 30px; font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 14px; line-height: 1.7; color: #cdd6f4; overflow-x: auto;
}
.c-key { color: #c792ea; } .c-cls { color: #82aaff; } .c-fn { color: #7ee787; } .c-str { color: #ffcb6b; }

/* ===== Work ===== */
.work-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.work-card:hover { transform: translateY(-4px); border-color: rgba(124,108,255,.5); }
.work-thumb { height: 168px; position: relative; }
.work-thumb-1 { background: linear-gradient(135deg, #6c5ce7, #4bc8ff); }
.work-thumb-2 { background: linear-gradient(135deg, #00d1b2, #4bc8ff); }
.work-thumb-3 { background: linear-gradient(135deg, #ff7a59, #6c5ce7); }
.work-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 55%);
}
.work-body { padding: 22px 24px 26px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand-2); margin-bottom: 10px;
}
.work-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.work-body p { color: var(--muted); font-size: .96rem; }
.work-note { text-align: center; margin-top: 40px; color: var(--muted); }
.work-note a { color: var(--brand-2); font-weight: 600; }

/* ===== Steps ===== */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step;
}
.steps li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  font-family: var(--ff-head); font-size: 2rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 12px;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .96rem; }

/* ===== Stack ===== */
.stack-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.stack-grid li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 10px; text-align: center; font-weight: 600; font-size: .95rem; color: var(--muted);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.stack-grid li:hover { color: var(--text); border-color: var(--brand); transform: translateY(-3px); }

/* ===== CTA / contact ===== */
.cta { background: radial-gradient(ellipse at top, rgba(124,108,255,.14), transparent 60%); }
.cta-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.contact-form { margin-top: 36px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 16px; }
.contact-form label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 13px 15px; font: inherit; font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124,108,255,.2);
}
.contact-form textarea { resize: vertical; }
.form-note { text-align: center; color: var(--faint); font-size: 14px; margin-top: 16px; }
.form-note a { color: var(--brand-2); font-weight: 600; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: .95rem; margin-top: 14px; max-width: 320px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-nav a { color: var(--muted); font-size: .95rem; transition: color .2s ease; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding: 22px 24px; color: var(--faint); font-size: 13.5px;
}
.footer-bottom p { margin: 0; }

/* ===== 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) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(4, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-demo { max-width: 460px; }
  .demo-window { transform: none; }
  .ai-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { display: none; }
  .mobile-nav[data-open="true"] { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 60px; }
  .hero-stats { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .work-card:hover, .stack-grid li:hover { transform: none; }
}
