/* ============ Roozane marketing site — liquid glass ============ */
:root {
  --bg: #070a1c;
  --bg2: #0d1230;
  --ink: #f4f2ff;
  --muted: rgba(226, 232, 255, .68);
  --faint: rgba(226, 232, 255, .45);
  --blue: #6ea8ff;
  --purple: #b388ff;
  --gold: #e8be6e;
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  --glass-brd: rgba(255,255,255,.14);
  --radius: 24px;
  --font: 'Poppins', system-ui, sans-serif;
  --fa: 'Vazirmatn', 'Poppins', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(139,136,255,.4); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }

/* ambient orbs */
.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; }
.orb-a { width: 560px; height: 560px; left: -160px; top: -120px;
  background: radial-gradient(circle, #3b5bff 0%, transparent 70%);
  animation: drift 16s ease-in-out infinite alternate; }
.orb-b { width: 640px; height: 640px; right: -200px; top: 22%;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  animation: drift 20s ease-in-out infinite alternate-reverse; }
.orb-c { width: 480px; height: 480px; left: 30%; bottom: -180px;
  background: radial-gradient(circle, #b8860b55 0%, transparent 70%);
  animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(90px, 60px) scale(1.12); }
}

/* glass */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.12);
}

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px min(4vw, 48px);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,10,28,.62);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(255,255,255,.08);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.25rem; letter-spacing: .01em; }
.brand img { border-radius: 9px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .25s; }
.nav-links a:hover { color: #fff; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #0a0d22; border: none; cursor: pointer;
  box-shadow: 0 12px 32px rgba(110,168,255,.35);
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 44px rgba(139,136,255,.45); }
.btn-small { padding: 10px 22px; font-size: .9rem; }
.btn-ghost {
  background: rgba(255,255,255,.07); color: var(--ink);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: none;
}
.btn-ghost:hover { box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.store-btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: #f4f2ff; color: #0a0d22; border-radius: 16px;
  padding: 12px 26px 12px 20px; transition: transform .25s, box-shadow .25s;
  box-shadow: 0 14px 36px rgba(0,0,0,.4);
}
.store-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 48px rgba(0,0,0,.5); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.store-btn small { font-size: .72rem; font-weight: 500; opacity: .75; }
.store-btn strong { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.link { color: var(--blue); font-weight: 600; border-bottom: 1px solid rgba(110,168,255,.4); transition: color .2s; }
.link:hover { color: var(--purple); }

/* hero */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; }
.hero-inner {
  width: min(1180px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.pill {
  display: inline-block; padding: 9px 20px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; letter-spacing: .06em;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--muted); margin-bottom: 26px;
}
.hero h1 { font-size: clamp(3.4rem, 7.5vw, 6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.hero h1 .grad { font-family: var(--fa); }
.grad, .grad-text {
  background: linear-gradient(100deg, var(--blue), var(--purple) 60%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 22px; font-size: 1.18rem; line-height: 1.7; color: var(--muted); max-width: 34rem; }
.cta-row { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 30px; color: var(--faint); font-weight: 600; letter-spacing: .14em; font-size: .85rem; display: flex; gap: 14px; align-items: center; }
.hero-meta i { font-style: normal; color: var(--purple); }

.hero-visual { display: flex; justify-content: center; perspective: 1200px; }
.phone-wrap { position: relative; transform-style: preserve-3d; will-change: transform; }
.phone-glow {
  position: absolute; inset: 8% -14%; z-index: -1;
  background: radial-gradient(ellipse, rgba(139,108,255,.5), transparent 65%);
  filter: blur(50px);
}
.phone {
  width: min(300px, 64vw); border-radius: 52px; padding: 12px;
  background: linear-gradient(160deg, #1b2138, #0b0e22);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 1px 1px rgba(255,255,255,.25);
  position: relative; overflow: hidden;
}
.phone img { border-radius: 42px; width: 100%; }
.phone-notch {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 28px; border-radius: 999px; background: #000;
}
.chip {
  position: absolute; padding: 12px 18px; border-radius: 16px;
  font-size: .9rem; font-weight: 600; white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.chip-a { top: 16%; left: -72px; }
.chip-b { bottom: 22%; right: -58px; animation-delay: -2.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.wave { display: block; width: 100%; height: 150px; margin-top: 40px; opacity: .8; }
.wave path {
  stroke-dasharray: 2600; stroke-dashoffset: 2600;
  animation: draw 2.6s ease-out .6s forwards;
  filter: drop-shadow(0 0 12px rgba(139,136,255,.7));
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* marquee */
.marquee { overflow: hidden; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: scroll 26s linear infinite; }
.marquee-track span { font-weight: 700; letter-spacing: .28em; font-size: .95rem; color: var(--faint); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--purple); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 110px 0 30px; }
.kicker { color: var(--purple); font-weight: 700; letter-spacing: .24em; font-size: .85rem; text-transform: uppercase; margin-bottom: 16px; }
.section h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 54px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 34px 30px; transition: transform .35s, box-shadow .35s, border-color .35s; position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at 50% -10%, rgba(139,136,255,.22), transparent 65%);
}
.card:hover { transform: translateY(-8px); border-color: rgba(139,136,255,.4); box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(139,136,255,.25), inset 0 1px 0 rgba(255,255,255,.16); }
.card:hover::before { opacity: 1; }
.card .icon { font-size: 2.4rem; margin-bottom: 18px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.card h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); line-height: 1.65; font-size: .98rem; }

/* screens */
.screens-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.screen-card { padding: 22px 18px 20px; text-align: center; transition: transform .35s; }
.screen-card:hover { transform: translateY(-8px) rotate(-1deg); }
.mini-phone { border-radius: 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 18px 44px rgba(0,0,0,.45); margin-bottom: 16px; }
.mini-phone img { width: 100%; }
.screen-card figcaption { font-weight: 600; color: var(--muted); font-size: .95rem; }

/* privacy strip */
.privacy-panel { display: flex; gap: 28px; align-items: center; padding: 44px 48px; margin-top: 60px; }
.privacy-panel .icon.big { font-size: 3.4rem; }
.privacy-panel h2 { font-size: 1.9rem; margin-bottom: 12px; }
.privacy-panel p { color: var(--muted); line-height: 1.7; margin-bottom: 16px; max-width: 56rem; }

/* download */
.download { padding-bottom: 120px; }
.dl-card { text-align: center; padding: 70px 40px; position: relative; overflow: hidden; }
.dl-card::before {
  content: ""; position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(139,136,255,.14), transparent 30%);
  animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.dl-card > * { position: relative; }
.dl-icon { border-radius: 24px; margin: 0 auto 26px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.dl-card h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 12px; }
.dl-card p { color: var(--muted); margin-bottom: 32px; font-size: 1.1rem; }

/* footer */
.footer { border-top: 1px solid rgba(255,255,255,.08); padding: 44px 0; background: rgba(0,0,0,.25); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 26px; }
.foot-links a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.foot-links a:hover { color: #fff; }
.copy { color: var(--faint); font-size: .85rem; width: 100%; margin-top: 6px; }

/* privacy page */
.policy { padding: 150px 0 90px; max-width: 860px; }
.policy h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 10px; }
.policy .muted { color: var(--faint); margin-bottom: 36px; }
.policy-card { padding: 46px 50px; }
.policy-card h2 { font-size: 1.3rem; margin: 30px 0 10px; color: #fff; }
.policy-card h2:first-of-type { margin-top: 26px; }
.policy-card p { color: var(--muted); line-height: 1.75; margin-bottom: 6px; }
.back { margin-top: 30px; }

/* reveal animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .cta-row, .hero-meta { justify-content: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .screens-row { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .chip-a { left: -8px; } .chip-b { right: -8px; }
  .privacy-panel { flex-direction: column; text-align: center; padding: 36px 28px; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
  .screens-row { grid-template-columns: repeat(2, 1fr); }
  .policy-card { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .wave path { stroke-dashoffset: 0; }
}
