﻿/* ===========================
   CapScript Web — Premium Light Theme
   Editorial × Luxury Tech aesthetic
   Fraunces display + Outfit body
   =========================== */

/* ===========================
   Design Tokens
   =========================== */

/* ══════════════════════════════════════════════════════════════
   FONT IMPORTS
   Add these at the very top of your CSS file (or in <head>)
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Outfit:wght@400;600;700;900&family=Fraunces:ital,opsz,wght@0,9..144,900;1,9..144,900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@1,900&display=swap");


:root {
  
  --bg:          #FAFAF8;
  --bg-card:     #FFFFFF;
  --bg-raised:   #F4F3F0;
  --bg-muted:    #EEECEA;

  
  --ink-1:       #0D0D0D;
  --ink-2:       #4A4745;
  --ink-3:       #8C8885;

  
  --red:         #E50914;
  --red-dark:    #B8070F;
  --red-soft:    rgba(229, 9, 20, 0.08);
  --red-glow:    rgba(229, 9, 20, 0.18);

  
  --border:      #E3E1DC;
  --border-dark: #CCCAC5;

  
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl:   0 32px 80px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.07);

  
  --font-body:    'Outfit', system-ui, sans-serif;
    --font-brand:   'Akrobat Black', system-ui, sans-serif;
    --font-display: 'Gilroy ExtraBold', system-ui, sans-serif;

  
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;

  
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

  @font-face {
    font-family: 'Akrobat Black';
    src: url('assets/fonts/Akrobat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Gilroy ExtraBold';
    src: url('assets/fontsGilroy-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
  }

/* ===========================
   Reset & Base
   =========================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

p { color: var(--ink-2); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink-1);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

em {
  font-style: italic;
  color: var(--red);
  font-family: var(--font-display);
}

/* ===========================
   Utility — Animate In
   =========================== */

.feature-row,
.perk-card,
.download-card,
.stat {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===========================
   Navigation
   =========================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar.cspro-dark {
  background: rgba(12, 12, 12, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar.cspro-dark .logo-text {
  color: #f5f2ed;
}

.navbar.cspro-dark .nav-links a {
  color: rgba(240, 237, 232, 0.72);
}

.navbar.cspro-dark .nav-links a:hover {
  color: #fff;
}

.navbar.cspro-dark .nav-links a::after {
  background: #fff;
}

.navbar.cspro-dark .nav-cta {
  background: #fff;
  color: #111;
}

.navbar.cspro-dark .nav-cta:hover {
  background: #f2eee7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

.navbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--s4);
  height: 68px;
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.logo:hover { opacity: 0.75; }

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-1);
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.badge-web {
  font-family: var(--font-body);
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  line-height: 1.5;
}

.nav-links {
  display: flex;
  gap: var(--s4);
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--red);
  color: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: var(--r-pill);
  transition: background 0.2s, transform 0.2s var(--spring), box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--red-glow);
}

/* ===========================
   Buttons
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 12px var(--red-glow);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--red-glow);
}

.btn-primary svg {
  transition: transform 0.2s var(--spring);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--border-dark);
}

.btn-ghost:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}

/* ===========================
   Hero
   =========================== */

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--s7) var(--s4) var(--s6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--s5) var(--s6);
  align-items: center;
  position: relative;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50%       { box-shadow: 0 0 0 6px rgba(229,9,20,0); }
}

.hero-content {
  grid-column: 1;
  grid-row: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.75rem);
  margin-bottom: var(--s3);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 440px;
  margin-bottom: var(--s4);
}

