/* VocaMany Website - Professional, accessible, 6+ friendly */
:root {
  --color-primary: #1976D2;
  --color-primary-dark: #1565C0;
  --color-primary-light: #64B5F6;
  --color-accent: #42A5F5;
  --color-bg: #f4f4f5;
  --color-bg-alt: #eef0f2;
  --color-card: #ffffff;
  --color-text: #1e293b;
  --color-text-muted: #465163;
  --color-border: #e2e8f0;
  --color-success: #22c55e;
  --font-sans: 'Lexend', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.06);
  --btn-shadow: 0 3px 4px rgba(0, 0, 0, 0.72);
  --transition: 0.2s ease;
  /* Sticky başlığın blok yüksekliği (örn. nav 64px + alt border ~1px). # ile gelen ilk çizimi + başlıkta .section’un 36px üst iç boşluğu ile hizalı. */
  --header-sticky-offset: 65px;
}

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

html, body {
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/**
 * Yer imi (#how-it-works vb.) + programatik kaydırma: yapışkan header boşluğu.
 * Bunu tek kaynak yapıyoruz; hem hash ile yüklemede hem scrollIntoView’da kullanılır (html scroll-padding ile çift eklenmez).
 */
section.section[id] {
  scroll-margin-top: var(--header-sticky-offset);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

svg {
  max-width: 100%;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-width: 0;
}

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

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  font-family: var(--font-display);
  min-width: 0;
  flex-shrink: 0;
}

.logo-icon {
  height: 36px;
  width: 36px;
  border-radius: 8px;
}

.header .logo {
  isolation: isolate;
}

.header .logo-icon {
  /* Navbar 64px; VM kutusu yazı blokuna yakın ölçek */
  height: 54px;
  width: 54px;
  filter: brightness(0);
}

.header .logo-icon[src$=".svg"] {
  filter: none;
}

.header .logo-img {
  height: 41px;
  width: auto;
  filter: brightness(0);
}

/* Metallic gradient overlay - very subtle */
.header .logo::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}

.logo-img {
  height: 28px;
  width: auto;
}

/* Inline SVG logos: match display font stack */
.logo-img text,
.logo-footer .logo-svg text {
  font-family: var(--font-display);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1e40af;
}

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

.lang-select {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 44px;
  transition: border-color var(--transition), background var(--transition);
}

.lang-btn:hover {
  border-color: #3b82f6;
  background: var(--color-bg-alt);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  padding: 0.5rem 0;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
}

.lang-dropdown[hidden] {
  display: none;
}

.lang-dropdown li {
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.9375rem;
  transition: background var(--transition);
}

.lang-dropdown li:hover {
  background: var(--color-bg-alt);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  padding: 1rem;
  background: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

/* Buttons - Clean two-part design (icon + text) */
.btn {
  display: inline-flex;
  align-items: stretch;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition), opacity var(--transition);
  min-height: 44px;
  overflow: hidden;
  text-decoration: none;
  border: none;
  box-shadow: var(--btn-shadow);
}

.btn:active {
  box-shadow: none;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  min-width: 44px;
  background: #000;
  color: #fff;
  border-radius: 8px 0 0 8px;
}

.btn-icon svg {
  stroke: #fff;
  color: #fff;
}

.btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  flex: 1;
  min-width: 0;
  border-radius: 0 8px 8px 0;
}

.btn-primary .btn-text,
.btn-primary:hover .btn-text,
a.btn-primary .btn-text,
a.btn-primary:hover .btn-text {
  color: white;
}

.btn-primary .btn-text {
  background: #2563eb;
}

.btn-primary:hover .btn-text {
  background: #1d4ed8;
}

.btn-outline {
  border: 1px solid #9ca3af;
  box-shadow: none;
  background: transparent;
}

.btn-outline:active {
  box-shadow: none;
}

.btn-outline .btn-icon {
  color: #fff;
  border-right: 1px solid #9ca3af;
  border-radius: 7px 0 0 7px;
}

.btn-outline .btn-text {
  background: #fff;
  color: #000000;
  border-radius: 0 7px 7px 0;
}

.btn-outline:hover,
a.btn-outline:hover {
  border-color: #6b7280;
}

.btn-outline:hover .btn-icon,
a.btn-outline:hover .btn-icon {
  border-right-color: #6b7280;
  color: #fff;
}

.btn-outline:hover .btn-text,
a.btn-outline:hover .btn-text {
  background: #2563eb;
  color: white;
}

