/* TargApp brand palette */
:root {
  --targapp-blue: #2196F3;
  --targapp-blue-dark: #1976D2;
  --targapp-blue-light: #64B5F6;
  --targapp-purple: #673AB7;
  --targapp-purple-dark: #512DA8;
  --targapp-purple-light: #9575CD;
  --targapp-gray: #454545;
  --targapp-gray-light: #6B7280;
  --targapp-bg: #F8FAFC;
  --targapp-white: #FFFFFF;
  --gradient-brand: linear-gradient(135deg, var(--targapp-blue) 0%, var(--targapp-purple) 100%);
  --shadow-sm: 0 1px 3px rgba(33, 150, 243, 0.08);
  --shadow-md: 0 8px 30px rgba(33, 150, 243, 0.12);
  --shadow-lg: 0 20px 60px rgba(103, 58, 183, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--targapp-gray);
  background: var(--targapp-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--targapp-purple);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--targapp-blue);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(33, 150, 243, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.logo img {
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 1.1rem;
  color: var(--targapp-gray);
}

.logo-text small {
  font-size: 0.7rem;
  color: var(--targapp-gray-light);
  font-weight: 500;
}

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

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--targapp-gray);
}

.nav-desktop a:not(.btn):hover {
  color: var(--targapp-blue);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--targapp-gray);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 4vw 24px;
  background: white;
  border-bottom: 1px solid rgba(33, 150, 243, 0.1);
}

.nav-mobile:not([hidden]) {
  display: flex;
}

.nav-mobile a {
  font-weight: 500;
  color: var(--targapp-gray);
  padding: 8px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

.btn-primary {
  background: var(--gradient-brand);
  color: white !important;
  box-shadow: 0 4px 16px rgba(33, 150, 243, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(103, 58, 183, 0.35);
  color: white;
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-white {
  background: white;
  color: var(--targapp-blue) !important;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  color: var(--targapp-purple) !important;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 48px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(33, 150, 243, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(103, 58, 183, 0.08) 0%, transparent 50%),
    var(--targapp-bg);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(33, 150, 243, 0.1);
  color: var(--targapp-blue-dark);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(33, 150, 243, 0.2);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a2e;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--targapp-gray-light);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #1a1a2e;
  color: white !important;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 170px;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: white;
}

.store-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn small {
  font-size: 0.65rem;
  opacity: 0.8;
}

.store-btn strong {
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat span {
  font-size: 0.85rem;
  color: var(--targapp-gray-light);
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 520px;
}

.phone-mockup {
  width: 300px;
  flex-shrink: 0;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 12px 12px 16px;
  box-shadow: var(--shadow-lg);
}

.phone-notch {
  width: 100px;
  height: 26px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 4px;
}

.phone-screen {
  background: #f5f7fa;
  border-radius: 28px;
  overflow: hidden;
  height: 420px;
}

.app-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1a1a2e;
}

.app-statusbar-signal {
  display: flex;
  color: #1a1a2e;
}

.app-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border-bottom: 1px solid rgba(33, 150, 243, 0.1);
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a1a2e;
}

.app-header-bar img {
  border-radius: 6px;
}

.app-body {
  padding: 16px;
}

.app-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--targapp-gray-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plate-input-demo {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid #1a1a2e;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 52px;
  padding-right: 12px;
}

.eu-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--targapp-blue);
  color: white;
  padding: 8px 6px;
  min-width: 34px;
  align-self: stretch;
}

.eu-stars-svg {
  width: 18px;
  height: 18px;
  color: #FFD700;
}

.eu-code {
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 2px;
}

.plate-text {
  flex: 1;
  padding-left: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #1a1a2e;
  font-family: 'Inter', monospace;
  min-width: 0;
}

.plate-cursor {
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--targapp-blue);
  animation: blink 1s step-end infinite;
}

.plate-cursor.hidden {
  display: none;
}

@keyframes blink {
  50% { opacity: 0; }
}

.app-search-btn {
  width: 100%;
  padding: 11px;
  background: var(--gradient-brand);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 14px;
  cursor: default;
  transition: opacity var(--transition);
}