.hero-cta {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-bottom: var(--s5);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.hero-visual {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ===========================
   Screenshot Frame Component
   =========================== */


/* Default frame (wide screenshots with square corners). */
.screenshot-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.screenshot-frame:hover { transform: translateY(-3px); }

/* Extension-panel screenshots (Fetch / Search / Library / Ask AI).
   These images have rounded top corners drawn in white over a gray fill, so a
   plain CSS frame leaves gray "pockets" outside the arc. Instead we clip the
   image to the exact same arc (measured at 4.78% of the image width) and draw
   the outline with a ring shadow, so border and image line up at any size.
   cqw = 1% of the frame's width, so the radius scales with the image. */
.screenshot-frame--panel {
  container-type: inline-size;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.screenshot-frame--panel .screenshot-body {
  --panel-r: 4.9cqw; /* a hair above the 4.78 measured, to hide the anti-aliased fringe */
  border-radius: var(--panel-r);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 0 0 1px var(--border-dark), var(--shadow-lg);
}

.screenshot-frame--panel .screenshot-body img { border-radius: 0; }

.screenshot-body {
  overflow: hidden;
  background: var(--bg-muted);
  line-height: 0;
}

.screenshot-body img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   Section Shared
   =========================== */

.features,
.technology,
.download {
  padding: var(--s7) var(--s4);
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--s2);
}

.section-header {
  max-width: 650px;
  margin-bottom: var(--s6);
}

.features .section-header {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: var(--s2);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--ink-2);
}

/* ===========================
   Features — Alternating Rows
   =========================== */

.features {
  border-top: 1px solid var(--border);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child { border-bottom: none; }

.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: var(--s2);
}

.feature-text p {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: var(--s3);
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.feature-bullets li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-left: 1.25rem;
  position: relative;
}

.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}


.feature-row.centered {
  grid-template-columns: 1fr;
  text-align: center;
}
.feature-row.centered .feature-text {
  max-width: 1200px;
  margin: 0 auto;
}
.feature-row.centered .feature-visual {
  justify-self: center;
  margin-top: var(--s3);
}
.feature-row.centered .screenshot-frame {
  max-width: 1200px; 
  width: 100%;
  margin: 0 auto;
}

.feature-row.centered .screenshot-body img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-row.centered .feature-bullets {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s1);
  padding-left: 0;
  margin: 0.5rem auto 0;
}
.feature-row.centered .feature-bullets li {
  padding-left: 0;
  position: relative;
}
.feature-row.centered .feature-bullets li::before {
  
  position: relative;
  display: inline-block;
  left: auto;
  top: auto;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  transform: none;
}


.ticks-features {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-body);
}
.ticks-row {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  align-items: center;
}
.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem; 
  font-weight: 600;
  color: var(--ink-2);
}
.tick-num {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .ticks-row { flex-direction: column; gap: 0.45rem; }
  .tick-item { font-size: 0.95rem; }
}

/* ===========================
   Technology — Perks Grid
   =========================== */

.technology {
  background: var(--bg);
  max-width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-inner { max-width: 1240px; margin: 0 auto; }

/* generic header (also used by the "Skip to the right moment" heading) */
.tech-header {
  max-width: 1380px;
  margin: 0 auto var(--s6);
  padding: 0 var(--s4);
  text-align: right;
}

.tech-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: var(--s2);
}

.technology .tech-header {
  max-width: 620px;
  margin: 0 0 var(--s5);
  padding: 0;
  text-align: left;
}

.technology .tech-header p {
  font-size: 1.05rem;
  color: var(--ink-2);
}

