/* =========================================================
   HarDev CRB — Main Stylesheet v2
   Tema: gelap + emas. Fokus: konversi + interaksi.
   ========================================================= */

:root {
  --bg: #080b13;
  --bg-soft: #0d1220;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1f7;
  --text-dim: #9aa4b8;
  --gold: #facc15;
  --gold-deep: #f59e0b;
  --gradient: linear-gradient(120deg, var(--gold), var(--gold-deep));
  --glow: 0 10px 40px rgba(250, 204, 21, 0.22);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(250, 204, 21, 0.3); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.5px; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

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

section { padding: 92px 0; position: relative; }

.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  display: inline-block;
  margin-bottom: 12px;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--text-dim); margin-top: 14px; font-size: 1.02rem; }

/* ---------- Progress bar ---------- */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  font-family: inherit;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn-primary {
  background: var(--gradient);
  color: #0b0f1a;
  box-shadow: var(--glow);
}
.btn-primary:hover { box-shadow: 0 14px 46px rgba(250, 204, 21, 0.32); }

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--text); }

.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  border-bottom: 1px solid transparent;
  padding: 6px 0;
}

.navbar.scrolled {
  background: rgba(8, 11, 19, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  color: var(--text);
  text-decoration: none;
}

.brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

img.logo { object-fit: contain; display: block; }

.nav-links { display: flex; gap: 30px; align-items: center; }

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.22s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text); }

.nav-links a.btn-primary { color: #0b0f1a; }
.nav-links a.btn-primary:hover { color: #0b0f1a; }
.nav-links a.btn-primary::after { display: none; }

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.15rem;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  padding: 170px 0 90px;
  overflow: hidden;
}

#spark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  opacity: 0.18;
}
.orb-a { width: 560px; height: 560px; background: var(--gold); top: -220px; left: -160px; }
.orb-b { width: 520px; height: 520px; background: #b45309; bottom: -260px; right: -140px; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.28);
  background: rgba(250, 204, 21, 0.07);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0.05); }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

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

.hero .lead {
  color: var(--text-dim);
  font-size: 1.06rem;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  color: var(--text-dim);
  font-size: 0.86rem;
}

.trust li { display: flex; align-items: center; gap: 7px; }
.trust .tick { color: var(--gold); font-weight: 800; }

/* Hero visual: stacked app screenshots */
.hero-visual {
  position: relative;
  min-height: 430px;
  perspective: 1000px;
}

.shot {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.shot-1 { width: 74%; top: 0; right: 0; aspect-ratio: 16/10; transform: rotate(2deg); z-index: 3; }
.shot-2 { width: 60%; top: 42%; left: 0; aspect-ratio: 16/10; transform: rotate(-4deg); z-index: 2; }
.shot-3 { width: 46%; bottom: 0; right: 8%; aspect-ratio: 4/3; transform: rotate(5deg); z-index: 1; }

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 6%;
  background: var(--gradient);
  filter: blur(90px);
  opacity: 0.18;
  z-index: 0;
}

.tag-float {
  position: absolute;
  z-index: 5;
  background: rgba(13, 18, 32, 0.92);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.tag-float.f1 { top: 6%; left: 2%; animation: floaty 6s ease-in-out infinite; }
.tag-float.f2 { bottom: 8%; right: 0; animation: floaty 7s ease-in-out infinite reverse; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scrollx 32s linear infinite;
}

.marquee span {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}

.marquee span::after { content: "◆"; color: var(--gold); font-size: 0.6rem; }

@keyframes scrollx {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-align: center;
}

.stat .num {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  display: block;
}

.stat .label { color: var(--text-dim); font-size: 0.85rem; margin-top: 4px; display: block; }

/* ---------- App cards ---------- */
.apps { display: grid; gap: 26px; }

.app-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.app-card:hover {
  border-color: rgba(250, 204, 21, 0.32);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.app-card:nth-child(even) .app-media { order: 2; }

.app-copy { padding: 40px 38px; display: flex; flex-direction: column; }

.app-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.pill {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: var(--gold);
  background: rgba(250, 204, 21, 0.07);
}

.pill.neutral {
  color: var(--text-dim);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.app-card h3 { font-size: 1.55rem; font-weight: 800; margin-bottom: 10px; }

.app-card .desc { color: var(--text-dim); font-size: 0.97rem; margin-bottom: 18px; }

.benefits { list-style: none; display: grid; gap: 9px; margin-bottom: 26px; }

.benefits li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text);
}

.benefits .check {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.14);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.app-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: auto; }