.app-search-btn.searching {
  opacity: 0.6;
}

.app-stage {
  position: relative;
  height: 228px;
  overflow: hidden;
  contain: layout style;
}

.app-loading,
.app-results {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.app-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--targapp-gray-light);
  font-size: 0.8rem;
  font-weight: 500;
}

.app-stage[data-state="loading"] .app-loading {
  opacity: 1;
  visibility: visible;
}

.app-stage[data-state="results"] .app-results {
  opacity: 1;
  visibility: visible;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(33, 150, 243, 0.15);
  border-top-color: var(--targapp-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.app-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  border-left: 3px solid var(--targapp-blue);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.result-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.result-card:nth-child(even) {
  border-left-color: var(--targapp-purple);
}

.result-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--targapp-gray-light);
  margin-bottom: 2px;
}

.result-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a2e;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--targapp-gray-light);
  font-size: 1.05rem;
}

/* Features */
.features {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: var(--targapp-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(33, 150, 243, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(33, 150, 243, 0.08);
  border-radius: 12px;
  color: var(--targapp-blue);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card:nth-child(even) .feature-icon {
  background: rgba(103, 58, 183, 0.08);
  color: var(--targapp-purple);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--targapp-gray-light);
  line-height: 1.55;
}

/* Steps */
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  counter-reset: none;
}

.step-item {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gradient-brand);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(33, 150, 243, 0.3);
}

.step-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.step-item p {
  font-size: 0.925rem;
  color: var(--targapp-gray-light);
}

/* API Section */
.api-section {
  background: white;
}

.api-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  background: var(--targapp-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(33, 150, 243, 0.1);
}

.badge-api {
  background: rgba(103, 58, 183, 0.1);
  color: var(--targapp-purple-dark);
  border-color: rgba(103, 58, 183, 0.2);
}

.api-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.api-content > p {
  color: var(--targapp-gray-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.api-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-outline {
  background: transparent;
  color: var(--targapp-blue) !important;
  border: 2px solid rgba(33, 150, 243, 0.35);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(33, 150, 243, 0.06);
  color: var(--targapp-purple) !important;
  border-color: var(--targapp-purple);
}

.api-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.api-seo-card {
  padding: 24px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(33, 150, 243, 0.1);
}

.api-seo-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.api-seo-card p {
  font-size: 0.9rem;
  color: var(--targapp-gray-light);
  line-height: 1.55;
}

.api-seo-card code {
  font-size: 0.82rem;
  background: rgba(33, 150, 243, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--targapp-blue-dark);
}

.api-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.api-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--targapp-gray);
}

.api-features svg {
  width: 18px;
  height: 18px;
  color: var(--targapp-blue);
  flex-shrink: 0;
}

.api-code {
  background: #1a1a2e;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-header span:last-child {
  margin-left: auto;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.code-dot:first-child { background: #FF5F57; }
.code-dot:nth-child(2) { background: #FFBD2E; }
.code-dot:nth-child(3) { background: #28CA41; }

.api-code pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
}

.api-code code {
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #E2E8F0;
}

/* API dedicated page */
.api-page .site-header {
  position: fixed;
}

.api-hero {
  padding: calc(var(--header-height) + 48px) 0 64px;
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(103, 58, 183, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(33, 150, 243, 0.08) 0%, transparent 50%),
    var(--targapp-bg);
}

.api-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--targapp-gray-light);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--targapp-blue);
  font-weight: 500;
}

.api-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: #1a1a2e;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.api-hero-lead {
  font-size: 1.1rem;
  color: var(--targapp-gray-light);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 560px;
}

.api-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: 24px;
}

.api-hero-tags li {
  padding: 6px 12px;
  background: white;
  border: 1px solid rgba(33, 150, 243, 0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--targapp-gray);
}

.api-page-section {
  padding: 72px 0;
}

.api-page-alt {
  background: white;
}

.api-data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(33, 150, 243, 0.12);
  box-shadow: var(--shadow-sm);
}

