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

:root {
  --bg: #ffffff;
  --bg2: #f8fafc;
  --bg3: #edf2f7;
  --surface: #ffffff;
  --surface2: #f1f5f9;
  --border: #e2e8f0;
  --border2: #cbd5e1;
  --accent: #2563eb;
  --accent2: #1d4ed8;
  --accent3: #dbeafe;
  --gold: #f5c842;
  --success: #3ecf8e;
  --text: #0f172a;
  --text2: #334155;
  --text3: #64748b;
  --fd: 'DM Sans', sans-serif;
  --ff: 'DM Sans', sans-serif;
  --r: 16px
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--ff);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 700;
}

p {
  font-weight: 400;
}

img {
  max-width: 100%;
  display: block
}

a {
  outline-offset: 2px
}

nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 99px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
}

.nav-logo {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  filter: brightness(0); /* Make white logo dark in light mode */
  max-width: 130px;
}

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

.nav-link {
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  font-weight: 500;
  transition: all .15s
}

.nav-link:hover {
  color: var(--accent);
  background: var(--bg2);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  border: none;
  cursor: pointer;
  font-family: var(--ff)
}

.nav-cta:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.nav-cta.out {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  margin-right: 6px
}

.nav-cta.out:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg2);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 10%, rgba(37, 99, 235, 0.08), transparent 70%);
  pointer-events: none
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent3);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent2);
  margin-bottom: 28px
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent2);
  animation: pulse 2s ease infinite
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(.8)
  }
}

.hero h1 {
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px
}

.hero h1 em {
  font-style: italic;
  color: var(--accent2)
}

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text2);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 40px
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px
}

.btn-h {
  padding: 15px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  font-family: var(--ff);
  border: none;
  cursor: pointer;
  display: inline-block
}

.btn-p {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15)
}

.btn-p:hover {
  background: var(--accent2);
  transform: translateY(-2px)
}

.btn-s {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border2)
}

.btn-s:hover {
  border-color: var(--accent);
  color: var(--accent2)
}

.social {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text3);
  font-size: 13px;
  flex-wrap: wrap;
  justify-content: center
}

.social strong {
  color: var(--text)
}

/* Stats bar */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2)
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 24px
}

.stat-cell {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--border)
}

.stat-cell:last-child {
  border-right: none
}

.stat-num {
  font-family: var(--fd);
  font-size: clamp(26px, 3vw, 38px);
  color: var(--accent2)
}

.stat-lbl {
  font-size: 13px;
  color: var(--text2);
  margin-top: 6px
}

.sec {
  padding: 100px 24px
}

.sec2 {
  padding: 100px 24px;
  background: var(--bg2)
}

.sec-lbl {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent2);
  margin-bottom: 12px
}

.sec-title {
  text-align: center;
  font-family: var(--fd);
  font-weight: 700;
  color: var(--text);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}

.sec-sub {
  text-align: center;
  font-size: 16px;
  color: var(--text2);
  font-weight: 400;
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.6
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.step:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent3);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px
}

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

.step-arrow {
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  font-size: 20px;
  z-index: 2
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto
}

.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.feat:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.feat-icon {
  font-size: 28px;
  margin-bottom: 14px
}

.feat h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 7px
}

.feat p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6
}

.preview-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.preview-phone {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 24px;
  overflow: hidden;
  max-width: 340px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5)
}

.ph-hero {
  background: linear-gradient(135deg, #1a1040, #0d1535);
  padding: 24px 20px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border)
}

.ph-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 10px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15)
}

.ph-name {
  font-family: var(--fd);
  font-size: 18px;
  margin-bottom: 2px
}

.ph-cat {
  font-size: 12px;
  color: var(--text2)
}

.ph-body {
  padding: 20px
}

.rp {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px
}

.rp.sel {
  border-color: var(--accent);
  background: rgba(37, 99, 235, .05)
}

.rp-stars {
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 5px
}

.rp-text {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5
}

.g-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8453c, #c5392f);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px
}

.hero-mockup-wrapper {
  margin-top: 48px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 290px;
  margin: 0 auto;
  background: #000000;
  border: 1px solid var(--border2);
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.15)
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #0a0a12;
  border-radius: 0 0 14px 14px;
  z-index: 2
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg3);
  aspect-ratio: 9/19.5
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* About / analytics section */
.about-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.about-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border2)
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.about-stat-float {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  gap: 22px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.about-stat-float .n {
  font-family: var(--fd);
  font-size: 24px;
  color: var(--accent2)
}

.about-stat-float .l {
  font-size: 11px;
  color: var(--text2);
  margin-top: 2px
}

.about-list {
  list-style: none;
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text2)
}

