/* ============================================================
   PROTOTIPO.CLOUD — Main Stylesheet
   Dark-themed SaaS landing page
   ============================================================ */

/* ----- Google Fonts Import ----- */
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* — Colors — */
  --color-bg-primary:      #09090b;
  --color-bg-secondary:    #1b1b1d;
  --color-green:           #00df89;
  --color-green-hover:     #00b26d;
  --color-blue:            #0068ff;
  --color-text-primary:    #f4f4f5;
  --color-text-muted:      #a1a1a3;
  --color-white:           rgb(244, 244, 245);
  --color-card-border:     #a1a1a3;
  --color-black:           #000000;

  /* — Typography — */
  --font-heading:  'Schibsted Grotesk', sans-serif;
  --font-body:     'IBM Plex Sans', sans-serif;

  /* — Layout — */
  --max-width:     1224px;
  --nav-height:    112px;
  --section-pad-y: 120px;
  --section-pad-x: 24px;

  /* — Radii — */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* — Transitions — */
  --transition-fast:   0.2s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* ============================================================
   3. UTILITY / LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}

.section--secondary {
  background-color: var(--color-bg-secondary);
}

.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-muted    { color: var(--color-text-muted); }
.text-green    { color: var(--color-green); }
.text-white    { color: var(--color-white); }

.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-8   { gap: 8px; }
.gap-16  { gap: 16px; }
.gap-24  { gap: 24px; }
.gap-32  { gap: 32px; }
.gap-48  { gap: 48px; }

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: 1.15;
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
}

h4 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
}

p {
  color: var(--color-text-muted);
  max-width: 640px;
}

.label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-green);
  display: inline-block;
  margin-bottom: 16px;
}

.accent-italic {
  font-style: italic;
  color: var(--color-green);
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 16px auto 0;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-base),
              color var(--transition-base),
              transform var(--transition-fast),
              box-shadow var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary — Green */
.btn--primary {
  background-color: var(--color-green);
  color: var(--color-black);
}

.btn--primary:hover {
  background-color: var(--color-green-hover);
  color: var(--color-white);
}

/* Secondary — White */
.btn--secondary {
  background-color: var(--color-text-primary);
  color: var(--color-black);
  border-radius: var(--radius-sm);
}

.btn--secondary:hover {
  background-color: #d4d4d5;
}

/* CTA — White large */
.btn--cta {
  background-color: #ffffff;
  color: var(--color-black);
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.btn--cta:hover {
  background-color: var(--color-text-primary);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15);
}

/* Outline — Ghost */
.btn--outline {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-card-border);
}

.btn--outline:hover {
  border-color: var(--color-green);
  color: var(--color-green);
}

/* Small variant */
.btn--sm {
  font-size: 13px;
  padding: 8px 20px;
}

/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg-primary);
  border-bottom: 1px solid rgba(161, 161, 163, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.header.header-scrolled {
  background-color: rgba(9, 9, 11, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom-color: rgba(161, 161, 163, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.header__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green);
}

.header__logo-icon svg {
  width: 28px;
  height: 28px;
}

/* Desktop Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-base);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-green);
  transition: width var(--transition-base);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--color-text-primary);
}

.header__nav-link--active::after,
.header__nav-link:hover::after {
  width: 100%;
}

/* CTA in nav */
.header__cta {
  margin-left: 12px;
}

/* Hamburger — Mobile */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-base);
}

.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.header__mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-primary);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.header__mobile-nav.is-open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.header__mobile-nav .header__nav-link {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 0 120px;
  text-align: center;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 104, 255, 0.25) 0%,
    rgba(0, 104, 255, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   8. WORKFLOW / FEATURE CARDS (3-column grid)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 223, 137, 0.06);
  border-color: var(--color-green);
}

.card--dark {
  background-color: var(--color-bg-secondary);
  border: 1px solid transparent;
}

.card--dark:hover {
  border-color: rgba(161, 161, 163, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(0, 223, 137, 0.1);
  color: var(--color-green);
  margin-bottom: 24px;
  font-size: 22px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-green);
  fill: none;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.card__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.card__step {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 16px;
  display: block;
}

/* ============================================================
   9. FEATURE SPLIT SECTIONS (text + visual)
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-split--reverse {
  direction: rtl;
}

.feature-split--reverse > * {
  direction: ltr;
}

.feature-split__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-split__content h2 {
  margin-bottom: 8px;
}

.feature-split__content p {
  font-size: 16px;
  line-height: 1.7;
}

.feature-split__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(161, 161, 163, 0.15);
}

/* Code editor mockup */
.code-editor {
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: 'IBM Plex Mono', 'Fira Code', monospace;
  font-size: 14px;
}

.code-editor__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background-color: rgba(27, 27, 29, 0.8);
  border-bottom: 1px solid rgba(161, 161, 163, 0.1);
}

