/* Kraken GT — landing */

:root {
  --bg: #0b1020;
  --bg-2: #0f1629;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e7ebf5;
  --text-2: #a9b3c9;
  --text-3: #7683a0;
  --accent: #5eead4;
  --accent-ink: #062b2a;
  --radius: 22px;
  --container: 1120px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 20px; }
@media (min-width: 760px) { .container { padding-inline: 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); }
.muted { color: var(--text-3); font-size: 0.92rem; }
.soft { color: var(--text-2); font-weight: 500; }
.link { color: var(--accent); font-weight: 600; font-size: 0.95rem; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; font-family: var(--font-head); border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #7ff0dd; }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(11, 16, 32, 0.72); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand-gt { color: var(--accent); }
.nav-links { display: none; align-items: center; gap: 26px; font-size: 0.95rem; color: var(--text-2); }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.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); }
.nav-links.open { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; position: absolute; left: 0; right: 0; top: 66px; padding: 16px 20px 22px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.nav-links.open a { padding: 10px 0; font-size: 1.05rem; width: 100%; }
.nav-links.open .btn { margin-top: 8px; justify-content: center; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-toggle { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(72px, 12vw, 130px) clamp(48px, 7vw, 80px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.glow-a { width: 560px; height: 560px; background: radial-gradient(circle, rgba(94,234,212,.55), transparent 65%); top: -220px; right: -120px; }
.glow-b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(99,102,241,.45), transparent 65%); bottom: -260px; left: -160px; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }
.hero-inner { position: relative; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--border); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }
.hero-stats span { color: var(--text-3); font-size: 0.9rem; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 100px); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-head { margin-bottom: 36px; }

/* Showcase (apps) */
.showcase { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.support-strip {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin-top: 24px; padding: 16px 20px; border-radius: 14px;
  border: 1px solid rgba(255,205,117,.25); background: rgba(255,205,117,.06);
  color: var(--text-2); font-size: 0.92rem; text-align: center;
  transition: border-color .15s, background .15s;
}
.support-strip:hover { border-color: rgba(255,205,117,.5); background: rgba(255,205,117,.1); }
.support-strip svg { width: 20px; height: 20px; flex: none; color: #ffcd75; }
.support-strip span { color: var(--text-2); }
@media (max-width: 480px) { .support-strip { flex-direction: column; gap: 8px; } }
.show { position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius); padding: 24px 24px 0; min-height: 520px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.08); background: var(--card, #1a2238); color: #fff; transition: transform .2s ease; }
.show:hover { transform: translateY(-3px); }
.show > * { position: relative; z-index: 1; }
.show-head { display: flex; align-items: center; gap: 14px; }
.show-head > div { min-width: 0; }
.show-head h3 { font-size: 1.3rem; }
.show-head p { color: rgba(255,255,255,.72); font-size: 0.95rem; line-height: 1.4; margin-top: 2px; }
.show-icon { width: 52px; height: 52px; flex: none; border-radius: 14px; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.show-icon-light { background: #fff; padding: 5px; }
.show-icon-pixel { image-rendering: pixelated; }
.show-icon-svg { display: grid; place-items: center; background: rgba(255,255,255,.14); }
.show-icon-svg svg { width: 32px; height: 32px; }
.show-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; min-height: 36px; }
.show .link { color: #fff; opacity: .9; }
.show .muted { color: rgba(255,255,255,.6); }
.store { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; font-size: 0.86rem; font-weight: 600; background: #fff; color: #0b1020; transition: transform .15s; }
.store:hover { transform: translateY(-1px); }
.store svg { width: 16px; height: 16px; }
.badge { font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; }
.badge-wip { color: #ffcd75; background: rgba(255,205,117,.12); border: 1px solid rgba(255,205,117,.35); }

.phone { margin: 26px auto 0; width: min(78%, 250px); aspect-ratio: 9 / 18; border-radius: 36px; background: #0a0a0f; padding: 9px; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12); flex: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; background: #fff; }

.show-web { padding-right: 0; }
.browser { margin: 26px 0 0 auto; width: 100%; flex: 1; display: flex; flex-direction: column; border-radius: 14px 0 0 0; background: #0a0a0f; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12); overflow: hidden; }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: #15151d; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.browser img { width: 100%; min-width: 0; flex: 1; height: 100%; object-fit: cover; object-position: center top; }

.show::after { content: ""; position: absolute; right: -40%; bottom: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; z-index: 0; }
.show-copa { --card: #18181b; }
.show-copa::after { background: radial-gradient(circle, rgba(253,64,1,.45), transparent 65%); }
.show-kavanah { --card: #2f5e42; }
.show-kavanah::after { background: radial-gradient(circle, rgba(178,234,3,.18), transparent 65%); }
.show-biblenames { --card: #1d4f96; }
.show-biblenames::after { background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.show-quever { --card: #2b1f4e; }
.show-quever::after { background: radial-gradient(circle, rgba(255,107,74,.45), transparent 65%); }
.show-forja { --card: #1a1c2c; }
.show-forja::after { background: radial-gradient(circle, rgba(255,205,117,.35), transparent 65%); }
.show-iba { --card: #0b4f8f; }
.show-iba::after { background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); }

/* Services */
.services { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .services { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .services { grid-template-columns: repeat(6, 1fr); } }
.service { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.service:hover { border-color: var(--border-strong); }
.service-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(94,234,212,.1); color: var(--accent); border: 1px solid rgba(94,234,212,.2); }
.service-icon svg { width: 22px; height: 22px; }

.steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 6px; margin-top: 36px; counter-reset: step; font-family: var(--font-head); font-weight: 600; color: var(--text-2); }
.steps li { counter-increment: step; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; }
.steps li:not(:last-child)::after { content: "→"; color: var(--text-3); margin-left: 6px; }

.stack-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 28px; }
.stack-list li { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; letter-spacing: .02em; color: var(--text-3); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); }

/* Devotion */
.devotion { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .devotion { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.devotion-text p { color: var(--text-2); margin-top: 16px; font-size: 1.05rem; }
.devotion-text .hero-cta { margin-top: 26px; }
.devotion-card { padding: 30px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(94,234,212,.12), rgba(99,102,241,.12)); border: 1px solid var(--border-strong); }
.devotion-list { display: grid; gap: 14px; }
.devotion-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(94,234,212,.15); flex: none; }

/* Articles */
.articles { display: grid; gap: 16px; }
@media (min-width: 760px) { .articles { grid-template-columns: repeat(2, 1fr); } }
.article { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .15s; }
.article:hover { border-color: var(--accent); transform: translateY(-2px); }
.article-meta { font-size: 0.78rem; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.article h3 { font-size: 1.1rem; flex: 1; }
.article-cta { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* About */
.about { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
@media (min-width: 640px) { .about { flex-direction: row; align-items: center; gap: 28px; } }
.about-avatar {
  width: 72px; height: 72px; flex: none; border-radius: 20px;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong);
}
.about-avatar svg { width: 38px; height: 38px; }
.about-text p { color: var(--text-2); margin-top: 10px; font-size: 1.05rem; }
.facts { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 22px; }
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts strong { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.facts span { color: var(--text-2); font-size: 0.95rem; }

/* Contact */
.contact { background: radial-gradient(ellipse at 50% 100%, rgba(94,234,212,.14), transparent 60%), var(--bg-2); border-top: 1px solid var(--border); }
.contact-inner { text-align: center; }
.contact-inner .eyebrow { color: var(--text-3); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding-block: 26px; background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; color: var(--text-3); font-size: 0.9rem; }
.footer nav { display: flex; gap: 18px; }
.footer nav a:hover { color: var(--text); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .article, .store, .show { transition: none; }
}