.about-list li span {
  color: var(--success)
}

/* Screenshot gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 9/16
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s
}

.gallery-item:hover img {
  transform: scale(1.04)
}

/* Logos strip */
.logos-wrap {
  max-width: 1000px;
  margin: 0 auto
}

.logos-lbl {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap
}

.logos-row img {
  height: 28px;
  width: auto;
  filter: grayscale(1);
  opacity: .55;
  transition: opacity .2s
}

.logos-row img:hover {
  opacity: 1
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative
}

.plan.feat2 {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(37, 99, 235, .05), var(--surface))
}

.plan-badge2 {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 99px;
  white-space: nowrap
}

.plan-name {
  font-size: 13px;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 600;
  margin-bottom: 10px
}

.plan-price {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 4px
}

.plan-saved {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  background: rgba(62, 207, 142, .12);
  padding: 3px 9px;
  border-radius: 99px;
  vertical-align: middle
}

.plan-period {
  font-size: 14px;
  color: var(--text2)
}

.plan-div {
  height: 1px;
  background: var(--border);
  margin: 20px 0
}

.pf {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 10px
}

.pf span {
  color: var(--success);
  font-size: 13px;
  flex-shrink: 0
}

.plan-btn2 {
  display: block;
  text-align: center;
  margin-top: 24px;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  font-family: var(--ff);
  cursor: pointer;
  border: none;
  width: 100%
}

.plan-btn2.pp {
  background: var(--accent);
  color: #fff
}

.plan-btn2.pp:hover {
  background: var(--accent2)
}

.plan-btn2.ps {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border2)
}

.plan-btn2.ps:hover {
  border-color: var(--accent)
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 52px auto 0
}

.testi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px
}

.testi-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px
}

.testi-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px
}

.testi-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden
}

.testi-av img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.testi-name {
  font-size: 14px;
  font-weight: 500
}

.testi-biz {
  font-size: 12px;
  color: var(--text3)
}

/* FAQ */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent2);
  flex-shrink: 0;
  transition: transform .2s
}

.faq-item[open] summary::after {
  transform: rotate(45deg)
}

.faq-item p {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .2s
}

.blog-card:hover {
  border-color: var(--border2)
}

.blog-thumb {
  aspect-ratio: 16/10;
  overflow: hidden
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.blog-body {
  padding: 20px 22px 24px
}

.blog-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--accent2);
  margin-bottom: 10px
}

.blog-meta .dash {
  color: var(--text3)
}

.blog-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4
}

.blog-link {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  font-weight: 500
}

.blog-link:hover {
  color: var(--accent2)
}

/* Newsletter */
.news-sec {
  padding: 80px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

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

.news-wrap h2 {
  font-family: var(--fd);
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px
}

.news-wrap p {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 26px
}

.news-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center
}

.news-input {
  flex: 1;
  min-width: 220px;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--text);
  font-family: var(--ff);
  font-size: 14px
}

.news-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px
}

.news-btn {
  padding: 13px 24px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: var(--ff)
}

.news-btn:hover {
  background: var(--accent2)
}

.cta-sec {
  padding: 100px 24px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(168, 85, 247, 0.03));
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  text-align: center
}

.cta-sec h2 {
  font-family: var(--fd);
  font-size: clamp(28px, 4vw, 52px);
  margin-bottom: 16px
}

.cta-sec p {
  font-size: 17px;
  color: var(--text2);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6
}

/* Footer */
footer {
  padding: 64px 40px 28px;
  border-top: 1px solid var(--border)
}

.f-top {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px
}

.f-brand {
  font-family: var(--fd);
  font-size: 20px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center
}

.f-brand span {
  color: var(--accent2)
}

.f-blurb {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 18px
}

.f-social {
  display: flex;
  gap: 10px
}

.f-social a {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  text-decoration: none;
  font-size: 13px
}

.f-social a:hover {
  border-color: var(--accent);
  color: var(--accent2)
}

.f-col h5 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text)
}

.f-col a {
  display: block;
  font-size: 13px;
  color: var(--text3);
  text-decoration: none;
  margin-bottom: 11px
}

.f-col a:hover {
  color: var(--text2)
}

.f-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border)
}

.f-copy {
  font-size: 12px;
  color: var(--text3)
}

.f-legal {
  display: flex;
  gap: 18px
}

