/* ========== Subaki — subaki.gr ========== */
:root {
  --red: #C40236;
  --red-hover: #DC0340;
  --red-subtle: rgba(196, 2, 54, 0.10);
  --bg: #0B0B0F;
  --bg-2: #101016;
  --surface: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.08);
  --text: #F5F5F8;
  --text-2: #C4C4D0;
  --text-3: #8A8A98;
  --radius: 20px;
  --wrap: 1120px;
  --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 15, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.5px; }
.brand img { height: 30px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; transition: color var(--t); }
.nav-links a:hover { color: var(--text); }

.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background var(--t);
}
.lang-btn:hover { background: rgba(255,255,255,0.07); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 66px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -12%; right: -6%;
  width: 540px; height: 540px; max-width: 90vw;
  background: radial-gradient(circle, rgba(196,2,54,0.13), transparent 66%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.04; margin-bottom: 20px;
}
.hero h1 .accent { color: var(--red); }
.hero p.sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-2); max-width: 520px; margin-bottom: 26px;
}
.hero-phone { display: flex; justify-content: center; }

.badges { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 32px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 34px;
  padding: 16px 34px; border-radius: 15px;
  background: var(--red); color: #fff; font-size: 17px; font-weight: 800;
  box-shadow: 0 8px 30px rgba(196,2,54,0.35);
  transition: transform var(--t), background var(--t);
}
.cta:hover { background: var(--red-hover); transform: translateY(-2px); }
.cta.soon { background: var(--surface); border: 1px solid var(--border); color: var(--text-2); box-shadow: none; cursor: default; }
.cta.soon:hover { transform: none; background: var(--surface); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px;
}
.section-head p { color: var(--text-2); font-size: 17px; }
.eyebrow {
  display: inline-block; color: var(--red); font-weight: 800;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px;
}

/* ---------- Feature grid ---------- */
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: transform var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); border-color: rgba(196,2,54,0.4); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--red-subtle); border: 1px solid rgba(196,2,54,0.3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .ic svg { width: 26px; height: 26px; color: var(--red); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { text-align: center; padding: 20px; }
.step .num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 14px; }

/* ---------- Privacy band ---------- */
.band {
  background: linear-gradient(135deg, rgba(196,2,54,0.12), rgba(196,2,54,0.03));
  border: 1px solid rgba(196,2,54,0.25);
  border-radius: 24px; padding: 52px 40px; text-align: center;
}
.band h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.band p { color: var(--text-2); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 90px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 10px; }
.legal .updated { color: var(--text-3); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--red); font-weight: 600; }
.legal a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 48px 0 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brand { font-size: 18px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--text-3); font-size: 14px; transition: color var(--t); }
.foot-links a:hover { color: var(--text); }
.copy { color: var(--text-3); font-size: 13px; margin-top: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Phone mockups ---------- */
.phone { flex: 0 0 auto; }
.phone .frame {
  position: relative; border-radius: 42px;
  background: #131318; border: 1px solid rgba(255,255,255,0.10);
  padding: 8px; box-shadow: 0 40px 80px -34px rgba(0,0,0,0.85);
}
.phone .screen {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 34px;
  overflow: hidden; background: linear-gradient(165deg, #1b1015, #0c0c10);
}
.phone .island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 18px; background: #000; border-radius: 10px; z-index: 3;
}
.phone .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.phone .ph {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.phone .ph img { width: 52px; height: 52px; opacity: 0.5; }
.phone .ph span { color: var(--text-3); font-weight: 700; font-size: 15px; }
.phone .cap { text-align: center; margin-top: 16px; }
.phone .cap strong { display: block; font-size: 15px; font-weight: 700; }
.phone .cap span { display: block; color: var(--text-3); font-size: 13px; font-weight: 500; margin-top: 2px; }
.phone.lg { width: min(288px, 74vw); margin: 0 auto; }

/* ---------- Screens showcase (horizontal scroll) ---------- */
.showcase {
  display: flex; gap: 22px; overflow-x: auto;
  padding: 6px 4px 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.showcase::-webkit-scrollbar { height: 6px; }
.showcase::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.showcase .phone { width: 208px; scroll-snap-align: center; }
.hint { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 18px; }

/* ---------- Technology ---------- */
.tech-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 52px; align-items: center; }
.tech-copy h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -1px; margin: 14px 0 16px; }
.tech-copy > p { color: var(--text-2); font-size: 17px; margin-bottom: 26px; }
.tech-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.tech-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.tech-list .k { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; background: var(--red-subtle); border: 1px solid rgba(196,2,54,0.4); position: relative; margin-top: 1px; }
.tech-list .k::after { content: ""; position: absolute; left: 7px; top: 4px; width: 4px; height: 9px; border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tech-visual { display: flex; justify-content: center; }
.orbit { position: relative; width: 280px; height: 280px; display: flex; align-items: center; justify-content: center; }
.orbit .core { width: 96px; height: 96px; border-radius: 26px; background: linear-gradient(145deg, var(--red-hover), #8f0228); display: flex; align-items: center; justify-content: center; box-shadow: 0 22px 50px -14px rgba(196,2,54,0.6); z-index: 2; }
.orbit .core img { width: 50px; height: 50px; }
.orbit .ring { position: absolute; border: 1px solid var(--border); border-radius: 50%; }
.orbit .ring.r1 { width: 180px; height: 180px; }
.orbit .ring.r2 { width: 262px; height: 262px; }
.orbit .node { position: absolute; padding: 6px 13px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border); font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.orbit .n1 { top: 4px; left: 50%; transform: translateX(-50%); }
.orbit .n2 { bottom: 46px; left: -6px; }
.orbit .n3 { bottom: 46px; right: -6px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .badges { justify-content: center; }
  .hero-phone { order: 2; margin-top: 6px; }
  .hero::before { opacity: 0.6; }
  .tech-grid { grid-template-columns: 1fr; text-align: center; }
  .tech-visual { order: -1; }
  .tech-list li { text-align: left; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 48px; }
  section { padding: 56px 0; }
  .band { padding: 40px 24px; }
}
