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

:root {
  --ink: #12323b;
  --muted: #658087;
  --primary: #087f78;
  --primary-2: #16b8a6;
  --mint: #e9fbf7;
  --line: #dceceb;
  --white: #fff;
  --shadow: 0 24px 70px rgba(23, 81, 84, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8fcfb;
  font-family: Vazirmatn, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: auto; }
.ambient { position: fixed; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: -1; }
.ambient-one { width: 320px; height: 320px; background: #d7f8ef; top: 130px; right: -130px; }
.ambient-two { width: 280px; height: 280px; background: #e8e2ff; bottom: 80px; left: -130px; }

.landing-header {
  height: 78px; width: min(1240px, calc(100% - 40px)); margin: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.brand, .app-brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  color: white; background: linear-gradient(145deg, var(--primary-2), var(--primary));
  border-radius: 13px; box-shadow: 0 8px 20px #087f7835; font-size: 23px;
}
.brand b { display: block; font-size: 19px; letter-spacing: -.6px; }
.brand small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
nav { display: flex; gap: 25px; align-items: center; color: #507078; font-size: 13px; }
nav a:hover { color: var(--primary); }
.nav-button, .primary-button {
  color: white !important; background: var(--primary); padding: 12px 20px;
  border-radius: 13px; box-shadow: 0 10px 24px #087f7830; transition: .25s;
}
.nav-button:hover, .primary-button:hover { transform: translateY(-3px); background: #056b65; }

.hero { min-height: 660px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.eyebrow { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .3px; margin-bottom: 16px; }
.hero h1 { margin: 0; max-width: 650px; font-size: clamp(38px, 5vw, 69px); line-height: 1.2; letter-spacing: -2px; }
.hero h1 span { color: var(--primary); display: block; }
.hero p { color: var(--muted); line-height: 2.1; max-width: 570px; font-size: 16px; margin: 24px 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-width: 142px; }
.secondary-button { border: 1px solid var(--line); padding: 12px 20px; border-radius: 13px; color: var(--primary); background: white; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px; color: #6d888d; font-size: 11px; margin-top: 34px; }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.phone-shell {
  width: 300px; height: 585px; background: #173943; padding: 10px; border-radius: 39px;
  box-shadow: 25px 35px 80px #164c5230, inset 0 0 0 2px #ffffff20; transform: rotate(4deg);
}
.phone-top { width: 90px; height: 22px; background: #173943; position: absolute; top: 29px; border-radius: 0 0 16px 16px; z-index: 2; }
.phone-screen { background: linear-gradient(#f5fffc, #eaf7f4); border-radius: 31px; height: 100%; padding: 34px 16px 16px; color: var(--ink); }
.mini-status, .mini-greeting, .next-main, .mini-dose { display: flex; justify-content: space-between; align-items: center; }
.mini-status { font-size: 7px; color: #83a09e; }
.mini-status b { color: var(--ink); font-size: 10px; }
.mini-greeting { margin: 29px 0 19px; display: block; }
.mini-greeting small, .next-card small { display: block; color: #7a9695; font-size: 8px; }
.mini-greeting strong { display: block; font-size: 17px; margin-top: 5px; }
.next-card, .next-dose {
  background: linear-gradient(135deg, #0c9188, #20b5a4); color: white; border-radius: 18px; padding: 14px;
  box-shadow: 0 10px 20px #0c918830;
}
.next-dose small { color: #c8fff6; }
.next-dose b { display: block; font-size: 16px; margin: 7px 0 3px; }
.next-dose span { font-size: 8px; color: #d7fff9; }
.next-dose i { font-style: normal; font-size: 28px; }
.mini-title { font-size: 10px; font-weight: 800; margin: 20px 0 10px; }
.mini-dose { background: white; padding: 10px 8px; border-radius: 12px; margin: 7px 0; gap: 7px; }
.mini-dose > div { flex: 1; }
.mini-dose b, .mini-dose small { display: block; }
.mini-dose b { font-size: 9px; }
.mini-dose small { font-size: 7px; color: #86a09f; margin-top: 3px; }
.mini-dose em { font-style: normal; font-size: 7px; color: var(--primary); background: var(--mint); padding: 5px; border-radius: 6px; }
.mini-dose.done { opacity: .65; }
.dose-icon { width: 24px; height: 24px; border-radius: 8px; background: #e8faf5; color: var(--primary); display: grid; place-items: center; font-size: 12px; }
.floating-card { position: absolute; background: white; padding: 14px 17px; border-radius: 15px; box-shadow: var(--shadow); font-size: 11px; color: #43666a; animation: float 4s ease-in-out infinite; }
.floating-card-one { top: 100px; right: 0; }
.floating-card-two { bottom: 90px; left: 0; animation-delay: -2s; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: white; padding: 28px 35px; border-radius: 24px; box-shadow: var(--shadow); }
.stats div { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.stats strong { color: var(--primary); font-size: 24px; }
.stats span { color: var(--muted); font-size: 12px; }

.section { padding: 125px 0 20px; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading h2 { margin: 0; font-size: clamp(27px, 4vw, 42px); letter-spacing: -1px; }
.section-heading p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-card { background: rgba(255,255,255,.82); border: 1px solid var(--line); padding: 26px; border-radius: 22px; transition: .3s; }
.feature-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #aee4d9; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; font-size: 22px; margin-bottom: 20px; }
.green, .teal { background: #e5faf4; color: #088b7c; }
.blue { background: #eaf4ff; color: #2779c5; }
.purple { background: #f1edff; color: #7756c4; }
.orange { background: #fff3df; color: #d68b19; }
.pink { background: #ffebf0; color: #cc5875; }
.feature-card h3 { margin: 0 0 10px; font-size: 17px; }
.feature-card p { color: var(--muted); line-height: 1.9; font-size: 13px; margin: 0; }

.how-section { background: #effaf7; margin-top: 100px; padding-bottom: 120px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; background: white; padding: 27px; border-radius: 22px; border: 1px solid #d9efea; }
.step b { color: var(--primary); font-size: 27px; }
.step h3 { font-size: 17px; margin: 17px 0 8px; }
.step p { color: var(--muted); font-size: 13px; margin: 0; }

.privacy-highlight { display: flex; gap: 25px; align-items: center; margin-top: 100px; padding: 36px; color: white; border-radius: 28px; background: linear-gradient(120deg, #0c716c, #123e4c); box-shadow: var(--shadow); }
.privacy-symbol { width: 62px; height: 62px; display: grid; place-items: center; background: #ffffff18; border-radius: 20px; font-size: 28px; }
.privacy-highlight h2 { margin: 0 0 8px; font-size: 23px; }
.privacy-highlight p { margin: 0; color: #c1ebe3; line-height: 1.9; font-size: 13px; }

.faq-list { max-width: 790px; margin: auto; }
details { background: white; border: 1px solid var(--line); margin: 10px 0; padding: 20px 24px; border-radius: 15px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); line-height: 2; margin: 15px 0 0; font-size: 13px; }

.footer { margin-top: 100px; background: #10343d; color: white; padding: 35px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer a { color: #b9d6d5; font-size: 12px; margin-left: 20px; }
.footer p { color: #9dbfc0; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(24px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes float { 50% { transform: translateY(-12px); } }

@media (max-width: 800px) {
  .landing-header { height: 68px; }
  nav a:not(.nav-button) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 55px; text-align: center; }
  .hero p { margin-right: auto; margin-left: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { min-height: 590px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1120px); }
  .brand small { display: none; }
  .hero h1 { font-size: 39px; }
  .stats, .steps { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .floating-card-one { right: -5px; }
  .floating-card-two { left: -5px; }
}