.code-editor__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-editor__dot--red    { background: #ff5f57; }
.code-editor__dot--yellow { background: #ffbd2e; }
.code-editor__dot--green  { background: #28c840; }

.code-editor__body {
  padding: 20px 24px;
  line-height: 1.8;
  color: var(--color-text-muted);
  overflow-x: auto;
}

.code-editor__body .keyword  { color: #c084fc; }
.code-editor__body .string   { color: var(--color-green); }
.code-editor__body .comment  { color: #525254; }
.code-editor__body .function { color: #60a5fa; }
.code-editor__body .number   { color: #f59e0b; }

/* ============================================================
   10. TESTIMONIAL
   ============================================================ */
.testimonial {
  border-top: 2px dotted rgba(161, 161, 163, 0.3);
  padding-top: 60px;
  margin-top: 80px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.5;
  margin-bottom: 32px;
}

.testimonial__quote::before {
  content: '\201C';
  color: var(--color-green);
  font-size: 1.4em;
  margin-right: 4px;
}

.testimonial__quote::after {
  content: '\201D';
  color: var(--color-green);
  font-size: 1.4em;
  margin-left: 4px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-green);
}

.testimonial__name {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-primary);
}

.testimonial__role {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ============================================================
   11. CTA SECTION (Blue background)
   ============================================================ */
.cta-section {
  background-color: var(--color-blue);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 17px;
}

/* ============================================================
   12. PRICING CARDS
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid transparent;
  transition: border-color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.pricing-card:hover {
  border-color: rgba(161, 161, 163, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card--featured {
  border: 2px solid var(--color-green);
}

.pricing-card--featured:hover {
  border-color: var(--color-green);
  box-shadow: 0 12px 40px rgba(0, 223, 137, 0.1);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-green);
  color: var(--color-black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.pricing-card__description {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 4px;
  line-height: 1;
}

.pricing-card__price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pricing-card__period {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.pricing-card__feature-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-green);
  margin-top: 1px;
}

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

/* ============================================================
   13. FAQ / ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(161, 161, 163, 0.15);
}

.faq-item.is-open {
  border-color: rgba(0, 223, 137, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 28px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--color-green);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-text-muted);
}

.faq-icon svg {
  width: 18px;
  height: 18px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  color: var(--color-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer__inner {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

/* ============================================================
   14. STATS / METRICS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1;
}

.stat__label {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.stat__accent {
  color: var(--color-green);
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-bg-primary);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(161, 161, 163, 0.1);
  position: relative;
}

.footer__accent-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background-color: var(--color-green);
  border-radius: 2px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  margin-bottom: 60px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.footer__brand-logo svg {
  width: 24px;
  height: 24px;
  color: var(--color-green);
}

.footer__brand-text {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 360px;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__link {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--color-green);
}

.footer__bottom {
  border-top: 1px solid rgba(161, 161, 163, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: color var(--transition-base),
              background-color var(--transition-base);
}

.footer__social-link:hover {
  color: var(--color-green);
  background-color: rgba(0, 223, 137, 0.08);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   16. DIVIDERS & SEPARATORS
   ============================================================ */
.divider {
  width: 100%;
  height: 1px;
  background-color: rgba(161, 161, 163, 0.1);
  border: none;
}

.divider--dotted {
  background: none;
  border-top: 2px dotted rgba(161, 161, 163, 0.3);
  height: 0;
}

.accent-bar {
  width: 48px;
  height: 3px;
  background-color: var(--color-green);
  border-radius: 2px;
  margin-bottom: 24px;
}

.accent-bar--center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   17. SCROLL ANIMATIONS
   ============================================================ */

/* — Fade In Up — */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* — Fade In — */
.anim-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.anim-fade-in.is-visible {
  opacity: 1;
}

/* — Scale Up (for metrics) — */
.anim-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* — Slide In Left — */
.anim-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* — Slide In Right — */
.anim-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.25s; }
.stagger-4 { transition-delay: 0.35s; }
.stagger-5 { transition-delay: 0.45s; }
.stagger-6 { transition-delay: 0.55s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up,
  .anim-fade-in,
  .anim-scale,
  .anim-slide-left,
  .anim-slide-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   18. MISCELLANEOUS COMPONENTS
   ============================================================ */

/* Tag / Badge */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background-color: rgba(0, 223, 137, 0.1);
  color: var(--color-green);
}

/* Feature list with check icons */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.feature-list__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-green);
  margin-top: 2px;
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.tooltip:hover::after {
  opacity: 1;
}

/* ============================================================
   19. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-pad-y: 80px;
  }

  .cards-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-split {
    gap: 40px;
  }

  .stats-grid {
    gap: 32px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================================================
   20. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 50px;
    --section-pad-y: 64px;
    --section-pad-x: 16px;
  }

  .header__logo-img {
    height: 32px;
  }

  /* Nav */
  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 60px 0 80px;
  }

  .hero__glow {
    width: 500px;
    height: 400px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Cards */
  .cards-grid,
  .pricing-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* Feature split */
  .feature-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-split--reverse {
    direction: ltr;
  }

  .feature-split__visual {
    order: -1;
  }

  /* Pricing */
  .pricing-card {
    padding: 32px 24px;
  }

  /* FAQ */
  .faq-question {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq-answer__inner {
    padding: 0 20px 20px;
    font-size: 14px;
  }

  /* Testimonial */
  .testimonial {
    padding-top: 40px;
    margin-top: 56px;
  }

  /* CTA section */
  .cta-section {
    padding: 56px 0;
  }

  .cta-section p {
    font-size: 15px;
  }

  /* Footer */
  .footer {
    padding: 56px 0 32px;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Typography adjustments */
  .section-subtitle {
    font-size: 16px;
  }

  .card {
    padding: 28px 24px;
  }

  .card__title {
    font-size: 18px;
  }
}

/* ============================================================
   21. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .footer__links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid {
    gap: 40px;
  }

  .stat__number {
    font-size: 48px;
  }

  .btn--cta {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* ============================================================
   22. PRINT STYLES
   ============================================================ */
@media print {
  body {
    background: white;
    color: black;
  }

  .header,
  .footer,
  .cta-section,
  .hero__glow {
    display: none;
  }

  .anim-fade-up,
  .anim-fade-in,
  .anim-scale,
  .anim-slide-left,
  .anim-slide-right {
    opacity: 1;
    transform: none;
  }
}
