/* ===========================================================
   SPOTLESS MIND SOFTWARE — Global Stylesheet
   ===========================================================

   THEME CONFIGURATION
   -------------------
   Change these CSS custom properties to instantly retheme
   the entire website. Every color, font, and spacing value
   flows from these variables.

   =========================================================== */

:root {
  /* --- Primary Accent (change this to retheme) --- */
  --color-primary: #FDE047;
  --color-primary-hover: #FACC15;
  --color-primary-light: #FEF9C3;
  --color-primary-subtle: rgba(253, 224, 71, 0.10);

  /* --- Backgrounds --- */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F5F5;
  --color-bg-dark: #000000;
  --color-bg-dark-alt: #171717;

  /* --- Text --- */
  --color-text: #171717;
  --color-text-muted: #525252;
  --color-text-on-dark: #FFFFFF;
  --color-text-on-dark-muted: #A3A3A3;

  /* --- Borders --- */
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-dark: rgba(255, 255, 255, 0.10);

  /* --- Typography --- */
  --font-display: 'Onest', sans-serif;
  --font-body: 'Onest', sans-serif;
  --font-mono: 'Source Code Pro', ui-monospace, monospace;

  /* --- Layout --- */
  --section-pad: 120px;
  --content-max: 1140px;

  /* --- Title Animation (easily configurable) --- */
  --title-initial-delay: 1.5s;       /* Pause before dissolve starts         */
  --title-fade-out-duration: 1.8s;    /* How long the dissolve takes          */
  --title-invisible-duration: 1.2s;   /* How long the title stays invisible   */
  --title-fade-in-duration: 2s;       /* How long the reappear takes          */
  --title-blur-amount: 12px;          /* Blur intensity during dissolve       */
  --title-stagger: 25ms;              /* Delay between each character         */

  /* --- Scroll Reveal --- */
  --reveal-duration: 0.7s;
  --reveal-distance: 28px;
  --reveal-easing: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ===========================================================
   RESET
   =========================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

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


/* ===========================================================
   TYPOGRAPHY
   =========================================================== */

.heading-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.heading-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-md {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.heading-sm {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.body-lg {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
}


/* ===========================================================
   LAYOUT
   =========================================================== */

.section {
  padding: var(--section-pad) 40px;
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section-dark .color-muted { color: var(--color-text-on-dark-muted); }
.section-light .color-muted { color: var(--color-text-muted); }

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.color-muted { color: var(--color-text-muted); }
.color-primary { color: var(--color-primary); }


/* ===========================================================
   NAVIGATION
   =========================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.nav-logo span {
  /* Hidden on mobile, shown on desktop */
}

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

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}


/* ===========================================================
   BUTTONS
   =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-bg);
  color: var(--color-bg-dark);
  box-shadow: none;
}

.btn-primary:hover {
  background: #F5F5F5;
  box-shadow: none;
}

.btn-secondary {
  background: var(--color-bg-dark);
  color: var(--color-bg);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--color-bg-dark-alt);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  box-shadow: inset 0 0 0 1.5px var(--color-border);
}

.btn-outline:hover {
  box-shadow: inset 0 0 0 1.5px var(--color-text);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-text-on-dark);
  box-shadow: inset 0 0 0 1.5px var(--color-border-dark);
}

.btn-outline-light:hover {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.arrow-icon {
  transition: transform 0.2s ease;
}

.btn:hover .arrow-icon {
  transform: translateX(3px);
}


/* ===========================================================
   HERO — HOMEPAGE
   =========================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 40px 80px;
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-title {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  max-width: 900px;
  color: var(--color-bg-dark);
}

.hero-subtitle {
  position: relative;
  z-index: 1;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--color-text);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ===========================================================
   TITLE ANIMATION (character dissolve/reappear)
   =========================================================== */

.title-word {
  display: inline-block;
  white-space: nowrap;
}

.title-char {
  display: inline-block;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition-property: opacity, filter, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Phase 1: Dissolving out */
.hero-title.dissolving .title-char {
  opacity: 0;
  filter: blur(var(--title-blur-amount));
  transform: translateY(-6px);
  transition-duration: var(--title-fade-out-duration);
  transition-delay: calc(var(--i) * var(--title-stagger));
}

/* Phase 2: Resolving back in */
.hero-title.resolving .title-char {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition-duration: var(--title-fade-in-duration);
  transition-delay: calc(var(--i) * var(--title-stagger));
}


/* ===========================================================
   TICKER / MARQUEE
   =========================================================== */

.ticker {
  overflow: hidden;
  background: var(--color-bg-dark);
  padding: 18px 0;
  white-space: nowrap;
  position: relative;
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}

.ticker-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
  padding: 0 20px;
  flex-shrink: 0;
}

.ticker-dot {
  color: var(--color-primary);
  padding: 0 4px;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* ===========================================================
   PRODUCT CARD (Homepage)
   =========================================================== */

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 56px;
}

.product-card {
  background: var(--color-bg-dark-alt);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  border-color: rgba(247, 201, 72, 0.2);
  box-shadow: 0 0 40px rgba(247, 201, 72, 0.06);
}

.product-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  opacity: 0.06;
  pointer-events: none;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--color-primary-subtle);
  padding: 6px 12px;
  border-radius: 6px;
  width: fit-content;
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.product-card p {
  color: var(--color-text-on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 480px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}


/* ===========================================================
   ABOUT SECTION (Homepage)
   =========================================================== */

.about-content {
  max-width: 640px;
}

.about-content p {
  margin-top: 20px;
  color: var(--color-text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.platforms {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.platform-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}


/* ===========================================================
   HERO — ZAPCAL
   =========================================================== */

.hero-zapcal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-zapcal .product-badge {
  margin-bottom: 20px;
  color: var(--color-bg-dark);
  background: rgba(0, 0, 0, 0.08);
  font-weight: 500;
}

.hero-zapcal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-bg-dark);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero-zapcal-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--color-bg-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.hero-zapcal-desc {
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-text);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.hero-zapcal-trial {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 20px;
  position: relative;
  z-index: 1;
}


/* ===========================================================
   FEATURE SECTIONS (ZapCal)
   =========================================================== */

.feature-section {
  padding: var(--section-pad) 40px;
}

.feature-section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-section.reverse .feature-section-inner {
  direction: rtl;
}

.feature-section.reverse .feature-section-inner > * {
  direction: ltr;
}

.feature-content {
  max-width: 480px;
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: 16px;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.feature-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.section-dark .feature-desc {
  color: var(--color-text-on-dark-muted);
}

.section-light .feature-desc {
  color: var(--color-text-muted);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-list-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
}

.section-dark .feature-list-item {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-on-dark-muted);
}

.section-light .feature-list-item {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}


/* ===========================================================
   FEATURE VISUAL (illustrative CSS mockups)
   =========================================================== */

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-alert {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.mockup-alert-fs {
  background: linear-gradient(135deg, #E8475F 0%, #C2185B 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}

.mockup-alert-fs .mockup-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: white;
  text-align: center;
}

.mockup-alert-fs .mockup-time {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.mockup-alert-fs .mockup-btns {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mockup-alert-fs .mockup-btn {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(4px);
}

.mockup-alert-fs .mockup-btn.primary {
  background: white;
  color: #C2185B;
}

.mockup-banner {
  width: 100%;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.section-dark .mockup-banner {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-border-dark);
}

.mockup-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  border-top-color: transparent;
  flex-shrink: 0;
  animation: ring-spin 2s linear infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.mockup-banner-text .mockup-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-text);
}

.section-dark .mockup-banner-text .mockup-title {
  color: var(--color-text-on-dark);
}

.mockup-banner-text .mockup-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.mockup-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 300px;
}

.mockup-service {
  padding: 14px 16px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  text-align: center;
}

.section-dark .mockup-service {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-on-dark-muted);
  border: 1px solid var(--color-border-dark);
}

.section-light .mockup-service {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.mockup-themes {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  justify-content: center;
}

.mockup-theme-swatch {
  width: 64px;
  height: 80px;
  border-radius: 10px;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.mockup-theme-swatch:hover {
  transform: translateY(-4px);
}


/* ===========================================================
   CTA SECTION
   =========================================================== */

.cta-section {
  padding: var(--section-pad) 40px;
  text-align: center;
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 65%);
  opacity: 0.08;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner p {
  color: var(--color-text-on-dark-muted);
  font-size: 1.1rem;
  margin-top: 16px;
  margin-bottom: 36px;
  line-height: 1.65;
}


/* ===========================================================
   FOOTER
   =========================================================== */

.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark-muted);
  padding: 48px 40px;
  border-top: 1px solid var(--color-border-dark);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-on-dark);
  letter-spacing: -0.02em;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-text-on-dark-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--color-text-on-dark-muted);
  opacity: 0.6;
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-dark);
}


