/* ═══════════════════════════════════════════════════════════
   MindWellia Landing Page — Styles v2 (Screenshot Showcase)
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --primary: #2C5F68;
  --primary-light: #4A8E99;
  --primary-dark: #1E434A;
  --accent: #EFA852;
  --accent-light: #F5C78A;
  --bg: #FDFCF8;
  --bg-warm: #F9F7F2;
  --surface: #FFFFFF;
  --text: #2D3334;
  --text-secondary: #6B7274;
  --text-light: #9BA3A5;
  --success: #6B997B;
  --error: #C45E5E;
  --violet: #9D84B7;

  --gradient-warm: linear-gradient(135deg, #FDE8D0 0%, #E8F0E8 50%, #FDFCF8 100%);
  --gradient-text: linear-gradient(135deg, #2C5F68 0%, #4A8E99 40%, #EFA852 100%);
  --gradient-cta: linear-gradient(135deg, #2C5F68 0%, #3A7A85 100%);

  --section-padding: 120px 0;
  --container-max: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(253, 252, 248, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(44, 95, 104, 0.06);
  transition: box-shadow 0.3s var(--ease);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; }
.logo-icon { width: 32px; height: 32px; border-radius: 8px; }
.logo-text { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--text-secondary);
  transition: color 0.2s var(--ease); position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0%; height: 2px; background: var(--primary); border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--gradient-cta); color: white !important;
  padding: 10px 24px; border-radius: 100px; font-weight: 600;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(44,95,104,0.3); }

/* Mobile menu */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.mobile-menu-btn span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; flex-direction: column; gap: 8px; padding: 16px 32px 24px;
  background: rgba(253,252,248,0.98); border-top: 1px solid rgba(44,95,104,0.06);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--text-secondary);
  padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mobile-menu .nav-cta {
  background: var(--gradient-cta); color: white !important;
  text-align: center; padding: 14px; border-radius: 16px; border-bottom: none; margin-top: 8px;
}

/* Maple leaf */
.maple-leaf { flex-shrink: 0; margin-left: -2px; }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center; justify-content: center;
  background: rgba(44,95,104,0.08); border: 1px solid rgba(44,95,104,0.12);
  border-radius: 8px; padding: 6px 14px; cursor: pointer;
  transition: all 0.2s var(--ease); font-family: inherit;
}
.lang-toggle:hover {
  background: rgba(44,95,104,0.15); border-color: rgba(44,95,104,0.25);
}
.lang-label {
  font-size: 0.8rem; font-weight: 700; color: var(--primary);
  letter-spacing: 0.05em;
}
.lang-toggle-mobile {
  display: none;
  padding: 6px 14px; border-radius: 8px;
}

/* Smooth language transition */
[data-i18n], [data-i18n-html], [data-i18n-placeholder] {
  transition: opacity 0.25s ease;
}
.i18n-fade { opacity: 0; }

/* ══════════════════════════════════════════════════════════
   HERO — 3-phone fan layout
   ══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 32px 80px; position: relative; overflow: hidden;
  background: var(--gradient-warm); gap: 64px;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: rgba(44,95,104,0.08); top: -150px; right: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: rgba(239,168,82,0.1); bottom: -100px; left: -100px; animation-delay: -7s; }
.hero-orb-3 { width: 300px; height: 300px; background: rgba(157,132,183,0.08); top: 30%; left: 50%; animation-delay: -14s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-30px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(0.95); }
}

.hero-content { max-width: 540px; z-index: 2; animation: fadeUp 0.8s var(--ease) both; }
.hero-visual { position: relative; z-index: 2; animation: fadeUp 0.8s var(--ease) 0.2s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(44,95,104,0.1); padding: 8px 20px;
  border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  color: var(--primary); margin-bottom: 28px;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s var(--ease);
}
.hero-badge:hover {
  background: rgba(44,95,104,0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44,95,104,0.15);
}
.badge-dot {
  width: 8px; height: 8px; background: var(--success); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* Invite Code Modal */
.invite-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.invite-modal {
  background: white; border-radius: 24px; padding: 40px 32px;
  max-width: 420px; width: 90%; position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
  animation: slideUp 0.3s var(--ease);
  text-align: center;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.invite-modal h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.invite-modal > p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 24px; }
