/* Recolor.io — Index2 landing (draft)
   Brand: #2E2151, #7825b3
   Independent of Glint/main.css
*/

:root {
  --ink: #1a1428;
  --ink-muted: #5c5470;
  --brand: #2e2151;
  --brand-2: #7825b3;
  --brand-soft: #f4eefb;
  --surface: #ffffff;
  --canvas: #f7f5fb;
  --line: #e6e1ef;
  --gold: #d4a017;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(46, 33, 81, 0.12);
  --header-h: 72px;
  --max: 1160px;
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 1000;
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 8px;
}

/* Header
   ================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.header-cta {
  flex-shrink: 0;
}

.site-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--brand-2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--brand);
  position: relative;
  transition: 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Buttons
   ================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: #3d2c68;
  color: #fff;
}

.btn--ghost {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}

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

.btn--light {
  background: #fff;
  color: var(--brand);
}

.btn--light:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.btn--ghost-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Hero
   ================================================== */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(120, 37, 179, 0.12), transparent 60%),
    linear-gradient(180deg, #fbf9fe 0%, #fff 100%);
  padding: 56px 0 40px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.hero__def {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 52ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
}

.hero__visual {
  display: grid;
  gap: 14px;
}

.hero__shot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__shot img {
  width: 100%;
}

/* Dobby band
   ================================================== */
.dobby-band {
  background: var(--brand);
  color: #fff;
  padding: 72px 0;
}

.dobby-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.dobby-band h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dobby-band p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 52ch;
}

.dobby-band__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dobby-band__shot {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

/* Stats
   ================================================== */
.stats {
  background: var(--canvas);
  padding: 56px 0;
}

.stats h2 {
  margin: 0 0 8px;
  text-align: center;
  color: var(--brand);
  font-size: 1.6rem;
}

.stats .lede {
  text-align: center;
  color: var(--ink-muted);
  margin: 0 auto 32px;
  max-width: 62ch;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 2rem;
  color: var(--brand);
  letter-spacing: -0.03em;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* Sections shared
   ================================================== */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--canvas);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--brand);
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 0;
  color: var(--ink-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feature i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-2);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--brand);
}

.feature p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.shot-block {
  margin-top: 36px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.demo-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.youtube-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.youtube-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.youtube-facade .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.youtube-facade .play span {
  background: rgba(46, 33, 81, 0.88);
  border-radius: 999px;
  padding: 12px 18px;
}

.youtube-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Palette
   ================================================== */
.palette {
  background: var(--brand);
  color: #fff;
}

.palette .section__head h2,
.palette .section__head p,
.palette .feature h3 {
  color: #fff;
}

.palette .section__head p,
.palette .feature p {
  color: rgba(255, 255, 255, 0.82);
}

.palette .feature {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.palette .feature i {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.palette .shot-block {
  border-color: transparent;
}

/* FAQ
   ================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--brand);
}

.faq-item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Pricing
   ================================================== */
.pricing {
  background: var(--brand);
  color: #fff;
  padding: 80px 0;
}

.pricing .section__head h2,
.pricing .section__head p {
  color: #fff;
}

.pricing .section__head p {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.currency-toggle,
.billing-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.currency-btn {
  background: #fff;
  color: var(--brand);
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
}

.currency-btn.active {
  background: #069e22;
  border-color: #069e22;
  color: var(--brand);
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  cursor: pointer;
}

.slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .slider {
  background: var(--brand-2);
}

.switch input:checked + .slider::before {
  transform: translateX(22px);
}

.save-badge {
  background: var(--brand-2);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  margin-left: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.04);
}

.price-card--featured {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.price-card__badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--brand-2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.price-card__audience {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.price-card h3 {
  margin: 6px 0 4px;
  font-size: 2rem;
}

.price-card__license {
  margin: 0 0 14px;
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
}

.price-card__amount {
  font-size: 2.2rem;
  font-weight: 700;
}

.price-card__period {
  font-size: 14px;
  opacity: 0.8;
}

.annual-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 4px 0 12px;
}

.price-card ul {
  list-style: none;
  margin: 18px 0;
  padding: 0;
}

.price-card li {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.price-card li i {
  color: var(--gold);
  margin-top: 3px;
}

.price-card .btn {
  width: 100%;
}

.price-card__note {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.pricing-disclaimer {
  text-align: center;
  margin: 28px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.price-card a {
  color: inherit;
}

/* ArtGo
   ================================================== */
.artgo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.artgo-grid img {
  border-radius: 16px;
  border: 1px solid var(--line);
}

/* Footer
   ================================================== */
.site-footer {
  background: #160f28;
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 13px;
}

/* Responsive
   ================================================== */
@media (max-width: 960px) {
  .hero__grid,
  .dobby-band__grid,
  .artgo-grid,
  .demo-row {
    grid-template-columns: 1fr;
  }

  .stats__grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .header-cta {
    margin-left: auto;
    padding: 10px 14px;
    font-size: 13px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 20px;
    gap: 14px;
    margin-left: 0;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .hero {
    padding-top: 32px;
  }

  .feature-grid,
  .faq-grid,
  .stats__grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .section,
  .pricing,
  .dobby-band {
    padding: 56px 0;
  }
}
