/* Marketing website on the root domain */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #eef2ff;
  --accent: #06b6d4;
  --violet: #7c3aed;
  --ink: #0f172a;
  --muted: #64748b;
  --surface: #f8fafc;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
}

body.pf { background: #fff; color: var(--ink); font-feature-settings: "ss01"; }
.pf h1, .pf h2, .pf h3 { font-weight: 800; letter-spacing: -.01em; }
.pf .lead { color: var(--muted); line-height: 2; }
.pf p { line-height: 1.95; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-muted-2 { color: var(--muted) !important; }
.btn-grad { background: var(--grad); color: #fff; border: 0; box-shadow: 0 10px 24px -8px rgba(79, 70, 229, .55); transition: transform .15s, box-shadow .15s; }
.btn-grad:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(79, 70, 229, .6); }
.btn-soft { background: var(--primary-soft); color: var(--primary); border: 0; }
.btn-soft:hover { background: #e0e7ff; color: var(--primary-dark); }
.rounded-4x { border-radius: 1.25rem !important; }

/* navbar */
.pf-nav { transition: background .2s, box-shadow .2s; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); }
.pf-nav.scrolled { box-shadow: 0 6px 24px -12px rgba(15, 23, 42, .25); }
.pf-nav .nav-link { color: #334155; font-weight: 500; padding-inline: .9rem !important; }
.pf-nav .nav-link:hover, .pf-nav .nav-link.active { color: var(--primary); }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-weight: 900; font-size: 1.3rem; color: var(--ink); }
.brand-sub { font-size: .68rem; color: var(--muted); margin-top: -4px; }

/* hero */
.hero-pf { position: relative; overflow: hidden; padding: 5.5rem 0 4.5rem; background:
  radial-gradient(60rem 30rem at 85% -10%, rgba(124, 58, 237, .14), transparent 60%),
  radial-gradient(50rem 30rem at 0% 10%, rgba(6, 182, 212, .14), transparent 60%),
  radial-gradient(40rem 20rem at 50% 110%, rgba(79, 70, 229, .10), transparent 60%); }
.hero-pf h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.5; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; border-radius: 99px; background: #fff; border: 1px solid #e2e8f0; font-size: .85rem; color: #334155; box-shadow: 0 4px 14px -8px rgba(15, 23, 42, .2); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.hero-checks li { margin-bottom: .35rem; color: #334155; }
.hero-checks i { color: #22c55e; }

/* app mockup */
.mockup { background: #fff; border-radius: 1.1rem; box-shadow: 0 40px 80px -30px rgba(30, 27, 75, .35), 0 0 0 1px rgba(15, 23, 42, .06); overflow: hidden; transform: perspective(1400px) rotateY(8deg) rotateX(2deg); transition: transform .4s; }
.mockup:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mockup-bar { background: #f1f5f9; padding: .55rem .8rem; display: flex; align-items: center; gap: .4rem; }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mockup-bar .url { flex: 1; margin-inline-start: .6rem; background: #fff; border-radius: 6px; font-size: .7rem; color: var(--muted); padding: .15rem .6rem; direction: ltr; text-align: left; }
.mockup-side { background: #fff; border-left: 1px solid #eef2f7; padding: .8rem; font-size: .72rem; }
.mockup-side div { padding: .35rem .5rem; border-radius: .4rem; color: #475569; margin-bottom: .15rem; }
.mockup-side div.on { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.mockup-main { background: #f8fafc; padding: .9rem; font-size: .72rem; }
.mini-stat { background: #fff; border-radius: .6rem; padding: .6rem; border: 1px solid #eef2f7; }
.mini-stat b { font-size: 1.05rem; display: block; }
.mini-row { background: #fff; border-radius: .5rem; padding: .45rem .6rem; border: 1px solid #eef2f7; display: flex; justify-content: space-between; align-items: center; margin-top: .35rem; }
.pill { font-size: .62rem; padding: .1rem .45rem; border-radius: 99px; }
.float-card { position: absolute; background: #fff; border-radius: .9rem; padding: .7rem .9rem; box-shadow: 0 20px 40px -18px rgba(30, 27, 75, .35); font-size: .8rem; animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* sections */
.sec { padding: 5.5rem 0; }
.sec-alt { background: var(--surface); }
.sec-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.eyebrow { display: inline-block; color: var(--primary); background: var(--primary-soft); font-weight: 700; font-size: .8rem; padding: .3rem .8rem; border-radius: 99px; margin-bottom: .8rem; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.6; }

.f-card { background: #fff; border: 1px solid #eef2f7; border-radius: 1.25rem; padding: 1.6rem; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; }
.f-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(30, 27, 75, .25); border-color: #e0e7ff; }
.f-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--grad); margin-bottom: 1rem; }
.f-icon.c2 { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.f-icon.c3 { background: linear-gradient(135deg, #8b5cf6, #d946ef); }
.f-icon.c4 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.f-icon.c5 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.f-icon.c6 { background: linear-gradient(135deg, #ef4444, #f43f5e); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: .3rem 0; display: flex; gap: .5rem; align-items: flex-start; color: #334155; font-size: .94rem; }
.check-list li::before { content: "\F26E"; font-family: bootstrap-icons; color: var(--primary); font-weight: 700; }

.problem { border-radius: 1.25rem; padding: 1.75rem; height: 100%; }
.problem.bad { background: #fff1f2; border: 1px solid #ffe4e6; }
.problem.good { background: #ecfdf5; border: 1px solid #d1fae5; }
.problem li { padding: .35rem 0; }

.step { position: relative; text-align: center; padding: 0 1rem; }
.step-num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.4rem; font-weight: 900; color: var(--primary); background: #fff; border: 2px dashed #c7d2fe; }
@media (min-width: 992px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: -50%; width: 100%; border-top: 2px dashed #c7d2fe; z-index: -1; }
}

.theme-tabs .nav-link { border-radius: 99px; color: #334155; font-weight: 600; }
.theme-tabs .nav-link.active { background: var(--primary); color: #fff; }
.theme-shot { border-radius: 1rem; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(30, 27, 75, .35); border: 1px solid #e2e8f0; background: #fff; }
.ts-head { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; font-size: .75rem; }
.ts-hero { padding: 2.2rem 1rem; text-align: center; }
.ts-hero .t { height: 14px; width: 55%; margin: 0 auto .6rem; border-radius: 8px; }
.ts-hero .s { height: 8px; width: 35%; margin: 0 auto 1rem; border-radius: 8px; opacity: .6; }
.ts-hero .b { display: inline-block; height: 24px; width: 90px; border-radius: 8px; }
.ts-body { padding: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.ts-body div { height: 56px; border-radius: .6rem; background: #f1f5f9; }

.iran-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: 1rem; background: #fff; border: 1px solid #eef2f7; height: 100%; }
.iran-card i { font-size: 1.6rem; color: var(--primary); }

.stat-big { font-size: 2.6rem; font-weight: 900; }

.price-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1.5rem; padding: 2rem; height: 100%; position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: 0 30px 60px -30px rgba(79, 70, 229, .5); transform: scale(1.03); }
.price-card .ribbon { position: absolute; top: -14px; right: 50%; transform: translateX(50%); background: var(--grad); color: #fff; font-size: .78rem; font-weight: 700; padding: .3rem 1rem; border-radius: 99px; white-space: nowrap; }
.price { font-size: 2.1rem; font-weight: 900; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); }

.conf-card { border-radius: 1.1rem; border: 1px solid #eef2f7; background: #fff; overflow: hidden; height: 100%; transition: box-shadow .2s, transform .2s; }
.conf-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(30, 27, 75, .3); }
.conf-cover { height: 110px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: .75rem; }

.testi { background: #fff; border-radius: 1.25rem; padding: 1.75rem; border: 1px solid #eef2f7; height: 100%; }
.testi .quote { font-size: 2.5rem; line-height: 1; color: #c7d2fe; }

.faq .accordion-button { font-weight: 700; }
.faq .accordion-button:not(.collapsed) { background: var(--primary-soft); color: var(--primary); box-shadow: none; }
.faq .accordion-item { border-radius: 1rem !important; overflow: hidden; border: 1px solid #e2e8f0; margin-bottom: .75rem; }
.faq .accordion-button::after { margin-left: 0; margin-right: auto; }

.cta-band { background: var(--grad); color: #fff; border-radius: 2rem; padding: 3.5rem 2rem; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-band::before { width: 340px; height: 340px; top: -120px; left: -80px; }
.cta-band::after { width: 220px; height: 220px; bottom: -90px; right: -40px; }
.cta-band > * { position: relative; }

.pf-footer { background: #0b1020; color: #94a3b8; padding: 4rem 0 1.5rem; }
.pf-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.pf-footer a { color: #cbd5e1; text-decoration: none; }
.pf-footer a:hover { color: #fff; }
.pf-footer li { margin-bottom: .55rem; }
.trust-slot { width: 96px; height: 96px; border-radius: .75rem; border: 1px dashed #334155; display: grid; place-items: center; font-size: .7rem; color: #64748b; text-align: center; }

.page-hero { padding: 4rem 0 3rem; background: radial-gradient(50rem 20rem at 80% 0%, rgba(124, 58, 237, .12), transparent 60%), radial-gradient(40rem 20rem at 10% 0%, rgba(6, 182, 212, .12), transparent 60%); text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

/* auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
@media (min-width: 992px) { .auth-wrap { grid-template-columns: 1.05fr .95fr; } }
.auth-side { background: var(--grad); color: #fff; padding: 3rem; display: none; position: relative; overflow: hidden; }
@media (min-width: 992px) { .auth-side { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-side::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: rgba(255, 255, 255, .08); bottom: -160px; left: -120px; }
.auth-side > * { position: relative; }
.auth-side .check-list li { color: #e0e7ff; }
.auth-side .check-list li::before { color: #fff; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.25rem; background: #fff; }
.auth-box { width: 100%; max-width: 440px; }
.auth-box .form-control, .auth-box .form-select { padding: .7rem .9rem; border-radius: .75rem; }
.auth-box .btn-lg { border-radius: .85rem; padding: .8rem; }
.pass-toggle { cursor: pointer; }

/* dashboard */
.dash-conf { border: 1px solid #e2e8f0; border-radius: 1.1rem; background: #fff; padding: 1.25rem; height: 100%; }
.slug-input { direction: ltr; }
.slug-group .input-group-text { direction: ltr; background: #f8fafc; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-card { animation: none; } .mockup { transform: none; } }
