/* ─── VARIABLES (Notion & Magazine Palette) ─── */
:root {
  --bg-color: #ffffff;
  --text-main: #37352f; /* Notion dark text */
  --text-muted: #787774; /* Notion grey */
  --border-color: #e9e9e7; /* Notion light border */
  --black: #000000;
  --radius: 6px;
  --font-heading: 'Rakkas', serif;
  --font-body: 'Cairo', sans-serif;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  direction: rtl;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, .nav-logo, .footer-logo, .trust-num, .amount {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--black);
}

/* ─── NAVIGATION ─── */
.magazine-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 2px solid var(--black); /* Magazine heavy line */
  background: var(--bg-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.emoji-logo { font-size: 1.5rem; }
.nav-logo { font-size: 2rem; letter-spacing: 1px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }
.nav-cta {
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  color: var(--black) !important;
  background: var(--bg-color);
  transition: all 0.2s !important;
}
.nav-cta:hover {
  background: #f1f1ef !important; /* Notion hover gray */
}

/* ─── HERO SECTION ─── */
.hero-magazine {
  padding: 6rem 2rem 4rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.notion-tag {
  display: inline-block;
  background: #f1f1ef;
  color: var(--text-main);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.highlight {
  position: relative;
  display: inline-block;
}
.highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.1);
  z-index: -1;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 4rem;
  font-weight: 600;
}

/* ─── PRICING (Notion Cards) ─── */
.pricing-section {
  width: 100%;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  text-align: right;
}
.notion-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem;
  background: var(--bg-color);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.notion-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.notion-card.featured {
  border: 2px solid var(--black);
  box-shadow: var(--shadow-sm);
}
.magazine-badge {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--black);
  color: var(--bg-color);
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.plan-emoji { font-size: 1.5rem; }
.plan-period { font-weight: 700; font-size: 1.1rem; }
.plan-price .amount { font-size: 4.5rem; line-height: 1; }
.plan-price .currency { font-size: 1.5rem; font-weight: 700; }
.plan-price .per { color: var(--text-muted); font-weight: 600; }
.plan-saving { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; font-weight: 600;}
.notion-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 1.5rem 0;
}
.plan-features { list-style: none; margin-bottom: 2.5rem; }
.plan-features li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}
.notion-btn {
  display: block;
  text-align: center;
  padding: 0.8rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}
.notion-btn.outline {
  border: 1px solid var(--border-color);
  color: var(--black);
}
.notion-btn.outline:hover { background: #f1f1ef; }
.notion-btn.filled {
  background: var(--black);
  color: var(--bg-color);
  border: 1px solid var(--black);
}
.notion-btn.filled:hover {
  background: #333;
}

/* ─── MAGAZINE DIVIDERS ─── */
.magazine-thick-divider {
  height: 4px;
  background: var(--black);
  width: 100%;
  margin: 0;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
  background: #fafafa;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.trust-num { font-size: 3rem; }
.trust-label { font-weight: 700; color: var(--text-muted); }

/* ─── FEATURES GRID ─── */
.features-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 3.5rem; margin-bottom: 0.5rem; }
.section-desc { font-size: 1.1rem; color: var(--text-muted); font-weight: 600; }

.notion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.notion-feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.notion-feature-card:hover {
  background: #f9f9f8; /* Very subtle Notion highlight */
}
.feature-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.notion-feature-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.notion-feature-card p {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ─── FOOTER ─── */
.magazine-footer {
  border-top: 4px solid var(--black);
  padding: 4rem 2rem 2rem;
  text-align: center;
  background: #fafafa;
}
.footer-logo {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--black); }
.footer-copy {
  color: #a4a4a4;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .magazine-nav { padding: 1rem; flex-direction: column; gap: 1rem; }
  .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .headline { font-size: 3rem; }
  .trust-bar { gap: 2rem; }
}