.invite-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 1.5rem;
  color: var(--text-secondary); cursor: pointer;
  width: 32px; height: 32px; display: flex;
  align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.15s;
}
.invite-modal-close:hover { background: rgba(0,0,0,0.05); }
.invite-modal .form-input-wrap {
  display: flex; gap: 0;
  background: var(--surface);
  border-radius: 14px; padding: 5px;
  border: 1px solid rgba(44,95,104,0.12);
}
.invite-modal input {
  flex: 1; border: none; outline: none; padding: 14px 16px;
  font-size: 0.95rem; font-family: var(--font);
  background: transparent; color: var(--text);
  letter-spacing: 0.5px;
}
.invite-modal button[type="submit"] {
  padding: 12px 24px; border-radius: 10px; border: none;
  background: var(--primary); color: white;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  font-family: var(--font); transition: all 0.2s var(--ease);
}
.invite-modal button[type="submit"]:hover { background: var(--primary-dark); }
.invite-modal #inviteResult { margin-top: 20px; }
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 20px;
}
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 36px; max-width: 480px;
}

/* ── Hero Phones (3-phone fan) ────────────────────────── */
.hero-phones {
  position: relative; width: 380px; height: 520px;
  perspective: 1200px;
}
.phone-frame {
  position: absolute; border-radius: 32px; overflow: hidden;
  background: var(--surface); box-shadow: 0 30px 60px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.08);
  border: 6px solid #1a1a1a; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.phone-center {
  width: 240px; height: 480px; left: 50%; top: 50%;
  transform: translate(-50%, -50%); z-index: 3;
}
.phone-center:hover { transform: translate(-50%, -52%); box-shadow: 0 40px 80px rgba(0,0,0,0.2); }

.phone-back-left {
  width: 200px; height: 400px; left: -20px; top: 50%;
  transform: translateY(-50%) rotate(-12deg) scale(0.85); z-index: 1;
  opacity: 0.8;
}
.phone-back-right {
  width: 200px; height: 400px; right: -20px; top: 50%;
  transform: translateY(-50%) rotate(12deg) scale(0.85); z-index: 1;
  opacity: 0.8;
}

/* Floating pills */
.float-pill {
  position: absolute;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(44,95,104,0.1); padding: 10px 18px;
  border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  color: var(--primary); white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  animation: floatPill 6s ease-in-out infinite; z-index: 5;
}
.pill-1 { top: 20px; right: -30px; }
.pill-2 { bottom: 40px; left: -50px; animation-delay: -2s; }
.pill-3 { top: 50%; right: -60px; animation-delay: -4s; }
@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Form ──────────────────────────────────────────────── */
.form-input-wrap {
  display: flex; gap: 0; background: var(--surface); border-radius: 20px; padding: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(44,95,104,0.08);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-input-wrap:focus-within {
  border-color: rgba(44,95,104,0.2);
  box-shadow: 0 4px 24px rgba(44,95,104,0.1), 0 1px 4px rgba(0,0,0,0.04);
}
.form-input-wrap input {
  flex: 1; border: none; outline: none; padding: 16px 20px; font-size: 1rem;
  font-family: inherit; background: transparent; color: var(--text); min-width: 0;
}
.form-input-wrap input::placeholder { color: var(--text-light); }
.form-input-wrap button {
  background: var(--gradient-cta); color: white; border: none;
  padding: 16px 32px; border-radius: 16px; font-family: inherit;
  font-size: 1rem; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-input-wrap button:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(44,95,104,0.3); }
.form-input-wrap button:active { transform: translateY(0); }
.form-input-wrap button:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-loader {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: white;
  border-radius: 50%; animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-message { margin-top: 12px; font-size: 0.9rem; font-weight: 500; min-height: 24px; }
.form-message.success { color: var(--success); }
.form-message.error { color: var(--error); }
.form-hint { margin-top: 12px; font-size: 0.82rem; color: var(--text-light); }

/* Social proof */
.hero-social-proof { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.avatar-stack { display: flex; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1rem;
  border: 2px solid var(--bg); margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.proof-text { font-size: 0.88rem; color: var(--text-secondary); }

/* ── Section Common ────────────────────────────────────── */
.section-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary);
  background: rgba(44,95,104,0.06); padding: 8px 20px; border-radius: 100px; margin-bottom: 20px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 600px;
  margin: 0 auto; line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   FEATURES SHOWCASE CAROUSEL — Combined section
   ══════════════════════════════════════════════════════════ */
.showcase {
  padding: 120px 0 100px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  overflow: hidden;
}

.showcase-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
}

.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(44,95,104,0.12);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--primary);
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  z-index: 5;
}
.carousel-btn:hover {
  background: var(--primary); color: white; border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(44,95,104,0.25);
}

