/* =====================================================================
   D2CHEATS — SaaS marketing site
   Structure inspired by Shopify; coral-on-near-black colour scheme.
   ===================================================================== */

:root {
  --bg:        #0a0a0c;
  --bg-soft:   #0e0e11;
  --surface:   #161619;
  --surface-2: #1d1d22;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);

  --text:  #f7f7f8;
  --dim:   #a6a6b0;
  --mute:  #6d6d77;

  --accent:    #b10431;   /* deep crimson */
  --accent-2:  #d41754;
  --accent-ink:#2a0411;
  --accent-glow: rgba(177,4,49,0.32);

  --maxw: 1180px;
  --r-sm: 10px;
  --r:    18px;
  --r-lg: 26px;
  --pill: 999px;
  --ease: cubic-bezier(0.4, 0, 0.1, 1);

  --f-head: 'Schibsted Grotesk', system-ui, sans-serif;
  --f-body: 'Hanken Grotesk', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.center { text-align: center; }

/* type helpers */
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; }
.eyebrow { font-family: var(--f-body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.dim { color: var(--dim); }
.hl  { color: var(--text); }
.accent { color: var(--accent); }
.lead { font-size: 1.18rem; color: var(--dim); line-height: 1.5; }

/* ===================================================================== */
/* BUTTONS                                                                */
/* ===================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: var(--pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.15s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-white { background: #fff; color: #0a0a0c; }
.btn-white:hover { background: #e9e9ec; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: #0a0a0c; color: #fff; border-color: rgba(255,255,255,0.18); }
.btn-dark:hover { background: #18181c; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn .ar { transition: transform 0.15s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

/* ===================================================================== */
/* NAV                                                                    */
/* ===================================================================== */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s var(--ease), border-color 0.3s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10,10,12,0.82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 14px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--f-head); font-weight: 700; font-size: 1.36rem; letter-spacing: -0.02em; color: var(--text); }
.brand .ac { color: var(--accent); }
/* Drop in your own logo: replace the wordmark with <img class="brand-logo" src="/logo.svg" alt="D2Cheats"> */
.brand-logo { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 4px; margin-left: 26px; }
.nav-links a { font-size: 0.97rem; color: var(--dim); padding: 8px 14px; border-radius: var(--r-sm); transition: color 0.18s, background 0.18s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.on { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-right .login { font-size: 0.97rem; color: var(--text); padding: 8px 12px; }
.nav-right .login:hover { color: var(--dim); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 9px 11px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.burger span + span { margin-top: 4px; }

/* ===================================================================== */
/* HERO                                                                   */
/* ===================================================================== */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto -10%; height: 120%;
  background:
    radial-gradient(60% 55% at 22% 8%, rgba(255,92,56,0.18), transparent 60%),
    radial-gradient(50% 50% at 90% 0%, rgba(255,129,96,0.10), transparent 55%);
  z-index: -1; filter: blur(10px);
}
.hero-wrap { max-width: 880px; }
.hero h1 { font-size: clamp(3.1rem, 8vw, 6.2rem); letter-spacing: -0.04em; }
.hero h1 .you { color: var(--accent); }
.hero .lead { margin: 26px 0 34px; max-width: 56ch; font-size: 1.32rem; }
.hero .cta-row { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; }
.hero .trust { margin-top: 26px; color: var(--mute); font-size: 0.92rem; display: flex; gap: 18px; flex-wrap: wrap; }
.hero .trust b { color: var(--dim); font-weight: 600; }

/* ===================================================================== */
/* SHOWCASE CARDS (rounded image-style cards)                             */
/* ===================================================================== */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sc {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 300px;
  display: flex; flex-direction: column; padding: 28px;
  border: 1px solid var(--line); background: var(--surface);
}
.sc::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 150px; background: radial-gradient(120% 120% at 0% 0%, var(--accent-glow), transparent 65%); opacity: 0.55; pointer-events: none; }
.sc-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--accent); position: relative; }
.sc-ico svg { width: 23px; height: 23px; }
.sc .chip { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-top: 20px; }
.sc .grow { flex: 1; min-height: 26px; }
.sc .tagline { font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.sc .sub { color: var(--dim); margin-top: 8px; font-size: 0.96rem; }

/* ===================================================================== */
/* STATEMENT (two-tone big text)                                          */
/* ===================================================================== */
.statement { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--mute); max-width: 22ch; }
.statement .hl { color: var(--text); }

