/* ==========================================================================
   CASHIF LANDING PAGE STYLESHEET
   Vanilla CSS - 12-Column Desktop Grid Architecture
   ========================================================================== */

/* --- 1. LOCAL FONTS (Figtree) --- */
@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/_Xmz-HUzqDCFdgfMsYiV_F7wfS-Bs_d_QF5bwkEU4HTy.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/_Xmz-HUzqDCFdgfMsYiV_F7wfS-Bs_dNQF5bwkEU4HTy.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/_Xmz-HUzqDCFdgfMsYiV_F7wfS-Bs_ehR15bwkEU4HTy.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/_Xmz-HUzqDCFdgfMsYiV_F7wfS-Bs_eYR15bwkEU4HTy.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

/* --- 2. CSS VARIABLES & TOKENS --- */
:root {
  /* Brand Identity Colors (Strict Specification) */
  --color-white: #ffffff;
  /* Beyaz (CMYK: 0, 0, 0, 0 | RGB: #FFFFFF) */
  --color-dark: #0d1428;
  /* Derin Lacivert (CMYK: 90, 80, 60, 70 | RGB: #0D1428) */
  --color-primary: #371aee;
  /* Canlı Çivit Mavisi (CMYK: 84, 78, 0, 0 | RGB: #371AEE) */
  --color-pine: #033c2d;
  /* Koyu Çam Yeşili (CMYK: 90, 50, 75, 60 | RGB: #033C2D) */
  --color-accent: #08deaa;
  /* Nane Yeşili (CMYK: 65, 0, 50, 0 | RGB: #08DEAA) */
  --color-muted: #5b6075;

  /* Typography */
  --font-heading: 'Figtree', sans-serif;
  --font-body: 'Figtree', sans-serif;

  /* 12-Column Desktop Grid Metrics */
  --content-width: 1240px;
  --grid-margin: max(48px, calc((100vw - var(--content-width)) / 2));
  --grid-gap: 24px;

  /* Layout Tokens */
  --header-h: 72px;
  /* Balanced navbar: 48px logo + 2 x 12px padding */
  --space-section: 100px;
  /* Standard vertical section rhythm (tightened from 140px) */
  --space-section-sm: 64px;
  /* Compact sections (tightened from 88px) */
  --radius-lg: 16px;
  /* Large cards */
  --radius-md: 12px;
  /* Small cards */
}

/* --- 3. RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  overflow-x: clip;
  /* iOS Safari ignores body overflow-x; clip keeps sideways-sliding cards from widening the page */
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Universal Card Media (Zero Distortion, Geometric Aspect Ratio Preservation) */
.hero-visual-card img,
.hero-visual-card video,
.showcase-card img,
.showcase-card video,
.story-main-card img,
.story-main-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  display: block;
}

/* 3D compositions sit on a flat card color: contain keeps every object uncropped at any card ratio */
img.media-3d {
  object-fit: contain;
}

picture {
  display: contents;
}

/* Clip card media to the card's rounded corners (picture wrapper breaks radius inheritance) */
.showcase-card,
.story-main-card {
  overflow: hidden;
}

/* Visible keyboard focus: indigo ring on light surfaces, white ring on indigo surfaces */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.platform-section :focus-visible,
.cta-card :focus-visible {
  outline-color: var(--color-white);
}

/* The footer card is #141416: the indigo ring is only ~2.2:1 there, so use the mint accent */
.footer-card :focus-visible {
  outline-color: var(--color-accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* --- 4. GRID SYSTEM & CONTAINERS --- */
.page-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Content Container that anchors precisely to the 12-column grid */
.grid-container {
  width: 100%;
  max-width: 100%;
  padding-left: var(--grid-margin);
  padding-right: var(--grid-margin);
  box-sizing: border-box;
}

/* --- 5. NAVBAR --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1002;
  background-color: var(--color-white);
  border-bottom: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-inner {
  width: 100%;
  padding-left: var(--grid-margin);
  padding-right: var(--grid-margin);
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.brand-logo,
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 136px;
  height: 52px;
  margin-left: -12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1002;
  text-decoration: none;
  cursor: pointer;
  overflow: visible;
}

.brand-logo svg,
.nav-logo svg,
.navbar-animated-logo,
#hover-logo {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
  transform-origin: left center;
}

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

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

/* --- 5a. BUTTON DESIGN SYSTEM & HIERARCHY --- */
.btn-primary,
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  min-height: 38px;
  padding: 8px 18px;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
}

/* 1. Primary Button (Dominant brand action on white / light backgrounds) */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: none;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
  box-shadow: none;
}

