/* =========================================================
   Pool IQ — Marketing Website Stylesheet
   Brand palette extracted from the mobile app
   ========================================================= */

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

:root {
  --primary:      #0077B6;
  --primary-dark: #005F94;
  --primary-light:#E6F3FA;
  --accent:       #00C2C7;
  --accent-dark:  #00A0A5;
  --dark:         #0D1B2A;
  --dark2:        #112236;
  --text:         #1A2F42;
  --text-muted:   #4A6A7F;
  --bg:           #F0F8FF;
  --surface:      #FFFFFF;
  --border:       #C5DFF0;
  --success:      #10B981;
  --warning:      #F59E0B;
  --danger:       #EF4444;
  --radius:       8px;
  --radius-lg:    12px;
  --shadow-sm:    0 1px 6px rgba(13,27,42,.08);
  --shadow:       0 8px 24px rgba(13,27,42,.10);
  --shadow-lg:    0 18px 45px rgba(13,27,42,.16);
  --transition:   .22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
section[id] { scroll-margin-top: 86px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: .75rem auto 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,119,182,.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,119,182,.4); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,194,199,.35);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: .85rem 0;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  padding: 3px;
}
.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  padding: .45rem .85rem;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, #0b1826 0%, #0c2740 55%, #0e3a5d 100%);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(0,194,199,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0,119,182,.18) 0%, transparent 60%);
  pointer-events: none;
}

/* grid dots */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,194,199,.15);
  border: 1px solid rgba(0,194,199,.35);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255,255,255,.76);
  font-size: 1.15rem;
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.58);
  margin-top: .15rem;
  max-width: 120px;
  line-height: 1.35;
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrapper {
  position: relative;
  width: 260px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.5));
}

