/* ═══════════════════════════════════════════
   ATTENOTE WEBSITE — STYLESHEET
   Colors pulled from app's Color.kt theme
═══════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand — mirrors app BaseColors / LightTokens */
  --primary:           #034732;  /* Deep Forest */
  --primary-light:     #C0EDD8;
  --primary-dark:      #002718;
  --secondary:         #4A7A4D;  /* Muted Teal (darkened) */
  --secondary-light:   #CCE8CD;
  --accent:            #BF5C0E;  /* Pumpkin Spice — darkened */
  --accent-light:      #F5C49A;
  --bg:                #F6F5F4;  /* WhiteSmoke */
  --surface:           #FDFDFB;
  --surface-container: #EBEEEE;
  --surface-high:      #E5E8E3;
  --on-bg:             #1A1C1A;
  --outline:           #717970;
  --outline-variant:   #C0C9C1;

  /* Spacing & shape */
  --radius:    16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.14);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--on-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 16px; gap: 14px; }

.btn-accent              { background: var(--accent); color: #fff; }
.btn-accent:hover        { background: #9e4a0a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(191,92,14,0.4); }

.btn-outline             { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover       { background: var(--primary); color: #fff; }

.btn-white               { background: #fff; color: var(--primary); }
.btn-white:hover         { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,0.2); }

.btn-sub  { display: block; font-size: 11px; font-weight: 400; opacity: 0.8; line-height: 1.1; }
.btn-main { display: block; font-size: 18px; font-weight: 800; line-height: 1.2; }


/* ═══ SECTION HEADERS ═══ */
.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--outline);
  line-height: 1.7;
}


/* ═══ NAVBAR ═══ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253,253,251,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--outline-variant);
  transition: box-shadow 0.2s;
}
#navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.nav-logo { width: 32px; height: 32px; object-fit: contain; }

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-bg);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--surface-container); color: var(--primary); }

.nav-cta { flex-shrink: 0; padding: 8px 18px; font-size: 14px; gap: 8px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--outline-variant);
  background: var(--surface);
}
.nav-mobile a {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-bg);
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-mobile a:hover { background: var(--surface-container); }
.nav-mobile .btn { margin-top: 8px; justify-content: center; }
.nav-mobile.open { display: flex; }


/* ═══ HERO ═══ */
#hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-content { flex: 1; min-width: 0; }

.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: #7a3a00;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-content h1 .accent { color: var(--primary); }

.hero-sub {
  font-size: 18px;
  color: var(--outline);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--outline); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--outline-variant); }


/* ─── Hero Phone Mockup ─── */
.hero-visual { flex-shrink: 0; display: flex; justify-content: center; }
.phone-hero  { position: relative; }

.phone-frame {
  width: 260px;
  height: 520px;
  background: #1C201C;
  border-radius: 38px;
  padding: 16px 10px;
  box-shadow:
    0 0 0 2px #313531,
    inset 0 0 0 2px #272a26,
    0 32px 80px rgba(0,0,0,0.3);
  position: relative;
}
.phone-notch {
  width: 80px; height: 20px;
  background: #1C201C;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-shadow {
  width: 180px; height: 28px;
  background: rgba(0,0,0,0.12);
  border-radius: 50%;
  margin: 16px auto 0;
  filter: blur(10px);
}

/* Mock dashboard UI */
.mock-header {
  background: var(--primary);
  color: #fff;
  padding: 22px 14px 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mock-header-title { font-weight: 700; font-size: 13px; }
.mock-header-date  { opacity: 0.75; font-size: 10px; }

.mock-week-strip {
  background: var(--primary);
  display: flex;
  justify-content: space-around;
  padding: 2px 8px 10px;
}
.mock-day {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 9px;
  font-weight: 500;
  border-radius: 50%;
}
.mock-day.active { background: var(--accent); color: #fff; font-weight: 700; }

.mock-section-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--outline);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 12px 4px;
}
.mock-class-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin: 2px 8px;
  background: var(--surface-container);
  border-radius: 8px;
  border-left: 3px solid transparent;
}
.mock-class-card.green  { border-left-color: var(--primary); }
.mock-class-card.teal   { border-left-color: var(--secondary); }
.mock-class-card.orange { border-left-color: var(--accent); }

.mock-class-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.mock-class-card.teal   .mock-class-dot { background: var(--secondary); }
.mock-class-card.orange .mock-class-dot { background: var(--accent); }