.nav-inner .btn-primary {
  min-height: 36px;
  padding: 8px 18px;
  font-size: 15px;
}

/* 2. Accent Button (High-contrast action, primarily on blue #371aee / dark sections) */
.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  box-shadow: none;
}

.btn-accent:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-dark);
  box-shadow: none;
}

/* Specific context: Accent button on Purple/Blue background */
.platform-section .btn-accent {
  background-color: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  box-shadow: none;
}

.platform-section .btn-accent:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-dark);
  box-shadow: none;
}

/* Active tactile feedback for all buttons (no shadows, color shift between identity colors).
   !important is required here: these must beat .platform-section .btn-accent:hover and .nav-links .btn-primary:hover */
.btn-primary:active {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-dark) !important;
  transform: translateY(0) scale(0.98) !important;
  box-shadow: none !important;
}

.btn-accent:active,
.wishlist-btn:active {
  background-color: var(--color-pine) !important;
  border-color: var(--color-pine) !important;
  color: var(--color-white) !important;
  transform: translateY(0) scale(0.98) !important;
  box-shadow: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 8px;
}

.menu-line {
  position: absolute;
  width: 22px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
  transform-origin: center;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.menu-line:first-child {
  transform: translateY(-4px);
}

.menu-line:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] .menu-line:first-child {
  transform: translateY(0) rotate(45deg) scaleY(0.72);
}

.menu-toggle[aria-expanded="true"] .menu-line:last-child {
  transform: translateY(0) rotate(-45deg) scaleY(0.72);
}

/* --- 6. HERO SECTION (12-Column Grid) --- */
.hero-section {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + clamp(80px, 12vh, 140px));
  padding-bottom: clamp(24px, 4vh, 48px);
  box-sizing: border-box;
  overflow: hidden;
}

.hero-grid-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 20px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  flex: 1;
}

/* Left Content Column (Columns 1 to 6) */
.hero-content-col {
  grid-column: 1 / 7;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  height: auto;
  min-height: 0;
  box-sizing: border-box;
  padding-top: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(54px, 4.8vw, 70px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -2.2px;
  color: var(--color-dark);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.hero-title-line {
  display: block;
  text-align: left;
  white-space: nowrap;
}

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

.hero-description {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: var(--color-dark);
  margin-top: 36px;
  margin-bottom: 44px;
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.hero-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-btn {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  min-height: 40px;
}

/* Partners under header content: line - text - line, logos, bottom line */
.hero-partners {
  grid-column: 1 / 5;
  grid-row: 2;
  align-self: end;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
}

.partners-top-line {
  display: flex;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 16px;
  margin-bottom: 22px;
}

.partners-top-line::before,
.partners-top-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(13, 20, 40, 0.18);
}

.partners-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-muted);
  white-space: nowrap;
  padding: 0 4px;
}

.partner-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 0 16px 22px;
  gap: 36px;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
}

.partner-logo-item img {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0);
}

.partners-bottom-line {
  width: 100%;
  height: 1px;
  background-color: rgba(13, 20, 40, 0.18);
}

/* Right Hero Visual Box (Columns 8 to 12, Column 7 is Spacer) */
.hero-visual-card {
  grid-column: 8 / 13;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: transparent;
  background-color: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
  border: none;
  position: relative;
}

.hero-visual-card picture {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.hero-visual-card img,
.hero-image {
  width: auto;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  box-shadow: none;
  filter: none;
  transform: none !important;
  transition: none !important;
  cursor: default;
  pointer-events: auto;
}

.hero-visual-card:hover img,
.hero-image:hover {
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* --- 8. BLUE PLATFORM SECTION (On #371aee Background) --- */
.platform-section {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section-sm);
  position: relative;
  z-index: 2;
  margin-top: 0;
  border-radius: 0;
}

.platform-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto var(--space-section-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.section-h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -2px;
  color: var(--color-white);
}

.section-subtitle {
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
}

/* --- 8b. PLATFORM SPLIT-SCROLL SHOWCASE (Sticky Left Media, Scrolling Right Steps) --- */
.platform-showcase {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  align-items: start;
  width: 100%;
  position: relative;
  margin-bottom: 60px;
}

/* Left Sticky Media Column (Columns 1 to 6) */
.showcase-sticky-col {
  grid-column: 1 / 7;
  position: -webkit-sticky;
  position: sticky;
  top: max(calc(var(--header-h) + 24px), calc(50vh - 240px));
  aspect-ratio: 4 / 3;
  width: 100%;
  max-height: 490px;
  z-index: 5;
}

.showcase-card-stack {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: none;
  background-color: transparent;
}

.showcase-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  box-shadow: none;
}

.showcase-card.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0; /* no box behind the icons any more, so the padding only shrank them */
  box-sizing: border-box;
  display: block;
  filter: none;
}

