/* ===================================
   GLOBAL STYLES & RESET
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --primary-color: #2196f3;
  --primary-dark: #1976d2;
  --primary-light: #bbdefb;
  --secondary-color: #9c27b0;
  --accent-color: #4caf50;
  --text-dark: #1a1a1a;
  --text-medium: #333;
  --text-light: #666;
  --text-lighter: #999;
  --bg-white: #ffffff;
  --bg-gray: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);

  /* Typography */
  --font-primary:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

body {
  font-family: var(--font-primary);
  color: var(--text-medium);
  line-height: 1.6;
  background-color: var(--bg-gray);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-xl);
  padding: var(--spacing-sm) 0;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

.logo-text {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
}

.by-uhadi {
  font-size: 11px;
  color: var(--text-lighter);
  margin-top: -4px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-buttons {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  margin-inline-start: auto;
}

/* A longer word ("Iniciar sessão") stays on one line (item 111 landing 5, W3). */
.nav-buttons a {
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-label {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--text-medium);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--text-medium);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu-header {
  position: sticky;
  top: 0;
  background: var(--bg-white);
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  z-index: 1001;
}

.mobile-menu-close {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.close-label {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--text-medium);
}

.close-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.close-icon span {
  position: absolute;
  width: 24px;
  height: 3px;
  background: var(--text-medium);
  border-radius: 2px;
  top: 50%;
  left: 0;
}

.close-icon span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.close-icon span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

.mobile-menu-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.mobile-menu-content a {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: var(--font-weight-medium);
  font-size: 24px;
  padding: var(--spacing-sm) 0;
  transition: color var(--transition-fast);
}

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

.mobile-menu-content a.btn-primary {
  margin-top: var(--spacing-md);
  font-size: 18px;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  padding: 12px 24px;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--bg-white);
  padding: var(--spacing-sm) 0 var(--spacing-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.1;
}

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

.hero-title {
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(90deg, #fff 0%, #a8edea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
  min-height: 36px;
  font-weight: var(--font-weight-medium);
}

.rotating-text {
  animation: fadeIn var(--transition-normal);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}

.hero-description {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  opacity: 0.9;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-sm);
}

/* What is free, in numbers, directly under the buttons (item 166): one row
   with dots between the claims; one claim a line where the buttons stack. */
.hero-free {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0 auto var(--spacing-lg);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.hero-free li + li::before {
  content: '·';
  margin: 0 10px;
}

.hero-badges {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  backdrop-filter: blur(10px);
}

/* ===================================
   SECTIONS
   =================================== */
section {
  padding: var(--spacing-sm) 0 var(--spacing-2xl) 0;
}

.section-title {
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--text-light);
  margin-bottom: var(--spacing-xl);
}

/* ===================================
   DEMO VIDEO SECTION
   =================================== */
.demo-video {
  padding: var(--spacing-sm) 0 var(--spacing-2xl) 0;
  background: var(--bg-gray);
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 33.75%; /* 16:9 aspect ratio scaled down further */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.feature-card {
  background: var(--bg-gray);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===================================
   LANGUAGES SECTION
   =================================== */
.languages {
  background: var(--bg-gray);
}

.languages-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: 0;
}

.language-category {
  background: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.language-category h3 {
  font-size: 20px;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.language-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.language-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
}

.more-languages {
  background: var(--secondary-color);
  color: var(--bg-white);
}

.tech-stack {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
}

.tech-label {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.tech-logos {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.tech-logo {
  background: var(--bg-gray);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-medium);
  font-size: 14px;
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing {
  background: var(--bg-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-sm);
  max-width: 1200px;
  margin: 0 auto var(--spacing-lg);
}

.pricing-card {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  border: 2px solid var(--border-color);
  transition: all var(--transition-normal);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.recommended {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.recommended-badge {
  position: absolute;
  top: -12px;
  inset-inline-end: 20px;
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
}

.pricing-header h3 {
  font-size: 20px;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.price {
  display: flex;
  align-items: baseline;
  margin-bottom: var(--spacing-sm);
}

.currency {
  font-size: 20px;
  color: var(--text-light);
  margin-inline-end: 4px;
}

.amount {
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
}

.period {
  font-size: 14px;
  color: var(--text-light);
  margin-inline-start: 4px;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.pricing-features li {
  padding: 6px 0;
  color: var(--text-medium);
  line-height: 1.5;
  font-size: 14px;
}

.btn-pricing {
  width: 100%;
  text-align: center;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  display: block;
  transition: all var(--transition-fast);
}

.btn-pricing:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

.btn-pricing.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}

.btn-pricing.btn-primary:hover {
  background: var(--primary-dark);
}

.pricing-note {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-md);
  background: var(--primary-light);
  border-radius: var(--radius-md);
  text-align: center;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.how-it-works {
  background: var(--bg-gray);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.step-card {
  background: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  margin: 0 auto var(--spacing-sm);
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.step-card p {
  color: var(--text-light);
}

/* ===================================
   DOWNLOAD SECTION
   =================================== */
/* Grey to alternate with the white Contact section above it — the page's
   section backgrounds alternate white/grey for visual separation. */
.download {
  background: var(--bg-gray);
  text-align: center;
}

.download-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.btn-download {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--text-dark);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  min-width: 200px;
}

.btn-download:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.btn-download.btn-disabled {
  background: var(--text-lighter);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-download.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.download-icon {
  width: 32px;
  height: 32px;
}

.btn-download div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-label {
  font-size: 11px;
  opacity: 0.8;
}

.download-platform {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
}

.guest-mode-cta {
  max-width: 700px;
  margin: var(--spacing-xl) auto 0;
  padding: var(--spacing-md);
  background: var(--primary-light);
  border-radius: var(--radius-md);
}

/* Beta Instructions */
.beta-instructions {
  max-width: 900px;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-lg);
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
}

.beta-instructions h3 {
  font-size: 28px;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
  text-align: center;
}

.beta-intro {
  text-align: center;
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
}

.beta-steps-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.beta-step {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  padding: var(--spacing-md);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.beta-step:hover {
  transform: translateX(8px);
}

/* Right to left (item 111 landing 5b): the nudge goes the reading way. */
[dir='rtl'] .beta-step:hover {
  transform: translateX(-8px);
}

.beta-step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}

.beta-step-content h4 {
  font-size: 18px;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.beta-step-content p {
  color: var(--text-light);
  line-height: 1.6;
}

.beta-step-content a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: var(--font-weight-medium);
}

.beta-note {
  padding: var(--spacing-md);
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: var(--radius-md);
  text-align: center;
}

.beta-note p {
  color: #856404;
  font-size: 15px;
  margin: 0;
}

/* ===================================
   SIGNUP FORM
   =================================== */
.signup-form {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.signup-form h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-submit {
  width: 100%;
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}

.btn-submit:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  color: #666;
  font-size: 14px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--text-dark);
  color: var(--bg-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
  margin-bottom: var(--spacing-sm);
  font-size: 18px;
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: var(--spacing-xs);
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: var(--bg-white);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-links a {
  font-size: 24px;
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-buttons {
    display: none;
  }

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

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

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

  .download-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-download {
    justify-content: center;
  }

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

  .hero-free li + li::before {
    content: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 16px;
  }
}

/* ===================================
   TRUST & SECURITY SECTION
   =================================== */
/* Inherits the global `section` padding (16px top / 64px bottom) — do not add
   a taller override; it stacks with the previous section's bottom padding. */
.trust {
  background: var(--bg-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.trust-card {
  background: var(--bg-gray);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
}

.trust-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.trust-card h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.trust-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-light);
  font-size: 15px;
}

.trust-note a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.trust-note a:hover {
  text-decoration: underline;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
  background: var(--bg-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.about-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: block;
}

.about-photo-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
}

.about-text p {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-link {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
  background: var(--bg-white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  margin-top: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: var(--bg-white);
}

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

.form-field input.field-error,
.form-field textarea.field-error {
  border-color: #e53935;
}

/* Honeypot: visually removed but present for bots */
/* The anti-spam field people never see. Hidden by clipping, not by moving it
   off the page: `left: -9999px` widened a right-to-left document (the Arabic
   page) to about 11 400 px. Readers saw nothing of it, but headless Edge
   then photographed the empty part (2026-11-18; docs/design.md "Pictures"). */
.form-gotcha {
  position: absolute !important;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-submit {
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  font-size: 14px;
  min-height: 20px;
}

.form-status.success {
  color: #2e7d32;
  font-weight: 600;
}
.form-status.error {
  color: #e53935;
  font-weight: 600;
}

.contact-aside h3 {
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-aside p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-aside a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-aside a:hover {
  text-decoration: underline;
}

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

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

/* Store-badge trademark attribution (footer) */
.store-attribution {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  opacity: 0.6;
}

/* Language selector and the "Read this page in …?" bar — generated per
   language (ADR-0006 D10 LP2, LP10); the rules are in docs/design.md.
   Colours are the tokens above: primary, primary-dark, primary-light. */
.lang-menu {
  position: relative;
}
.lang-menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--text-medium);
  font-weight: 500;
}
.lang-menu > summary::-webkit-details-marker {
  display: none;
}
.lang-menu > summary:hover,
.lang-menu[open] > summary {
  color: var(--primary-color);
  background: var(--primary-light);
}
.lang-globe {
  flex: none;
}
.lang-menu-list {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  z-index: 20;
  min-width: 14rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  columns: 1;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.lang-menu-list:has(li:nth-child(11)) {
  columns: 2;
  min-width: 24rem;
}
.lang-menu-list li {
  break-inside: avoid;
}
.lang-menu-list > li > a,
.lang-menu-list > li > span {
  display: block;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  color: var(--text-dark);
  text-decoration: none;
}
.lang-menu-list > li > a:hover {
  color: var(--primary-dark);
  background: var(--primary-light);
}
.lang-menu-list [aria-current='page'] {
  font-weight: 600;
  color: var(--primary-color);
}
/* A machine-translated language says so beside its name (ADR-0006 D7):
   small, our blue, after the name and a little above the line. */
.lang-beta {
  display: inline;
  margin-inline-start: 0.3rem;
  font-size: 0.65em;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  top: -0.45em;
}
/* Beside a Latin name in a heading ("Coordinate"), the mark needs its space
   on both sides: in a right-to-left page the name and the mark form one
   left-to-right run, and a space at the mark's inline start lands on its far
   side, leaving it tight against the name (the Arabic page, 2026-11-18). */
h3 .lang-beta {
  margin-inline: 0.3rem;
}
.lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.lang-list a {
  color: inherit;
}
.lang-list [aria-current='page'] {
  font-weight: 600;
}
.mobile-menu-content .lang-list {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}
.lang-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--primary-light);
  color: var(--text-dark);
  font-size: 0.95rem;
}
.lang-bar a {
  color: var(--primary-dark);
  font-weight: 600;
}
.lang-bar button {
  background: transparent;
  color: var(--text-medium);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 0.25rem 0.8rem;
  cursor: pointer;
  font: inherit;
}