.text-link {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 10px 6px;
}
.text-link:hover { text-decoration: underline; }

.app-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #0a0e18;
}

.app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
  display: block;
}

.app-card:hover .app-media img { transform: scale(1.04); }

.app-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 19, 0.45), transparent 45%);
  pointer-events: none;
}

.app-card:nth-child(even) .app-media::after {
  background: linear-gradient(270deg, rgba(8, 11, 19, 0.45), transparent 45%);
}

/* ---------- Prompt demo ---------- */
.demo-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 240px at 15% 0%, rgba(250, 204, 21, 0.09), transparent),
    var(--bg-soft);
  padding: 34px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.demo-copy h3 { font-size: 1.5rem; margin-bottom: 10px; }
.demo-copy p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }

.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}

.chip:hover { border-color: rgba(250, 204, 21, 0.4); color: var(--text); }

.chip.active {
  background: var(--gradient);
  color: #0b0f1a;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.25);
}

.prompt-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #070a11;
  padding: 20px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
}

.prompt-box .prompt-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 12px;
}

.prompt-text {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #d6dcea;
  flex: 1;
}

.prompt-text.flash { animation: fadein 0.32s ease; }

@keyframes fadein {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.prompt-tools { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

.demo-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 14px; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.value {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.value:hover { transform: translateY(-4px); border-color: rgba(250, 204, 21, 0.25); }

.value .icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.2);
}

.value h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }

.faq details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq details[open] { border-color: rgba(250, 204, 21, 0.3); }

.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 400;
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .answer { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.94rem; }

.faq .answer a { color: var(--gold); }

/* ---------- Layanan ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.service .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.22);
  margin-bottom: 16px;
}

.service h3 { font-size: 1.02rem; margin-bottom: 7px; }
.service p { color: var(--text-dim); font-size: 0.88rem; flex: 1; margin-bottom: 16px; }

.service-link {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.service-link:hover { text-decoration: underline; }

.services-cta { text-align: center; margin-top: 32px; }

/* ---------- Kolaborasi ---------- */
.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}

.collab-copy h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 16px;
}

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

.collab-copy > p {
  color: var(--text-dim);
  font-size: 1.02rem;
  margin-bottom: 24px;
  max-width: 520px;
}

.collab-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.collab-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}

.collab-points .emoji { font-size: 1.05rem; line-height: 1.3; }

.process {
  display: grid;
  gap: 10px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step .n {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: #0b0f1a;
  background: var(--gradient);
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.22);
}

.step strong { display: block; font-size: 0.93rem; }
.step em { color: var(--text-dim); font-size: 0.84rem; font-style: normal; }

/* Kartu brief */
.brief-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(250, 204, 21, 0.22);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(250, 204, 21, 0.1), transparent),
    #0b101c;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.brief-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.brief-card .brief-sub { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 22px; }

.brief-field { border: 0; margin-bottom: 18px; }

.brief-field legend {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
  padding: 0;
}

.brief-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.brief-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.16s ease;
}

.brief-chip:hover { border-color: rgba(250, 204, 21, 0.4); color: var(--text); }

.brief-chip[aria-pressed="true"] {
  background: rgba(250, 204, 21, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

.brief-field textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.55;
}

.brief-field textarea::placeholder { color: #6b7488; }
.brief-field textarea:focus { outline: 2px solid rgba(250, 204, 21, 0.35); outline-offset: 1px; }

.brief-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--text-dim);
}

.brief-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.brief-actions .btn { flex: 1 1 auto; }

