/* index.css — RevoLine home */

:root {
  --purple-deep: #4f29c4;
  --purple: #6b3df0;
  --purple-soft: #b9a6ff;
  --lavender: #e8e2ff;
  --gold: #f0a429;
  --ink: #14121f;
  --muted: #5c5670;
  --paper: #faf8ff;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 50px rgba(47, 24, 108, 0.16);
  --shadow-card: 0 8px 30px rgba(35, 18, 90, 0.08);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;
  --maxw: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, #efe8ff 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 0%, #fdebcf 0%, transparent 45%), var(--paper);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--maxw), calc(100% - 2.5rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  z-index: 50;
  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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1rem 0;
  background: rgba(250, 248, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(79, 41, 196, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(79, 41, 196, 0.25);
}

.brand-name {
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a {
  padding: 0.35rem 0;
  color: var(--muted);
  position: relative;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--purple-deep);
}

.site-nav a.is-active {
  color: var(--purple-deep);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}

.nav-cta {
  margin-left: 0.25rem;
  padding: 0.5rem 1rem !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--white) !important;
  box-shadow: 0 8px 24px rgba(79, 41, 196, 0.35);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  filter: brightness(1.05);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--purple-deep);
  border-radius: 2px;
  position: absolute;
  left: 12px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-bar {
  top: 21px;
}

.nav-toggle-bar::before {
  content: "";
  top: -7px;
}

.nav-toggle-bar::after {
  content: "";
  top: 7px;
}

@media (max-width: 800px) {
  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .brand {
    order: 0;
  }

  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0 0.25rem;
    gap: 0.75rem;
  }

  .nav-check:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a.is-active::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
    margin-left: 0;
  }
}

/* Hero — split copy + full promo art (no background crop) */
.hero {
  position: relative;
  padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 480px at 0% 20%, rgba(233, 226, 255, 0.95) 0%, transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(253, 235, 207, 0.65) 0%, transparent 50%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-art-wrap {
    order: -1;
    max-width: min(520px, 100%);
    margin-inline: auto;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-points {
    justify-content: center;
  }

  .hero-title {
    max-width: none;
  }

  .hero-lead {
    margin-inline: auto;
  }
}

.hero-copy {
  padding: 0.35rem 0;
  animation: rise 0.85s ease-out both;
}

.hero-art-wrap {
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #f4eeff 0%, #fff 42%, #faf6ff 100%);
  border: 1px solid rgba(79, 41, 196, 0.1);
  box-shadow: var(--shadow-soft);
  padding: clamp(0.65rem, 1.5vw, 1rem);
  max-height: min(620px, 72vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-art {
  width: 100%;
  height: auto;
  max-height: min(596px, calc(72vh - 2rem));
  object-fit: contain;
  object-position: center;
  display: block;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 1.25rem;
  max-width: 15ch;
}

.hero-title-accent {
  display: block;
  margin-top: 0.15em;
  background: linear-gradient(90deg, var(--purple-deep) 0%, var(--purple) 42%, #c28a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 40ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn-outline {
  border: 2px solid rgba(79, 41, 196, 0.35);
  color: var(--purple-deep);
  background: rgba(255, 255, 255, 0.75);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--purple);
  background: #fff;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-points .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 164, 41, 0.2);
  flex-shrink: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #ff8b3d 100%);
  color: #1a1028;
  box-shadow: 0 12px 30px rgba(240, 164, 41, 0.45);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 38px rgba(240, 164, 41, 0.55);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

/* Intro */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-intro {
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

.intro-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.intro-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.intro-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff 0%, #f1eaff 100%);
  box-shadow: var(--shadow-soft);
  padding: 1px;
  position: relative;
  overflow: hidden;
}

.intro-panel::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 20%, rgba(240, 164, 41, 0.35), transparent 55%);
  pointer-events: none;
}

.intro-panel-inner {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: calc(var(--radius-lg) - 1px);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.panel-kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-deep);
}

.intro-panel-inner p {
  margin: 0.75rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.panel-stat {
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: var(--white);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.25rem 0;
}

.stat-hint {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Features */
.section-features {
  background: linear-gradient(180deg, rgba(233, 226, 255, 0.35) 0%, transparent 100%);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  border-radius: var(--radius-md);
  padding: 1.35rem 1.35rem 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(79, 41, 196, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: card-in 0.7s ease backwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.05s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.15s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.25s;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(35, 18, 90, 0.12);
}

.feature-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
}

@media (max-width: 560px) {
  .feature-card-wide {
    grid-template-columns: 1fr;
  }
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #1a1028;
  background: linear-gradient(135deg, var(--gold), #ffc76b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.feature-card-wide .feature-icon {
  grid-row: span 2;
}

@media (max-width: 560px) {
  .feature-card-wide .feature-icon {
    grid-row: auto;
  }
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0.75rem 0 0.35rem;
}

.feature-card-wide h3 {
  margin-top: 0;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Showcase — grid: full screenshots without harsh crop */
.section-showcase {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

@media (max-width: 1100px) {
  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

.shot {
  margin: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f3efff 0%, #fff 55%);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid rgba(79, 41, 196, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.shot img {
  width: 100%;
  flex: 1;
  min-height: 200px;
  padding: clamp(0.5rem, 1.2vw, 0.85rem);
  object-fit: contain;
  object-position: center top;
  box-sizing: border-box;
}

.shot figcaption {
  padding: 0 0.9rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
  text-align: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(79, 41, 196, 0.1);
  background: #130b24;
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.brand-footer {
  color: var(--white);
}

.brand-footer img {
  border-radius: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-left: auto;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.footer-copy {
  width: 100%;
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 560px) {
  .footer-links {
    margin-left: 0;
  }
}
