:root {
  --yellow: #F6B400;
  --blue: #2E86DE;
  --red: #E8505B;
  --blue-dark: #1A5FA8;
  --red-dark: #B8323C;
  --ink: #1F2A37;
  --muted: #4B5563;
  --bg: #FFFDF7;
  --bg-alt: #FFF5D6;
  --card: #FFFFFF;
  --radius: 20px;
  --font: "Nunito", "Quicksand", "Comic Neue", "Segoe UI Rounded", "SF Pro Rounded", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

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

h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; font-weight: 800; }

a { color: var(--blue-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 8px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus { top: 8px; }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 4px solid var(--yellow);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 16px 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  min-width: 0;
}
.brand-name { font-size: 1.05rem; }
.brand-mark { display: inline-flex; gap: 3px; flex-shrink: 0; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: block; }
.d1 { background: var(--yellow); }
.d2 { background: var(--blue); }
.d3 { background: var(--red); }

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.lang-btn {
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 2px solid var(--blue-dark);
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
  min-height: 34px;
}
.lang-btn[aria-pressed="true"] {
  background: var(--blue-dark);
  color: #fff;
}

.main-nav { max-width: 960px; margin: 0 auto; padding: 4px 8px 8px; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
}
.main-nav a {
  display: inline-block;
  padding: 6px 10px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
}
.main-nav a:hover { background: var(--bg-alt); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #FFF3C4 0%, #FFFDF7 70%);
  padding: 56px 0 64px;
  text-align: center;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.8rem, 7vw, 3rem); }
.slogan { font-size: clamp(1.1rem, 4.5vw, 1.4rem); color: var(--muted); margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero-shapes .shape { position: absolute; border-radius: 50%; opacity: .25; }
.s1 { width: 120px; height: 120px; background: var(--blue); top: -30px; inset-inline-start: -30px; }
.s2 { width: 80px; height: 80px; background: var(--red); bottom: -20px; inset-inline-end: 10%; }
.s3 { width: 50px; height: 50px; background: var(--yellow); top: 30%; inset-inline-end: -10px; opacity: .6; }

/* Buttons */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 3px solid transparent;
  max-width: 100%;
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: #E5A800; }
.btn-secondary { background: #fff; color: var(--red-dark); border-color: var(--red-dark); }
.btn-disabled {
  background: #E5E7EB;
  color: #4B5563;
  cursor: not-allowed;
}

/* Sections */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); text-align: center; }
.section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 6px;
  margin: 10px auto 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--yellow), var(--blue), var(--red));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(31, 42, 55, .07);
  max-width: 100%;
}
.card p { margin: .4em 0; }

.soon-card { text-align: center; border: 3px dashed var(--blue); }
.soon-badge {
  display: inline-block;
  background: var(--red-dark);
  color: #fff;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
}

.feature-slot { text-align: center; margin-top: 24px; }
.feature-note { color: var(--muted); font-size: .9rem; margin: 8px 0 0; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.info-card h3 { font-size: 1.15rem; color: var(--blue-dark); }
.info-card:nth-child(1) { border-top: 6px solid var(--yellow); }
.info-card:nth-child(2) { border-top: 6px solid var(--blue); }
.info-card:nth-child(3) { border-top: 6px solid var(--red); }
.muted { color: var(--muted); }
.break { word-break: break-all; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 18px 16px;
  font-size: .8rem;
  color: var(--muted);
  border-top: 1px solid #EEE7D2;
}
.site-footer p { margin: 0; }

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .brand-name { font-size: 1.2rem; }
  .main-nav a { font-size: 1rem; }
  .section { padding: 64px 0; }
}

@media (max-width: 400px) {
  .main-nav a { font-size: .85rem; padding: 6px 8px; }
  .lang-btn { font-size: .8rem; padding: 3px 8px; }
  .header-inner { justify-content: center; }
}

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