/* Progress dots: mobile/tablet only (desktop shows the steps side by side) */
.showcase-dots {
  display: none;
}

/* Right Scrolling Steps Column (Columns 8 to 12, Column 7 = gap) */
.showcase-steps-col {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.showcase-step {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  box-sizing: border-box;
  opacity: 0.35;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.showcase-step.active {
  opacity: 1;
  transform: translateY(0);
}

/* Last step is only as tall as the pinned card: the section ends as soon as its text sits beside the card */
.showcase-step:last-of-type {
  min-height: min(490px, 36vw);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--color-white);
}

.feature-body {
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.feature-note {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

/* --- 8c. DYNAMIC MORPHING CURVE DIVIDER (Between Purple and Green Sections) --- */
.curve-divider-wrapper {
  width: 100%;
  height: 60px;
  /* Top half indigo, bottom half mint: the curve never dips below 55%, and the mint half hides the
     anti-aliased bottom edge of the SVG that showed as a thin indigo line on mobile */
  background: linear-gradient(to bottom, var(--color-primary) 56%, var(--color-accent) 56%);
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: -1px;
  margin-bottom: -1px;
  pointer-events: none;
}

.curve-divider-svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 743.98px) {
  .curve-divider-wrapper {
    height: 40px;
  }
}

/* --- 9. GREEN STORIES SECTION (On #08deaa Background) --- */
.stories-green-section {
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-dark);
  padding-top: 32px;
  padding-bottom: 80px;
}

.customer-intro-header {
  grid-column: 1 / 13;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 64px;
}

.customer-intro-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -2px;
  color: var(--color-dark);
}

/* Customer Story Row (12 Columns: 5 cols text + 1 col space + 6 cols media) */
.story-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  align-items: center;
  margin-bottom: 96px;
  width: 100%;
}

.story-row:last-child {
  margin-bottom: 0;
}

.story-col-text {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-heading {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--color-dark);
}

.story-desc {
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

.story-col-media {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* White Story Cards (3D compositions, 2:1) */
.story-main-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-main-card.card-white {
  background-color: transparent;
  box-shadow: none;
}

.story-main-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0; /* no box behind the icons any more, so the padding only shrank them */
  box-sizing: border-box;
  display: block;
  filter: none;
}

/* Reversed Rows: Media on Cols 1-6, Text on Cols 8-12 */
.story-row.reversed .story-col-media {
  grid-column: 1 / 7;
}

.story-row.reversed .story-col-text {
  grid-column: 8 / 13;
}

/* --- 10b. BOTTOM PAGE GROUP (CTA Card + Footer Container) --- */
.bottom-page-group {
  width: 100%;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.cta-section {
  width: 100%;
  background-color: transparent;
  padding-top: 80px;
  padding-bottom: var(--space-section-sm);
  box-sizing: border-box;
}

/* Indigo waitlist card: bookends the indigo hero card */
.cta-card {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  align-items: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 72px 0 72px 72px;
}

.cta-content {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--color-white);
}

.cta-lead {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
}

.cta-form-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  margin-top: 8px;
}

.cta-media {
  grid-column: 8 / 13;
  aspect-ratio: 1 / 1;
  max-height: 440px;
  justify-self: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0; /* no box behind the icons any more, so the padding only shrank them */
  box-sizing: border-box;
  filter: none;
}

/* --- 10c. FAQ ACCORDION (Native details/summary) --- */
.faq-section {
  width: 100%;
  padding-top: var(--space-section-sm);
  padding-bottom: var(--space-section);
}

.faq-inner {
  max-width: 880px;
  margin: 0 auto;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--color-dark);
  margin-bottom: 32px;
}

.faq-list {
  border-top: 1px solid rgba(13, 20, 40, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(13, 20, 40, 0.12);
  overflow: hidden;
  /* clips the answer while main.js animates the height */
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

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

.faq-item summary:hover {
  color: var(--color-primary);
}

/* Plus that turns into a minus when the answer is open */
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(var(--color-white), var(--color-white)) center / 12px 2px no-repeat,
    linear-gradient(var(--color-white), var(--color-white)) center / 2px 12px no-repeat,
    var(--color-primary);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.faq-item p {
  transition: opacity 0.3s ease;
}

.faq-item.is-closing p {
  opacity: 0;
}

.faq-item p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-dark);
  max-width: 720px;
  padding-bottom: 24px;
}