.brief-note {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--text-dim);
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

.brief-note .lock { color: var(--gold); }

/* CTA penutup ringkas */
.soft-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 34px;
  background: var(--bg-card);
}

.soft-cta h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin-bottom: 6px; }
.soft-cta p { color: var(--text-dim); font-size: 0.92rem; }
.soft-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- CTA band ---------- */
.cta {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 70px 28px;
  border: 1px solid rgba(250, 204, 21, 0.18);
  background:
    radial-gradient(700px 260px at 15% 0%, rgba(250, 204, 21, 0.13), transparent),
    radial-gradient(700px 260px at 85% 100%, rgba(245, 158, 11, 0.12), transparent),
    var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 12px; }
.cta p { color: var(--text-dim); max-width: 560px; margin: 0 auto 30px; }

.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.cta-note { margin-top: 20px; font-size: 0.82rem; color: var(--text-dim); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 90px);
  background: #101625;
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 300;
  pointer-events: none;
}

.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 36px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}

footer .f-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
footer .f-brand img { width: 28px; height: 28px; border-radius: 8px; }
footer .f-links { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--gold); }
footer .copy { width: 100%; border-top: 1px solid var(--border); padding-top: 18px; margin-top: 6px; font-size: 0.82rem; }

/* ---------- Project detail pages ---------- */
.project-hero { padding: 130px 0 56px; border-bottom: 1px solid var(--border); }

.project-banner {
  margin-top: 34px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  max-width: 900px;
}

.project-banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.breadcrumb { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 26px; display: inline-block; text-decoration: none; }
.breadcrumb:hover { color: var(--gold); }

.project-hero h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 900; margin-bottom: 14px; }

.project-hero .lead { color: var(--text-dim); max-width: 660px; font-size: 1.04rem; }
.project-hero .lead strong { color: var(--text); }

.feature-list { list-style: none; display: grid; gap: 14px; max-width: 760px; }

.feature-list li {
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-list li:hover { border-color: rgba(250, 204, 21, 0.28); transform: translateX(4px); }

.feature-list li .check { color: var(--gold); font-weight: 900; }

.feature-list li strong { display: block; margin-bottom: 2px; }

.feature-list li span.desc { color: var(--text-dim); font-size: 0.93rem; }

.back-top { margin: 40px 0 0; }

/* ---------- Media thumbnails ---------- */
.thumb { height: 150px; display: grid; place-items: center; font-size: 2.6rem; }
.thumb-harpos       { background: linear-gradient(135deg, #451a03, #b45309); }
.thumb-harprompt    { background: linear-gradient(135deg, #422006, #a16207); }
.thumb-nasibanakkos { background: linear-gradient(135deg, #292524, #78716c); }

.thumb-img { width: 100%; height: 150px; object-fit: cover; display: block; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 130px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 380px; max-width: 560px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .app-card { grid-template-columns: 1fr; }
  .app-card:nth-child(even) .app-media { order: 0; }
  .app-media { min-height: 250px; max-height: 320px; }
  .app-media::after,
  .app-card:nth-child(even) .app-media::after {
    background: linear-gradient(0deg, rgba(8, 11, 19, 0.55), transparent 40%);
  }
  .app-copy { padding: 32px 28px; }
  .demo-shell { grid-template-columns: 1fr; padding: 28px; }
  .collab-grid { grid-template-columns: 1fr; gap: 34px; }
  .brief-card { padding: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: rgba(10, 14, 24, 0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; border-radius: 10px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.04); }
  .nav-links a.btn-primary { margin-top: 6px; text-align: center; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }

  .hero h1 { letter-spacing: -1px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero-visual { min-height: 300px; }
  .tag-float { display: none; }

  .stats { gap: 12px; }
  .app-card h3 { font-size: 1.35rem; }
  .app-actions .btn { flex: 1 1 auto; }
  .cta { padding: 52px 20px; }
  footer .container { flex-direction: column; }

  .marquee span { font-size: 0.72rem; gap: 32px; }
  .marquee-track { gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
