/* KeepSlip marketing site — shared design system */

:root {
  --navy-950: #070d1e;
  --navy-900: #0c142a;
  --navy-800: #121d3a;
  --navy-700: #1a2a4d;
  --glass-stroke: rgba(255, 255, 255, 0.09);
  --glass-fill: rgba(255, 255, 255, 0.045);
  --text-primary: #f5f7fb;
  --text-secondary: #aab6cf;
  --text-tertiary: #7c88a6;
  --accent: #63b3ff;
  --accent-2: #8fd4ff;
  --accent-soft: rgba(99, 179, 255, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-w: 1180px;
  --shadow-1: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 85% -10%, #14264a 0%, var(--navy-950) 55%), var(--navy-950);
  color: var(--text-primary);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(7, 13, 30, 0.72);
  border-bottom: 1px solid var(--glass-stroke);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch { position: relative; }
.lang-switch select {
  appearance: none;
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 30px 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--text-secondary);
  border-bottom: 1.5px solid var(--text-secondary);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #7cc3ff, #4d8fff);
  color: #051022;
  box-shadow: 0 8px 24px rgba(77, 143, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(77, 143, 255, 0.45); }
.btn-ghost {
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  color: var(--text-primary);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 40px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(99, 179, 255, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow::before { content: "✦"; font-size: 11px; }

h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 700;
}
h1 .hl {
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img {
  width: 100%;
  max-width: 400px;
  border-radius: 34px;
  box-shadow: var(--shadow-1);
}
.hero-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at 50% 40%, rgba(99, 179, 255, 0.25), transparent 65%);
  filter: blur(10px);
  z-index: -1;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { display: inline-flex; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 0; letter-spacing: -0.015em; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--glass-stroke);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-image { order: 1; }

.feature-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.feature-copy h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.feature-copy p {
  color: var(--text-secondary);
  font-size: 16.5px;
  margin: 0;
  max-width: 460px;
}
.feature-image { display: flex; justify-content: center; }
.feature-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 26px;
  box-shadow: var(--shadow-1);
}

/* ---------- Ecosystem ---------- */
.ecosystem {
  background: linear-gradient(180deg, transparent, rgba(99, 179, 255, 0.05) 40%, transparent);
  border-top: 1px solid var(--glass-stroke);
  border-bottom: 1px solid var(--glass-stroke);
}
.eco-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 28px;
  align-items: end;
  margin-top: 48px;
}
.eco-card {
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-md);
  padding: 22px 22px 0;
  overflow: hidden;
}
.eco-card img { border-radius: 12px 12px 0 0; margin-top: 18px; }
.eco-card .eco-label { font-size: 13px; font-weight: 700; color: var(--text-secondary); }

/* ---------- Privacy ---------- */
.privacy-card {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}
.privacy-card .icon-badge {
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.privacy-card h2 { font-size: 26px; margin: 0 0 14px; }
.privacy-card p { color: var(--text-secondary); font-size: 16px; margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, rgba(99, 179, 255, 0.18), transparent 70%);
}
.final-cta h2 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 16px; letter-spacing: -0.02em; }
.final-cta p { color: var(--text-secondary); font-size: 17px; margin: 0 0 32px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--glass-stroke);
  padding: 44px 0 60px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 26px; height: 26px; border-radius: 7px; }
.footer-brand span { font-weight: 700; }
.footer-tagline { color: var(--text-tertiary); font-size: 13.5px; margin-top: 3px; }
.footer-meta { color: var(--text-tertiary); font-size: 13px; text-align: right; }
.footer-meta a { color: var(--text-secondary); }
.footer-meta a:hover { color: var(--accent-2); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; text-align: center; }
  .feature-row .feature-copy, .feature-row.reverse .feature-copy { order: 1; }
  .feature-row .feature-image, .feature-row.reverse .feature-image { order: 2; }
  .feature-copy p { margin-left: auto; margin-right: auto; }
  .eco-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
}
@media (max-width: 560px) {
  .hero { padding: 56px 0 24px; }
  section { padding: 60px 0; }
  .privacy-card { padding: 40px 24px; }
}