/* hairline grid: 1px gaps over a border-coloured background */
.technology .perks-grid {
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.perk-card {
  background: var(--bg-card);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 1;
  transform: none;
  transition: background 0.2s var(--ease);
}

.perk-card:hover { background: #FDFDFC; }

.perk-icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  background: var(--bg-raised);
  color: var(--ink-1);
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.perk-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.perk-desc {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .technology .perks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .technology .perks-grid { grid-template-columns: 1fr; }
}

/* ===========================
   Download Section
   =========================== */

.download-card {
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s4);
  transition: all 0.25s var(--ease);
  color: var(--ink-1);
}

.download-card:hover {
  border-color: var(--red);
  background: var(--red-soft);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.download-card h3 {
  font-size: 0.84rem;
  font-weight: 700;
}

.download-card p {
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* ===========================
   Footer
   =========================== */

.footer {
  background: var(--red);
  border-top: 1px solid var(--red-dark);
  padding: var(--s5) var(--s4);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  text-align: center;
}

.footer-inner > p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: var(--s6);
  }
  .hero-content { grid-column: 1; grid-row: 2; }
  .hero-visual  { grid-column: 1; grid-row: 3; margin-top: var(--s4); }

  .hero-subtitle { max-width: none; }

  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .download-card { padding: var(--s3); }
}

@media (max-width: 768px) {
  :root {
    --s5: 2.5rem;
    --s6: 3rem;
    --s7: 4rem;
  }

  .navbar-inner { padding: 0 var(--s3); gap: var(--s2); }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }

  .hero { padding: var(--s5) var(--s3); }
  .hero-title { font-size: clamp(2.2rem, 7vw, 3.5rem); }

  .hero-cta { flex-direction: column; align-items: flex-start; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }

  .feature-row.reverse .feature-text { order: 0; }
  .feature-row.reverse .feature-visual { order: 1; }

  .perks-grid { grid-template-columns: 1fr; }

  .features, .technology, .download, .demo { padding: var(--s5) var(--s3); }
  .tech-header { padding: 0 var(--s3); }
  .perks-grid  { padding: 0 var(--s3); }
}

@media (max-width: 480px) {
  :root {
    --s6: 2.5rem;
    --s7: 3rem;
  }

  .logo-text { font-size: 1rem; }
}


/* ===========================
   Demo Section � Interactive Ticks
   =========================== */

/* ===========================
   Demo Player Simulation
   =========================== */
/* ===========================
   Download — Overhaul
   =========================== */

.download {
  padding: var(--s7) var(--s4);
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.dl-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}


.dl-left { position: sticky; top: calc(68px + var(--s4)); }

.dl-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: var(--s2) 0 var(--s3);
}
.dl-headline em { color: var(--red); }

.dl-sub {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: var(--s4);
  max-width: 380px;
}

.dl-steps { list-style: none; padding: 0; margin-bottom: var(--s4); }

.dl-step {
  display: flex;
  gap: var(--s3);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.dl-step:first-child { border-top: 1px solid var(--border); }

.dl-step-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
}

.dl-step-content strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 3px;
  font-family: var(--font-body);
}

.dl-step-content p {
  font-size: 0.8rem;
  color: var(--ink-3);
  margin: 0;
}

.dl-step-content code {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  background: var(--bg-muted);
  color: var(--red);
  padding: 1px 6px;
  border-radius: var(--r-sm);
}

.dl-compat { margin-top: var(--s4); }

.dl-compat > p {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s2);
}

.dl-browser-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.dl-browser-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 7px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-card);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}

.dl-browser-pill img {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}


.dl-right {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.dl-right.animate-in { opacity: 1; transform: translateY(0); }


.dl-ticket {
  display: block;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink-1);
  position: relative;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.dl-ticket::before {
  content: none;
}

.dl-ticket:hover {
  transform: translateY(-3px);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-lg);
}

.dl-ticket > * { position: relative; z-index: 1; }


.dl-secondary {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: 1.1rem 1.4rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--ink-1);
  transition: border-color 0.22s var(--ease), background 0.22s, transform 0.22s var(--ease);
}

.dl-secondary:hover {
  border-color: var(--border-dark);
  background: var(--bg-raised);
  transform: translateX(5px);
}


@media (max-width: 1024px) {
  .dl-wrap { grid-template-columns: 1fr; gap: var(--s5); }
  .dl-left { position: static; }
  .dl-sub { max-width: none; }
}

@media (max-width: 768px) {
  .dl-headline { font-size: clamp(3.5rem, 13vw, 5.5rem); }
}


/* ===========================
   Footer — Overhaul
   =========================== */

.footer {
  background: #e8261c;
  position: relative;
  overflow: hidden;
  padding: 0;
  border-top: none;
}

.footer-wordmark-row {
  padding: var(--s5) var(--s4) 0;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 17vw, 13rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.11);
  white-space: nowrap;
  user-select: none;
}

