:root {
  --bg-top: #E6FAF6;
  --bg-mid: #F2FBF9;
  --bg-bot: #F5F7FA;
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-border: #D9ECE8;
  --primary: #0D766E;
  --primary-light: #0F9B8E;
  --primary-dark: #063A34;
  --primary-tint: #E6F8F5;
  --primary-border: #A7F3D0;
  --accent-gold: #F59E0B;
  --accent-gold-bg: #FEF3C7;
  --green: #10B981;
  --indigo: #4F46E5;
  --orange: #F97316;
  --text-main: #0F172A;
  --text-sub: #475569;
  --text-muted: #64748B;
  --shadow-soft: 0 10px 30px rgba(6, 58, 52, 0.065), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-phone: 0 24px 56px rgba(6, 58, 52, 0.18), 0 8px 20px rgba(6, 58, 52, 0.08);
  --radius-card: 24px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-bot);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 36%, var(--bg-bot) 100%);
  overflow-x: hidden;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 251, 249, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(217, 236, 232, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(13, 118, 110, 0.24);
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.brand-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-tint);
  border: 1px solid var(--primary-border);
  padding: 2px 8px;
  border-radius: 99px;
  margin-inline-start: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

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

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.18s ease;
}

.lang-btn:hover {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(13, 118, 110, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--text-main);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 99px;
  text-decoration: none;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  transition: all 0.18s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  padding: 48px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-bg);
  border: 1px solid #FDE68A;
  color: #92400E;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.14;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero-title .accent {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: clamp(15.5px, 1.7vw, 18px);
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.store-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.store-btn.apple {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(6, 58, 52, 0.25);
}

.store-btn.apple:hover {
  transform: translateY(-2px);
}

.store-btn.google {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: start;
  line-height: 1.2;
}

.store-btn-small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.88;
}

.store-btn-big {
  font-size: 16px;
  font-weight: 800;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  padding: 7px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

.hero-visual-card {
  background: linear-gradient(135deg, #063A34 0%, #0D766E 55%, #0E7490 100%);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
}

.hero-visual-card img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

/* Showcase Section */
.showcase-section {
  padding: 44px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 15.5px;
  color: var(--text-sub);
  font-weight: 500;
}

.showcase-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.screen-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 99px;
  border: 1px solid var(--card-border);
  background: #FFFFFF;
  color: var(--text-sub);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.screen-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(13, 118, 110, 0.25);
}

.showcase-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 28px;
}

.showcase-screen-wrap img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-phone);
  display: block;
}

.screen-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}

.thumb-card {
  background: #F8FAFC;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumb-card.active {
  background: var(--primary-tint);
  border-color: var(--primary);
}

.thumb-card img {
  width: 100%;
  height: auto;
  border-radius: 9px;
  display: block;
  margin-bottom: 5px;
}

.thumb-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bento Grid */
.bento-section {
  padding: 40px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.bento-card p {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
}

/* Legal & Support Sections */
.legal-section {
  padding: 36px 0;
}

.legal-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.legal-item {
  background: #F8FAFC;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px;
}

.legal-item h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.legal-item p {
  font-size: 14px;
  color: var(--text-sub);
  white-space: pre-line;
}

.site-footer {
  margin-top: 44px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.72);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Language Modal */
.lang-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lang-modal-backdrop.open {
  display: flex;
}

.lang-modal {
  background: #F8FAFC;
  border-radius: 26px;
  width: 100%;
  max-width: 720px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.lang-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--card-border);
}

.lang-modal-title {
  font-size: 17px;
  font-weight: 800;
}

.lang-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #E2E8F0;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.lang-grid {
  padding: 16px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 8px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: start;
}

.lang-option.active {
  background: var(--primary-tint);
  border-color: var(--primary);
}

.lang-option-flag {
  font-size: 20px;
}

.lang-option-name {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.lang-option-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .showcase-stage,
  .bento-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .screen-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }
}
