/* Marketing website (resources/views/intro_site): sections on top of najd-web.css. */

.site { overflow-x: hidden; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 100; background: var(--nj-saffron); color: #2E1A04; padding: 8px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { inset-inline-start: 12px; }
.kicker { display: inline-block; color: var(--nj-saffron); font-weight: 800; font-size: 14px; letter-spacing: .3px; margin-bottom: 8px; }
.kicker--ink { color: #8A4A12; }

/* ── navigation ── */
.site-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s ease, box-shadow .25s ease; }
.site-nav.is-solid { background: rgba(14, 18, 40, .92); backdrop-filter: blur(10px); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.site-nav__in { max-width: 1180px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nj-gold) !important; font-weight: 900; font-size: 26px; }
.site-logo__moon { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF4D2, #E9C97A 55%, #B98B3E); box-shadow: 0 0 18px rgba(243, 213, 142, .55); }
.site-links { display: flex; gap: 22px; margin-inline-start: auto; }
.site-links a { color: var(--nj-cream); text-decoration: none; font-weight: 700; font-size: 15px; opacity: .9; }
.site-links a:hover { color: var(--nj-gold); opacity: 1; }
.site-lang { padding: 2px 12px; border: 1px solid rgba(243, 213, 142, .4); border-radius: 999px; }
.site-nav__cta { height: 44px; font-size: 14.5px; }
.site-burger { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid rgba(243, 213, 142, .35); border-radius: 12px; background: rgba(14, 18, 40, .6); cursor: pointer; padding: 11px 10px; }
.site-burger span { display: block; height: 2px; background: var(--nj-gold); margin: 4px 0; border-radius: 2px; }
@media (max-width: 1020px) {
  .site-burger { display: block; }
  .site-nav__cta { display: none; }
  .site-links { position: fixed; inset: 64px 12px auto 12px; flex-direction: column; gap: 0; padding: 8px; background: rgba(14, 18, 40, .97); border: 1px solid rgba(243, 213, 142, .25); border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); display: none; }
  .site-links.is-open { display: flex; }
  .site-links a { padding: 12px 14px; border-radius: 12px; }
  .site-links a:hover { background: rgba(246, 232, 204, .06); }
  .site-lang { border: 0; }
}

/* ── hero ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 60px; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 28, .55), rgba(10, 13, 28, .15) 30%, rgba(20, 26, 51, .55) 70%, var(--nj-bg)); }
[dir="rtl"] .hero::before, [dir="ltr"] .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(10, 13, 28, .65), transparent 60%); }
[dir="ltr"] .hero::before { background: linear-gradient(90deg, rgba(10, 13, 28, .65), transparent 60%); }
.hero__sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__sky i { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%; background: #FFF6DA; box-shadow: 0 0 8px #FFF1C2; animation: twinkle 3.6s ease-in-out var(--d) infinite; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
.hero__in { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 900; color: var(--nj-cream); text-shadow: 0 4px 24px rgba(0, 0, 0, .55); }
.hero__copy p { font-size: clamp(16px, 1.6vw, 19px); color: #E9DFC9; max-width: 560px; margin: 16px 0 26px; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.hero__note { font-size: 14px !important; color: var(--nj-muted) !important; margin: 14px 0 0 !important; }
.hero__phones { position: relative; height: 560px; }
.hero__phones .phone--front { position: absolute; inset-inline-start: 18%; top: 20px; width: 270px; z-index: 2; }
.hero__phones .phone--back { position: absolute; inset-inline-start: 52%; top: 80px; width: 230px; transform: rotate(6deg); opacity: .92; }
[dir="ltr"] .hero__phones .phone--back { transform: rotate(-6deg); }
@media (max-width: 600px) { .hero__phones .phone--back { display: none; } .hero__phones .phone--front { inset-inline-start: calc(50% - 115px); } }
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 96px; }
  .hero__in { grid-template-columns: 1fr; text-align: center; }
  .hero__copy p { margin-inline: auto; }
  .stores { justify-content: center; }
  .hero__phones { height: 470px; }
  .hero__phones .phone--front { inset-inline-start: calc(50% - 125px); width: 230px; }
  .hero__phones .phone--back { inset-inline-start: calc(50% + 20px); width: 190px; }
}

/* ── phone mock-up ── */
.phone { margin: 0; border-radius: 34px; padding: 8px; background: linear-gradient(145deg, #2A2F4D, #0B0E1E); box-shadow: 0 0 0 1px rgba(243, 213, 142, .25), 0 24px 50px rgba(0, 0, 0, .55); overflow: hidden; }
.phone img { width: 100%; border-radius: 27px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--nj-bg); }
.phone--sm { width: 220px; flex: none; }

/* ── store badges ── */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 16px; border-radius: 14px; text-decoration: none; color: var(--nj-cream) !important; background: rgba(10, 13, 28, .78); border: 1px solid rgba(243, 213, 142, .45); box-shadow: 0 8px 18px rgba(0, 0, 0, .35); transition: transform .15s ease, border-color .15s ease; }
.store:hover { transform: translateY(-2px); border-color: var(--nj-gold); }
.store svg { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store small { font-size: 11px; color: var(--nj-muted); }
.store b { font-size: 18px; direction: ltr; }

/* ── numbers ── */
.stats { max-width: 1100px; margin: 0 auto; padding: 22px 20px 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { text-align: center; padding: 18px 10px; border-radius: 18px; background: rgba(246, 232, 204, .06); border: 1px solid rgba(243, 213, 142, .22); }
.stat b { display: flex; justify-content: center; align-items: center; min-height: 46px; font-size: 40px; font-weight: 900; color: var(--nj-gold); text-shadow: 0 0 20px rgba(240, 169, 59, .35); }
.stat span { color: var(--nj-muted); font-weight: 700; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ── sections ── */
.section { position: relative; max-width: 1180px; margin: 0 auto; padding: 80px 22px 30px; }
.section--scene { max-width: none; }
.section--scene > *:not(.section__scene) { position: relative; z-index: 1; max-width: 1180px; margin-inline: auto; }
.section__scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: saturate(.4) brightness(.7); -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section__head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; color: var(--nj-cream); }
.section__head p { color: var(--nj-muted); font-size: 17px; margin: 12px 0 0; }

/* chapters: scene with a phone + text */
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 0 0 70px; }
.chapter--flip .chapter__art { order: 2; }
.chapter__art { position: relative; min-height: 420px; }
.chapter__scene { position: absolute; inset: 30px 0 30px 0; width: 100%; height: calc(100% - 60px); object-fit: cover; border-radius: 26px; box-shadow: 0 0 0 1px rgba(243, 213, 142, .3), 0 20px 40px rgba(0, 0, 0, .45); }
.chapter__art .phone { position: absolute; inset-inline-end: 8%; top: 0; width: 210px; }
.chapter--flip .chapter__art .phone { inset-inline-end: auto; inset-inline-start: 8%; }
.chapter__no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 10px; background: radial-gradient(circle at 35% 30%, #FFD58A, #C9801F); color: #2B1A05; font-weight: 900; font-size: 20px; box-shadow: 0 0 0 5px rgba(240, 169, 59, .18); }
.chapter__copy h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; color: var(--nj-cream); }
.chapter__copy p { color: #DCD2BC; font-size: 17px; margin: 12px 0 16px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 30px; color: var(--nj-cream); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3A4C96, #1B2450); box-shadow: inset 0 0 0 2px rgba(243, 213, 142, .7); }
.ticks li::after { content: ""; position: absolute; inset-inline-start: 6px; top: calc(.45em + 4px); width: 5px; height: 8px; border: solid var(--nj-gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 900px) {
  .chapter { grid-template-columns: 1fr; gap: 24px; text-align: start; }
  .chapter--flip .chapter__art { order: 0; }
  .chapter__art { min-height: 380px; }
  .chapter__art .phone, .chapter--flip .chapter__art .phone { inset-inline: auto; left: calc(50% - 95px); width: 190px; }
}

/* the 19 question kinds */
.kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -30px auto 80px; max-width: 980px; }
.kinds span { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: #FFF1D6; background: linear-gradient(180deg, #8E2A22, #6E1E18); border: 1px solid rgba(243, 213, 142, .45); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); }

/* study tools */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool { padding: 20px 18px; border-radius: 20px; background: linear-gradient(180deg, rgba(252, 244, 226, .95), rgba(236, 219, 186, .9)); color: var(--nj-ink); box-shadow: 0 12px 26px rgba(3, 5, 16, .45); text-align: center; transition: transform .2s ease; }
.tool:hover { transform: translateY(-4px); }
.tool img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 8px; }
.tool h3 { font-size: 18px; font-weight: 900; color: var(--nj-ink); }
.tool p { margin: 6px 0 0; color: #6B5536; font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.tools__phones { display: flex; justify-content: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
@media (max-width: 1000px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tools { grid-template-columns: 1fr; } .tools__phones .phone:nth-child(n+3) { display: none; } }

/* AI */
.ai { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; max-width: 960px; margin: 0 auto; }
.ai > .phone { width: 280px; }
.ai__cards { display: grid; gap: 16px; }
.ai__card { display: flex; gap: 16px; align-items: center; padding: 20px; }
.ai__card img { width: 60px; height: 60px; object-fit: contain; flex: none; }
.ai__card h3 { font-size: 20px; font-weight: 900; color: var(--nj-ink); }
.ai__card p { margin: 4px 0 0; color: #5B4428; font-weight: 600; }
@media (max-width: 820px) { .ai { grid-template-columns: 1fr; } .ai > .phone { margin: 0 auto; width: 240px; } }

/* offline + purchase */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.duo__card { text-align: center; }
.duo__card h3 { font-size: 24px; font-weight: 900; color: var(--nj-ink); }
.duo__card p { color: #5B3A14; font-weight: 600; margin: 8px 0 0; }
.duo__img { width: 180px; height: 180px; object-fit: cover; margin: 0 auto 8px; border-radius: 50%; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); }
.duo__img--obj { object-fit: contain; border-radius: 0; -webkit-mask-image: none; mask-image: none; height: 150px; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

/* gallery of screens */
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 26px; scrollbar-color: var(--nj-saffron) transparent; }
.gallery .phone { scroll-snap-align: center; }
.gallery:focus-visible { outline: 2px solid var(--nj-gold); outline-offset: 4px; border-radius: 12px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; text-align: center; }
.step__img { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px rgba(243, 213, 142, .3), 0 14px 30px rgba(0, 0, 0, .45); margin-bottom: 16px; }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; z-index: 1; background: radial-gradient(circle at 35% 30%, #FFD58A, #C9801F); color: #2B1A05; font-weight: 900; box-shadow: 0 0 0 5px rgba(240, 169, 59, .18); }
[dir="ltr"] .step::before { transform: translateX(-50%); }
.step h3 { font-size: 21px; font-weight: 900; color: var(--nj-cream); }
.step p { color: var(--nj-muted); margin: 6px 0 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* FAQ on parchment strips */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { border-radius: 16px; background: url("img/faq-strip.webp") center / 100% 100% no-repeat; padding: 6px 30px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); color: #2A1D10; }
.faq__item summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 900; font-size: 17px; display: flex; align-items: center; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FFD58A, #C9801F); color: #2B1A05; font-weight: 900; }
.faq__item[open] summary::before { content: "−"; }
.faq__a { padding: 0 0 16px; color: #4A3420; font-weight: 600; line-height: 1.8; }

/* contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; }
.channels { display: grid; gap: 14px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; text-decoration: none; color: #FFF1D6 !important; background: linear-gradient(160deg, #6B4423, #4A2E16); border: 2px solid #B98B3E; box-shadow: inset 0 0 0 1px rgba(255, 226, 168, .25), 0 10px 22px rgba(0, 0, 0, .45); }
.channel img { width: 54px; height: 54px; object-fit: contain; }
.channel span { font-weight: 900; font-size: 18px; }
.channel small { margin-inline-start: auto; color: #F3D58E; font-size: 13.5px; }
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 6px; font-weight: 800; color: var(--nj-ink); font-size: 14px; }
.felt { width: 100%; font: inherit; font-size: 16px; font-weight: 700; color: #2B1A05; padding: 12px 18px; border-radius: 999px; border: 1.5px solid rgba(138, 90, 43, .55); background: linear-gradient(180deg, rgba(231, 199, 154, .92), rgba(217, 176, 122, .92)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
textarea.felt { border-radius: 22px; resize: vertical; min-height: 120px; }
.felt::placeholder { color: #8A6A44; font-weight: 500; }
.felt:focus { outline: 2px solid #24357A; outline-offset: 2px; }
.hp { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-msg { margin: 4px 0 0; min-height: 1.4em; text-align: center; font-weight: 800; color: #24357A; }
.form-msg.is-error { color: var(--nj-burgundy); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* last call */
.cta { position: relative; margin-top: 80px; min-height: 460px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--nj-bg), rgba(20, 26, 51, .25) 35%, rgba(20, 26, 51, .55)); }
.cta__in { position: relative; z-index: 1; padding: 0 20px; }
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; color: var(--nj-gold); text-shadow: 0 0 30px rgba(240, 169, 59, .4); }
.cta p { color: #E9DFC9; font-size: 18px; margin: 8px 0 24px; }
.cta .stores { justify-content: center; }

/* footer */
.site-foot { background: var(--nj-bg-deep); border-top: 1px solid rgba(243, 213, 142, .2); }
.site-foot__in { max-width: 1180px; margin: 0 auto; padding: 40px 22px 20px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 28px; align-items: start; }
.site-foot p { color: var(--nj-muted); max-width: 420px; margin: 10px 0 0; }
.site-foot__links { display: grid; gap: 8px; }
.site-foot__links a { color: var(--nj-cream); text-decoration: none; font-weight: 700; }
.site-foot__links a:hover { color: var(--nj-gold); }
.site-foot__social { display: flex; gap: 10px; flex-wrap: wrap; }
.site-foot__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(243, 213, 142, .35); color: var(--nj-gold); text-decoration: none; font-weight: 900; }
.site-foot__copy { text-align: center; color: #8F8775; font-size: 13.5px; padding: 14px; border-top: 1px solid rgba(243, 213, 142, .1); }
@media (max-width: 760px) { .site-foot__in { grid-template-columns: 1fr; } }

/* inner pages (privacy, delete account) */
.page-banner { position: relative; min-height: 300px; overflow: hidden; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 28, .75), rgba(10, 13, 28, .05) 40%, var(--nj-bg)); }
.page-banner__text { position: absolute; z-index: 1; bottom: 26px; inset-inline: 0; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.page-banner__text h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: var(--nj-cream); text-shadow: 0 3px 16px rgba(0, 0, 0, .7); }
.page-banner__text p { color: #E2D6BE; margin: 4px 0 0; }
.page { max-width: 880px; margin: 0 auto; padding: 30px 18px 60px; }
.page--wide { max-width: 1120px; }
.prose { font-weight: 600; line-height: 1.95; }
.prose h2 { color: var(--nj-ink); font-size: 22px; font-weight: 900; margin: 6px 0 10px; }
.prose p, .prose li { color: #3A2410; }
.del { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.del__steps { padding-inline-start: 22px; margin: 0 0 16px; }
.del__steps li { margin-bottom: 6px; }
.del__head { margin-top: 10px; }
.del__text { color: var(--nj-muted); }
@media (max-width: 900px) { .del { grid-template-columns: 1fr; } }

/* reveal on scroll (content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
