/* Al Ghurair landing page — brand-extracted from al-ghurair.com */
:root {
  --primary: #30004F;
  --secondary: #410266;
  --accent: #DE0090;
  --neutral-dark: #181818;
  --neutral-light: #F5F5F7;
  --bg: #FFFFFF;
  --text: #181818;
  --heading: #30004F;
  --muted: #5b5b62;
  --hairline: #E6E6EB;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-subtle: 0 1px 2px rgba(24,24,24,0.06), 0 2px 8px rgba(48,0,79,0.04);
  --shadow-medium: 0 8px 24px rgba(48,0,79,0.10);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Eduba banner — site chrome */
.eduba-banner {
  background: #0a0a0a;
  color: #f5f5f5;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid #1f1f1f;
}
.eduba-banner a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.eduba-banner .ctx { opacity: 0.88; }

/* Site header */
.site-header {
  padding: 36px 0 0;
  border-bottom: 1px solid var(--hairline);
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark .wordmark {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
}
.brand-mark .group {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 1px solid var(--hairline);
  padding-left: 12px;
}

.meta-line {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero */
.hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--bg) 0%, #FAF7FC 100%);
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--heading);
  margin: 16px 0 24px;
  max-width: 900px;
}
.hero h1 .accent { color: var(--accent); }
.hero .subhead {
  font-size: 19px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.badge {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(48,0,79,0.06);
  color: var(--primary);
  font-weight: 600;
}

/* Sections */
section {
  padding: 72px 0;
  border-top: 1px solid var(--hairline);
}
section h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 760px;
  line-height: 1.2;
}
section p {
  max-width: 760px;
  font-size: 17px;
  margin: 0 0 18px;
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}

/* The frame visualization */
.frame {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 8px;
}
.frame-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--bg);
  box-shadow: var(--shadow-subtle);
}
.frame-card .pct {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.frame-card.accent .pct { color: var(--accent); }
.frame-card .layer {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.frame-card p {
  font-size: 14.5px;
  color: var(--text);
  margin: 0;
  line-height: 1.55;
}

/* Case study + paper card */
.proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.proof-card {
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--primary);
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
}
.proof-card.accent { border-left-color: var(--accent); }
.proof-card .label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
}
.proof-card h3 {
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--heading);
  letter-spacing: -0.015em;
  font-weight: 700;
}
.proof-card p {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.6;
}
.proof-card a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
  font-size: 14px;
}

/* Phases */
.phases {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0 8px;
}
.phase {
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--primary);
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-subtle);
}
.phase.phase-retainer {
  border-left-color: var(--accent);
  background: #FAF7FC;
}
.phase-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.phase.phase-retainer .phase-label {
  color: var(--accent);
}
.phase p {
  font-size: 15.5px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
  max-width: none;
}

/* CTA */
.cta-section {
  padding: 88px 0 96px;
  background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 100%);
  color: #FFFFFF;
  border: none;
}
.cta-section h2 {
  color: #FFFFFF;
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 32px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(222,0,144,0.30);
}
.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(222,0,144,0.40);
}
.cta-button .arrow {
  transition: transform 0.2s ease;
}
.cta-button:hover .arrow { transform: translateX(3px); }
.cta-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

/* Eduba footer chrome */
.eduba-footer {
  background: #0a0a0a;
  color: #dcdcdc;
  padding: 36px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid #1f1f1f;
}
.eduba-footer .inner {
  max-width: 1040px;
  margin: 0 auto;
}
.eduba-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.eduba-footer .col { min-width: 220px; flex: 1; }
.eduba-footer a {
  color: #dcdcdc;
  text-decoration: underline;
}
.eduba-footer .brand-link {
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.eduba-footer .label {
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 2px;
}
.eduba-footer .legal {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #1f1f1f;
  opacity: 0.62;
  font-size: 12px;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 760px) {
  .frame { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 40px; }
  section { padding: 56px 0; }
  .cta-section { padding: 64px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
