/* ===================================================
   dxAllowance – Website Styles
   =================================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #5B4FCF;
  --primary-dark: #4338a8;
  --primary-light:#EDE9FF;
  --accent:       #10B981;
  --accent-light: #D1FAE5;
  --warning:      #F59E0B;
  --danger:       #EF4444;
  --dark:         #111827;
  --gray-900:     #1F2937;
  --gray-700:     #374151;
  --gray-500:     #6B7280;
  --gray-300:     #D1D5DB;
  --gray-100:     #F3F4F6;
  --bg:           #F8F9FF;
  --white:        #FFFFFF;
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:    0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:    0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl:    0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--bg);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all .2s ease;
  box-shadow: 0 4px 14px rgba(91,79,207,.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91,79,207,.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--primary);
  transition: all .2s ease;
}
.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ── Section Helpers ── */
section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ====================================================
   NAVBAR
   ==================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .2s;
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  color: var(--dark);
}
.logo-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-logo .logo-text { font-weight: 500; }
.nav-logo strong { font-weight: 800; color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all .15s;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }

.btn-nav {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .2s;
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  background: linear-gradient(135deg, #3D35A8 0%, #5B4FCF 40%, #7C6FE0 100%);
  padding: 140px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 580px;
}

.hero-content { color: var(--white); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  color: rgba(255,255,255,.9);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.hero-cta .btn-primary:hover {
  background: var(--gray-100);
  box-shadow: 0 6px 28px rgba(0,0,0,.3);
}

.hero-cta .btn-secondary {
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.hero-cta .btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-number { display: block; font-size: 28px; font-weight: 900; color: var(--white); }
.stat-label  { display: block; font-size: 12px; color: rgba(255,255,255,.65); margin-top: 2px; }

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.25);
}

/* ── Hero Mockups ── */
.hero-mockups {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 40px;
}

.mockup-wrapper {
  position: relative;
  width: 340px;
  height: 520px;
}

.mockup {
  position: absolute;
  bottom: 0;
  background: #1A1A2E;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}

.mockup-back {
  width: 200px;
  height: 420px;
  left: 0;
  bottom: 20px;
  transform: rotate(-6deg);
  opacity: .85;
}

.mockup-front {
  width: 220px;
  height: 450px;
  right: 0;
  bottom: 0;
  transform: rotate(3deg);
}

.mockup-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
}

.hero-wave {
  margin-top: 60px;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ── Screen Placeholders (UI mockups) ── */
.screen-placeholder {
  width: 100%;
  height: 100%;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #F8F9FF;
}

.ph-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 8px;
  border-bottom: 1px solid #E5E7EB;
}

.ph-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.ph-avatar.purple { background: var(--primary); }
.ph-avatar.green  { background: var(--accent); }

.ph-text-block { flex: 1; }

.ph-line {
  height: 8px;
  background: #E5E7EB;
  border-radius: 4px;
  margin-bottom: 5px;
}
.ph-line.small { height: 6px; }
.ph-line.w80 { width: 80%; }
.ph-line.w70 { width: 70%; }
.ph-line.w65 { width: 65%; }
.ph-line.w60 { width: 60%; }
.ph-line.w55 { width: 55%; }
.ph-line.w50 { width: 50%; }
.ph-line.w45 { width: 45%; }
.ph-line.w40 { width: 40%; }
.ph-line.w35 { width: 35%; }

.ph-card {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.ph-card.green { background: linear-gradient(135deg, #059669, #10B981); }
.ph-card.green .ph-line { background: rgba(255,255,255,.4); }
.ph-big-number {
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  margin: 8px 0;
}

.ph-task-list { display: flex; flex-direction: column; gap: 6px; }

.ph-task {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.ph-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  flex-shrink: 0;
}
.ph-check.green {
  background: var(--accent);
  border-color: var(--accent);
}

.ph-stats-row {
  display: flex;
  gap: 6px;
}

.ph-mini-card {
  flex: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 8px 6px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ph-mini-number {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.ph-section-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.ph-task-card {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  padding: 8px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.ph-task-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--gray-300);
  flex-shrink: 0;
}

.ph-task-info { flex: 1; }

.ph-approve-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.ph-progress-card {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.ph-progress-bar {
  height: 8px;
  background: #E5E7EB;
  border-radius: 4px;
  margin: 8px 0;
  overflow: hidden;
}

.ph-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
}

/* ====================================================
   HOW IT WORKS
   ==================================================== */
.how-it-works {
  background: var(--white);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  padding: 32px 24px;
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  position: relative;
}

.step-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.step-arrow {
  font-size: 28px;
  color: var(--gray-300);
  align-self: center;
  padding-top: 20px;
  flex-shrink: 0;
}

/* ====================================================
   FEATURES
   ==================================================== */
.features {
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}

.features-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.column-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 8px;
  align-self: flex-start;
}
.parent-badge {
  background: var(--primary-light);
  color: var(--primary);
}
.child-badge {
  background: var(--accent-light);
  color: #065F46;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
  transition: all .2s ease;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Features Center Divider ── */
.features-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.divider-phone {
  width: 160px;
  background: #1A1A2E;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

.divider-screen {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
}

.mini-screen {
  font-size: .7em;
  padding: 12px 8px;
}

/* ====================================================
   MODELS
   ==================================================== */
.models {
  background: var(--white);
}

.models-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.model-card {
  background: var(--bg);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: all .2s;
}
.model-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.featured-model {
  background: linear-gradient(135deg, #EDE9FF, #F0F5FF);
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.model-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.model-roadmap-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--warning);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.model-roadmap-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
}

.roadmap-icon { font-size: 18px; flex-shrink: 0; line-height: 1.4; }

.model-roadmap-notice p {
  font-size: 13px;
  color: #92400E;
  line-height: 1.5;
  margin: 0;
}

.model-icon { font-size: 40px; margin-bottom: 12px; }
.model-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.model-desc {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.model-example {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.model-example-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.model-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.model-row:last-of-type { border-bottom: none; }
.task-name { color: var(--gray-700); }
.task-value { font-weight: 700; color: var(--accent); }
.pending-val { color: var(--gray-500); font-style: italic; font-weight: 400; }

.model-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 0;
  margin-top: 8px;
  border-top: 2px solid var(--gray-300);
  font-weight: 700;
  font-size: 15px;
}
.total-val { color: var(--primary); }

.model-progress-info { margin-bottom: 16px; }
.model-goal {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.model-progress-bar-wrap { margin-bottom: 8px; }
.model-progress-bar {
  height: 24px;
  background: var(--gray-100);
  border-radius: 50px;
  overflow: hidden;
}
.model-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.model-status {
  font-size: 13px;
  font-weight: 700;
}
.model-status.success { color: var(--accent); }

.model-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.model-benefits li {
  font-size: 14px;
  color: var(--gray-700);
}

/* ====================================================
   SCREENSHOTS
   ==================================================== */
.screenshots {
  background: var(--bg);
}

.screenshots-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screenshots-scroll::-webkit-scrollbar { height: 4px; }
.screenshots-scroll::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 4px; }
.screenshots-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

.screenshot-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  text-align: center;
}

.screenshot-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--gray-500);
}

.screenshot-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  padding: 16px;
}

/* ====================================================
   TESTIMONIALS
   ==================================================== */
.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all .2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.stars {
  font-size: 18px;
  color: var(--warning);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
}
.testimonial-author span {
  font-size: 12px;
  color: var(--gray-500);
}

/* ====================================================
   DOWNLOAD
   ==================================================== */
.download {
  background: linear-gradient(135deg, #3D35A8, #5B4FCF, #7C6FE0);
  color: var(--white);
}

.download-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.download-text h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
  line-height: 1.2;
}

.download-text p {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  max-width: 500px;
}

.download-badges { margin-bottom: 16px; }

.store-badge {
  display: inline-block;
  transition: transform .2s;
}
.store-badge:hover { transform: scale(1.05); }

.download-note {
  font-size: 13px !important;
  color: rgba(255,255,255,.55) !important;
  margin-bottom: 0 !important;
}

.download-phone {
  width: 180px;
  background: #0D0D1A;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}

.download-screen {
  background: var(--white);
  border-radius: 26px;
  height: 360px;
  overflow: hidden;
}

.download-app-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5B4FCF, #7C6FE0);
}

.da-logo { font-size: 56px; margin-bottom: 12px; }
.da-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}
.da-tagline {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* ====================================================
   CONTACT
   ==================================================== */
.contact {
  background: var(--bg);
}

.contact-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}
.contact-content p {
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 17px;
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo-img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand .logo-text { font-size: 22px; color: var(--white); }
.footer-brand strong { color: var(--primary-light); }
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.5);
  max-width: 220px;
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color .15s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features-divider { display: none; }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { order: 1; }
  .hero-mockups { order: 2; justify-content: center; }
  .hero-subtitle, .hero h1 { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
}

/* Mobile */
@media (max-width: 768px) {
  section { padding: 60px 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .btn-nav { text-align: center; }

  .hero { padding: 100px 0 0; }
  .mockup-wrapper { width: 280px; height: 400px; }
  .mockup-back  { width: 160px; height: 330px; }
  .mockup-front { width: 180px; height: 360px; }

  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }

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

  .models-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .download-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-phone { margin: 0 auto; }
  .download-text p { margin-left: auto; margin-right: auto; }

  .footer-content { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 480px) {
  .models-grid { gap: 48px; }
  .featured-model { margin-top: 16px; }
}

/* ====================================================
   IMAGENS REAIS DO APP
   ==================================================== */

/* Imagem dentro do frame do iPhone */
.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 28px;
}

/* Variante para screenshots com borda arredondada menor */
.screen-img.rounded {
  border-radius: 22px;
  height: 380px;
  object-fit: cover;
  object-position: top;
}

/* Quando a imagem não carrega ainda, mostra gradiente placeholder */
.mockup-screen img[src]:not([src=""]) {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
}

/* Garante que o .screenshot-phone recebe a imagem corretamente */
.screenshot-phone {
  width: 200px;
  background: #1A1A2E;
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
  overflow: hidden;
}

/* Fallback visual quando img não carrega (imagem quebrada) */
.screenshot-phone img:-moz-broken,
.screenshot-phone img[src=""],
.mockup-screen img:-moz-broken,
.mockup-screen img[src=""],
.divider-screen img:-moz-broken,
.divider-screen img[src=""],
.download-screen img:-moz-broken,
.download-screen img[src=""] {
  display: none;
}

/* ====================================================
   ANIMATIONS
   ==================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50%       { transform: rotate(3deg) translateY(-12px); }
}
@keyframes floatBack {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%       { transform: rotate(-6deg) translateY(-8px); }
}

.mockup-front { animation: float 6s ease-in-out infinite; }
.mockup-back  { animation: floatBack 6s ease-in-out 1s infinite; }

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================
   LANGUAGE SWITCHER
   ==================================================== */
.lang-item {
  display: flex;
  align-items: center;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  opacity: 0.45;
  transition: opacity .15s, background .15s;
}

.lang-btn:hover {
  opacity: 0.8;
  background: var(--primary-light);
}

.lang-btn.active {
  opacity: 1;
}

/* Mobile: lang-switcher in the dropdown needs a bit more padding */
@media (max-width: 768px) {
  .lang-item {
    padding: 4px 16px;
  }
}