/* ===================================================================== */
/* FEATURE BLOCKS (alternating rounded panels)                            */
/* ===================================================================== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature + .feature { margin-top: 26px; }
.feature .copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.feature .copy p { color: var(--dim); margin-top: 16px; font-size: 1.08rem; }
.feature .copy .lk { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; color: var(--accent); font-weight: 600; }
.feature .copy .lk:hover { gap: 11px; }
.panel { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); min-height: 380px; padding: 30px; position: relative; overflow: hidden; }
.feature.rev .copy { order: 2; }

/* mock app window inside panels */
.mock { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-top .wdot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.16); flex: 0 0 9px; }
.mock-top .seg { font-family: var(--f-body); font-size: 0.74rem; color: var(--mute); margin-left: 10px; }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.row-toggle { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.row-toggle .name { font-weight: 600; font-size: 0.96rem; }
.row-toggle .name small { display: block; color: var(--mute); font-weight: 400; font-size: 0.78rem; margin-top: 2px; }
.sw { width: 40px; height: 23px; border-radius: var(--pill); background: var(--accent); position: relative; flex: 0 0 40px; }
.sw::after { content: ''; position: absolute; top: 3px; right: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; }
.sw.off { background: #34343a; }
.sw.off::after { right: auto; left: 3px; }

/* ===================================================================== */
/* ACCENT SECTION (bold colour block)                                     */
/* ===================================================================== */
.accent-band { background: linear-gradient(135deg, #c00838, var(--accent) 55%, #8c0226); color: #fff; border-radius: var(--r-lg); padding: 72px 54px; position: relative; overflow: hidden; }
.accent-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 130% at 100% -10%, rgba(255,255,255,0.12), transparent 55%); pointer-events: none; }
.accent-band .eyebrow { color: rgba(255,255,255,0.85); }
.accent-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0 16px; position: relative; }
.accent-band p { color: rgba(255,255,255,0.9); max-width: 48ch; font-size: 1.1rem; position: relative; }
.accent-band .btn-dark { margin-top: 30px; position: relative; }

/* ===================================================================== */
/* STATS BAND                                                             */
/* ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.stat .n { font-family: var(--f-head); font-weight: 700; font-size: clamp(3rem, 7vw, 5rem); letter-spacing: -0.04em; line-height: 0.9; }
.stat .n .accent { color: var(--accent); }
.stat .l { color: var(--dim); margin-top: 14px; font-size: 1.02rem; max-width: 30ch; }

/* ===================================================================== */
/* PRICING                                                                */
/* ===================================================================== */
.pricing-head { max-width: 640px; margin: 0 auto 16px; }
.pricing-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 28px; gap: 16px; flex-wrap: wrap; }
.toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--dim); cursor: pointer; user-select: none; }
.toggle .track { width: 46px; height: 26px; border-radius: var(--pill); background: #34343a; position: relative; transition: background 0.2s; flex: 0 0 46px; }
.toggle .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease); }
.toggle.on .track { background: var(--accent); }
.toggle.on .track::after { transform: translateX(20px); }
.cmp-link { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-size: 0.95rem; }
.cmp-link:hover { color: var(--accent); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -40px var(--accent-glow); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan-name { font-family: var(--f-head); font-weight: 700; font-size: 1.4rem; }
.plan-price { font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; text-align: right; white-space: nowrap; }
.plan-price small { font-family: var(--f-body); font-weight: 400; color: var(--mute); font-size: 0.72rem; }
.plan-for { color: var(--accent); font-size: 0.88rem; font-weight: 600; margin: 5px 0 18px; }
.plan .btn { width: 100%; justify-content: center; margin-bottom: 18px; }
.plan ul { list-style: none; display: flex; flex-direction: column; }
.plan li { font-size: 0.92rem; color: var(--dim); padding: 11px 0 11px 26px; position: relative; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: none; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* always-included */
.always { background: var(--surface); border-radius: var(--r-lg); padding: 44px; }
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.incl-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); min-height: 240px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.incl-card h3 { font-size: 1.3rem; }
.incl-card p { color: var(--dim); margin-top: 8px; font-size: 0.96rem; }

/* compare table */
.compare { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.compare th, .compare td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; }
.compare td { color: var(--dim); }
.compare td.c, .compare th.c { text-align: center; }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--mute); }
.compare tbody tr:hover { background: rgba(255,255,255,0.02); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.faq-item h3 { font-size: 1.18rem; margin-bottom: 9px; }
.faq-item p { color: var(--dim); font-size: 0.98rem; }

/* ===================================================================== */
/* TESTIMONIALS                                                           */
/* ===================================================================== */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; }
.t-stars { color: var(--accent); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 14px; }
.t-card p { font-size: 1.05rem; line-height: 1.5; flex: 1; }
.t-who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.t-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #5e0119); display: grid; place-items: center; font-weight: 700; font-family: var(--f-head); color: #fff; font-size: 0.95rem; flex: 0 0 38px; }
.t-who .nm { font-weight: 600; font-size: 0.92rem; }
.t-who .mt { color: var(--mute); font-size: 0.8rem; }

/* feature page hero variant */
.subhero { padding: 84px 0 30px; max-width: 760px; }
.subhero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.subhero .lead { margin-top: 22px; }

/* ===================================================================== */
/* FINAL CTA                                                              */
/* ===================================================================== */
.final { background: var(--surface); border-radius: var(--r-lg); padding: 64px 50px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.final h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.final .steps { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.final .steps li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.final .steps li:first-child { border-top: none; }
.final .steps .num { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 0.82rem; font-weight: 700; flex: 0 0 26px; }
.final .btn { margin-top: 22px; }

/* ===================================================================== */
/* FOOTER                                                                 */
/* ===================================================================== */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { margin-bottom: 16px; }
.footer-blurb { color: var(--dim); max-width: 34ch; font-size: 0.96rem; }
.footer h4 { font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; font-family: var(--f-body); font-weight: 700; }
.footer-col a { display: block; color: var(--dim); padding: 6px 0; font-size: 0.95rem; transition: color 0.18s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom .legal { color: var(--mute); font-size: 0.84rem; max-width: 70ch; line-height: 1.7; }

/* reveal */
.rise { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* ===================================================================== */
/* RESPONSIVE                                                             */
/* ===================================================================== */
@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr 1fr; }
  .sc-3 { grid-column: 1 / -1; min-height: 260px; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.rev .copy { order: 0; }
  .plans { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .incl-grid, .faq, .t-grid { grid-template-columns: 1fr; }
  .final { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-right .login { display: none; }
  .burger { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 24px 18px; margin: 0; }
  .nav.open .nav-links a { padding: 13px 0; }
  .showcase { grid-template-columns: 1fr; }
  .sc-3 { grid-column: auto; }
  .plans { grid-template-columns: 1fr; }
  .accent-band, .always { padding: 40px 26px; }
  .final { padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .hero { padding-top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
}
