:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --card-radius: 20px;
  --shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.45);
  --primary: #0ea5e9;
  --accent: #f97316;
  --mint: #22c55e;
  --sky: #38bdf8;
  --coral: #fb7185;
  --amber: #f59e0b;
  font-family: 'Sora', 'Space Grotesk', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(80% 80% at 20% 0%, #e9f4ff 0%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(60% 60% at 80% 10%, #fef3c7 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(120deg, #fff7ed 0%, #e8faf6 40%, #eef2ff 100%);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ambient {
  position: fixed;
  width: 600px;
  height: 600px;
  filter: blur(120px);
  opacity: 0.6;
  z-index: 0;
  transform: translateZ(0);
}

.ambient-a {
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), rgba(255, 255, 255, 0));
  animation: float 16s ease-in-out infinite alternate;
}

.ambient-b {
  bottom: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.28), rgba(255, 255, 255, 0));
  animation: float 18s ease-in-out infinite alternate;
}

@keyframes float {
  to {
    transform: translate3d(20px, 30px, 0) scale(1.02);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: grid;
  grid-template-columns: 40px auto;
  gap: 10px;
  align-items: center;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow);
}

.logo-text strong {
  display: block;
  font-weight: 700;
}

.logo-text small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background: rgba(14, 165, 233, 0.12);
  color: var(--ink);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: rgba(255, 255, 255, 0.8);
}

.lang-btn {
  padding: 6px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s ease;
}

.lang-btn.is-active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(34, 197, 94, 0.18));
  color: var(--ink);
  box-shadow: 0 8px 20px -14px rgba(15, 23, 42, 0.7);
}

.chip {
  padding: 6px 12px;
  background: rgba(56, 189, 248, 0.15);
  color: #075985;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.nav-button {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 35px -18px rgba(15, 23, 42, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px -16px rgba(14, 165, 233, 0.55);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 80px 0 50px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #075985;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 14px;
}

h1,
h2,
h3,
h4 {
  margin: 10px 0;
  line-height: 1.2;
  font-family: 'Space Grotesk', 'Sora', sans-serif;
}

h1 {
  font-size: clamp(32px, 4vw, 46px);
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.lede {
  color: var(--muted);
  margin: 14px 0 20px;
  max-width: 640px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #22c55e);
  color: #fff;
  box-shadow: 0 14px 40px -16px rgba(14, 165, 233, 0.7);
}

.btn.primary.contrast {
  background: #0f172a;
  box-shadow: 0 16px 38px -14px rgba(15, 23, 42, 0.8);
}

.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-1px);
}

.hidden-trigger {
  display: none;
}

.hidden-trigger.is-dev-visible {
  display: inline-flex;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.stat-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  font-size: 26px;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
}

.latest-panel {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(14, 165, 233, 0.14), rgba(56, 189, 248, 0.16), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(14, 165, 233, 0.25);
  box-shadow: 0 30px 80px -48px rgba(14, 165, 233, 0.9);
}

.latest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.latest-note {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.latest-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px -40px rgba(15, 23, 42, 0.7);
  position: relative;
  overflow: hidden;
}

.latest-card .tags {
  margin-top: 10px;
}

.latest-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.floating-card {
  position: relative;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.16), rgba(34, 197, 94, 0.08), #fff);
  border: 1px solid rgba(14, 165, 233, 0.25);
  box-shadow: 0 30px 80px -48px rgba(14, 165, 233, 0.9);
  overflow: hidden;
}

.floating-card.primary::after {
  content: '';
  position: absolute;
  inset: -30% 50% auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.25), rgba(255, 255, 255, 0));
  transform: rotate(12deg);
}

.floating-card h3 {
  margin-top: 8px;
}

.floating-card p {
  color: var(--muted);
}

.mini-list {
  padding-left: 18px;
  color: var(--ink);
  margin: 12px 0;
}

.mini-list li {
  margin-bottom: 6px;
}