.mock-class-info { flex: 1; min-width: 0; }
.mock-class-name { font-size: 9px; font-weight: 600; color: var(--on-bg); }
.mock-class-time { font-size: 8px; color: var(--outline); }

.mock-class-badge {
  font-size: 8px; font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.mock-class-badge.present { background: var(--primary-light); color: var(--primary); }
.mock-class-badge.pending { background: var(--surface-high);  color: var(--outline); }

.mock-note-card {
  margin: 4px 8px;
  padding: 7px 10px;
  background: var(--surface-container);
  border-radius: 8px;
}
.mock-note-title   { font-size: 9px; font-weight: 600; color: var(--on-bg); }
.mock-note-preview { font-size: 8px; color: var(--outline); margin-top: 2px; }


/* ═══ FEATURES ═══ */
#features {
  padding: 100px 0;
  background: var(--surface);
}
.features-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-pillar {
  background: var(--surface);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-pillar:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-pillar.pillar-accent:hover {
  border-color: var(--accent-light);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feature-icon.primary   { background: var(--primary-light);   color: var(--primary);   }
.feature-icon.accent    { background: var(--accent-light);    color: #b85a00;          }
.feature-icon.secondary { background: var(--secondary-light); color: var(--secondary); }

.feature-pillar h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.feature-pillar > p { font-size: 14px; color: var(--outline); line-height: 1.65; margin-bottom: 24px; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--outline-variant);
  padding-top: 20px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--on-bg);
}
.feature-list li i {
  width: 16px;
  text-align: center;
  color: var(--outline);
  font-size: 12px;
  flex-shrink: 0;
}
.pillar-accent .feature-list li i { color: #b85a00; }


/* ═══ SCREENSHOTS ═══ */
#screenshots {
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}
.screenshots-carousel { padding: 20px 0 60px; }

.screenshotsSwiper { padding: 20px 40px 56px !important; }

.swiper-slide {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 240px !important;
}

/* ─── Screenshot phone frames ─── */
.screenshot-frame { filter: drop-shadow(0 20px 40px rgba(0,0,0,0.14)); }

.ss-phone {
  width: 220px; height: 420px;
  background: #1C201C;
  border-radius: 30px;
  padding: 10px 8px;
  box-shadow: 0 0 0 2px #313531, inset 0 0 0 2px #272a26;
  position: relative;
}
.ss-notch {
  width: 60px; height: 14px;
  background: #1C201C;
  border-radius: 0 0 10px 10px;
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.ss-screen {
  width: 100%; height: 100%;
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ss-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 10px 8px;
  font-size: 10px; font-weight: 600;
  flex-shrink: 0;
}
.primary-bar { background: var(--primary); color: #fff; }

.ss-caption { font-size: 14px; font-weight: 600; color: var(--on-bg); text-align: center; }

.ss-real-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 22px;
}

/* Calendar screen */
.ss-month-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 10px;
  font-size: 10px; font-weight: 600;
  background: var(--surface-container);
  color: var(--on-bg);
  flex-shrink: 0;
}
.ss-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  padding: 3px 6px;
  flex-shrink: 0;
}
.ss-cal-head {
  text-align: center;
  font-size: 7px; font-weight: 700;
  color: var(--outline);
  padding: 2px 0;
}
.ss-cal-day {
  text-align: center;
  font-size: 8px;
  color: var(--on-bg);
  height: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  position: relative;
}
.ss-cal-day.ss-active {
  background: var(--primary);
  color: #fff; font-weight: 700;
}
.ss-cal-day.ss-has-dot::after {
  content: '';
  position: absolute; bottom: 1px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.ss-list-header {
  font-size: 8px; font-weight: 700;
  color: var(--outline);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 10px 3px;
  flex-shrink: 0;
}
.ss-list-item {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 8px;
  margin: 1px 6px;
  background: var(--surface-container);
  border-radius: 6px;
  flex-shrink: 0;
}
.ss-dot  { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.green-dot  { background: var(--primary); }
.teal-dot   { background: var(--secondary); }
.orange-dot { background: var(--accent); }

.ss-item-text { flex: 1; min-width: 0; }
.ss-item-text b    { display: block; font-size: 8px; font-weight: 700; color: var(--on-bg); }
.ss-item-text span { display: block; font-size: 7px; color: var(--outline); }

.ss-badge { font-size: 7px; font-weight: 700; padding: 2px 6px; border-radius: 4px; flex-shrink: 0; }
.ss-badge.done  { background: var(--primary-light);  color: var(--primary); }
.ss-badge.soon  { background: var(--accent-light);   color: #7a3a00; }
.ss-badge.later { background: var(--surface-high);   color: var(--outline); }

/* Attendance screen */
.ss-stats-row { display: flex; gap: 4px; padding: 6px; flex-shrink: 0; }
.ss-stat-box  { flex: 1; border-radius: 6px; padding: 6px 4px; text-align: center; }
.green-box { background: var(--primary-light); }
.red-box   { background: #FFD8D8; }
.grey-box  { background: var(--surface-container); }
.ss-stat-num { font-size: 14px; font-weight: 800; color: var(--on-bg); }
.ss-stat-lbl { font-size: 7px; color: var(--outline); font-weight: 500; }

.ss-student-row {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  flex-shrink: 0;
}
.ss-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 8px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.red-av    { background: #BA1A1A; }
.orange-av { background: var(--accent); }
.yellow-av { background: #C89000; }

.ss-student-name { flex: 1; font-size: 8px; color: var(--on-bg); font-weight: 500; }

.ss-att-mark {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; flex-shrink: 0;
}
.present-mark { background: var(--primary-light); color: var(--primary); }
.absent-mark  { background: #FFD8D8;             color: #BA1A1A;         }

/* Notes screen */
.ss-note-meta        { font-size: 8px; color: var(--outline); padding: 5px 10px 2px; flex-shrink: 0; }
.ss-note-title-input { font-size: 10px; font-weight: 700; color: var(--on-bg); padding: 2px 10px 5px; flex-shrink: 0; }
.ss-note-toolbar {
  display: flex; gap: 8px;
  padding: 4px 10px;
  border-top: 1px solid var(--outline-variant);
  border-bottom: 1px solid var(--outline-variant);
  font-size: 9px; font-weight: 700;
  color: var(--on-bg);
  flex-shrink: 0;
}
.ss-note-body { flex: 1; padding: 8px 10px; overflow: hidden; }
.ss-text-line {
  height: 5px;
  background: var(--outline-variant);
  border-radius: 3px;
  margin-bottom: 5px;
}
.w90 { width: 90%; }
.w75 { width: 75%; }
.w85 { width: 85%; }
.w60 { width: 60%; }
.w70 { width: 70%; }
.ss-text-gap  { height: 8px; }
.ss-photo-thumb { width: 70px; height: 48px; background: var(--primary-light); border-radius: 6px; margin-top: 4px; }

/* Analytics screen */
.ss-chart-section { padding: 6px 8px; flex-shrink: 0; }
.ss-chart-title   { font-size: 8px; font-weight: 700; color: var(--on-bg); margin-bottom: 6px; }
.ss-bar-chart {
  display: flex; align-items: flex-end; gap: 6px;
  height: 64px; padding: 0 4px;
}
.ss-bar-col {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; height: 100%; justify-content: flex-end;
}
.ss-bar-fill { width: 100%; background: var(--primary); border-radius: 3px 3px 0 0; min-height: 4px; }
.accent-fill { background: var(--accent); }
.ss-bar-col span { font-size: 6px; color: var(--outline); font-weight: 600; }

.ss-risk-row  { display: flex; align-items: center; gap: 6px; padding: 4px 10px; flex-shrink: 0; }
.ss-risk-badge { font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: #FFD8D8; color: #BA1A1A; }

/* Classes screen */
.ss-class-card-ss {
  display: flex; align-items: center;
  margin: 3px 8px;
  background: var(--surface-container);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.ss-class-color-strip { width: 4px; align-self: stretch; }
.green-card  .ss-class-color-strip { background: var(--primary); }
.teal-card   .ss-class-color-strip { background: var(--secondary); }
.orange-card .ss-class-color-strip { background: var(--accent); }
.purple-card .ss-class-color-strip { background: #7B52AB; }

.ss-class-card-body { flex: 1; padding: 6px 8px; min-width: 0; }
.ss-class-card-name  { font-size: 9px; font-weight: 700; color: var(--on-bg); }
.ss-class-card-sched { font-size: 7px; color: var(--outline); }
.ss-class-card-meta  { font-size: 7px; color: var(--outline); }
.ss-chevron          { font-size: 8px; color: var(--outline-variant); padding-right: 8px; }

/* Swiper overrides */
.swiper-button-prev,
.swiper-button-next {
  color: var(--primary) !important;
  background: var(--surface);
  width: 40px !important; height: 40px !important;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.swiper-button-prev::after,
.swiper-button-next::after { font-size: 14px !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }


/* ═══ FOR WHO ═══ */
#for-who { padding: 100px 0; background: var(--primary); }

#for-who .section-label {
  background: rgba(192,237,216,0.18);
  color: var(--primary-light);
}
#for-who .section-header h2 { color: #fff; }
#for-who .section-header p  { color: rgba(255,255,255,0.65); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: background 0.2s;
}
.audience-card:hover { background: rgba(255,255,255,0.12); }

.audience-icon {
  width: 56px; height: 56px;
  background: rgba(254,127,45,0.18);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin: 0 auto 20px;
}
.audience-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.audience-card p  { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }


/* ═══ PRIVACY ═══ */
#privacy { padding: 100px 0; background: var(--surface); }

.privacy-inner {
  display: flex;
  gap: 80px;
  align-items: center;
}
.privacy-text { flex: 1; }
.privacy-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.privacy-text p {
  font-size: 16px;
  color: var(--outline);
  line-height: 1.75;
  margin-bottom: 28px;
}
.privacy-list { display: flex; flex-direction: column; gap: 14px; }
.privacy-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 500;
}
.privacy-list li i { color: var(--primary); width: 18px; text-align: center; font-size: 16px; }

.privacy-visual { flex-shrink: 0; width: 280px; }
.privacy-badge-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-badge {
  background: var(--surface);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: border-color 0.2s, transform 0.2s;
}
.privacy-badge:hover { border-color: var(--primary); transform: translateY(-2px); }
.privacy-badge i    { font-size: 28px; color: var(--primary); }
.privacy-badge span { font-size: 13px; font-weight: 700; }


/* ═══ FAQ ═══ */
#faq { padding: 100px 0; background: var(--bg); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:has(.faq-q.open) { border-color: var(--primary-light); }

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: none; border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 15px; font-weight: 600;
  color: var(--on-bg);
  text-align: left; gap: 16px;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--surface-container); }
.faq-q.open  { color: var(--primary); }

.faq-icon { flex-shrink: 0; color: var(--outline); transition: transform 0.25s, color 0.25s; }
.faq-q.open .faq-icon { transform: rotate(45deg); color: var(--primary); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a.open { max-height: 300px; }
.faq-a p { padding: 0 24px 20px; font-size: 14px; color: var(--outline); line-height: 1.75; }
.faq-a a { color: var(--primary); text-decoration: underline; }


/* ═══ DOWNLOAD CTA ═══ */
#download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #056040 100%);
  text-align: center;
}
.download-inner { max-width: 600px; margin: 0 auto; }
.download-inner h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800; color: #fff;
  margin-bottom: 16px; line-height: 1.25;
}
.download-inner p {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
}
.download-inner .btn-white { margin: 0 auto; display: inline-flex; }


/* ═══ FOOTER ═══ */
#footer {
  background: #111412;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-inner {
  display: flex; gap: 60px;
  margin-bottom: 48px;
}
.footer-brand { flex: 1; }
.footer-brand-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.footer-logo { width: 36px; height: 36px; object-fit: contain; }
.footer-name { font-size: 20px; font-weight: 800; color: #fff; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.7; }

.footer-links { display: flex; gap: 48px; flex-shrink: 0; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 7px;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.3);
}


/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .features-pillars { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-inner { gap: 48px; }
}

@media (max-width: 900px) {
  #hero { flex-direction: column; min-height: auto; padding-top: 96px; text-align: center; }
  .hero-content h1 .accent { display: inline; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-visual { order: -1; }
  .hero-actions { justify-content: center; }
  .hero-stats  { justify-content: center; }

  .privacy-inner { flex-direction: column; gap: 48px; }
  .privacy-visual { width: 100%; max-width: 320px; margin: 0 auto; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-hamburger { display: flex; }

  .features-pillars { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }

  .footer-links  { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .phone-frame { width: 220px; height: 440px; }
  .privacy-badge-stack { gap: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