.phone-frame {
  width: 260px;
  height: 540px;
  background: #111;
  border-radius: 40px;
  padding: 12px;
  border: 3px solid #333;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--dark);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

/* Real app screenshot filling the phone frame */
.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Simulated app UI inside phone */
.phone-ui {
  padding: 14px 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: rgba(255,255,255,.6);
  padding-bottom: 6px;
}

.phone-header {
  background: #112236;
  border-radius: 12px;
  padding: 10px 12px;
}
.phone-header-title {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.phone-header-sub {
  font-size: 9px;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}

.phone-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.phone-stat-card {
  background: #112236;
  border-radius: 10px;
  padding: 8px 10px;
}
.phone-stat-num {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.phone-stat-lbl { font-size: 8px; color: rgba(255,255,255,.4); margin-top: 3px; }
.phone-stat-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 700;
}

.phone-client-list { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.phone-client-row {
  background: #112236;
  border-radius: 8px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.phone-avatar {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.phone-client-name { font-size: 9px; font-weight: 700; color: #fff; }
.phone-client-addr { font-size: 7.5px; color: rgba(255,255,255,.4); }

.phone-tab-bar {
  background: #112236;
  border-radius: 14px;
  display: flex;
  padding: 6px;
  gap: 2px;
}
.phone-tab {
  flex: 1;
  text-align: center;
  padding: 5px 2px;
  border-radius: 9px;
  font-size: 7px;
  font-weight: 600;
  color: rgba(255,255,255,.35);
}
.phone-tab.active {
  background: var(--primary);
  color: #fff;
}

/* Floating badges around phone */
.phone-badge {
  position: absolute;
  z-index: 3;
  background: var(--surface);
  border-radius: 10px;
  padding: .5rem .85rem;
  border: 1px solid rgba(13,27,42,.08);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.phone-badge-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 900;
}
.phone-badge-text { font-size: .78rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.phone-badge-sub  { font-size: .68rem; color: var(--text-muted); }

.badge-top-right {
  top: 20px;
  right: -18px;
  animation-delay: 0s;
}
.badge-mid-left {
  top: 50%;
  left: -48px;
  transform: translateY(-50%);
  animation-delay: -2s;
}
.badge-bottom-right {
  bottom: 40px;
  right: -20px;
  animation-delay: -1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.badge-mid-left { animation: floatLeft 4s ease-in-out infinite -2s; }
@keyframes floatLeft {
  0%, 100% { transform: translateY(-50%); }
  50%       { transform: translateY(calc(-50% - 8px)); }
}

/* ── Stats bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item { border-right: 1px solid rgba(255,255,255,.08); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin: .5rem auto 0;
  max-width: 210px;
  line-height: 1.45;
}

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: 6rem 0;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  border: 1px solid rgba(0,119,182,.16);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,119,182,.10), rgba(0,194,199,.14));
  border: 1px solid rgba(0,119,182,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon::before {
  content: attr(data-icon);
  color: var(--primary-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
}
.feature-card h3 { margin-bottom: .5rem; color: var(--dark); }
.feature-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ── AI Intelligence section ──────────────────────────────── */
.ai-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%);
}
.ai-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.ai-tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.ai-tier-premium-card { border-color: var(--primary); box-shadow: 0 10px 32px rgba(0,119,182,.16); }
.ai-tier-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 50px; margin-bottom: .8rem;
}
.ai-tier-standard { background: var(--primary-light); color: var(--primary-dark); }
.ai-tier-premium  { background: var(--primary); color: #fff; }
.ai-tier h4 { color: var(--dark); font-size: 1.05rem; margin-bottom: .4rem; }
.ai-tier p  { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }
@media (max-width: 768px) { .ai-tiers { grid-template-columns: 1fr; } }

/* ── How it works ─────────────────────────────────────────── */
.how-it-works {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--dark) 0%, #0a2540 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,194,199,.08) 0%, transparent 70%);
  pointer-events: none;
}

.how-it-works .section-header h2 { color: #fff; }
.how-it-works .section-header p  { color: rgba(255,255,255,.55); }
.how-it-works .label              { color: var(--accent); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: .35;
}

.step-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}
.step-card:hover { background: rgba(255,255,255,.09); border-color: rgba(0,194,199,.3); }

.step-num {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,194,199,.3);
}

.step-card h3 { font-size: 1rem; color: #fff; margin-bottom: .5rem; }
.step-card p  { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; }

/* ── App Screenshots ──────────────────────────────────────── */
.screenshots {
  padding: 6rem 0;
  background: var(--bg);
  overflow: hidden;
}

.screenshots-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
}

.screenshots-intro h2 { color: var(--dark); margin-bottom: .75rem; }
.screenshots-intro p  { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; }

.feature-list { display: flex; flex-direction: column; gap: .75rem; }
.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.feature-check {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-list-item p { font-size: .92rem; color: var(--text-muted); }
.feature-list-item strong { color: var(--text); }

/* Multi-phone display */
.phone-gallery {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
}

.phone-gallery .phone-wrapper { width: 200px; }
.phone-gallery .phone-frame { width: 200px; height: 420px; }
.phone-gallery .phone-wrapper:nth-child(2) { margin-bottom: 2rem; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(150deg, #0b1826 0%, #0d2438 100%);
}

.testimonials .section-header h2 { color: #fff; }
.testimonials .section-header p  { color: rgba(255,255,255,.5); }
.testimonials .label              { color: var(--accent); }

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

.testimonial-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,.08); border-color: rgba(0,194,199,.25); }

.proof-card h3 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: .75rem;
}

.proof-kicker {
  display: inline-flex;
  color: var(--accent);
  background: rgba(0,194,199,.12);
  border: 1px solid rgba(0,194,199,.24);
  border-radius: 999px;
  padding: .28rem .65rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.testimonial-stars { color: #FCD34D; font-size: 1rem; letter-spacing: .05em; margin-bottom: 1rem; }
.testimonial-text {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 0;
}

.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.author-name  { font-size: .9rem; font-weight: 700; color: #fff; }
.author-title { font-size: .78rem; color: rgba(255,255,255,.4); }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.pricing-toggle-label { font-size: .95rem; font-weight: 600; color: var(--text-muted); }
.pricing-toggle-label.active { color: var(--text); }

.toggle-switch {
  position: relative;
  width: 52px; height: 28px;
  background: var(--primary);
  border-radius: 14px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition);
}
.toggle-switch.annual::after { transform: translateX(24px); }

.save-badge {
  background: var(--success);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 5px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,119,182,.1), var(--shadow);
  transform: scale(1.02);
}
.pricing-card.popular:hover { transform: scale(1.02) translateY(-4px); }

.popular-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,119,182,.10), rgba(16,185,129,.12));
  border: 1px solid rgba(0,119,182,.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.plan-icon::before {
  content: attr(data-plan);
  color: var(--primary-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plan-name { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: .25rem; }
.plan-desc { font-size: .82rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.5; }

.plan-price { display: flex; align-items: flex-end; gap: .2rem; margin-bottom: .25rem; }
.price-amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -.03em;
}
.price-dollar { font-size: 1.2rem; font-weight: 700; color: var(--text-muted); margin-bottom: .3rem; }
.price-period { font-size: .82rem; color: var(--text-muted); margin-bottom: .25rem; }
.price-free   { font-size: 2rem; font-weight: 900; color: var(--success); letter-spacing: -.02em; }

.plan-limits {
  background: var(--bg);
  border-radius: 10px;
  padding: .75rem 1rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.plan-limit-row {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
}
.plan-limit-key  { color: var(--text-muted); }
.plan-limit-val  { font-weight: 700; color: var(--text); }

.plan-features { flex: 1; margin-bottom: 1.5rem; }
.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: var(--text-muted);
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
}
.plan-feature:last-child { border-bottom: none; }
.plan-feature-check { color: var(--success); font-size: .9rem; flex-shrink: 0; }

.pricing-card .btn { width: 100%; justify-content: center; margin-top: auto; }

.pricing-more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pricing-more-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}
.pricing-more-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.pricing-more-left { display: flex; flex-direction: column; gap: .2rem; }
.pricing-more-name { font-size: .95rem; font-weight: 800; color: var(--dark); }
.pricing-more-price { font-size: .85rem; color: var(--text-muted); }
.pricing-more-price strong { color: var(--primary); font-size: 1rem; }
.pricing-more-desc { font-size: .8rem; color: var(--text-muted); max-width: 220px; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,255,255,.08) 0%, transparent 70%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 500px; margin: 0 auto 2rem; }
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── App availability ─────────────────────────────────────── */
.app-availability {
  padding: 4rem 0;
  background: var(--surface);
}
.app-availability .container {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 2rem;
}
.app-availability h2 {
  color: var(--dark);
  margin-bottom: .75rem;
}
.app-availability p {
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
}
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: flex-end;
}
.store-button {
  min-width: 170px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: .8rem 1rem;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-button small {
  color: rgba(255,255,255,.58);
  font-size: .7rem;
  margin-bottom: .15rem;
}
.store-button strong {
  color: #fff;
  font-size: .95rem;
}

@media (max-width: 768px) {
  .app-availability .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-availability p {
    margin: 0 auto;
  }
  .store-buttons {
    justify-content: center;
  }
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255,255,255,.45);
  font-size: .875rem;
  line-height: 1.7;
  margin: .75rem 0 1.25rem;
  max-width: 280px;
}

.footer-col h4 {
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.45);
  font-size: .875rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .82rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,.3); font-size: .82rem; transition: var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,.7); }