.btn-lg .btn-text {
  padding: 0 1.5rem;
}

.btn-lg {
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 36px 0;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero-content {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    /* Sol: daha geniş carousel | Sağ: metin bloğu */
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  /* DOM sırasında metin önce gelir (erişilebilirlik); görsel sıra carousel sol */
  .hero-visual {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-text {
    grid-column: 2;
    grid-row: 1;
  }
}

/* hero.tagline için tek satır + font: kolona göre sığdırma (CQ); yoksa vw yedeği */
.hero-text {
  min-width: 0;
  container-type: inline-size;
}

.hero-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0;
}

.hero-app-logo {
  flex-shrink: 0;
  width: 80px;
  height: auto;
  padding-top: 16px;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .hero-app-logo {
    width: 100px;
    margin-top: 0.3rem;
  }
}

.hero-title-block {
  min-width: 0;
  flex: 1;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.hero h1::after {
  content: '®';
  font-size: 0.42em;
  font-weight: 400;
  vertical-align: super;
  margin-left: 0.08em;
  opacity: 0.75;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  word-wrap: break-word;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  padding-top: 32px;
  padding-bottom: 20px;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
  }
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
  line-height: 1.3;
  padding-left: 0.4rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-tagline {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.35;
  padding-left: 0.4rem;
  padding-bottom: 0.5rem;
  white-space: nowrap;
  max-width: 100%;
  overflow: visible;
  /* Uzun diller + nowrap: viewport yedeği — dar ekranda sıkı */
  font-size: clamp(0.4375rem, 0.0625rem + 3.5vw, 1.125rem);
}

/* Kolon genişliği (cqi): masaüstü okunabilir punt + mobilde sıkı kural aşağıda */
@supports (font-size: 1cqi) {
  .hero-tagline {
    font-size: clamp(0.4375rem, 0.3125rem + 2.65cqi, 1.125rem);
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-left: 0.3rem;
  align-items: stretch;
}

/*
 * Hero CTAs: önce satırdaki boşluğu doldursunlar (grow), sığmayınca daralsın (shrink).
 * min-width:0 → flex içinde metin sıkışabilsin (aksi halde hemen küçülür / taşır).
 */
.hero-cta .btn {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 210px;
  box-sizing: border-box;
}

.hero-cta .btn .btn-text {
  flex: 1;
  min-width: 0;
}

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

.hero-carousel {
  width: 100%;
  max-width: min(100%, 780px);
  margin: 0 auto;
}

.hero-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 968 / 751;
  max-height: min(84vw, 540px);
  border-radius: 8px;
}

.hero-carousel-stack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-carousel-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: translateX(0);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.hero-carousel-slide.is-visible {
  z-index: 2;
}

.hero-carousel-caption {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0.875rem 0 0;
  padding: 0 0.25rem;
  min-height: 2.75em;
}

@media (min-width: 768px) {
  .hero-carousel-caption {
    font-size: 1rem;
  }
}

.hero-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin-top: 0;
}

.hero-carousel-dot {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: none;
}

.hero-carousel-dot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background: transparent;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-carousel-dot:hover::after {
  background: rgba(99, 102, 241, 0.25);
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.hero-carousel-dot.is-active::after {
  background: var(--color-primary);
  border-color: var(--color-primary-dark);
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
}

/* Hero — küçük ekran: CTA tek satır; carousel taşması */
@media (max-width: 767px) {
  .hero {
    overflow-x: clip;
  }

  .hero-text,
  .hero-visual {
    min-width: 0;
    max-width: 100%;
  }

  .hero-visual {
    overflow: hidden;
  }

  @supports (font-size: 1cqi) {
    .hero-tagline {
      font-size: clamp(0.4375rem, 3.05cqi, 1.125rem);
    }
  }

  .hero-cta {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.4rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .hero-cta .btn.btn-lg {
    flex: 1 1 0;
    min-width: 0;
    font-size: 1rem;
    min-height: 44px;
  }

  .hero-cta .btn .btn-icon {
    width: 40px;
    min-width: 40px;
  }

  .hero-cta .btn .btn-text {
    padding: 0 0.62rem;
    white-space: nowrap;
  }

  .hero-carousel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-carousel-viewport {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    max-height: min(62vw, 380px);
  }

  .hero-carousel-caption {
    overflow-wrap: anywhere;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 400px) {
  .hero-cta .btn.btn-lg {
    font-size: clamp(0.78125rem, 2vw + 0.6875rem, 1rem);
  }
  .hero-cta .btn .btn-icon {
    width: 36px;
    min-width: 36px;
  }
  .hero-cta .btn .btn-text {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}

@media (max-width: 340px) {
  .hero-cta .btn.btn-lg {
    font-size: clamp(0.7rem, 3.9vw + 0.54rem, 0.9375rem);
  }
  .hero-cta .btn .btn-icon {
    width: 34px;
    min-width: 34px;
  }
  .hero-cta .btn .btn-text {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }
}

/* Sections (Purpose, Benefits, How it works, Features, Coming soon, Contact) */
.section {
  padding: 36px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  margin: 0 0 1rem;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Purpose */
.purpose-lead {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.purpose-grid {
  display: grid;
  gap: 1.5rem;
}

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

.purpose-card {
  padding: 1.5rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.purpose-card:hover {
  border-color: var(--color-text-muted);
}

.purpose-icon {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.purpose-icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

.purpose-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.purpose-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
  white-space: pre-line;
}

/* Benefits */
.benefits {
  background: var(--color-bg-alt);
}

.benefits-intro {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin: 0 auto 2rem;
  max-width: 40rem;
  line-height: 1.55;
}

.brand-name-inline {
  font-weight: 700;
  color: inherit;
}

.benefits-emphasis {
  font-weight: 600;
  color: inherit;
}

.benefits-groups {
  max-width: 40rem;
  margin: 0 auto;
}

.benefits-group + .benefits-group {
  margin-top: 1.5rem;
}

.benefits-group-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.benefits-group-header .benefit-icon {
  margin-top: 0.1rem;
}

.benefits-group-title {
  flex: 1;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.35;
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.benefits-group .benefits-list {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 1rem;
}

.benefits-group .benefits-list--bulleted {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0;
}

.benefits-group .benefits-list--bulleted li {
  display: list-item;
  align-items: unset;
  gap: unset;
  padding: 0.4rem 0;
  font-size: 1rem;
  color: var(--color-text);
  margin-left: 2rem;
}

.benefits-group .benefits-list--bulleted:has(> li:only-child) {
  list-style: none;
  padding-left: 0;
}

.benefits-group .benefits-list--bulleted:has(> li:only-child) li {
  display: block;
  margin-left: 0;
}

.benefits-group .benefits-list--bulleted li::marker {
  color: var(--color-text);
}

.benefits-group .benefits-list--bulleted li:first-child {
  padding-top: 0.15rem;
}

.benefit-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(180deg, #1976D2 0%, #374151 100%); */
  background-color: #1976d2;
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* How It Works */
.hiw-group {
  margin-top: 2.5rem;
}

.hiw-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.hiw-group-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-primary, #2563eb);
  flex-shrink: 0;
}

.hiw-group-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.hiw-group-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0.4rem 0 1.25rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hiw-group-title {
    font-size: 1.175rem;
  }
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    align-items: stretch;
  }
}

.step {
  flex: 1;
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  width: 100%;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .step {
    width: auto;
  }
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  border: none;
  color: white;
  background: #1976D2;
  box-shadow: none;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  white-space: pre-line;
  line-height: 1.18;
}

.step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.step-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: var(--color-text-muted);
  opacity: 0.7;
  padding: 0.5rem 0;
  position: relative;
  z-index: 2;
}

.step-arrow .arrow-h {
  display: none;
  width: 90px;
  height: 34px;
}

.step-arrow .arrow-v {
  display: block;
  width: 34px;
  height: 70px;
}

@media (min-width: 768px) {
  .step-arrow {
    padding: 0;
    align-self: flex-start;
    /* margin-top: kartın üstündeki padding (20px) + step-num dairesinin yarısı (20px) - ok SVG yüksekliğinin yarısı (17px) */
    margin-top: 23px;
    margin-left: -40px;
    margin-right: -40px;
  }

  .step-arrow .arrow-h {
    display: block;
  }

  .step-arrow .arrow-v {
    display: none;
  }
}

/* Features */
.features-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-img-wrap {
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  overflow: hidden;
}

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

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1rem 1.25rem 0.35rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 1.25rem 1.25rem;
}

/* Coming Soon */
.coming-soon {
  background: linear-gradient(135deg, #1976D2 0%, #1565c0 40%, #374151 100%);
}

.coming-soon-box {
  text-align: center;
  padding: 2rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.coming-soon-box h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem;
}

.coming-soon-box p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Contact */
.contact-wrapper {
  max-width: 36rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-wrapper {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .contact-form {
    padding-left: 20%;
    padding-right: 20%;
  }
}

@media (min-width: 1100px) {
  .contact-form {
    padding-left: 33.333%;
    padding-right: 33.333%;
  }
}

.contact-grid {
  display: grid;
  gap: 2rem;
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 48rem;
  }
}

.contact-info {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.contact-info span {
  color: var(--color-text-muted);
}

.contact-email {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-primary-dark);
}

.contact-email:hover,
.contact-email:focus-visible {
  color: #104a94;
}

.contact-email:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

.contact-form label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.contact-form label span {
  flex-shrink: 0;
  width: 5rem;
  text-align: left;
}

.contact-form label:has(textarea) {
  align-items: flex-start;
}

.contact-form label:has(textarea) span {
  padding-top: 0.65rem;
}

.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-height: 40px;
  transition: border-color var(--transition);
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 1px rgba(30, 64, 175, 0.2);
}

.contact-form-submit-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

.contact-form-submit-row .contact-form-submit {
  grid-column: 2;
  width: 67.5%;
  justify-self: end;
  min-width: 0;
  align-self: center;
}

/* Contact form: our custom two-part button - fully covers any underlying element */
.contact-form-submit {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  flex-wrap: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 1;
  min-width: 100%;
  align-self: stretch;
}

.contact-form-submit:focus {
  outline: none;
}

.contact-form-submit:active {
  box-shadow: none;
}

/* Ensure single unified button - no separate appearance */
.contact-form-submit .btn-text,
.contact-form-submit .btn-text:hover,
.contact-form-submit .btn-text:focus,
.contact-form-submit .btn-text:active {
  background: #2563eb !important;
  border: none !important;
  box-shadow: none !important;
}

.contact-form-submit:hover .btn-text {
  background: #1d4ed8 !important;
}

.contact-form-submit .btn-icon,
.contact-form-submit .btn-icon:hover,
.contact-form-submit .btn-icon:focus,
.contact-form-submit .btn-icon:active {
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}

.hidden {
  display: none !important;
}

.form-success {
  text-align: center;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
  border-radius: var(--radius);
  font-weight: 500;
  margin-top: 1rem;
}

/* Pricing Page */
.pricing-page {
  padding-bottom: 3rem;
}

/* Privacy / legal pages */
.privacy-page {
  padding-bottom: 3rem;
}

.legal-hero {
  padding: 2.5rem 0 3rem;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-align: center;
}

.legal-meta {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
}

.legal-prose {
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.65;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

.legal-prose p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.legal-prose p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--color-text-muted);
}

.legal-list li {
  margin-bottom: 0.5rem;
}

.legal-links a {
  color: #1976d2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-links a:hover {
  text-decoration-thickness: 2px;
}

.legal-breadcrumb {
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.legal-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-breadcrumb-item:not([aria-current]) a {
  color: #1976d2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-breadcrumb-item:not([aria-current]) a:hover {
  text-decoration-thickness: 2px;
}

.legal-breadcrumb-item + .legal-breadcrumb-item::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--color-border);
  text-decoration: none;
  pointer-events: none;
}

.pricing-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.pricing-hero h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.pricing-lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin: 0;
}

.pricing-cards {
  padding: 2rem 0;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

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

.pricing-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.pricing-card.featured {
  border-color: #1976D2;
  border-width: 2px;
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: #1976d2;
  background-image: none;
  color: white;
  border-radius: 9999px;
}

.card-badge.best {
  background-color: #1976d2;
  background-image: none;
}

.pricing-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0 0.75rem;
  text-align: center;
}

.price {
  text-align: center;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
}

.price-period {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.price-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0 0 1rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.pricing-features li {
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

/* FAQ */
.pricing-faq {
  padding: 3rem 0;
  background: var(--color-bg-alt);
}

.pricing-faq h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 1.5rem;
}

.faq-list {
  max-width: 36rem;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: '+';
  float: right;
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 1.25rem 1rem;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.8);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.logo-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
}

.logo-footer .footer-icon {
  height: 38px;
  width: 38px;
  border-radius: 6px;
}

.logo-footer .footer-icon[src$=".svg"] {
  filter: invert(1);
}

.logo-footer .logo-svg {
  height: 33px;
  width: auto;
  filter: brightness(0) invert(1);
  padding-top: 0.10rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover {
  color: white;
}

.copyright {
  font-size: 0.875rem;
  margin: 0;
}
