:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --page: #f8fafc;
  --shadow: 0 24px 60px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, .85);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 14px;
}
.brand-mark svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1.05rem; }
.brand-text small { color: var(--muted); font-size: .72rem; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #334155; font-weight: 600; font-size: .92rem; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--primary); }
.main-nav .nav-cta { color: white; background: var(--primary); border-radius: 12px; padding: 10px 18px; box-shadow: 0 10px 22px rgba(37, 99, 235, .2); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: white; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

.hero { position: relative; overflow: hidden; padding: 84px 0 92px; background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); }
.hero-shape { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.hero-shape-1 { width: 360px; height: 360px; background: rgba(37, 99, 235, .08); top: -160px; right: -100px; }
.hero-shape-2 { width: 300px; height: 300px; background: rgba(96, 165, 250, .10); bottom: -180px; left: -80px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 72px; position: relative; z-index: 1; }
.eyebrow, .section-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); background: var(--primary-soft); border: 1px solid #dbeafe; border-radius: 999px; padding: 7px 12px; font-size: .82rem; font-weight: 700; }
.hero h1 { font-size: clamp(2.55rem, 5vw, 4.5rem); line-height: 1.17; margin: 18px 0 22px; letter-spacing: -.02em; }
.hero h1 span { color: var(--primary); }
.hero p { color: #475569; font-size: 1.06rem; max-width: 620px; margin: 0; }
.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { min-width: 178px; min-height: 58px; padding: 10px 18px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn span:last-child { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.btn small { font-weight: 500; opacity: .78; font-size: .7rem; margin-bottom: 4px; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 14px 28px rgba(37, 99, 235, .24); }
.btn-dark { background: var(--ink); color: white; box-shadow: 0 14px 28px rgba(15, 23, 42, .16); }
.store-icon { width: 24px; height: 24px; display: grid; place-items: center; font-size: .85rem; }
.apple-icon { font-family: Arial, sans-serif; font-size: 1.8rem; line-height: 1; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); margin-top: 20px; font-size: .82rem; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34,197,94,.12); }

.hero-visual { position: relative; min-height: 570px; display: grid; place-items: center; }
.phone-shell { width: 294px; background: #0b1220; border-radius: 38px; padding: 10px; box-shadow: 0 35px 75px rgba(15, 23, 42, .22); transform: rotate(-2deg); }
.phone-speaker { width: 88px; height: 20px; background: #0b1220; border-radius: 0 0 14px 14px; position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; }
.phone-screen { min-height: 550px; background: #f8fafc; border-radius: 30px; padding: 22px 14px 14px; overflow: hidden; }
.app-topbar { display: flex; align-items: center; gap: 9px; padding: 8px 3px 14px; }
.app-avatar, .avatar { display: grid; place-items: center; border-radius: 50%; font-weight: 800; }
.app-avatar { width: 38px; height: 38px; color: white; background: var(--primary); }
.app-topbar > div:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.app-topbar strong { font-size: .85rem; }
.app-topbar small { color: var(--muted); font-size: .58rem; }
.bell { color: var(--primary); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--primary-soft); }
.welcome-card { background: linear-gradient(135deg, #2563eb, #3b82f6); color: white; border-radius: 18px; padding: 17px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 14px 30px rgba(37, 99, 235, .22); }
.welcome-card span { font-size: .72rem; opacity: .85; }
.welcome-card strong { font-size: .86rem; }
.fake-post { margin-top: 12px; padding: 13px; border: 1px solid var(--line); background: white; border-radius: 16px; box-shadow: 0 8px 22px rgba(15,23,42,.04); }
.fake-post-head { display: flex; align-items: center; gap: 8px; }
.avatar { width: 34px; height: 34px; font-size: .72rem; }
.avatar.blue { color: white; background: #3b82f6; }
.avatar.soft { color: var(--primary); background: #dbeafe; }
.fake-post-head > div { display: flex; flex-direction: column; line-height: 1.25; }
.fake-post-head b { font-size: .72rem; }
.fake-post-head small { color: #94a3b8; font-size: .55rem; margin-top: 3px; }
.fake-post p { font-size: .68rem; color: #334155; line-height: 1.7; margin: 11px 0; }
.fake-post.compact p { margin-bottom: 2px; }
.post-actions { border-top: 1px solid #f1f5f9; padding-top: 9px; display: flex; justify-content: space-between; color: #64748b; font-size: .64rem; }
.bottom-nav { margin: 18px -6px -5px; padding: 9px 6px 5px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.bottom-nav span { display: flex; align-items: center; flex-direction: column; gap: 3px; color: #94a3b8; font-size: .84rem; }
.bottom-nav small { font-size: .5rem; }
.bottom-nav .active { color: var(--primary); }
.floating-card { position: absolute; z-index: 3; background: rgba(255,255,255,.96); border: 1px solid #e2e8f0; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); }
.floating-card div { display: flex; flex-direction: column; line-height: 1.25; }
.floating-card strong { font-size: .76rem; }
.floating-card small { color: var(--muted); font-size: .6rem; margin-top: 4px; }
.mini-icon { width: 34px; height: 34px; display: grid; place-items: center; background: var(--primary-soft); border-radius: 11px; }
.card-one { top: 90px; right: 0; }
.card-two { bottom: 78px; left: 0; }

.stats-strip { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 28px 0; }
.stats-grid > div { text-align: center; padding: 0 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stats-grid > div:last-child { border-left: 0; }
.stats-grid strong { font-size: .96rem; }
.stats-grid span { color: var(--muted); font-size: .78rem; }

.section { padding: 96px 0; background: white; }
.section-soft { background: #f8fafc; }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.section h2, .download-card h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.35; margin: 14px 0 18px; }
.section-copy > p, .section-heading p { color: var(--muted); margin: 0; }
.check-list { margin-top: 28px; display: grid; gap: 13px; }
.check-list div { display: flex; gap: 10px; align-items: flex-start; color: #334155; }
.check-list span { flex: 0 0 24px; height: 24px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: 8px; font-size: .75rem; font-weight: 800; margin-top: 3px; }
.about-card { background: #f8fafc; border: 1px solid var(--line); border-radius: 28px; padding: 38px; box-shadow: 0 18px 50px rgba(15,23,42,.05); }
.about-icon { width: 66px; height: 66px; display: grid; place-items: center; background: var(--primary-soft); border-radius: 20px; font-size: 1.8rem; }
.about-card h3 { margin: 20px 0 8px; font-size: 1.5rem; }
.about-card p { color: var(--muted); margin: 0; }
.mini-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mini-badges span { color: #334155; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font-size: .74rem; }
.section-heading { max-width: 680px; margin: 0 auto 42px; text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,.07); border-color: #bfdbfe; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--primary-soft); border-radius: 15px; font-size: 1.2rem; }
.feature-card h3 { font-size: 1.05rem; margin: 16px 0 7px; }
.feature-card p { color: var(--muted); margin: 0; font-size: .86rem; line-height: 1.75; }

.download-section { padding: 88px 0; background: white; }
.download-card { position: relative; overflow: hidden; min-height: 340px; border-radius: 32px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: linear-gradient(135deg, #1d4ed8, #2563eb 52%, #3b82f6); box-shadow: 0 28px 70px rgba(37,99,235,.24); }
.download-card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); left: -90px; top: -110px; }
.download-copy { position: relative; z-index: 2; max-width: 660px; }
.download-card p { color: rgba(255,255,255,.82); margin: 0; }
.section-tag.light { color: white; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.btn-white { color: var(--primary); background: white; }
.btn-outline-white { color: white; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.download-mark { position: relative; z-index: 2; width: 180px; height: 180px; display: grid; place-items: center; color: rgba(255,255,255,.17); flex: 0 0 180px; }
.download-mark svg { width: 100%; height: 100%; }

.site-footer { background: #0f172a; color: white; }
.footer-wrap { min-height: 140px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.footer-brand .brand-mark { background: rgba(255,255,255,.08); color: #60a5fa; }
.footer-brand .brand-text small { color: #94a3b8; }
.footer-wrap p { color: #94a3b8; font-size: .78rem; text-align: center; }
.footer-wrap > a { justify-self: end; color: #cbd5e1; font-size: .8rem; }

@media (max-width: 940px) {
  .hero-grid, .section-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero-content { text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-visual { margin-top: 12px; }
  .section-copy { text-align: center; }
  .check-list { width: min(560px, 100%); margin-inline: auto; text-align: right; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav { position: absolute; top: 68px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 4px; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 12px; border-radius: 10px; }
  .main-nav .nav-cta { text-align: center; margin-top: 3px; }
  .menu-toggle { display: block; }
  .hero { padding: 48px 0 70px; }
  .hero h1 { font-size: 2.55rem; }
  .hero p { font-size: .96rem; }
  .stats-grid { grid-template-columns: 1fr; padding: 10px 0; }
  .stats-grid > div { border-left: 0; border-bottom: 1px solid var(--line); padding: 17px; }
  .stats-grid > div:last-child { border-bottom: 0; }
  .section { padding: 70px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .download-card { padding: 34px 24px; border-radius: 24px; }
  .download-mark { display: none; }
  .download-actions .btn { width: 100%; }
  .footer-wrap { grid-template-columns: 1fr; text-align: center; padding: 34px 0; }
  .footer-brand { justify-self: center; }
  .footer-wrap > a { justify-self: center; }
  .footer-wrap p { margin: 0; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 22px, 1120px); }
  .brand-text small { font-size: .65rem; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 535px; }
  .phone-shell { width: 268px; }
  .phone-screen { min-height: 514px; }
  .floating-card { padding: 9px 11px; }
  .card-one { right: -3px; top: 75px; }
  .card-two { left: -2px; bottom: 62px; }
  .floating-card strong { font-size: .68rem; }
  .floating-card small { font-size: .53rem; }
  .about-card { padding: 26px; border-radius: 22px; }
  .section h2, .download-card h2 { font-size: 1.85rem; }
}