.api-data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.925rem;
}

.api-data-table th,
.api-data-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(33, 150, 243, 0.08);
  vertical-align: top;
}

.api-data-table thead th {
  background: var(--targapp-bg);
  font-weight: 700;
  color: #1a1a2e;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.api-data-table tbody th {
  font-weight: 600;
  color: var(--targapp-blue-dark);
  white-space: nowrap;
}

.api-data-table tbody tr:last-child th,
.api-data-table tbody tr:last-child td {
  border-bottom: none;
}

.api-use-grid,
.api-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.api-use-card,
.api-benefits-grid article {
  padding: 28px;
  background: var(--targapp-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(33, 150, 243, 0.08);
}

.api-page-alt .api-use-card {
  background: var(--targapp-bg);
}

.api-use-card h3,
.api-benefits-grid h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.api-use-card p,
.api-benefits-grid p {
  font-size: 0.925rem;
  color: var(--targapp-gray-light);
  line-height: 1.55;
}

.api-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  counter-reset: api-step;
  margin-bottom: 40px;
}

.api-steps li {
  counter-increment: api-step;
  padding: 24px 20px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(33, 150, 243, 0.1);
  position: relative;
}

.api-steps li::before {
  content: counter(api-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gradient-brand);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  margin-bottom: 14px;
}

.api-steps h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.api-steps p {
  font-size: 0.875rem;
  color: var(--targapp-gray-light);
  line-height: 1.5;
}

.api-steps code {
  font-size: 0.8rem;
  background: rgba(33, 150, 243, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.api-response-block {
  background: #1a1a2e;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.api-response-block h3 {
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.api-response-block pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

.api-response-block code {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #E2E8F0;
}

.faq-item code {
  font-size: 0.85rem;
  background: rgba(33, 150, 243, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--targapp-blue-dark);
}

/* Contact Form */
.contact {
  background: white;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
}

.form-group label span {
  color: var(--targapp-blue);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--targapp-gray);
  background: var(--targapp-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--targapp-blue);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.4em;
}

.form-status.success {
  color: #059669;
}

.form-status.error {
  color: #DC2626;
}

.contact-form.loading #contact-submit {
  opacity: 0.7;
  pointer-events: none;
}

/* CTA Banner */
.cta-banner {
  padding: 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 56px;
  background: var(--gradient-brand);
  border-radius: var(--radius);
  color: white;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-banner p {
  opacity: 0.92;
  max-width: 520px;
}

/* Reviews */
.reviews {
  background: white;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 28px;
  background: var(--targapp-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--targapp-blue);
}

.stars {
  color: #FBBF24;
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--targapp-gray);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.55;
}

.review-card footer {
  font-size: 0.85rem;
  color: var(--targapp-gray-light);
  font-weight: 500;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(33, 150, 243, 0.1);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--targapp-blue);
  transition: transform var(--transition);
}

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

.faq-item summary:hover {
  background: rgba(33, 150, 243, 0.04);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--targapp-gray-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text strong {
  color: white;
}

.footer-brand .logo-text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.site-footer h3 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--targapp-blue-light);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-disclaimer {
  margin-top: 8px;
  font-size: 0.8rem !important;
  opacity: 0.5;
}

/* Animations on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 16px;
    min-height: auto;
  }

  .api-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .api-code {
    order: -1;
  }

  .api-seo-grid {
    grid-template-columns: 1fr;
  }

  .api-hero-grid {
    grid-template-columns: 1fr;
  }

  .api-hero-code {
    order: -1;
  }

  .api-use-grid,
  .api-benefits-grid {
    grid-template-columns: 1fr;
  }

  .api-steps {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .steps-list,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-bottom: 48px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-stats {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Analytics consent banner */
.analytics-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 10000;
  max-width: 560px;
  margin-inline: auto;
  left: 0;
  right: 0;
  padding: 20px;
  background: var(--targapp-white);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: opacity var(--transition), transform var(--transition);
}

.analytics-consent--hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.analytics-consent-inner p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--targapp-gray);
}

.analytics-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}