.footer-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin: var(--s3) var(--s4) 0;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--s3) var(--s4) var(--s5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: var(--s4);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-row img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.footer-logo-name {
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.04em;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: var(--s3);
}


.serptail-floating {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 40;
}

@media (min-width: 1024px) {
  .serptail-floating { left: 32px; bottom: 32px; }
}

.serptail-floating .button {
  cursor: pointer;
  border: none;
  background: #fff; 
  color: #000;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: grid;
  place-content: center;
  transition: background 300ms, transform 200ms, color 200ms;
  font-weight: 600;
}

.serptail-floating .button--sm { width: 72px; height: 72px; font-size: 0.62rem; }

.serptail-floating .button__text { --chars: 24; position: absolute; inset: 0; animation: text-rotation 8s linear infinite; color: transparent; }

.serptail-floating .button__text > span { position: absolute; transform: rotate(calc(360deg / var(--chars) * var(--index))); inset: 1px; color: #000; }

.serptail-floating .button__circle { position: relative; width: 28px; height: 28px; overflow: hidden; background: #000; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.serptail-floating .button__icon { color: inherit; }

.serptail-floating .button__icon--copy { position: absolute; transform: translate(-150%, 150%); }

.serptail-floating .button:hover { background: #000; color: #fff; transform: scale(1.05); }

.serptail-floating .button:hover .button__icon { color: inherit; }

.serptail-floating .button:hover .button__icon:first-child { transition: transform 0.3s ease-in-out; transform: translate(150%, -150%); }

.serptail-floating .button:hover .button__icon--copy { transition: transform 0.3s ease-in-out 0.1s; transform: translate(0); }

@keyframes text-rotation { to { rotate: 360deg; } }


.serptail-floating .button:hover .button__text > span { color: #fff !important; }

.footer-nav {
  display: flex;
  gap: var(--s3);
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  transition: color 0.2s;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.footer-nav a:hover { color: #fff; }
.footer-nav a:hover::after { transform: scaleX(1); }

.footer-github-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.58rem 1.15rem;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-github-btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .footer-wordmark { font-size: clamp(3.8rem, 20vw, 7rem); }
  .footer-inner { grid-template-columns: 1fr; gap: var(--s3); }
  .footer-right { align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; }
}

/* ══════════════════════════════════════════════
   PAYPAL TEST SECTION
   ══════════════════════════════════════════════ */

@keyframes paytest-pulse-anim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(93, 222, 122, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(93, 222, 122, 0); }
}

/* ══════════════════════════════════════════════
   CAPSCRIPT PRO SECTION — CENTERED REDESIGN
   ══════════════════════════════════════════════ */

.cspro {
  padding: 130px 0 120px;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
  text-align: center;
}


.cspro::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.35;
  pointer-events: none;
}


.cspro::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(232, 38, 28, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cspro-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}


.cspro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 24px;
}


.cspro-headline {
  font-family: 'Gilroy ExtraBold', system-ui, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #f0ede8;
  margin: 0 0 28px;
}

.cspro-headline em {
  font-style: italic;
  color: #e8261c;
}


.cspro-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #666;
  max-width: 560px;
  margin: 0 auto 30px;
}


.cspro-actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  margin: 10px 0 18px;
  width: 100%;
}

.cspro-card-link {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 24px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.cspro-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.26);
}

.cspro-card-link--primary {
  background: #e8261c;
  border-color: rgba(232, 38, 28, 0.28);
}

.cspro-card-link--primary:hover {
  background: #cf2017;
  border-color: rgba(207, 32, 23, 0.42);
}

.cspro-card-link-kicker {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.774);
}

.cspro-card-link-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f0ede8;
}

.cspro-card-link-copy {
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #f8ede3;
  max-width: 28ch;
}

.cspro-card-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-top: auto;
}

.cspro-card-link--ghost {
  background: rgba(255, 255, 255, 0.02);
}

.cspro-card-link--ghost .cspro-card-link-title {
  color: #f7f4ef;
}

.cspro-card-link--ghost .cspro-card-link-copy {
  color: #8f8a83;
}

.cspro-card-link--ghost .cspro-card-link-cta {
  color: #f0ede8;
}

