/* ==========================================================================
   PIXEL KOLAM — Shared Design System & Stylesheet
   Brand: sky-blue (#0284C7 family) · amber accent (#F59E0B) · navy ink
   Rhythm: 8px base spacing scale · 16px/12px/8px radii · fluid type
   ========================================================================== */

:root {
  /* Brand */
  --primary: #0284C7;
  --primary-dark: #075985;
  --primary-deep: #0369A1;
  --primary-light: #0EA5E9;
  --primary-50: #F0F9FF;
  --primary-100: #E0F2FE;
  --accent: #F59E0B;
  --accent-dark: #D97706;

  /* Surfaces & ink */
  --navy: #0F172A;
  --foreground: #0F172A;
  --muted-foreground: #64748B;
  --background: #FFFFFF;
  --bg-alt: #F5F8FC;
  --bg-tint: #EFF6FB;
  --border: #E2E8F0;
  --destructive: #EF4444;

  /* Typography */
  --font-heading: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Merriweather Sans", ui-sans-serif, system-ui, sans-serif;
  --font-quote: "Merriweather", ui-serif, Georgia, serif;

  /* Type scale */
  --fs-h1: clamp(2.1rem, 4.6vw, 3.6rem);
  --fs-h2: clamp(1.6rem, 2.6vw, 2.4rem);
  --fs-h3: 1.15rem;
  --fs-body: 1rem;
  --fs-sm: 0.95rem;
  --fs-xs: 0.85rem;

  /* Spacing scale (8px base) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;

  /* Radii — one system: cards 16 / controls 12 / inputs 8 / pills full */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Shadows — one system */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 8px 24px -6px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 18px 40px -12px rgba(15, 23, 42, 0.18);

  /* Layout */
  --container-w: 1200px;

  --gradient-brand: linear-gradient(135deg, var(--primary-light), var(--primary-deep));
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--foreground);
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

p {
  text-wrap: pretty;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2.5rem; }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-8) 0;
}

@media (min-width: 1024px) {
  .section { padding: var(--space-12) 0; }
}

.bg-alt { background: var(--bg-alt); }
.bg-white { background: var(--background); }
.section-top-border { border-top: 1px solid var(--border); }

/* ---------- Section headings ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-6);
}

@media (min-width: 1024px) {
  .section-head { margin-bottom: var(--space-8); }
}

.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.section-head p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Text helpers ---------- */
.text-gradient {
  background-image: linear-gradient(92deg, var(--primary-light), var(--primary-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.center { text-align: center; }
.mt-2 { margin-top: var(--space-4); }
.mt-3 { margin-top: var(--space-6); }
.mb-3 { margin-bottom: var(--space-6); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid rgba(2, 132, 199, 0.35);
  outline-offset: 2px;
}

.btn-lg {
  min-height: 3.25rem;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block { width: 100%; white-space: normal; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

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

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--bg-tint);
  border-color: var(--primary-dark);
}

.btn-white {
  background: var(--background);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--bg-tint);
}

/* ==========================================================================
   Badges
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--primary-100), #CFF2FF);
  color: var(--primary-deep);
  border: 1px solid #BAE6FD;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.1);
}

.badge-center {
  display: block;
  width: max-content;
  margin: 0 auto 1.25rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0d0f24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: inline-flex;
  line-height: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-link:hover {
  color: #fff;
}

.nav-link.active {
  color: #fff;
  border-bottom-color: var(--primary-light);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: #fff;
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1.25rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.875rem 0;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu .btn {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0d0f24;
  color: rgba(255, 255, 255, 0.85);
}

.footer-accent {
  height: 6px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-deep), var(--primary-light));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-8) 0 var(--space-6);
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-6);
    align-items: start;
    padding: var(--space-8) 0;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 44px;
  margin-bottom: var(--space-2);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-2);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-3) 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(14, 165, 233, 0.16), rgba(14, 165, 233, 0) 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(2, 132, 199, 0.1), rgba(2, 132, 199, 0) 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F0F7FC 100%);
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 1.5rem;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted-foreground);
  max-width: 540px;
  margin-bottom: 2.25rem;
}

.price-amt {
  color: var(--accent);
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.hero-tagline {
  margin-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-deep);
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.tagline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

/* ---------- Request a Callback form (hero) ---------- */
.callback-wrap {
  display: flex;
  justify-content: center;
}

.callback-card {
  --cb-purple: #4e95e7;
  --cb-purple-dark: #3a7ddb;
  --cb-purple-soft: #A78BFA;
  width: 100%;
  max-width: 500px;
  background: #fff;
  border: 1.5px solid var(--cb-purple-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: 0 20px 40px -14px rgba(87, 11, 114, 0.18);
  text-align: center;
}

.callback-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.callback-subtitle {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-3);
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.callback-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.callback-form input,
.callback-form select,
.callback-form textarea {
  width: 100%;
  background: #F5F7FA;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.callback-form input::placeholder,
.callback-form textarea::placeholder {
  color: var(--muted-foreground);
  font-weight: 600;
}

.callback-form input:focus,
.callback-form select:focus,
.callback-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  background: #fff;
}

.callback-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--foreground);
  margin-bottom: 0.4rem;
}

.callback-form textarea {
  resize: vertical;
  font-family: var(--font-body);
}

.callback-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--cb-purple);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.95rem 1.4rem;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(78, 149, 231, 0.5);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.callback-btn:hover {
  background: var(--cb-purple-dark);
  transform: translateY(-1px);
}

.callback-send {
  flex-shrink: 0;
}