/* ===========================================================
   LEGAL PAGES (Privacy Policy, etc.)
   =========================================================== */

.legal-page {
  padding-top: calc(64px + var(--section-pad));
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  margin-top: 12px;
}

.legal-content {
  margin-top: 48px;
  max-width: 720px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.legal-content p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.legal-content ul {
  margin-bottom: 14px;
  padding-left: 24px;
  list-style: disc;
}

.legal-content li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.legal-content a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.legal-content a:hover {
  color: var(--color-primary-hover);
}

.nav-solid {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--color-border);
}


/* ===========================================================
   SCROLL REVEAL
   =========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--reveal-duration) var(--reveal-easing),
    transform var(--reveal-duration) var(--reveal-easing);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }


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

@media (max-width: 900px) {
  :root {
    --section-pad: 80px;
  }

  .feature-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-section.reverse .feature-section-inner {
    direction: ltr;
  }

  .feature-visual {
    order: -1;
  }
}

@media (max-width: 680px) {
  :root {
    --section-pad: 64px;
  }

  .nav {
    padding: 0 20px;
  }

  .nav-logo span {
    display: none;
  }

  .nav-links {
    gap: 20px;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding: 100px 20px 64px;
  }

  .hero-zapcal {
    padding: 100px 20px 64px;
  }

  .feature-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .product-card {
    padding: 32px;
  }

  .footer {
    padding: 40px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .mockup-services {
    grid-template-columns: 1fr 1fr;
    max-width: 260px;
  }
}
