:root {
  --color-primary: #0a0f1e;
  --color-secondary: #f1f5f9;
  --color-accent: #fdba74;
  --color-bg: #ffffff;
  --color-muted: #5a6475;
  --font-main: "Inter", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", monospace;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(10, 15, 30, 0.08);
  --spacing: clamp(0.9rem, 2vw, 1.4rem);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-primary);
  background: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #93c5fd, #f0abfc, var(--color-accent));
  z-index: 1200;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 15, 30, 0.08);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 36px;
  height: 36px;
}

.desktop-nav {
  justify-self: center;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
}

.desktop-nav a {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(10, 15, 30, 0.18);
  border-radius: 12px;
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  position: relative;
  transition: transform 0.25s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.25s ease, top 0.25s ease;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-open .menu-toggle span {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(90deg);
}

.menu-open .menu-toggle span::after {
  top: 0;
  transform: scaleX(0);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 980;
}

.mobile-nav {
  position: fixed;
  right: 0;
  top: 0;
  width: min(360px, 86vw);
  height: 100vh;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 990;
  padding: 6rem 1.25rem 1.25rem;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  color: var(--color-primary);
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: var(--color-secondary);
}

.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.menu-open .mobile-nav {
  transform: translateX(0);
}

main {
  flex: 1;
}

.section {
  padding: clamp(2.4rem, 5vw, 4.4rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
}

.section h2,
.section h3 {
  letter-spacing: 0.01em;
}

.hero {
  padding-top: clamp(2.5rem, 8vw, 6rem);
}

.hero-grid,
.two-col,
.policy-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

.hero-grid,
.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-text {
  position: relative;
  z-index: 1;
  background: linear-gradient(140deg, #ffffff 0%, #f6faff 70%);
  border: 0.5px solid rgba(10, 15, 30, 0.1);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 2.4vw, 2rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  background: rgba(253, 186, 116, 0.2);
  border: 1px solid rgba(253, 186, 116, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.rating {
  font-size: 0.92rem;
  color: var(--color-muted);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.price {
  font-size: 1.7rem;
  font-weight: 700;
}

.price-old {
  color: var(--color-muted);
  text-decoration: line-through;
}

.hero-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 0.5px solid rgba(10, 15, 30, 0.11);
  background: radial-gradient(circle at top, rgba(147, 197, 253, 0.32), transparent 50%),
    radial-gradient(circle at bottom right, rgba(240, 171, 252, 0.3), transparent 48%),
    #f7fbff;
  padding: 1.2rem;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, transparent 85%);
  transform: translateX(-115%);
  transition: transform 0.8s ease;
}

.hero-media:hover::before {
  transform: translateX(115%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.4rem);
}

.card {
  background: #fff;
  border: 0.5px solid rgba(10, 15, 30, 0.12);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow);
  padding: 1rem;
}

.card:hover {
  transform: translateY(-2px);
}

.btn {
  display: inline-block;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  border-radius: 12px;
  padding: 0.78rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: #fff;
  color: var(--color-primary);
}

.btn:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: #fff;
  color: var(--color-primary);
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(10, 15, 30, 0.22);
  border-radius: 11px;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}

.input-error {
  border-color: #ef4444;
}

.field-note {
  min-height: 1.2rem;
  color: #b91c1c;
  font-size: 0.8rem;
}

.checkbox-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.faq-item {
  border: 0.5px solid rgba(10, 15, 30, 0.14);
  border-radius: 14px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.faq-item.open .faq-panel {
  max-height: 170px;
  padding-bottom: 0.9rem;
}

.disclaimer {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid rgba(253, 186, 116, 0.45);
  font-size: 0.92rem;
}

.map-wrap iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 14px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(760px, 94vw);
  background: #fff;
  border: 1px solid rgba(10, 15, 30, 0.14);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
  z-index: 1100;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.cookie-card {
  background: var(--color-secondary);
  border-radius: 11px;
  padding: 0.75rem;
  font-size: 0.9rem;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.switch input {
  width: auto;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(10, 15, 30, 0.08);
  background: #fff;
}

.footer-inner {
  padding: 1.2rem 0;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 1023px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .two-col,
  .card-grid,
  .cookie-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .mobile-nav,
  .menu-overlay {
    display: none;
  }
}
