/* Rayan shared styles: tokens, buttons, nav, landing, sign-in, legal pages. */ :root { --bg: #050913; --bg-2: #070d1c; --side: #02050c; --panel: #0e1526; --panel-2: #141d33; --line: #1d2842; --line-2: #2a3a5e; --ink: #ffffff; --ink-2: #d3dbea; --muted: #8693ad; --accent: #1E88FF; --accent-2: #0A6CFF; --accent-glow: rgba(30,136,255,.45); --accent-soft: rgba(30,136,255,.14); --radius: 16px; } * { box-sizing: border-box; } [hidden] { display: none !important; } html { background: var(--bg); color-scheme: dark; } body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; } :lang(en) body, html[lang=en] body { line-height: 1.6; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } button { font: inherit; color: inherit; } ::selection { background: var(--accent); color: #fff; } .latin { direction: ltr; unicode-bidi: isolate; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 12px 24px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: transform .12s, box-shadow .2s, background .2s, border-color .2s; text-decoration: none !important; white-space: nowrap; } .btn:active { transform: translateY(1px); } .btn-primary { background: var(--accent); color: #fff; } .btn-primary:hover { background: var(--accent-2); } .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); } .btn-ghost:hover { background: var(--panel); } .btn-light { background: #fff; color: #111; } .btn-light:hover { background: #e9eef8; } .btn-sm { padding: 7px 16px; font-size: 14.5px; } .lang-btn { background: transparent; border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; padding: 5px 12px; cursor: pointer; font-size: 13px; font-weight: 600; } .lang-btn:hover { border-color: var(--line-2); color: #fff; } /* nav */ .nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(5,9,19,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(29,40,66,.6); } .brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none !important; } .brand img.orb { width: 30px; height: 30px; } .brand img.word { height: 20px; width: auto; } .brand .latin { font-size: 12px; letter-spacing: .32em; color: var(--muted); font-weight: 600; } .nav-links { display: flex; gap: 22px; margin-inline-start: 18px; } .nav-links a { color: var(--ink-2); font-size: 15px; } .nav-links a:hover { color: #fff; text-decoration: none; } .nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; } @media (max-width: 760px) { .nav-links { display: none; } .nav .signin-link { display: none; } .brand .latin { display: none; } } /* landing */ .hero { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 8vh, 90px) 20px 70px; } .hero-orb { position: relative; width: clamp(150px, 26vw, 230px); aspect-ratio: 1; margin: 0 auto 10px; } .hero-orb video, .hero-orb img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; } .kicker { position: relative; direction: ltr; letter-spacing: .38em; color: var(--accent); font-size: 13px; font-weight: 700; margin: 6px 0 8px; } .hero h1 { position: relative; font-size: clamp(34px, 6vw, 64px); line-height: 1.25; margin: 0 0 14px; font-weight: 800; letter-spacing: -.01em; } .hero h1 .glow { color: var(--ink); } .hero p.sub { position: relative; max-width: 640px; margin: 0 auto 28px; color: var(--ink-2); font-size: clamp(16px, 2vw, 19px); } .hero-cta { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; } .hero-cta .btn { font-size: 17px; padding: 14px 30px; } .section { max-width: 1080px; margin: 0 auto; padding: 64px 20px; } .section h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 18px; font-weight: 800; } .section .lead { color: var(--ink-2); font-size: 18px; max-width: 760px; margin: 0; } .tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; } .tier-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 26px; } .tier-card.pro { border-color: rgba(30,136,255,.55); } .tier-card h3 { margin: 0 0 8px; font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .tier-card p { margin: 0; color: var(--ink-2); } .tag { font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: var(--accent-soft); color: #8cc4ff; border: 1px solid rgba(30,136,255,.3); } .tag.dim { background: rgba(134,147,173,.12); color: var(--ink-2); border-color: var(--line-2); } .progress { margin-top: 18px; height: 6px; border-radius: 9px; background: #121a2e; overflow: hidden; } .progress i { display: block; height: 100%; width: 12%; background: var(--accent); border-radius: 9px; } .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; } .feat { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; } .feat .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; } .feat h3 { margin: 0 0 6px; font-size: 17.5px; } .feat p { margin: 0; color: var(--ink-2); font-size: 15px; } .privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 20px; padding: 0; list-style: none; } .privacy li { display: flex; gap: 12px; color: var(--ink-2); } .privacy li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: .65em; border-radius: 50%; background: var(--accent); } .cta-band { text-align: center; margin: 20px auto 70px; max-width: 980px; padding: 48px 20px; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); } .cta-band h2 { margin: 0 0 6px; font-size: clamp(26px, 3.6vw, 38px); } .cta-band p { margin: 0 0 22px; color: var(--ink-2); } .foot { border-top: 1px solid #0f1830; padding: 26px clamp(16px, 4vw, 48px); display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; } .foot a { color: var(--ink-2); } .foot .sp { margin-inline-start: auto; } @media (max-width: 820px) { .tiers, .privacy { grid-template-columns: 1fr; } .features { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .features { grid-template-columns: 1fr; } .section { padding: 44px 18px; } } /* sign-in */ .auth-wrap { min-height: calc(100dvh - 64px); display: grid; place-items: center; padding: 30px 18px; position: relative; overflow: hidden; } .auth-card { position: relative; width: min(420px, 100%); background: rgba(14,21,38,.82); border: 1px solid var(--line); border-radius: 26px; padding: 34px 28px 26px; text-align: center; backdrop-filter: blur(10px); } .auth-card .orb { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; display: block; } .auth-card h1 { font-size: 25px; margin: 0 0 6px; } .auth-card p { color: var(--ink-2); margin: 0 0 22px; } .auth-card .btn { width: 100%; padding: 13px 18px; } .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 16px 0; } .or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); } .note { color: var(--muted); font-size: 13px; margin-top: 10px !important; margin-bottom: 0 !important; } .agree { color: var(--muted); font-size: 12.5px; margin-top: 18px !important; margin-bottom: 0 !important; } .err { color: #ff97a6; font-size: 14px; margin-top: 12px !important; } .g-ic { width: 20px; height: 20px; } /* legal */ .legal { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; } .legal h1 { font-size: 32px; margin: 0 0 6px; } .legal h2 { font-size: 20px; margin: 28px 0 6px; } .legal p, .legal li { color: var(--ink-2); } .legal .date { color: var(--muted); font-size: 14px; } [data-l] { display: none; } html[lang=fa] [data-l=fa], html:not([lang=fa]) [data-l=en] { display: block; } /* ---------- v3: forms, consent, announcements, dialogs, settings, light theme ---------- */ .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .lang-sel { appearance: none; -webkit-appearance: none; padding: 5px 12px; background: transparent; max-width: 120px; } .lang-sel option { background: var(--panel); color: var(--ink); } .otp-form { display: flex; flex-direction: column; gap: 10px; } .otp-form input, .field input, .field select, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink); border-radius: 14px; padding: 12px 14px; font: inherit; outline: none; } .otp-form input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } .code-in { text-align: center; font-size: 26px !important; letter-spacing: .5em; font-family: ui-monospace, Menlo, Consolas, monospace !important; } .otp-links { display: flex; justify-content: space-between; gap: 10px; } .link { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 4px 0; font-size: 14px; } .link:disabled { color: var(--muted); cursor: default; } .consent { display: flex; gap: 10px; align-items: flex-start; text-align: start; margin-top: 14px; font-size: 14px; color: var(--ink-2); cursor: pointer; } .consent input { margin-top: .4em; width: 17px; height: 17px; accent-color: var(--accent); flex: none; } .consent small { display: block; color: var(--muted); font-size: 12px; } :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .announce { display: flex; align-items: center; gap: 12px; padding: 9px 16px; background: rgba(30,136,255,.14); border-bottom: 1px solid rgba(30,136,255,.35); color: var(--ink); font-size: 14.5px; } .announce.promo { background: rgba(255,170,40,.16); } .announce.warning { background: rgba(255,120,120,.16); border-color: rgba(255,120,120,.4); } .announce .ann-text { flex: 1; min-width: 0; } .announce a { font-weight: 600; white-space: nowrap; } .ann-x { background: none; border: 0; color: var(--ink-2); font-size: 20px; cursor: pointer; line-height: 1; padding: 2px 6px; border-radius: 6px; } .ann-x:hover { background: rgba(255,255,255,.08); } .dlg { background: var(--panel); color: var(--ink); border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; width: min(460px, 92vw); box-shadow: 0 30px 80px -20px #000; } .dlg::backdrop { background: rgba(0,0,0,.55); } .dlg h2 { margin: 0 0 8px; font-size: 19px; } .dlg p { color: var(--ink-2); margin: 0 0 12px; font-size: 14.5px; } .dlg-foot { display: flex; justify-content: flex-end; margin-top: 14px; } .switch { display: flex; gap: 10px; align-items: center; cursor: pointer; } .switch input { width: 18px; height: 18px; accent-color: var(--accent); } .share-row { display: flex; gap: 8px; margin-top: 12px; } .share-row input { flex: 1; min-width: 0; background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; font-size: 13px; } .keys { width: 100%; border-collapse: collapse; font-size: 14px; } .keys td { padding: 6px 4px; border-bottom: 1px solid var(--line); color: var(--ink-2); } kbd { display: inline-block; background: var(--bg); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; font-size: 12px; font-family: ui-monospace, Menlo, monospace; direction: ltr; } /* settings / admin / share pages */ .page { max-width: 760px; margin: 0 auto; padding: 30px 18px 80px; } .page h1 { font-size: 30px; margin: 0 0 18px; } .card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 16px; } .card h2 { margin: 0 0 12px; font-size: 18px; } .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; } .field label { font-size: 14px; color: var(--ink-2); } .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px; } .seg button { border: 0; background: transparent; color: var(--ink-2); padding: 6px 14px; border-radius: 999px; cursor: pointer; } .seg button[aria-pressed=true] { background: var(--accent); color: #fff; } .btn-danger { background: transparent; color: #ff8a9a; border-color: rgba(255,120,140,.45); } .btn-danger:hover { background: rgba(255,120,140,.1); } .muted { color: var(--muted); font-size: 13.5px; } .ok { color: #7fe0a6; font-size: 14px; } table.data { width: 100%; border-collapse: collapse; font-size: 14px; } table.data th, table.data td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: start; vertical-align: top; } /* light theme */ html[data-theme=light] { --bg: #f6f8fc; --bg-2: #eef2fa; --side: #eef2f8; --panel: #ffffff; --panel-2: #eef3fb; --line: #dfe5f0; --line-2: #c9d3e5; --ink: #0b1220; --ink-2: #33415c; --muted: #66748f; --accent-soft: rgba(30,136,255,.12); color-scheme: light; } html[data-theme=light] .nav { background: rgba(246,248,252,.8); border-bottom-color: var(--line); } html[data-theme=light] .brand { color: var(--ink); } html[data-theme=light] .brand img.word, html[data-theme=light] .side-head .brand img.word { filter: invert(1) hue-rotate(180deg); } html[data-theme=light] .tier-card { background: var(--panel); } html[data-theme=light] .auth-card { background: rgba(255,255,255,.9); } html[data-theme=light] .btn-light { border-color: var(--line-2); } html[data-theme=light] .foot { border-top-color: var(--line); } html[data-theme=light] .ann-x:hover { background: rgba(0,0,0,.06); } html[data-theme=light] .cta-band { background: var(--bg-2); } /* v8: sign-up consent boxes, clearly visible */ .consent-box { margin-top: 16px; padding: 4px 14px 12px; border: 1px solid rgba(30,136,255,.28); border-radius: 12px; background: rgba(30,136,255,.06); } .consent-box .consent { margin-top: 10px; color: var(--ink); }