/* ---------- Callback form status message (submission feedback) ---------- */
.callback-status {
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

.callback-status.is-success {
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.callback-status.is-error {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.callback-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* ==========================================================================
   Feature cards ("We Build Your Store")
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: stretch;
}

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Base card system (shared by feature / pricing / contact / process / testimonials) */
.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--primary-100);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.icon-box svg,
.icon-box img {
  width: 24px;
  height: 24px;
}

.icon-box .emoji {
  font-size: 1.5rem;
  line-height: 1;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
}

.card p {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

.card-badge {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--primary-100);
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.7rem;
}

/* ==========================================================================
   6-step process ("Built for Real Businesses")
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

.process-card {
  position: relative;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.25rem 1.75rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-num {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.3);
  z-index: 1;
}

.process-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: var(--space-2);
  color: var(--primary-light);
  display: grid;
  place-items: center;
}

.process-icon svg {
  width: 26px;
  height: 26px;
}

.process-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.process-card p {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
  max-width: 40ch;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: stretch;
}

@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  position: relative;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  color: var(--accent);
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
}

.quote-mark {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-quote);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--primary-light);
  opacity: 0.45;
  user-select: none;
  pointer-events: none;
}

.testimonial blockquote {
  font-family: var(--font-quote);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--foreground);
  line-height: 1.6;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: var(--space-2);
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--primary-100);
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.3;
}

.testimonial-author span {
  display: block;
  color: var(--muted-foreground);
  font-size: var(--fs-xs);
  line-height: 1.4;
}

/* ==========================================================================
   Blog / Resources ("Latest from Pixel Kolam")
   ========================================================================== */
.res-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: stretch;
}

@media (min-width: 768px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .res-grid { grid-template-columns: repeat(3, 1fr); }
}

.res-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.res-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.res-card .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-tint);
}

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

.res-card-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
}

.res-date {
  color: var(--muted-foreground);
  font-size: var(--fs-xs);
  font-family: var(--font-heading);
}

.res-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.res-card-body p {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

.res-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.res-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--primary-100);
  color: var(--primary);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background:
    radial-gradient(900px 420px at 50% -120%, rgba(14, 165, 233, 0.35), rgba(14, 165, 233, 0) 60%),
    radial-gradient(700px 380px at 90% 130%, rgba(2, 132, 199, 0.25), rgba(2, 132, 199, 0) 60%),
    var(--navy);
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: var(--fs-h2);
  font-weight: 700;
  margin-bottom: var(--space-2);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin: 0 auto var(--space-6);
  max-width: 560px;
}

.cta-banner .hero-buttons {
  justify-content: center;
  gap: 1rem;
}

.cta-banner .btn {
  min-width: 0;
  white-space: normal;
}

@media (max-width: 639px) {
  .cta-banner .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-banner .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Subpage hero
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FC 100%);
  padding: 4.5rem 0;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin: 1rem 0 1.1rem;
}

.page-hero p {
  color: var(--muted-foreground);
  font-size: 1.1rem;
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}

.page-hero .hero-buttons {
  justify-content: center;
  margin-top: 1.75rem;
}

.page-hero-img {
  max-width: 900px;
  margin: var(--space-6) auto 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--primary);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.price-period {
  color: var(--muted-foreground);
  font-size: var(--fs-xs);
  margin-bottom: var(--space-2);
}

.plan-desc {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
  margin-bottom: 1.1rem;
}

.plan-limit {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--primary-100);
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.1rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: var(--space-4);
  flex: 1;
}

.pricing-features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

.pricing-features .check {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
}

.plan-plus {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
}

.pricing-card .btn-block {
  margin-top: auto;
  align-self: stretch;
}

.plan-note {
  text-align: center;
  color: var(--muted-foreground);
  font-size: var(--fs-xs);
  margin-top: var(--space-4);
}

/* ==========================================================================
   Forms (start now / contact)
   ========================================================================== */
.form-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .form-card { padding: var(--space-5); }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.form-field label .req {
  color: var(--destructive);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  background: var(--background);
  color: var(--foreground);
  resize: vertical;
}

.form-field input::placeholder,
.form-field select,
.form-field textarea::placeholder {
  color: #94A3B8;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}

.form-checkboxes label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 400;
  font-family: var(--font-body);
}

.form-checkboxes input {
  accent-color: var(--primary);
}

.form-note {
  color: var(--muted-foreground);
  font-size: var(--fs-xs);
  margin-top: 0.5rem;
}

/* ---------- Form submission status message ---------- */
.form-status {
  margin-top: var(--space-2);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

.form-status.is-success {
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.form-status.is-error {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* ---------- Mini steps ("What happens next") ---------- */
.mini-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 640px;
  margin: 0 auto;
}

.mini-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
}

.mini-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.mini-step p {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Contact cards
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: stretch;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact-card .icon-box {
  margin-bottom: 0.5rem;
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

/* ==========================================================================
   Legacy / secondary components (steps, topics, accordion, split)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  text-align: center;
}

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .topic-grid { grid-template-columns: repeat(4, 1fr); }
}

.topic-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: var(--space-3);
  text-align: center;
}

.topic-card .icon-box {
  margin: 0 auto var(--space-2);
}

.topic-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.topic-card p {
  color: var(--muted-foreground);
  font-size: var(--fs-xs);
}

.accordion {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.acc-item {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  color: var(--foreground);
}

.acc-trigger .chev {
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.acc-item.open .chev {
  transform: rotate(45deg);
}

.acc-content {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}

.acc-item.open .acc-content {
  display: block;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: start;
}

@media (min-width: 640px) {
  .split { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}