.cspro-release-note {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  color: #3a3a3a;
  letter-spacing: 0.04em;
  margin: 0;
}


@media (max-width: 600px) {
  .cspro {
    padding: 90px 0 80px;
  }

  .cspro-actions {
    flex-direction: column;
    width: 100%;
  }

  .cspro-card-link {
    width: 100%;
    align-items: flex-start;
  }
}
/* ══════════════════════════════════════════════════════════════
   FONT IMPORTS
   Add these at the very top of your CSS file (or in <head>)
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Outfit:wght@400;600;700;900&family=Fraunces:ital,opsz,wght@0,9..144,900;1,9..144,900&display=swap');

/*
  Or paste this in your <head> instead of the @import:

  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;900&family=Fraunces:ital,opsz,wght@0,9..144,900;1,9..144,900&display=swap" rel="stylesheet">
*/


/* ══════════════════════════════════════════════════════════════
   CHECKOUT CARD
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   PAY BUTTON
   ══════════════════════════════════════════════════════════════ */

.icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  color: #e8261c;   
  opacity: 0;
  visibility: hidden;
}



@keyframes iconRotate {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.5);
  }
  5% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  15% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  20% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.5);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.5);
  }
}

@keyframes checkmarkAppear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
  .icon {
    position: absolute; top: 0; left: 0;
    width: 18px; height: 18px;
    color: #e8261c;
    opacity: 0; visibility: hidden;
  }
 
  @keyframes iconRotate {
    0%   { opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.5); }
    5%   { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
    15%  { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
    20%  { opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.5); }
    100% { opacity: 0; visibility: hidden; }
  }
  @keyframes checkmarkAppear {
    0%   { opacity: 0; transform: scale(0.5) rotate(-45deg); }
    50%  { opacity: 0.5; transform: scale(1.2) rotate(0deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
  }

/* ===========================
   Ask AI badge
   =========================== */

.badge-new {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  vertical-align: middle;
  margin-left: 0.4rem;
}

/* ===========================
   Download — store buttons
   =========================== */

.dl-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0.9rem; }

.dl-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  background: var(--bg-card);
  color: var(--ink-1);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.dl-store:hover { border-color: var(--ink-1); transform: translateY(-1px); }
.dl-store img { width: 22px; height: 22px; flex-shrink: 0; }
.dl-store small { display: block; font-size: 0.65rem; font-weight: 500; color: var(--ink-3); }

/* ===========================
   Checkout card
   =========================== */

.checkout {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.checkout-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem 1.75rem 1.25rem;
}

.checkout-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.35rem;
}

.checkout-title { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; }

.checkout-price { text-align: right; line-height: 1; }

.checkout-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink-1);
}

.checkout-note { display: block; margin-top: 0.35rem; font-size: 0.75rem; font-weight: 500; color: var(--ink-3); }

.checkout-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
}

.checkout-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.checkout-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E50914' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.checkout-action { padding: 0 1.75rem 1.5rem; }

.checkout-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.25rem;
  border: 0;
  border-radius: var(--r-md);
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.checkout-btn:hover { background: var(--red-dark); }
.checkout-btn:active { transform: scale(0.99); }
.checkout-btn:focus-visible { outline: 2px solid var(--ink-1); outline-offset: 3px; }
.checkout-btn svg { transition: transform 0.2s var(--ease); }
.checkout-btn:hover svg { transform: translateX(3px); }

.checkout-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.75rem;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
}

.checkout-methods { display: flex; align-items: center; gap: 6px; }
.checkout-methods svg { height: 26px; width: auto; }

.checkout-powered {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.checkout-powered img { height: 13px; width: auto; opacity: 0.5; filter: grayscale(1); }

@media (max-width: 1024px) {
  .checkout { margin-left: 0; max-width: 100%; }
}

/* ===========================
   Ask AI - provider chips
   =========================== */

.ai-providers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 var(--s3);
}

.ai-provider {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-card);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-1);
}

.ai-provider img { width: 20px; height: 20px; flex-shrink: 0; object-fit: contain; }