/* ── Pricing page specific ────────────────────────────────── */
.pricing-hero {
  background: linear-gradient(150deg, var(--dark) 0%, #0a2540 100%);
  padding: 4.5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,194,199,.1) 0%, transparent 70%);
}
.pricing-hero .container { position: relative; z-index: 1; }
.pricing-hero h1 { color: #fff; margin-bottom: .75rem; }
.pricing-hero p  { color: rgba(255,255,255,.65); font-size: 1.1rem; max-width: 520px; margin: 0 auto; }

/* Comparison table */
.comparison-section { padding: 5rem 0; background: var(--bg); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: .875rem; }

.comparison-table th,
.comparison-table td {
  padding: .85rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comparison-table th:first-child,
.comparison-table td:first-child { text-align: left; }

.comparison-table thead tr {
  background: var(--dark);
}
.comparison-table thead th { color: rgba(255,255,255,.9); font-weight: 700; font-size: .82rem; letter-spacing: .04em; }
.comparison-table thead th:first-child { color: #fff; border-radius: var(--radius) 0 0 0; }
.comparison-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }

.comparison-table tbody tr:hover { background: var(--primary-light); }
.comparison-table tbody td { color: var(--text-muted); }
.comparison-table tbody td:first-child { color: var(--text); font-weight: 600; }

.check-yes { color: var(--success); font-size: 1.1rem; }
.check-no  { color: var(--border); font-size: 1.1rem; }
.check-num { color: var(--primary); font-weight: 700; }

/* FAQ */
.faq-section { padding: 5rem 0; background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 860px; margin: 0 auto; }

.faq-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.faq-question h4 { font-size: .95rem; color: var(--dark); }
.faq-toggle { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; transition: var(--transition); }
.faq-answer { font-size: .875rem; color: var(--text-muted); line-height: 1.7; margin-top: .75rem; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ── Real screenshot gallery ──────────────────────────────── */
.screenshot-gallery {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.1rem;
}

.screenshot-phone {
  position: relative;
  flex-shrink: 0;
  background: #111827;
  border: 2px solid #1f2937;
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 22px 52px rgba(13,27,42,.24);
}

.screenshot-phone img {
  width: 188px;
  border-radius: 26px;
  box-shadow: none;
  display: block;
}

.screenshot-phone.center img {
  width: 208px;
}

.screenshot-phone.center {
  margin-bottom: 1.5rem;
  box-shadow: 0 30px 64px rgba(0,119,182,.28);
}

@media (max-width: 768px) {
  .screenshot-gallery {
    justify-content: flex-start;
    overflow-x: auto;
    padding: .5rem 0 1.25rem;
    scroll-snap-type: x mandatory;
  }
  .screenshot-phone {
    scroll-snap-align: center;
  }
  .screenshot-phone img { width: 156px; }
  .screenshot-phone.center {
    margin-bottom: 0;
  }
  .screenshot-phone.center img { width: 172px; }
}

/* ── Feature showcase (alternating screenshot rows) ─────────── */
.showcase {
  padding: 6rem 0;
  background: var(--surface);
}
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse .showcase-text   { order: 2; }
.showcase-row.reverse .showcase-visual { order: 1; }

.showcase-text .label { color: var(--accent); }
.showcase-text h2 {
  color: var(--dark);
  margin: .5rem 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.showcase-text > p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.showcase-visual { display: flex; justify-content: center; }
.showcase-phone {
  position: relative;
  width: 280px;
  padding: 10px;
  background: #111;
  border-radius: 38px;
  border: 3px solid #333;
  box-shadow: 0 30px 70px rgba(0,119,182,.22);
}
.showcase-phone img {
  width: 100%;
  border-radius: 30px;
  display: block;
}

@media (max-width: 768px) {
  .showcase { padding: 4rem 0; }
  .showcase-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: center;
  }
  .showcase-row.reverse .showcase-text   { order: 2; }
  .showcase-row.reverse .showcase-visual { order: 1; }
  .showcase-text .feature-list { text-align: left; max-width: 420px; margin: 0 auto; }
  .showcase-phone { width: 240px; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps-grid      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .pricing-grid    { grid-template-columns: repeat(2, 1fr); }
  .pricing-more    { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .faq-grid        { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,.06);
  }
}

@media (max-width: 768px) {
  .hero .container  { grid-template-columns: 1fr; }
  .hero-visual      { display: none; }
  .hero             { padding: 5rem 0 4rem; text-align: center; }
  .hero p           { max-width: 100%; }
  .hero-cta         { justify-content: center; }
  .hero-stats       { justify-content: center; }

  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item            { border-right: none; padding: .5rem; }

  .features-grid    { grid-template-columns: 1fr; }
  .steps-grid       { grid-template-columns: 1fr; }
  .screenshots-intro { grid-template-columns: 1fr; }
  .phone-gallery    { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid     { grid-template-columns: 1fr; }
  .pricing-more     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .footer-bottom    { flex-direction: column; text-align: center; }

}

/* ── Responsive Improvements ─────────────────────────────── */

/* Nav: compact on medium-large screens so items don't crowd */
@media (min-width: 1121px) and (max-width: 1380px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: .4rem .55rem; font-size: .85rem; }
  .nav-cta { gap: .5rem; }
  .nav-cta .btn-sm { padding: .45rem .9rem; font-size: .82rem; }
}

/* Mobile nav dropdown: better spacing, z-index, and CTA injection */
@media (max-width: 1120px) {
  .navbar .container { position: relative; }

  .nav-links.open {
    z-index: 99;
    padding: .75rem 1rem 1.25rem;
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
    gap: .15rem;
  }
  .nav-links.open > a {
    padding: .7rem .85rem;
    font-size: .95rem;
    width: 100%;
  }
  /* CTA buttons injected by JS into mobile menu */
  .nav-mobile-cta {
    display: none;
  }
  .nav-links.open .nav-mobile-cta {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    padding-top: .85rem;
    margin-top: .35rem;
    border-top: 1px solid rgba(255,255,255,.09);
  }
  .nav-links.open .nav-mobile-cta .btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
}

/* Small screens: tighter container padding */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
}

/* Hero: better layout on tablets before it stacks */
@media (min-width: 769px) and (max-width: 1060px) {
  .hero .container { gap: 2rem; }
  .hero p { font-size: 1.05rem; }
  .phone-wrapper { width: 225px; }
  .phone-frame { width: 225px; height: 468px; }
  /* Prevent floating badges from overflowing container */
  .badge-top-right    { right: -10px; }
  .badge-bottom-right { right: -10px; }
  .badge-mid-left     { left: -28px; }
}

/* Hide hero badges entirely on smaller tablets where they clip */
@media (min-width: 769px) and (max-width: 900px) {
  .phone-badge { display: none; }
}

/* Stats bar: restore dividers in 2-column layout */
@media (max-width: 768px) {
  .stats-bar .container { gap: .5rem; }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(even) { border-right: none; }
}

/* Screenshots: let gallery scroll freely + hide scrollbar */
@media (max-width: 768px) {
  .screenshots { overflow: visible; }
  .screenshot-gallery {
    gap: .75rem;
    padding-bottom: 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .screenshot-gallery::-webkit-scrollbar { display: none; }
  .screenshot-phone img { width: 148px; }
  .screenshot-phone.center img { width: 162px; }
}

/* Showcase rows: narrower gap on tablets */
@media (min-width: 769px) and (max-width: 960px) {
  .showcase-row { gap: 2rem; }
  .showcase-phone { width: 230px; }
}

/* Pricing cards: tighter padding on tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .pricing-grid { gap: 1rem; }
  .pricing-card { padding: 1.5rem 1.25rem; }
  .pricing-more { gap: 1rem; }
}

/* Footer: 3-column on medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-grid .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Testimonials / proof cards: 2-col on medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hero stats: wrap gracefully on small phones */
@media (max-width: 380px) {
  .hero-stats { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* Showcase: center phone on mobile + full-width text */
@media (max-width: 768px) {
  .showcase-visual { align-self: center; }
  .showcase-phone { width: 220px; margin: 0 auto; }
  .showcase-text h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
}

/* CTA banner: stack buttons on small screens */
@media (max-width: 480px) {
  .cta-banner-btns {
    flex-direction: column;
    align-items: center;
  }
  .cta-banner-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* Pricing hero: tighter on mobile */
@media (max-width: 768px) {
  .pricing-hero { padding: 3rem 0 2.5rem; }
  .pricing-hero p { font-size: 1rem; }
}

/* ── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.hidden { display: none; }

/* Scroll-reveal: content stays visible if JS or anchor jumps skip the observer. */
.reveal { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Cookie consent ───────────────────────────────────────── */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 300;
  width: min(780px, calc(100% - 32px));
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid rgba(13,27,42,.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(13,27,42,.24);
  padding: 1rem;
  display: none;
  gap: 1rem;
  align-items: flex-end;
}
.cookie-consent.show { display: flex; }
.cookie-copy { flex: 1; }
.cookie-copy strong {
  display: block;
  color: var(--dark);
  font-size: .95rem;
  margin-bottom: .2rem;
}
.cookie-copy p {
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.55;
}
.cookie-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem;
  margin-top: .85rem;
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem;
  background: var(--bg);
}
.cookie-option input { margin-top: .2rem; }
.cookie-option b {
  display: block;
  color: var(--dark);
  font-size: .78rem;
}
.cookie-option small {
  display: block;
  color: var(--text-muted);
  font-size: .72rem;
  line-height: 1.4;
  margin-top: .1rem;
}
.cookie-option.locked { opacity: .82; }
.cookie-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-actions .btn {
  min-height: 38px;
  padding: .55rem .9rem;
  font-size: .82rem;
}

@media (max-width: 640px) {
  .cookie-consent {
    align-items: stretch;
    flex-direction: column;
  }
  .cookie-options {
    grid-template-columns: 1fr;
  }
  .cookie-actions {
    justify-content: stretch;
  }
  .cookie-actions .btn {
    flex: 1;
    justify-content: center;
  }
}
