/* Mizanuk — shared site styles. Palette and type pulled directly from the app's theme.ts */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Tajawal:wght@400;500;700&display=swap');

:root {
  --color-text: #2C2C2C;
  --color-text-secondary: #60646C;
  --color-bg: #FAF7F2;
  --color-bg-element: #F0EBE1;
  --color-bg-selected: #E6DFD0;
  --color-primary: #1B6B5A;
  --color-primary-dark: #14503F;
  --color-secondary: #C9A84C;
  --color-accent: #4A90D9;
  --color-gold-1: #E9B70F;
  --color-gold-2: #F3CD35;
  --color-gold-3: #D9A90D;
  --radius: 12px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.ar {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
}

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-bg-selected);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

nav.site-nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
}

nav.site-nav a {
  text-decoration: none;
  color: var(--color-text-secondary);
  transition: color 0.15s ease;
}

nav.site-nav a:hover,
nav.site-nav a.active {
  color: var(--color-primary);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #FAF7F2;
  padding: 72px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  opacity: 0.95;
}

.hero .ar-tagline {
  font-family: 'Tajawal', sans-serif;
  font-size: 22px;
  color: var(--color-gold-2);
  margin: 0 0 10px;
  direction: rtl;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero p.subhead {
  font-size: 18px;
  color: #E2E8E4;
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-1), var(--color-gold-3));
  color: #2C2C2C;
}

.btn-outline {
  border: 1.5px solid rgba(250, 247, 242, 0.5);
  color: #FAF7F2;
}

.waitlist-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: #C7D3CC;
}

.waitlist-note a { text-decoration: underline; color: #FAF7F2; }

/* Sections */
section { padding: 72px 0; }

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

.section-title .eyebrow {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 30px;
  margin: 8px 0 10px;
  color: var(--color-primary-dark);
}

.section-title p {
  color: var(--color-text-secondary);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-bg-selected);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-bg-element);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg { width: 22px; height: 22px; stroke: var(--color-primary); }

.feature-card h3 {
  font-size: 16.5px;
  margin: 0 0 8px;
  color: var(--color-text);
}

.feature-card p {
  font-size: 14.5px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Philosophy / quote band */
.quote-band {
  background: var(--color-bg-element);
  text-align: center;
}

.quote-band blockquote {
  max-width: 640px;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-primary-dark);
  font-style: normal;
}

.quote-band cite {
  display: block;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-secondary);
  font-style: normal;
}

/* Languages / trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  text-align: center;
}

.trust-item { max-width: 230px; }

.trust-item .trust-title {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 15px;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Footer */
footer {
  background: var(--color-primary-dark);
  color: #D8E3DE;
  padding: 44px 0 32px;
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

footer .foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .foot-brand img { width: 28px; height: 28px; border-radius: 7px; }

footer .foot-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

footer .foot-links a { text-decoration: none; color: #C7D3CC; }
footer .foot-links a:hover { color: #fff; }

footer .foot-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12.5px;
  color: #9CB0A8;
  text-align: center;
}

/* Simple content pages (privacy / support) */
.page-hero {
  background: var(--color-primary);
  color: #FAF7F2;
  padding: 52px 0 40px;
  text-align: center;
}

.page-hero h1 { font-size: 32px; margin: 0 0 8px; }
.page-hero p { color: #DCE7E1; margin: 0; }

.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 90px;
}

.content h2 {
  color: var(--color-primary-dark);
  font-size: 21px;
  margin: 40px 0 14px;
}

.content h2:first-of-type { margin-top: 0; }

.content p, .content li { color: var(--color-text); font-size: 15.5px; }

.content ul { padding-left: 20px; }
.content li { margin-bottom: 6px; }

.promise-box {
  background: var(--color-bg-element);
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}

.promise-box ul { margin: 0; padding-left: 20px; }
.promise-box li { font-weight: 600; color: var(--color-primary-dark); }

table.services {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-size: 14.5px;
}

table.services th, table.services td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-bg-selected);
  vertical-align: top;
}

table.services th {
  color: var(--color-primary-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-line {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

.disclaimer {
  margin-top: 44px;
  padding: 18px 20px;
  background: var(--color-bg-element);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--color-text-secondary);
}

.faq-item {
  border-bottom: 1px solid var(--color-bg-selected);
  padding: 22px 0;
}

.faq-item:first-child { padding-top: 0; }

.faq-item h3 {
  font-size: 16.5px;
  margin: 0 0 8px;
  color: var(--color-text);
}

.faq-item p { margin: 0; color: var(--color-text-secondary); font-size: 15px; }

.contact-card {
  background: #fff;
  border: 1px solid var(--color-bg-selected);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 36px;
}

.contact-card h3 { margin: 0 0 6px; font-size: 16px; }
.contact-card a.email {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 16px;
}

@media (max-width: 640px) {
  nav.site-nav { gap: 16px; font-size: 13.5px; }
  section { padding: 52px 0; }
  footer .wrap { flex-direction: column; }
}