.showcase-carousel {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 40px 0;
}
.showcase-carousel::-webkit-scrollbar { display: none; }

.showcase-slide {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.slide-phone {
  width: 260px;
  border-radius: 36px;
  overflow: hidden;
  background: #1a1a1a;
  padding: 8px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.18),
    0 10px 30px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.slide-phone img {
  width: 100%;
  border-radius: 28px;
}

.showcase-slide:hover .slide-phone {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0,0,0,0.22), 0 15px 35px rgba(0,0,0,0.1);
}

/* Feature info beneath each screenshot */
.slide-info {
  text-align: center;
  max-width: 280px;
  margin-top: 24px;
  padding: 0 8px;
}
.slide-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.slide-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.carousel-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(44,95,104,0.15); border: none; cursor: pointer;
  transition: all 0.3s var(--ease); padding: 0;
}
.carousel-dot.active {
  background: var(--primary); width: 28px; border-radius: 5px;
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS — Dark accent section
   ══════════════════════════════════════════════════════════ */
.how-it-works {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #2C5F68 0%, #1E434A 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(239,168,82,0.08); filter: blur(80px);
}
.how-it-works .section-tag {
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9);
}
.how-it-works .section-header h2 { color: white; }
.how-it-works .section-desc { color: rgba(255,255,255,0.65); }
.steps-grid {
  display: flex; align-items: flex-start; justify-content: center; gap: 0;
  position: relative; z-index: 2;
}
.step-card {
  text-align: center; max-width: 300px; padding: 36px 28px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.step-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.step-icon-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(239,168,82,0.3);
  transition: transform 0.3s var(--ease);
}
.step-card:hover .step-icon-circle {
  transform: scale(1.08);
}
.step-num {
  font-size: 1.6rem; font-weight: 800; color: var(--primary-dark);
  line-height: 1;
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: white; }
.step-card p { font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.step-connector {
  display: flex; align-items: center; padding-top: 80px;
}
.connector-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════
   SAFETY
   ══════════════════════════════════════════════════════════ */
.safety { padding: var(--section-padding); background: var(--bg); }
.safety-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.safety-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em;
}
.safety-content > p {
  font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 36px;
}
.safety-points { display: flex; flex-direction: column; gap: 24px; }
.safety-point { display: flex; gap: 16px; align-items: flex-start; }
.safety-check {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(107,153,123,0.1); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.safety-point strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.safety-point p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

.safety-visual { display: flex; align-items: center; justify-content: center; }
.shield-graphic {
  position: relative; width: 300px; height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.shield-ring {
  position: absolute; border-radius: 50%; border: 2px solid rgba(44,95,104,0.08);
}
.ring-1 { width: 100%; height: 100%; animation: ringPulse 4s ease-in-out infinite; }
.ring-2 { width: 75%; height: 75%; border-color: rgba(44,95,104,0.12); animation: ringPulse 4s ease-in-out infinite 1.3s; }
.ring-3 { width: 50%; height: 50%; border-color: rgba(44,95,104,0.18); animation: ringPulse 4s ease-in-out infinite 2.6s; }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.6; }
}
.shield-center { font-size: 4rem; position: relative; z-index: 2; }

/* ══════════════════════════════════════════════════════════
   BETA TESTERS
   ══════════════════════════════════════════════════════════ */