.f-legal a {
  font-size: 12px;
  color: var(--text3);
  text-decoration: none
}

.f-legal a:hover {
  color: var(--text2)
}

@media(max-width:900px) {
  nav {
    padding: 0 20px
  }

  .steps-grid,
  .feat-grid,
  .price-grid,
  .testi-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: 1fr
  }

  .preview-wrap,
  .about-wrap {
    grid-template-columns: 1fr
  }

  .step-arrow {
    display: none
  }

  .hero h1 {
    font-size: 38px
  }

  footer {
    padding: 44px 20px 24px
  }

  .phone-frame {
    width: 100%;
    max-width: 290px
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0
  }

  .stat-cell {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .logos-row {
    justify-content: center
  }

  .f-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px
  }
}

/* ===== Legal pages ===== */
.legal-hero {
  padding: 150px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 70%)
}

.legal-hero .sec-lbl {
  margin-bottom: 14px
}

.legal-hero h1 {
  font-family: var(--fd);
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 14px
}

.legal-hero .updated {
  font-size: 13px;
  color: var(--text3)
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 24px 100px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start
}

.legal-toc {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px
}

.legal-toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent2);
  margin-bottom: 14px
}

.legal-toc a {
  display: block;
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  padding: 6px 0;
  line-height: 1.4;
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -11px
}

.legal-toc a:hover {
  color: var(--text);
  border-left-color: var(--accent)
}

.legal-content h2 {
  font-family: var(--fd);
  font-size: 24px;
  margin: 40px 0 14px
}

.legal-content h2:first-child {
  margin-top: 0
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text)
}

.legal-content p {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 14px
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 14px 20px;
  color: var(--text2);
  font-size: 14.5px;
  line-height: 1.8
}

.legal-content li {
  margin-bottom: 6px
}

.legal-content a {
  color: var(--accent2)
}

.legal-content strong {
  color: var(--text)
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 13.5px
}

.legal-content th,
.legal-content td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  color: var(--text2)
}

.legal-content th {
  color: var(--text);
  background: var(--surface)
}

.legal-callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin: 20px 0
}

@media(max-width:800px) {
  .legal-wrap {
    grid-template-columns: 1fr
  }

  .legal-toc {
    position: static;
    margin-bottom: 10px
  }
}

/* ===== Footer legal column ===== */
.f-top.f-top-5 {
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr
}

@media(max-width:900px) {
  .f-top.f-top-5 {
    grid-template-columns: 1fr 1fr
  }
}

/* ===== Cookie consent banner ===== */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.05);
}

#cookie-banner.show {
  display: flex
}

#cookie-banner p {
  font-size: 13.5px;
  color: var(--text2);
  max-width: 560px;
  margin: 0;
  line-height: 1.6
}

#cookie-banner p a {
  color: var(--accent2);
  text-decoration: underline
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--ff)
}

.cookie-btn.accept {
  background: var(--accent);
  color: #fff
}

.cookie-btn.accept:hover {
  background: var(--accent2)
}

.cookie-btn.reject {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text2)
}

.cookie-btn.reject:hover {
  border-color: var(--accent);
  color: var(--text)
}

/* ===== Blog: single post =====
   .post-inner guarantees left/right padding on every post section —
   every section below nests its content inside .post-inner so spacing
   can never be accidentally lost regardless of section-level rules. */
.post-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box
}

.post-inner-narrow {
  max-width: 700px
}

.post-hero {
  padding-top: 126px;
  padding-bottom: 44px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.08), transparent 70%)
}

.post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text2);
  margin-bottom: 24px
}

.post-breadcrumb a {
  color: var(--text2);
  text-decoration: none
}

.post-breadcrumb a:hover {
  color: var(--accent2)
}

.post-breadcrumb span {
  color: var(--text3);
  opacity: .7
}

.post-breadcrumb span:last-child {
  color: var(--accent2);
  opacity: 1;
  font-weight: 500
}

.post-hero .badge {
  margin-bottom: 22px
}

.post-hero h1 {
  font-family: var(--fd);
  font-size: clamp(28px, 4.2vw, 48px);
  margin: 0 auto 22px;
  line-height: 1.25;
  word-wrap: break-word
}

.post-meta {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: var(--text2);
  flex-wrap: wrap;
  row-gap: 8px
}

.post-meta .dash {
  color: var(--text3)
}

.post-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  vertical-align: middle;
  margin-right: 7px;
  flex-shrink: 0
}

.post-cover {
  padding-top: 36px;
  padding-bottom: 0
}