.faq-item p a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- 10d. LEGAL DIALOG (KVKK aydınlatma metni) --- */
html.dialog-open {
  overflow: hidden;
}

.legal-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(85vh, 820px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  color: var(--color-dark);
  box-shadow: 0 24px 80px rgba(13, 20, 40, 0.28);
  overflow: hidden;
}

.legal-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: dialogIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-dialog.is-closing {
  animation: dialogOut 0.2s ease forwards;
}

.legal-dialog::backdrop {
  background: rgba(13, 20, 40, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.legal-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 20px 32px;
  border-bottom: 1px solid rgba(13, 20, 40, 0.1);
}

.legal-dialog-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.legal-dialog-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-dark);
  background: rgba(13, 20, 40, 0.06);
  transition: background-color 0.2s ease;
}

.legal-dialog-close:hover {
  background: rgba(13, 20, 40, 0.12);
}

.legal-dialog-body:focus-visible {
  outline: none;
  /* scroll region receives initial focus; no ring needed */
}

.legal-dialog-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 32px 32px;
}

.legal-dialog-body h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 24px 0 8px;
}

.legal-dialog-body p {
  font-size: 16px;
  line-height: 1.65;
}

.legal-dialog-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-dialog-body .legal-meta {
  color: var(--color-muted);
  font-size: 14px;
  margin-top: 16px;
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dialogOut {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

@media (max-width: 743.98px) {
  .legal-dialog {
    max-height: 88vh;
  }

  .legal-dialog-head {
    padding: 16px 16px 16px 20px;
  }

  .legal-dialog-body {
    padding: 4px 20px 24px;
  }
}

/* --- 11. FOOTER (#1E1E1E Dark Card Container) --- */
.footer-wrapper {
  width: 100%;
  background-color: var(--color-white);
  padding-bottom: 0;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.footer-card {
  width: 100%;
  background-color: #141416;
  color: var(--color-white);
  border-top: none;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding: 64px 64px 56px;
  box-sizing: border-box;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.05);
}

.footer-grid-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  align-items: flex-start;
  width: 100%;
}

/* Left Group (Columns 1 to 6: 6 Columns Width) */
.footer-left-col {
  grid-column: 1 / 7;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-brand-box {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}

.footer-logo-img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(100%) sepia(0%) saturate(100%) hue-rotate(0deg);
  display: block;
  transition: filter 0.2s ease;
}

.footer-brand-link {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.footer-brand-link:hover .footer-logo-img {
  filter: brightness(0) invert(72%) sepia(51%) saturate(2329%) hue-rotate(117deg);
}

.footer-copyright {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

.footer-copyright p {
  margin: 0;
  color: inherit;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 2px;
}

.footer-text-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-text-link:hover {
  color: var(--color-accent);
}

/* Right Group (Columns 7 to 12: 6 Columns Width) */
.footer-right-col {
  grid-column: 7 / 13;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.footer-email-link {
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.75vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--color-white);
  line-height: 1.2;
  transition: color 0.2s ease;
}

.footer-email-link:hover {
  color: var(--color-accent);
}

.footer-tagline {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: var(--color-accent);
}

/* --- 12. RESPONSIVE BREAKPOINTS --- */

/* Tablet & Medium Screens (744px - 1299.98px) - Covers iPad Mini (744px/1133px) & Galaxy Tab S9 (800px/1280px) */
@media (max-width: 1299.98px) {
  :root {
    --header-h: 72px;
    --grid-margin: 32px;
    --content-width: calc(100vw - 64px);
    --space-section: 64px;
    --space-section-sm: 40px;
  }

  /* 1. Header & Tablet/Mobile Navigation Drawer */
  .site-header {
    height: var(--header-h);
  }

  .nav-inner {
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand-logo {
    width: 126px;
    height: 48px;
    margin-left: -11px;
    position: relative;
    z-index: 1002;
  }

  .menu-toggle {
    display: flex;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--header-h) + 24px) var(--grid-margin) 44px;
    border-bottom: none;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
    z-index: 1000;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
  }

  .nav-link {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-dark);
    padding: 10px 16px;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none;
    transition: color 0.2s ease, transform 0.2s ease;
    width: auto;
    text-align: center;
  }

  .nav-link:hover,
  .nav-link:active {
    color: var(--color-primary);
    transform: scale(1.04);
  }

  .nav-links .btn-primary {
    width: 100%;
    max-width: 380px;
    margin-top: auto;
    text-align: center;
    padding: 18px 32px;
    min-height: 58px;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    color: var(--color-white);
    border-radius: 9999px;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  }

  .nav-links .btn-primary:hover,
  .nav-links .btn-primary:focus-visible {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-dark);
    box-shadow: none;
  }

  /* !important is required: it must beat .nav-links .btn-primary:hover (same specificity, declared above) */
  .nav-links .btn-primary:active {
    transform: scale(0.98);
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: var(--color-dark) !important;
    box-shadow: none;
  }

  /* 2. Hero Section */
  .hero-section {
    height: auto;
    max-height: none;
    min-height: auto;
    overflow: visible;
    padding-top: calc(var(--header-h) + clamp(48px, 8vh, 76px));
    padding-bottom: 40px;
  }

  .hero-grid-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr auto;
    column-gap: var(--grid-gap);
    row-gap: 20px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .hero-content-col {
    grid-column: 1 / 7;
    grid-row: 1;
    width: 100%;
    height: auto;
    align-items: flex-start;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(44px, 5.8vw, 68px);
    line-height: 1.04;
    letter-spacing: -2px;
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .hero-title-line {
    white-space: nowrap;
    text-align: left;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.55;
    margin-top: 28px;
    margin-bottom: 36px;
    max-width: 100%;
  }

  .hero-action {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .hero-action .btn-primary {
    width: auto;
    max-width: none;
    padding: 10px 22px;
  }

  .hero-visual-card {
    grid-column: 7 / 13;
    grid-row: 1;
    width: 100%;
    height: auto;
    max-height: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
  }

  .hero-visual-card picture {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }

  .hero-visual-card img,
  .hero-image {
    max-height: 480px;
    max-width: 88%;
    width: auto;
    height: auto;
    object-position: top center;
    padding: 0;
    transform: none !important;
  }

  .hero-partners {
    grid-column: 1 / 5;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 0;
    padding-top: 0;
  }

  /* 4. Platform Showcase (Natural Card-Per-Step Flow) */
  .platform-section {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .platform-header {
    margin: 0 auto 28px;
    gap: 16px;
  }

  .platform-header .section-h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: -1px;
  }

  .platform-header .section-subtitle {
    font-size: 17px;
    max-width: 600px;
    line-height: 1.5;
  }

  .platform-showcase {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
  }

  /* Sticky media on mobile/tablet: the card pins under the header and swaps as steps scroll beneath */
  .showcase-sticky-col {
    position: sticky;
    top: var(--header-h);
    z-index: 5;
    width: 100%;
    max-width: 640px;
    max-height: none;
    aspect-ratio: auto;
    margin: 0 auto;
    padding: 40px 0 36px;
    background-color: var(--color-primary);
    /* masks step text scrolling behind the card */
  }

  /* Seamless mask connecting flush to navbar so scrolling text never peeks above the card */
  .showcase-sticky-col::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 4px;
    background-color: var(--color-primary);
    pointer-events: none;
  }

  /* Soft fade so text passing under the card dissolves instead of being cut off */
  .showcase-sticky-col::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 28px;
    background: linear-gradient(var(--color-primary), rgba(55, 26, 238, 0));
    pointer-events: none;
  }

  .showcase-card-stack {
    height: auto;
    aspect-ratio: 16 / 10;
    max-height: 34vh;
    max-height: 34svh;
    /* svh stays fixed while the iOS toolbar collapses, so the pinned card never resizes mid-scroll */
    margin: 0 auto;
    box-shadow: none;
    background-color: transparent;
  }

  .showcase-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }

  .showcase-dots span {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    transition: width 0.3s ease, background-color 0.3s ease;
  }

  .showcase-dots span.active {
    width: 18px;
    background-color: var(--color-accent);
  }

  .showcase-steps-col {
    grid-column: 1 / -1;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
    padding-left: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .showcase-step {
    /* Text starts right under the pinned card; height just enough for one swap per step */
    min-height: 34vh;
    min-height: 34svh;
    justify-content: flex-start;
    transform: none;
    gap: 12px;
    padding: 20px 0 0;
  }

  .showcase-step:last-of-type {
    min-height: 0;
    padding-bottom: 24px;
  }

  /* Scroll-linked slide (main.js writes transform/opacity every frame), so CSS transitions would only add lag */
  /* Safari may not clip transformed children to a rounded overflow:hidden box; paint containment always does */
  .platform-showcase.is-scrubbing .showcase-card-stack {
    overflow: clip;
    contain: paint;
    isolation: isolate;
  }

  .platform-showcase.is-scrubbing .showcase-card {
    opacity: 1;
    transition: none;
    will-change: transform;
  }

  .platform-showcase.is-scrubbing .showcase-step {
    transition: none;
  }

  .feature-title {
    font-size: clamp(22px, 3.5vw, 28px);
    letter-spacing: -0.8px;
    line-height: 1.25;
  }

  .feature-body {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
  }

  .feature-note {
    font-size: 13px;
  }

  /* 5. Stories & Reading Order */
  .customer-intro-header {
    max-width: 640px;
    margin: 0 auto 36px;
    text-align: center;
  }

  .story-row,
  .story-row.reversed {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 640px;
    margin: 0 auto 56px;
    width: 100%;
  }

  .story-row:last-child {
    margin-bottom: 0;
  }

  .story-row.reversed .story-col-text {
    order: 1;
  }

  .story-row.reversed .story-col-media {
    order: 2;
  }

  .story-col-text,
  .story-col-media {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .story-main-card {
    max-width: 640px;
    margin: 0 auto;
  }

  /* 6. CTA & Footer */
  .cta-card {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 0 40px 48px;
    gap: 8px;
  }

  .cta-media {
    width: min(100%, 360px);
    max-height: 320px;
    align-self: center;
  }

  .stories-green-section {
    padding-bottom: 56px;
  }

  .cta-section {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .footer-card {
    width: 100%;
    padding: 48px 40px 36px;
  }

  .footer-left-col {
    gap: 12px;
  }

  .footer-email-link {
    font-size: clamp(24px, 3.8vw, 34px);
    word-break: normal;
  }
}

/* Mobile Phones (< 744px) - Keeps iPad Mini (744px+) in Tablet Range */
@media (max-width: 743.98px) {
  :root {
    --header-h: 50px;
    --grid-margin: 20px;
    --content-width: calc(100vw - 40px);
  }

  /* 1. Header & Navigation */
  .site-header {
    height: var(--header-h);
  }

  .nav-inner {
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand-logo {
    width: 120px;
    height: 43px;
    margin-left: -10px;
    position: relative;
    z-index: 1002;
    transform: scale(1.08);
    transform-origin: left center;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }

  /* 2. Section Paddings */
  .hero-section {
    height: auto;
    max-height: none;
    min-height: auto;
    overflow: visible;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 36px;
  }

  .platform-section {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .stories-green-section {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .cta-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .cta-card {
    padding: 0 20px 40px;
  }

  .cta-media {
    max-height: 240px;
  }

  .cta-lead {
    font-size: 16px;
  }

  /* 3. Typography & Titles */
  .hero-title {
    font-size: clamp(36px, 10.6vw, 50px);
    letter-spacing: -1.6px;
    line-height: 1.05;
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .section-h1 {
    font-size: clamp(26px, 6.5vw, 34px);
    letter-spacing: -0.8px;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 15px;
    line-height: 1.5;
  }

  .customer-intro-title {
    font-size: clamp(26px, 6.5vw, 34px);
    letter-spacing: -0.8px;
    line-height: 1.25;
  }

  .story-heading {
    font-size: clamp(22px, 5.5vw, 28px);
    letter-spacing: -0.5px;
    line-height: 1.25;
  }

  .story-desc {
    font-size: 15px;
    line-height: 1.5;
  }

  .cta-title {
    font-size: clamp(28px, 7.5vw, 40px);
    letter-spacing: -1px;
    line-height: 1.2;
  }

  .footer-email-link {
    font-size: clamp(18px, 5.6vw, 28px);
    word-break: normal;
  }

  /* 4. Hero Visual Card & Form */
  .hero-grid-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: var(--grid-gap);
    row-gap: 36px;
    width: 100%;
    height: auto;
    max-height: none;
    min-height: auto;
    align-items: flex-start;
  }

  .hero-content-col {
    grid-column: 1 / 7;
    grid-row: 1;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    height: auto;
  }

  .hero-title-line {
    text-align: left;
    white-space: nowrap;
    display: block;
    width: 100%;
  }

  .hero-description {
    font-size: 19px;
    line-height: 1.55;
    margin-top: 28px;
    margin-bottom: 0;
    text-align: left;
    max-width: 100%;
    display: block;
  }

  .hero-action {
    display: none !important;
  }

  .hero-visual-card {
    grid-column: 1 / 7;
    grid-row: 2;
    width: 100%;
    height: auto;
    max-height: none;
    min-height: auto;
    background-color: transparent;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
  }

  .hero-visual-card picture {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .hero-visual-card img,
  .hero-image {
    width: 100%;
    height: auto;
    max-height: none;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
    margin: 0;
    display: block;
    transform: none !important;
  }

  .hero-partners {
    grid-column: 1 / 7;
    grid-row: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 24px;
    padding-top: 0;
  }

  .partner-logo-item img {
    height: 38px;
  }

  /* 6. Platform Showcase on Mobile */
  .platform-header {
    gap: 20px;
    margin: 0 auto 28px;
  }

  .platform-header .btn-accent {
    display: none !important;
  }

  .platform-showcase {
    gap: 32px;
  }

  .showcase-steps-col {
    gap: 0;
  }

  /* 7. Stories Cards & Natural Reading Order */
  .story-row,
  .story-row.reversed {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .story-row.reversed .story-col-text {
    order: 1;
  }

  .story-row.reversed .story-col-media {
    order: 2;
  }

  .story-main-card {
    border-radius: 16px;
  }

  /* 8. Footer Optimization & Touch Targets */
  .footer-card {
    width: 100%;
    padding: 40px 24px 32px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .faq-item summary {
    font-size: 17px;
    padding: 20px 0;
  }

  .faq-item p {
    font-size: 15px;
  }

  .footer-grid-row {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .footer-left-col,
  .footer-right-col {
    width: 100%;
    grid-column: auto;
  }

  .footer-left-col {
    gap: 12px;
  }

  .footer-nav-links {
    gap: 8px;
  }

  .footer-text-link {
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-social-icons {
    gap: 12px;
  }

  .footer-social-link {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Wishlist Form Styles */
.wishlist-form {
  display: flex;
  width: 100%;
  max-width: 560px;
  gap: 8px;
  align-items: center;
}

.wishlist-input {
  flex: 1;
  padding: 16px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--color-white);
  color: var(--color-dark);
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
}

.wishlist-input::placeholder {
  color: var(--color-muted);
}

.wishlist-input:focus {
  border-color: var(--color-accent);
}

/* Keyboard focus ring: mint, so it stays visible on the indigo CTA card (overrides .cta-card :focus-visible) */
.wishlist-input:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.wishlist-btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

.wishlist-form {
  flex-wrap: wrap;
}

.wishlist-consent {
  flex-basis: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  max-width: 560px;
}

.wishlist-consent a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wishlist-consent a:hover {
  color: var(--color-accent);
}

.wishlist-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.wishlist-btn {
  white-space: nowrap;
  cursor: pointer;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 100px;
}

/* Phone: input and button each take a full row, stacked with the 8px gap from .wishlist-form.
   Placed after the base rules above so it wins by source order. The consent row already wraps (flex-basis 100%). */
@media (max-width: 743.98px) {
  .wishlist-input {
    flex: 1 1 100%;
    width: 100%;
  }

  .wishlist-btn {
    width: 100%;
  }
}

/* Input Validation & Feedback: declared after .wishlist-input:focus, so the error border wins at equal specificity */
.wishlist-input.has-error {
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.wishlist-input.has-error:focus {
  border-color: rgba(220, 38, 38, 0.65);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.form-feedback {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-form-wrap .form-feedback.error {
  color: #b42318;
  background: var(--color-white);
  padding: 6px 14px;
  border-radius: 100px;
  animation: gentleFadeSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-feedback.success {
  color: var(--color-dark);
  background: var(--color-accent);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  animation: gentleFadeSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes gentleFadeSlide {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 32px;
  }

  .hero-grid-row {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: 36px;
    gap: 36px;
  }

  .hero-title {
    font-size: clamp(33px, 10.8vw, 46px);
    line-height: 1.06;
    letter-spacing: -1.4px;
    width: 100%;
  }

  .hero-title-line {
    white-space: nowrap;
    display: block;
    width: 100%;
  }

  .hero-description {
    font-size: clamp(18px, 4.8vw, 19.5px);
    line-height: 1.55;
    margin-top: 24px;
    margin-bottom: 0;
    display: block;
  }

  .hero-visual-card {
    width: 100%;
    height: auto;
    max-height: none;
    padding: 0;
    margin: 0;
  }

  .hero-visual-card img,
  .hero-image {
    width: 100%;
    height: auto;
    max-height: none;
    max-width: 100%;
    object-position: center;
    padding: 0;
    margin: 0;
    display: block;
  }

  .stories-green-section {
    padding-bottom: 36px;
  }

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

  .cta-form-wrap .form-feedback.error {
    max-width: 100%;
    border-radius: 12px;
  }
}

/* --- 13b. 4K TELEVISION & ULTRA-WIDE SCREENS (min-width: 1921px) --- */
@media (min-width: 1921px) {
  :root {
    --content-width: min(2400px, 78vw);
    --grid-gap: 36px;
    --header-h: 96px;
    --space-section: 140px;
    --space-section-sm: 80px;
    --radius-lg: 24px;
    --radius-md: 16px;
  }

  /* 1. Header & Navigation */
  .brand-logo {
    width: 180px;
    height: 68px;
    margin-left: -16px;
  }

  .nav-links {
    gap: 40px;
  }

  .nav-links-center {
    gap: 40px;
  }

  .nav-link {
    font-size: 20px;
  }

  .btn-primary {
    font-size: 20px;
    min-height: 52px;
    padding: 12px 28px;
  }

  /* 2. Hero Section */
  .hero-section {
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 60px;
  }

  .hero-grid-row {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    row-gap: 48px;
    height: auto;
    max-height: none;
    align-items: center;
  }

  .hero-content-col {
    grid-column: 1 / 8;
    grid-row: 1;
    width: 100%;
    height: auto;
  }

  .hero-title {
    font-size: clamp(68px, 4.4vw, 110px);
    letter-spacing: -3px;
    line-height: 1.05;
  }

  .hero-description {
    font-size: 24px;
    line-height: 1.6;
    max-width: 720px;
    margin-top: 24px;
    margin-bottom: 36px;
  }

  .hero-action .btn-primary {
    min-height: 58px;
    padding: 14px 38px;
    font-size: 22px;
  }

  .hero-visual-card {
    grid-column: 8 / 13;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-height: 700px;
    height: 100%;
  }

  .hero-visual-card img,
  .hero-image {
    max-height: 700px;
    width: auto;
    object-fit: contain;
    object-position: top center;
  }

  .hero-partners {
    grid-column: 1 / 13;
    grid-row: 2;
    margin-top: 16px;
  }

  .partners-label {
    font-size: 18px;
  }

  .partner-logo-item img {
    height: 52px;
  }

  .partner-logos-row {
    gap: 60px;
    padding: 0 24px 32px;
  }

  /* 3. Platform Showcase */
  .platform-header {
    max-width: 1400px;
    gap: 32px;
  }

  .section-h1 {
    font-size: clamp(52px, 3.8vw, 92px);
    letter-spacing: -2.5px;
    line-height: 1.15;
  }

  .section-subtitle {
    font-size: 28px;
    line-height: 1.5;
    max-width: 1100px;
  }

  .showcase-sticky-col {
    grid-column: 1 / 7;
    position: sticky;
    top: calc(var(--header-h) + 40px);
    max-height: 640px;
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  .showcase-card-stack {
    max-height: 640px;
  }

  .showcase-steps-col {
    grid-column: 8 / 13;
  }

  .showcase-step {
    min-height: 640px;
    gap: 28px;
  }

  .showcase-step:last-of-type {
    min-height: 520px;
  }

  .feature-title {
    font-size: clamp(38px, 2.6vw, 56px);
    letter-spacing: -1.5px;
  }

  .feature-body {
    font-size: 24px;
    line-height: 1.6;
  }

  .feature-note {
    font-size: 18px;
  }

  .curve-divider-wrapper {
    height: 100px;
  }

  /* 4. Green Stories Section */
  .customer-intro-header {
    max-width: 1400px;
    margin: 0 auto 80px;
  }

  .customer-intro-title {
    font-size: clamp(52px, 3.8vw, 88px);
    letter-spacing: -2.5px;
    line-height: 1.15;
  }

  .story-row {
    margin-bottom: 140px;
  }

  .story-heading {
    font-size: clamp(40px, 2.8vw, 64px);
    letter-spacing: -2px;
  }

  .story-desc {
    font-size: 24px;
    line-height: 1.55;
  }

  .story-main-card {
    max-height: 620px;
  }

  /* 5. CTA Section & FAQ */
  .cta-card {
    padding: 96px 0 96px 96px;
  }

  .cta-title {
    font-size: clamp(52px, 3.8vw, 88px);
    letter-spacing: -2.5px;
  }

  .cta-lead {
    font-size: 26px;
    line-height: 1.5;
    max-width: 700px;
  }

  .cta-media {
    max-height: 560px;
  }

  .cta-form-wrap .wishlist-input {
    min-height: 64px;
    font-size: 22px;
    padding: 16px 28px;
  }

  .cta-form-wrap .wishlist-btn {
    min-height: 64px;
    font-size: 22px;
    padding: 16px 40px;
  }

  /* 6. Footer */
  .footer-card {
    padding: 80px 80px 56px;
  }

  .footer-email-link {
    font-size: clamp(38px, 3vw, 64px);
  }

  .footer-social-link {
    font-size: 18px;
  }
}

/* --- 14. REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}