.beta-testers {
  padding: 80px 0;
  background: var(--bg);
  text-align: center;
}
.beta-form {
  max-width: 480px; margin: 32px auto 0;
}
.beta-form .form-input-wrap {
  display: flex; gap: 0;
  background: var(--surface);
  border-radius: 16px; padding: 6px;
  border: 1px solid rgba(44,95,104,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.beta-form input {
  flex: 1; border: none; outline: none; padding: 16px 20px;
  font-size: 1rem; font-family: var(--font);
  background: transparent; color: var(--text);
  letter-spacing: 0.5px;
}
.beta-form button {
  padding: 14px 28px; border-radius: 12px; border: none;
  background: var(--primary); color: white;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s var(--ease);
}
.beta-form button:hover { background: var(--primary-dark); }
.beta-result {
  max-width: 420px; margin: 32px auto 0;
}
.beta-success-card {
  background: var(--surface);
  border: 1px solid rgba(44,95,104,0.1);
  border-radius: 20px; padding: 40px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  animation: fadeSlideUp 0.5s var(--ease) both;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.beta-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #34C759, #30D158);
  color: white; font-size: 1.5rem; font-weight: 700;
  margin-bottom: 16px;
}
.beta-success-card h3 {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: var(--text);
}
.beta-success-card p {
  font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 24px;
}
.beta-download-btn {
  display: inline-block;
  padding: 16px 36px; border-radius: 14px;
  background: linear-gradient(135deg, #007AFF, #5856D6);
  color: white; font-weight: 700; font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  box-shadow: 0 6px 20px rgba(0,122,255,0.25);
}
.beta-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,122,255,0.35);
}

/* ══════════════════════════════════════════════════════════
   FINAL CTA — with phone peek
   ══════════════════════════════════════════════════════════ */
.final-cta {
  padding: 100px 32px; text-align: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2C5F68 0%, #1E434A 100%); color: white;
}
.cta-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; }
.cta-orb-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; right: -50px; }
.cta-orb-2 { width: 300px; height: 300px; background: var(--violet); bottom: -100px; left: -50px; }
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px;
  position: relative; z-index: 2;
}
.final-cta > .section-inner > p {
  font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 40px;
  position: relative; z-index: 2;
}
.cta-form {
  max-width: 500px; margin: 0 auto; position: relative; z-index: 2;
}
.cta-form .form-input-wrap {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15);
}
.cta-form .form-input-wrap:focus-within {
  border-color: rgba(255,255,255,0.3); box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.cta-form input { color: white; }
.cta-form input::placeholder { color: rgba(255,255,255,0.5); }
.cta-form button { background: var(--accent); color: var(--text); }
.cta-form button:hover { box-shadow: 0 6px 20px rgba(239,168,82,0.4); }
.cta-form .form-message.success { color: #a3d9a5; }
.cta-form .form-message.error { color: #f5a5a5; }

/* CTA phone tease */
.cta-phones {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 64px; position: relative; z-index: 2;
}
.cta-phone {
  width: 200px; border-radius: 28px 28px 0 0; overflow: hidden;
  background: #1a1a1a; padding: 6px 6px 0; box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  transition: transform 0.4s var(--ease);
}
.cta-phone img {
  width: 100%; border-radius: 22px 22px 0 0;
}
.cta-phone:hover { transform: translateY(-12px); }
.cta-phone-1 { transform: rotate(-5deg) translateY(20px); }
.cta-phone-1:hover { transform: rotate(-5deg) translateY(8px); }
.cta-phone-3 { transform: rotate(5deg) translateY(20px); }
.cta-phone-3:hover { transform: rotate(5deg) translateY(8px); }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 64px 32px 0; }
.footer-inner {
  max-width: var(--container-max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 64px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-icon { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand .logo-text { color: white; font-size: 1.3rem; font-weight: 700; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 0.9rem; padding: 6px 0; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: var(--container-max); margin: 0 auto;
  padding: 24px 0; text-align: center; font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column; text-align: center; gap: 60px; padding-top: 140px;
  }
  .hero-content { max-width: 600px; }
  .hero-subtitle { max-width: 100%; }
  .hero-social-proof { justify-content: center; }

  .safety-grid { grid-template-columns: 1fr; gap: 48px; }
  .safety-visual { order: -1; }
  .shield-graphic { width: 220px; height: 220px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 80px 0; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .lang-toggle-mobile { display: flex; }
  .hero { padding-top: 120px; min-height: auto; }
  .hero-title { font-size: 2.2rem; }

  .hero-phones { width: 300px; height: 420px; }
  .phone-center { width: 200px; height: 400px; }
  .phone-back-left, .phone-back-right { width: 160px; height: 320px; }
  .float-pill { display: none; }

  .slide-phone { width: 220px; }
  .slide-info { max-width: 240px; }

  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { padding-top: 0; }
  .connector-line { width: 2px; height: 40px; }

  .footer-links { grid-template-columns: 1fr; gap: 24px; }

  .form-input-wrap { flex-direction: column; }
  .form-input-wrap input { text-align: center; }
  .form-input-wrap button { width: 100%; }

  .cta-phones { gap: 12px; }
  .cta-phone { width: 140px; }

  .carousel-btn { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .section-header h2 { font-size: 1.7rem; }
  .hero-phones { width: 260px; height: 380px; }
  .phone-center { width: 180px; height: 360px; }
  .phone-back-left, .phone-back-right { width: 140px; height: 280px; }
  .slide-phone { width: 200px; }
  .slide-info { max-width: 220px; }
  .cta-phone { width: 110px; border-radius: 20px 20px 0 0; }
  .cta-phone img { border-radius: 16px 16px 0 0; }
}