.card-header {
  display: flex;
  gap: 8px;
}

.card-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.pill {
  background: rgba(14, 165, 233, 0.16);
  color: #075985;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.pill.soft {
  background: rgba(34, 197, 94, 0.15);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.3);
}

.pill.outline {
  background: transparent;
  border: 1px dashed rgba(15, 23, 42, 0.25);
  color: var(--ink);
}

.tag {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.floating-stack {
  display: grid;
  gap: 12px;
}

.stack-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px -30px rgba(15, 23, 42, 0.7);
}

.stack-card.soft {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), #fff);
}

.stack-card.bold {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.2), #fff);
}

.section {
  padding: 60px 0 30px;
  position: relative;
}

.section-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.section-titles h2 {
  margin: 0;
}

.section-desc {
  color: var(--muted);
  margin-top: 6px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card::after {
  content: '';
  position: absolute;
  inset: -35% auto auto 65%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  transform: rotate(12deg);
  opacity: 0.6;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px -42px rgba(15, 23, 42, 0.55);
}

.app-card h3 {
  margin: 10px 0 6px;
}

.app-desc {
  margin: 0 0 12px;
  color: var(--muted);
}

.app-points {
  flex: 1;
  padding-left: 18px;
  color: var(--ink);
  margin: 0 0 16px;
}

.app-points li {
  margin-bottom: 6px;
}

.card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tone-mint {
  background: linear-gradient(150deg, rgba(34, 197, 94, 0.12), rgba(56, 189, 248, 0.08), #fff);
}

.tone-amber {
  background: linear-gradient(150deg, rgba(245, 158, 11, 0.14), rgba(255, 247, 237, 0.8));
}

.tone-sky {
  background: linear-gradient(150deg, rgba(56, 189, 248, 0.16), rgba(226, 232, 240, 0.8));
}

.tone-lilac {
  background: linear-gradient(150deg, rgba(168, 85, 247, 0.16), rgba(224, 231, 255, 0.9));
}

.tone-coral {
  background: linear-gradient(150deg, rgba(251, 113, 133, 0.15), rgba(254, 249, 195, 0.6));
}

.tone-forest {
  background: linear-gradient(150deg, rgba(34, 197, 94, 0.16), rgba(22, 163, 74, 0.08), #f8fafc);
}

.tone-sand {
  background: linear-gradient(150deg, rgba(251, 191, 36, 0.16), rgba(255, 247, 237, 0.85));
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.highlight-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.12);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.wide {
  padding: 70px 0;
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.08), rgba(34, 197, 94, 0.12), #fff);
}

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.flow-steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 50px -36px rgba(15, 23, 42, 0.6);
}

.step-number {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.2), rgba(34, 197, 94, 0.2));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--ink);
}

.cta-section {
  padding: 70px 0 90px;
}

.cta {
  border-radius: 26px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(14, 165, 233, 0.9));
  color: #f8fafc;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: center;
  box-shadow: 0 30px 90px -40px rgba(15, 23, 42, 0.8);
}

.cta .section-desc {
  color: #e2e8f0;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cta .btn.ghost {
  border-color: rgba(226, 232, 240, 0.7);
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
}

.feedback-panel {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 20;
}

.feedback-panel.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.feedback-card {
  width: min(820px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px -60px rgba(15, 23, 42, 0.8);
}

.feedback-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
}

.feedback-form {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
}

input,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.7);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(14, 165, 233, 0.6);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(14, 165, 233, 0.35);
  background: rgba(226, 232, 240, 0.35);
  flex-wrap: wrap;
}

.feedback-hint {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.feedback-message {
  margin: 0;
  color: #166534;
  font-weight: 600;
}

code {
  background: rgba(226, 232, 240, 0.6);
  padding: 2px 6px;
  border-radius: 8px;
}

@media (max-width: 960px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 60px;
  }

  .app-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .hero {
    padding-top: 40px;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .feedback-card {
    padding: 18px;
  }
}
