:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --text: #151513;
  --muted: #63625d;
  --line: rgba(21, 21, 19, 0.12);
  --panel: rgba(255, 255, 255, 0.72);
  --accent: #0f8f83;
  --accent-strong: #0a5f59;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 6vw, 88px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
  font-weight: 720;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: white;
}

.app-card {
  width: min(100%, 430px);
  justify-self: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 30px 80px rgba(18, 34, 30, 0.14);
}

.menu-preview,
.event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 8px;
}

.menu-preview {
  margin-bottom: 14px;
  padding: 16px;
  background: #151513;
  color: white;
}

.menu-preview div {
  display: grid;
  gap: 4px;
  flex: 1;
}

.menu-preview span {
  color: rgba(255, 255, 255, 0.72);
}

.event-row {
  min-height: 96px;
  margin-top: 12px;
  padding: 18px;
  color: white;
}

.event-row span {
  font-weight: 720;
}

.event-row strong {
  font-size: 28px;
}

.sunset {
  background: linear-gradient(135deg, #e85d3f, #7a2e76);
}

.ocean {
  background: linear-gradient(135deg, #1ba5a6, #214a9a);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.features article {
  min-height: 190px;
  padding: 34px;
  background: var(--bg);
}

.features h2,
.page h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.features p,
.page p {
  color: var(--muted);
  line-height: 1.65;
}

.page {
  max-width: 820px;
  padding: 54px clamp(18px, 5vw, 64px) 80px;
}

.page h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
}

.page h2 {
  margin-top: 34px;
}

.page h3 {
  margin: 28px 0 4px;
}

.updated {
  margin-top: 14px;
  font-size: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151513;
    --text: #f2f0e9;
    --muted: #bbb6aa;
    --line: rgba(242, 240, 233, 0.14);
    --panel: rgba(255, 255, 255, 0.08);
    --accent: #14a99b;
    --accent-strong: #61d5c9;
  }

  .app-card {
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 780px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  padding: 0 18px;
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 10px 0;
  line-height: 1.1;
}

.section-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
  padding: clamp(60px, 8vw, 100px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.pricing-card.glass {
  backdrop-filter: blur(12px);
}

.card-header h3 {
  font-size: 24px;
  margin: 0 0 8px;
  font-weight: 800;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  background: var(--accent-strong);
  color: var(--bg);
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.price-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 16px 0 4px;
}

.price-value {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.price-suffix {
  font-size: 16px;
  color: var(--muted);
  margin-left: 6px;
}

.price-hint {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
  width: 100%;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.features-list li:last-child {
  border-bottom: none;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-button {
  width: 100%;
  margin-top: auto;
}

/* User Guide Section */
.guide-section {
  padding: clamp(60px, 8vw, 100px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.015);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.guide-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  position: relative;
  transition: transform 0.25s ease;
}

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

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
}

.guide-step h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 750;
}

.guide-step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Responsive adjustment for Guide Grid */
@media (max-width: 780px) {
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 20px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-weight: 750;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 11px;
  transition: color 0.2s;
  outline: none;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  color: var(--accent-strong);
}

.lang-divider {
  color: var(--line);
  font-size: 10px;
  user-select: none;
}