.post-cover-frame {
  border-radius: 20px;
  border: 1px solid var(--border2);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16/9;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35)
}

.post-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.post-body {
  padding-top: 56px;
  padding-bottom: 8px
}

.post-body .legal-content h2 {
  margin-top: 38px;
  font-size: 22px;
  line-height: 1.3
}

.post-body .legal-content p:first-of-type {
  font-size: 16px;
  color: var(--text)
}

.post-body .legal-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap
}

.post-body .legal-content table tr {
  display: table-row
}

.post-body .legal-content table th,
.post-body .legal-content table td {
  white-space: normal
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  margin-bottom: 20px
}

.post-back:hover {
  color: var(--accent2)
}

.post-share-wrap {
  padding-top: 20px;
  padding-bottom: 0
}

.post-share {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px
}

.post-share span {
  font-size: 12px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .8px
}

.post-share-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.post-share-btns a {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  text-decoration: none;
  font-size: 13px;
  flex-shrink: 0;
  transition: all .15s
}

.post-share-btns a:hover {
  border-color: var(--accent);
  color: var(--accent2);
  transform: translateY(-2px)
}

.post-share-btns a[aria-label="Share on WhatsApp"],
.post-share-btns a[aria-label="Copy link"] {
  font-size: 0;
  color: var(--text2);
}

.post-share-btns a[aria-label="Share on WhatsApp"]:hover,
.post-share-btns a[aria-label="Copy link"]:hover {
  color: var(--accent2);
}

.post-share-btns a[aria-label="Share on WhatsApp"]::before,
.post-share-btns a[aria-label="Copy link"]::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.post-share-btns a[aria-label="Share on WhatsApp"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12c0 1.85.5 3.58 1.38 5.07L2 22l5.11-1.34A9.94 9.94 0 0 0 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12c0 1.85.5 3.58 1.38 5.07L2 22l5.11-1.34A9.94 9.94 0 0 0 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2z'/%3E%3C/svg%3E");
}

.post-share-btns a[aria-label="Copy link"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z'/%3E%3C/svg%3E");
}

.post-cta {
  padding-top: 36px;
  padding-bottom: 60px
}

.post-cta-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap
}

.post-cta-box h3 {
  font-family: var(--fd);
  font-size: 20px;
  margin-bottom: 4px
}

.post-cta-box p {
  font-size: 13px;
  color: var(--text2)
}

.post-related {
  padding: 60px 24px 100px;
  background: var(--bg2);
  border-top: 1px solid var(--border)
}

.post-related .sec-title {
  font-size: clamp(22px, 3.5vw, 32px)
}

@media(max-width:700px) {
  .post-inner {
    padding: 0 20px
  }

  .post-hero {
    padding-top: 100px;
    padding-bottom: 32px
  }

  .post-cover {
    padding-top: 26px
  }

  .post-body {
    padding-top: 36px;
    padding-bottom: 4px
  }

  .post-body .legal-content h2 {
    font-size: 20px;
    margin-top: 30px
  }

  .post-share {
    flex-direction: column;
    align-items: flex-start
  }

  .post-cta-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 24px
  }

  .post-cta-box .btn-h {
    width: 100%;
    text-align: center
  }

  .post-related {
    padding: 44px 20px 70px
  }
}

/* ===== Blog: listing page ===== */
.blog-hero {
  padding: 150px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border)
}

.blog-listing {
  padding: 80px 24px 110px;
  box-sizing: border-box
}

.blog-listing .blog-grid {
  max-width: 1100px;
  padding: 0
}

@media(max-width:700px) {
  .blog-listing {
    padding: 48px 20px 70px
  }
}


/* ===== Mobile nav (hamburger) ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  margin: 0 auto
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

@media(max-width:1000px) {
  .nav-toggle {
    display: flex
  }

  .nav-links {
    position: fixed;
    top: 96px;
    left: 20px;
    right: 20px;
    height: auto;
    max-height: calc(100vh - 120px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 24px 24px;
    display: none;
    overflow-y: auto;
    z-index: 99
  }

  .nav-links.open {
    display: flex
  }

  .nav-links .nav-link {
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 15px;
    color: var(--text2)
  }

  .nav-links .nav-link:last-of-type {
    border-bottom: none;
  }

  .nav-links .nav-cta {
    width: 100%;
    text-align: center;
    margin: 8px 0 0
  }

  .nav-links .nav-cta.out {
    margin-right: 0;
    margin-top: 16px
  }
}