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

:root {
  --green: #00c853;
  --green-dark: #009624;
  --green-text: #15803d;
  --green-glow: #00c85326;
  --bg: #f7faf8;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f5f1;
  --border: #dfe7e2;
  --border-accent: #00c85360;
  --text: #10151a;
  --text-muted: #47555f;
  --text-dim: #6b7680;
  --gold: #a06a00;
  --red: #c62828;
  --radius: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── UTILITIES ─────────────────────────────── */

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}
.btn-primary:hover {
  background: #00e060;
  border-color: #00e060;
  box-shadow: 0 0 24px var(--green-glow);
}

.btn-outline {
  background: transparent;
  color: var(--green-text);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: #b7c4bc;
  background: #00000006;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.highlight {
  color: var(--green-text);
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
}

.section-tag {
  display: inline-block;
  background: var(--green-glow);
  color: var(--green-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ── HERO ───────────────────────────────────── */

.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, #00c85318 0%, transparent 60%),
    var(--bg);
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

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

.lang-switcher {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237a8898' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 26px 8px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.2s;
}

.lang-switcher:hover,
.lang-switcher:focus {
  border-color: var(--border-accent);
  outline: none;
}

.lang-switcher option {
  background: var(--bg-card);
  color: var(--text);
}

.logo-icon {
  font-size: 26px;
  color: var(--green);
  line-height: 1;
}

.hero-content {
  max-width: 680px;
  padding: 80px 48px 0;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: #00000006;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-cards {
  display: flex;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.mock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 220px;
  flex: 1;
  max-width: 280px;
}

.mock-card.accent {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, #eafaf1, #f5fbf7);
}

.mock-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.mock-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.mock-value.small {
  font-size: 20px;
}

.mock-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.mock-bar {
  height: 6px;
  background: #00000012;
  border-radius: 3px;
  overflow: hidden;
}

.mock-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width 1s ease;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.mock-chip {
  display: inline-block;
  background: #00c8531c;
  color: var(--green-text);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-accent);
}

/* ── PROBLEMS ──────────────────────────────── */

.problems {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #eef3ef 100%);
}

.problems .section-title {
  text-align: center;
  margin-bottom: 8px;
}

.problems .section-sub {
  text-align: center;
  margin: 0 auto 48px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s;
}

.problem-item:hover {
  border-color: #b7c4bc;
}

.problem-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.problem-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── SOLUTION ──────────────────────────────── */

.solution {
  padding: 100px 0;
}

.solution .section-title {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}

.solution .section-tag {
  display: block;
  text-align: center;
}

.moment {
  margin-bottom: 72px;
}

.moment-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px 28px;
  border-radius: var(--radius);
  border-left: 4px solid;
}

.moment-header.before {
  background: #eaf2ff;
  border-color: #3b82f6;
}

.moment-header.after {
  background: #eafaf0;
  border-color: var(--green);
}

.moment-icon {
  font-size: 36px;
  line-height: 1;
  margin-top: 2px;
}

.moment-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.moment-title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: #b7c4bc;
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── SCREENSHOTS ───────────────────────────── */

.screenshots {
  padding: 100px 0;
  background: linear-gradient(180deg, #eef3ef 0%, var(--bg) 100%);
}

.screenshot-gallery {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 12px 4px 24px;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
}

.screenshot-gallery::-webkit-scrollbar {
  height: 8px;
}
.screenshot-gallery::-webkit-scrollbar-track {
  background: transparent;
}
.screenshot-gallery::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
  text-align: center;
}

.phone-frame {
  position: relative;
  display: block;
  width: 100%;
  border: 3px solid #2a3340;
  border-radius: 28px;
  padding: 8px;
  background: #000;
  box-shadow: 0 20px 40px -20px #00000040, 0 0 0 1px #00000010;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: zoom-in;
  appearance: none;
  font: inherit;
}

.phone-frame:focus-visible {
  outline: 2px solid var(--green-text);
  outline-offset: 4px;
}

.screenshot-item:hover .phone-frame {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 24px 50px -20px #00000055, 0 0 0 1px var(--border-accent);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 6px;
  background: #000;
  border-radius: 4px;
  z-index: 2;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.screenshot-item figcaption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0 6px;
}

/* ── BENEFITS ──────────────────────────────── */

.benefits {
  padding: 80px 0;
  background: linear-gradient(135deg, #eafaf0 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.benefit-number {
  font-size: clamp(52px, 8vw, 80px);
  font-weight: 900;
  color: var(--green-text);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -3px;
}

.benefit-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 220px;
  margin: 0 auto;
}

/* ── CTA ───────────────────────────────────── */

.cta {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, #00c85312 0%, transparent 70%),
    var(--bg);
}

.cta-inner {
  text-align: center;
}

.cta-icon {
  font-size: 48px;
  color: var(--green);
  display: block;
  margin-bottom: 20px;
}

.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-note {
  font-size: 13px;
  color: var(--text-dim);
}

/* ── FOOTER ────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

/* ── RESPONSIVE ────────────────────────────── */

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero-content { padding: 60px 24px 0; }
  .hero-cards { padding: 0 24px; }
  .mock-card { min-width: 160px; }
  .moment-header { flex-direction: column; gap: 12px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .screenshot-item { width: 180px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; justify-content: center; }
}

/* ── LIGHTBOX ──────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000e6;
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  z-index: 1000;
  padding: 40px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.lightbox-img {
  max-width: min(90vw, 460px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 40px 100px -20px #000000f0, 0 0 0 1px #ffffff14;
  will-change: transform, opacity;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: rotate(90deg);
}

@media (max-width: 480px) {
  .lightbox { padding: 20px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 22px; }
}

.video-embed {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video {
  padding: 100px 0 40px;
}
.video-link {
  text-align: center;
  margin-top: 20px;
}
.video-link a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}
.video-link a:hover {
  text-decoration: underline;
}
