/* Kelga landing — aligned with app onboarding (blue gradient, soft cards) */
:root {
  --blue: #1565c0;
  --blue-deep: #0d47a1;
  --blue-bright: #1e88e5;
  --surface: #ffffff;
  --bg-from: #f8fbff;
  --bg-to: #e8f0fe;
  --text: #1a237e;
  --text-muted: #5c6bc0;
  --shadow: 0 4px 24px rgba(21, 101, 192, 0.12);
  --shadow-hover: 0 8px 32px rgba(21, 101, 192, 0.18);
  --radius: 16px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Kufi Arabic", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-from) 0%, var(--bg-to) 45%, #dfe8f6 100%);
  line-height: 1.65;
}

body.lang-en {
  font-family: "Inter", system-ui, sans-serif;
}

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

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 251, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 101, 192, 0.1);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lang-switch {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.lang-switch button {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(21, 101, 192, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.lang-switch button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.lang-switch button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(30, 136, 229, 0.35);
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

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

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    padding: 48px 0 64px;
  }
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.hero-copy .tagline {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 36em;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-store:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-store--play {
  background: linear-gradient(135deg, #00c853, #009624);
  box-shadow: 0 4px 16px rgba(0, 150, 36, 0.35);
}

.btn-store--ios {
  background: linear-gradient(135deg, #5c6bc0, #3949ab);
  box-shadow: 0 4px 16px rgba(57, 73, 171, 0.35);
}

.btn-store svg {
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(21, 101, 192, 0.12);
}

.hero-card .badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  padding: 10px 0;
  padding-inline-start: 28px;
  position: relative;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid rgba(21, 101, 192, 0.08);
}

.hero-card li:last-child {
  border-bottom: none;
}

.hero-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
}

.section-title {
  text-align: center;
  margin: 56px 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.section-sub {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1rem;
}

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

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

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

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(21, 101, 192, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e3f2fd, #90caf9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

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

.cta-band {
  margin-top: 64px;
  padding: 40px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 40px rgba(21, 101, 192, 0.35);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.cta-band p {
  margin: 0 0 24px;
  opacity: 0.95;
  max-width: 480px;
  margin-inline: auto;
}

.cta-band .store-row {
  justify-content: center;
}

.cta-band .btn-store {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-band .btn-store:hover {
  background: #f5f5f5;
}

.pricing-section {
  margin-top: 48px;
}

.pricing-section > .section-title {
  margin-top: 32px;
}

.pricing-intro {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 32px;
}

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

.plan-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(21, 101, 192, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-card--featured {
  border-color: var(--blue-bright);
  box-shadow: var(--shadow-hover);
}

.plan-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.plan-card .price {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.plan-card .plan-msg {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 12px;
  background: rgba(21, 101, 192, 0.06);
  border-radius: var(--radius-sm);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-whatsapp:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.contact-disclosure {
  max-width: 640px;
  margin: 8px auto 0;
  border: none;
}

.contact-disclosure__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(21, 101, 192, 0.15);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-disclosure__summary::-webkit-details-marker {
  display: none;
}

.contact-disclosure__summary:hover {
  border-color: var(--blue-bright);
  box-shadow: var(--shadow-hover);
}

.contact-disclosure__chev {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-inline-end: 2px solid var(--blue);
  border-block-end: 2px solid var(--blue);
  transform: rotate(45deg);
  margin-block-end: 4px;
  opacity: 0.75;
  transition: transform 0.25s ease;
}

.contact-disclosure[open] .contact-disclosure__chev {
  transform: rotate(225deg);
  margin-block-end: -2px;
}

.contact-block {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(21, 101, 192, 0.1);
}

.contact-block--panel {
  margin-top: 14px;
  border-radius: var(--radius);
}

.contact-block h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  text-align: center;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(21, 101, 192, 0.08);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list .label {
  font-weight: 700;
  min-width: 7em;
  color: var(--text);
}

.contact-list a {
  font-weight: 600;
  word-break: break-all;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 40px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(21, 101, 192, 0.12);
}

.site-footer a {
  font-weight: 600;
}

/* Privacy page prose */
.prose {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.prose h1 {
  margin-top: 0;
  font-size: 1.5rem;
}

.prose h2 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.prose p {
  color: var(--text-muted);
}

.lang-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(21, 101, 192, 0.1);
}
