/* ═══════════════════════════════════════════════════════════════════════════
   Improvado VS Competitor — Shared Styles v2.1
   Brand Kit: #201248 deep purple / #FF3187 CTA / #1C1C33 cards
   ═══════════════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════════════
   1. RESET + CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* --- Backgrounds (Brand Kit: deep purple base) --- */
  --bg-void:        #201248;
  --bg-primary:     #201248;
  --bg-elevated:    #1C1C33;
  --bg-card:        #1C1C33;
  --bg-card-hover:  #2a2050;
  --bg-glass:       rgba(32, 18, 72, 0.7);
  --bg-glass-heavy: rgba(28, 28, 51, 0.9);

  /* --- Brand Colors (Brand Kit) --- */
  --purple:         #8068FF;
  --purple-light:   #9B8CFF;
  --purple-soft:    #b4a6ff;
  --purple-glow:    rgba(100, 60, 150, 0.35);
  --pink:           #FF3187;
  --pink-hot:       #FF3187;
  --amber:          #fbbf24;
  --teal:           #33C7C3;
  --green:          #34d399;
  --red:            #f87171;

  /* --- Text --- */
  --text-primary:   #f0eef6;
  --text-secondary: rgba(240, 238, 246, 0.60);
  --text-tertiary:  rgba(240, 238, 246, 0.35);
  --text-ghost:     rgba(240, 238, 246, 0.15);

  /* --- Borders --- */
  --border-subtle:  rgba(128, 104, 255, 0.12);
  --border-card:    rgba(128, 104, 255, 0.18);
  --border-glow:    rgba(128, 104, 255, 0.35);

  /* --- Radii --- */
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --radius-pill:    100px;

  /* --- Layout --- */
  --container:      1200px;
  --gap:            8px;

  /* --- Timing --- */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:  200ms;
  --duration-normal: 400ms;
  --duration-slow:  800ms;

  /* --- Section spacing --- */
  --section-pad:    clamp(80px, 12vh, 140px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

img { display: block; max-width: 100%; }
svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

::selection {
  background: var(--purple);
  color: white;
}


/* ═══════════════════════════════════════════════════════════════════════════
   2. BODY + TYPOGRAPHY BASE
   ═══════════════════════════════════════════════════════════════════════════ */

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-void);
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}


/* ═══════════════════════════════════════════════════════════════════════════
   3. CONTAINER UTILITY
   ═══════════════════════════════════════════════════════════════════════════ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.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;
}


/* ═══════════════════════════════════════════════════════════════════════════
   4. BACKGROUND ATMOSPHERE
   ═══════════════════════════════════════════════════════════════════════════ */

.page-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}

.orb--purple-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(100, 60, 150, 0.15) 0%, transparent 70%);
  top: -18%;
  right: -12%;
  animation: orb-drift-1 28s ease-in-out infinite alternate;
}

.orb--pink-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 49, 135, 0.08) 0%, transparent 70%);
  bottom: 8%;
  left: -10%;
  animation: orb-drift-2 32s ease-in-out infinite alternate;
}

.orb--amber-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(51, 199, 195, 0.06) 0%, transparent 70%);
  top: 45%;
  right: -6%;
  animation: orb-drift-3 22s ease-in-out infinite alternate;
}

.orb--purple-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(100, 60, 150, 0.10) 0%, transparent 70%);
  bottom: -6%;
  right: 25%;
  animation: orb-drift-1 24s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-70px, 50px) scale(1.12); }
}

@keyframes orb-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.06); }
}

@keyframes orb-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -60px) scale(0.94); }
}

/* Noise texture overlay */
.page-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.35;
  mix-blend-mode: overlay;
}

/* Grid lines (subtle) */
.grid-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}


/* ═══════════════════════════════════════════════════════════════════════════
   5. STICKY HEADER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition:
    background var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo),
    padding var(--duration-normal) var(--ease-out-expo);
}

.site-header.scrolled {
  background: rgba(32, 18, 72, 0.92);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow:
    0 1px 0 var(--border-subtle),
    0 8px 40px rgba(0, 0, 0, 0.4);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  transition: opacity var(--duration-fast);
}

.logo-link:hover {
  opacity: 0.8;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  transition: all var(--duration-normal) var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(128, 104, 255, 0.25);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(128, 104, 255, 0.4);
}

.header-cta svg {
  width: 16px;
  height: 16px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   6. SECTION LAYOUT + TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

.section {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

/* Elegant section transitions — gradient fades between sections */
.section + .section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(128, 104, 255, 0.12) 30%,
    rgba(128, 104, 255, 0.12) 70%,
    transparent
  );
}

.section--hero {
  padding-top: clamp(140px, 20vh, 200px);
  padding-bottom: clamp(80px, 12vh, 120px);
}

/* Eyebrow / Section label */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: rgba(128, 104, 255, 0.06);
  border: 1px solid rgba(128, 104, 255, 0.12);
  margin-bottom: 28px;
}

.section-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* Section titles — BIGGER and BOLDER */
.section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
  font-weight: 400;
}

.gradient-text {
  background: linear-gradient(135deg, var(--pink), var(--purple-light), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Legacy dividers — still supported for existing HTML */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
  opacity: 0.15;
}

.section-divider .line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple));
}

.section-divider .diamond {
  width: 6px;
  height: 6px;
  background: var(--purple-light);
  border-radius: 2px;
  transform: rotate(45deg);
}


/* ═══════════════════════════════════════════════════════════════════════════
   6a. HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

/* Grid layout (backward compatible with existing hero-grid) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* Centered hero layout (for new pages without sidebar form) */
.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-centered .hero-badge {
  align-self: center;
}

.hero-centered .hero-title {
  width: 100%;
}

.hero-centered .hero-subtitle {
  margin-inline: auto;
}

.hero-centered .hero-stats {
  justify-content: center;
}

.hero-centered .hero-stat {
  text-align: center;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(244, 114, 182, 0.08),
    rgba(192, 132, 252, 0.06),
    rgba(251, 191, 36, 0.04)
  );
  border: 1px solid rgba(244, 114, 182, 0.15);
}

.hero-badge .badge-text {
  background: linear-gradient(135deg, var(--pink), var(--purple-light), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badge .badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(244, 114, 182, 0.5);
}

.hero-badge .badge-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transform: translateX(-100%);
  animation: shimmer-slide 5s ease-in-out infinite;
}

@keyframes shimmer-slide {
  0%, 75% { transform: translateX(-100%); }
  100%    { transform: translateX(200%); }
}

/* Hero title — HUGE display-level typography */
.hero-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--pink), var(--purple-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: clamp(28px, 4vw, 48px);
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1;
  background: linear-gradient(135deg, var(--text-primary), var(--purple-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 6px;
  letter-spacing: 0.02em;
  font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════════════════════
   6b. HERO FORM — PILL VARIANT (horizontal, sleek)
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-form-pill {
  display: flex;
  align-items: center;
  max-width: 540px;
  margin: 0 auto;
  background: rgba(28, 28, 51, 0.85);
  border: 1px solid rgba(128, 104, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 6px;
  transition:
    border-color var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-form-pill:focus-within {
  border-color: rgba(128, 104, 255, 0.35);
  box-shadow:
    0 0 0 4px rgba(128, 104, 255, 0.08),
    0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero-form-pill .form-input {
  flex: 1;
  width: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 14px 24px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 400;
  min-width: 0;
  box-shadow: none;
}

.hero-form-pill .form-input::placeholder {
  color: var(--text-ghost);
}

.hero-form-pill .form-input:focus {
  outline: none;
  box-shadow: none;
}

.hero-form-pill .form-submit-btn {
  flex-shrink: 0;
  width: auto;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: white;
  background: linear-gradient(135deg, var(--pink-hot), var(--purple));
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
  transition: all var(--duration-normal) var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(255, 49, 135, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero-form-pill .form-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(255, 49, 135, 0.4);
}

.hero-form-pill .form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hero-form-pill .form-submit-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast);
}

.hero-form-pill .form-submit-btn:hover svg {
  transform: translateX(3px);
}

.hero-form-pill + .cta-form-error,
.hero-pill-error {
  text-align: center;
  font-size: 13px;
  color: var(--red);
  min-height: 20px;
  margin-top: 8px;
  padding-inline: 24px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   6c. FORM CARD — GLASSMORPHISM (sidebar + bottom CTA)
   ═══════════════════════════════════════════════════════════════════════════ */

.form-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
}

/* Animated gradient border glow */
.form-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: conic-gradient(from 180deg, var(--purple), var(--pink), var(--amber), var(--purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.12;
}

/* Top accent line */
.form-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 104, 255, 0.25), transparent);
}

.form-card-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.form-card-sub {
  font-size: 14px;
  color: var(--text-tertiary);
  text-align: center;
  margin-bottom: 28px;
}

.form-benefits {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-benefit-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.10);
  border: 1px solid rgba(52, 211, 153, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-benefit-icon svg {
  width: 12px;
  height: 12px;
  color: var(--green);
}

/* Form elements */
.cta-form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input {
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  background: rgba(28, 28, 51, 0.5);
  color: var(--text-primary);
  font-size: 15px;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.form-input::placeholder {
  color: var(--text-ghost);
}

.form-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow:
    0 0 0 3px rgba(128, 104, 255, 0.10),
    0 0 24px rgba(128, 104, 255, 0.06);
}

.form-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.10);
}

.form-submit-btn {
  width: 100%;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: white;
  background: linear-gradient(135deg, var(--pink-hot), #c084fc, var(--purple));
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
  transition: all var(--duration-normal) var(--ease-out-expo);
  box-shadow: 0 4px 24px rgba(255, 49, 135, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(255, 51, 102, 0.35);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-submit-btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-fast);
}

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

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.cta-form-error {
  font-size: 13px;
  color: var(--red);
  min-height: 18px;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.form-note .pulse-live {
  position: relative;
  width: 8px;
  height: 8px;
}

.form-note .pulse-live::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: ping 2s ease-in-out infinite;
}

.form-note .pulse-live::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: var(--green);
}

@keyframes ping {
  0%        { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2.5); opacity: 0; }
}

/* Trust badges */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.trust-badge svg {
  width: 14px;
  height: 14px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   7. TRUST / LOGO STRIP
   ═══════════════════════════════════════════════════════════════════════════ */

.trust-strip {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-strip-label {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--amber), var(--pink), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-strip-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
}

/* Legacy text logos */
.trust-strip-logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--text-primary);
  opacity: 0.20;
  letter-spacing: 0.04em;
  transition: opacity var(--duration-normal);
  white-space: nowrap;
}

.trust-strip-logo:hover {
  opacity: 0.5;
}

/* Image logos (like AI dashboards page) */
.trust-strip-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: all 500ms var(--ease-out-expo);
}

.trust-strip-logo-img:hover {
  opacity: 1;
  transform: scale(1.08);
}


/* ═══════════════════════════════════════════════════════════════════════════
   8. BENEFIT CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.benefit-grid--two-col {
  grid-template-columns: repeat(2, 1fr);
}

.benefit-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-slow) var(--ease-out-expo);
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: radial-gradient(ellipse at top left, rgba(128, 104, 255, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-slow);
}

.benefit-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(128, 104, 255, 0.06);
}

.benefit-card:hover::before {
  opacity: 1;
}

/* Large faded number behind content */
.benefit-card-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 72px;
  line-height: 1;
  color: var(--text-primary);
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.benefit-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.benefit-card-icon svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  flex-shrink: 0;
}

/* Icon color variants */
.benefit-card-icon--green {
  background: rgba(52, 211, 153, 0.10);
  border: 1px solid rgba(52, 211, 153, 0.15);
  color: var(--green);
}

.benefit-card-icon--purple {
  background: rgba(128, 104, 255, 0.10);
  border: 1px solid rgba(128, 104, 255, 0.15);
  color: var(--purple);
}

.benefit-card-icon--pink {
  background: rgba(244, 114, 182, 0.10);
  border: 1px solid rgba(244, 114, 182, 0.15);
  color: var(--pink);
}

.benefit-card-icon--teal {
  background: rgba(51, 199, 195, 0.10);
  border: 1px solid rgba(51, 199, 195, 0.15);
  color: var(--teal);
}

.benefit-card-icon--amber {
  background: rgba(251, 191, 36, 0.10);
  border: 1px solid rgba(251, 191, 36, 0.15);
  color: var(--amber);
}

.benefit-card-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.benefit-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════
   8b. PAIN POINTS (legacy support — same as benefit cards but 2-col default)
   ═══════════════════════════════════════════════════════════════════════════ */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pain-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-slow) var(--ease-out-expo);
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: radial-gradient(ellipse at top left, rgba(128, 104, 255, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-slow);
}

.pain-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(128, 104, 255, 0.06);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.pain-icon--red {
  background: rgba(248, 113, 113, 0.10);
  border: 1px solid rgba(248, 113, 113, 0.15);
  color: var(--red);
}

.pain-icon--orange {
  background: rgba(251, 191, 36, 0.10);
  border: 1px solid rgba(251, 191, 36, 0.15);
  color: var(--amber);
}

.pain-icon--purple {
  background: rgba(128, 104, 255, 0.10);
  border: 1px solid rgba(128, 104, 255, 0.15);
  color: var(--purple);
}

.pain-icon--pink {
  background: rgba(244, 114, 182, 0.10);
  border: 1px solid rgba(244, 114, 182, 0.15);
  color: var(--pink);
}

.pain-icon svg {
  width: 24px;
  height: 24px;
}

.pain-card-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.pain-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════
   9. COMPARISON TABLE
   ═══════════════════════════════════════════════════════════════════════════ */

.comparison-wrap {
  margin-top: 56px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-header-cell {
  padding: 22px 28px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.comparison-header-cell:first-child {
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.comparison-header-cell.col-improvado {
  background: linear-gradient(180deg, rgba(128, 104, 255, 0.08), transparent);
  color: var(--purple-light);
  text-align: center;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

.comparison-header-cell.col-competitor {
  color: var(--text-tertiary);
  text-align: center;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  border-bottom: 1px solid rgba(128, 104, 255, 0.04);
  transition: background var(--duration-fast);
}

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

.comparison-row:hover {
  background: rgba(128, 104, 255, 0.025);
}

.comparison-cell {
  padding: 18px 28px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.comparison-cell:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.comparison-cell.col-improvado {
  justify-content: center;
  background: rgba(128, 104, 255, 0.03);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

.comparison-cell.col-competitor {
  justify-content: center;
  color: var(--text-tertiary);
}

.check-yes {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
}

.check-yes svg {
  width: 18px;
  height: 18px;
}

.check-no {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  font-size: 13px;
  opacity: 0.7;
}

.check-no svg {
  width: 16px;
  height: 16px;
}

.check-limited {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--amber);
  opacity: 0.8;
}

.check-limited svg {
  width: 16px;
  height: 16px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   10. RESULTS / SOCIAL PROOF
   ═══════════════════════════════════════════════════════════════════════════ */

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.result-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: all var(--duration-slow) var(--ease-out-expo);
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(128, 104, 255, 0.06), transparent 70%);
  pointer-events: none;
}

.result-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.result-value {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  margin-bottom: 12px;
}

.result-value.clr-pink   { color: var(--pink); }
.result-value.clr-purple { color: var(--purple-light); }
.result-value.clr-green  { color: var(--green); }
.result-value.clr-teal   { color: var(--teal); }
.result-value.clr-amber  { color: var(--amber); }

.result-label {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.result-source {
  font-size: 12px;
  color: var(--text-ghost);
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Logo strip (within results section) */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
  margin-top: 64px;
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.logo-strip-label {
  font-size: 12px;
  color: var(--text-ghost);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  white-space: nowrap;
}

.client-logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--text-primary);
  opacity: 0.20;
  letter-spacing: 0.04em;
  transition: opacity var(--duration-normal);
  white-space: nowrap;
}

.client-logo:hover {
  opacity: 0.55;
}

/* Testimonial */
.testimonial-card {
  margin-top: 56px;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 24px;
  left: 36px;
  font-family: 'Raleway', sans-serif;
  font-size: 96px;
  line-height: 1;
  color: var(--purple);
  opacity: 0.08;
  pointer-events: none;
}

.testimonial-quote {
  font-size: 19px;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: white;
}

.testimonial-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 2px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   11. BOTTOM CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.section--cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Subtle gradient overlay */
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    rgba(128, 104, 255, 0.06),
    transparent 70%
  );
  pointer-events: none;
}

.section--cta .section-title {
  max-width: 640px;
  margin-inline: auto;
}

.section--cta .section-subtitle {
  margin-inline: auto;
  margin-bottom: 48px;
}

/* Inline form in CTA section (existing pages) */
.cta-form-inline {
  max-width: 480px;
  margin: 0 auto;
}

/* Glass CTA form card — new variant for centered bottom CTA */
.cta-form-card {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  text-align: left;
}

.cta-form-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 104, 255, 0.2), transparent);
}

.cta-form-card .form-card-title {
  text-align: left;
  font-size: 22px;
  margin-bottom: 20px;
}

.cta-form-card .form-benefits {
  margin-bottom: 28px;
}

.cta-form-card .trust-badges {
  margin-top: 20px;
  padding-top: 20px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   12. FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  opacity: 0.6;
}

.footer-logo .logo-img {
  height: 22px;
  width: auto;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color var(--duration-fast);
}

.footer-link:hover {
  color: var(--text-secondary);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-tertiary);
  transition: all var(--duration-normal);
}

.social-icon:hover {
  background: rgba(128, 104, 255, 0.10);
  border-color: rgba(128, 104, 255, 0.20);
  color: var(--purple-light);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   13. SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* Staggered children */
.stagger-children .reveal {
  transition-delay: calc(var(--i, 0) * 100ms);
}

/* Subtle fade-in from different directions */
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}


/* ═══════════════════════════════════════════════════════════════════════════
   14. RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* --- Tablet landscape (1024px) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stat {
    text-align: center;
  }

  .form-card {
    max-width: 480px;
    margin-inline: auto;
  }

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

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

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

  .results-grid .result-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin-inline: auto;
    width: 100%;
  }
}

/* --- Tablet portrait (768px) --- */
@media (max-width: 768px) {
  :root {
    --section-pad: clamp(56px, 10vh, 100px);
  }

  .section--hero {
    padding-top: clamp(120px, 16vh, 160px);
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

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

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

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

  .results-grid .result-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .comparison-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-header,
  .comparison-row {
    min-width: 580px;
  }

  .logo-strip {
    flex-wrap: wrap;
    gap: 20px;
  }

  .trust-strip-logos {
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-badges {
    flex-wrap: wrap;
    justify-content: center;
  }

  .testimonial-card {
    padding: 32px;
  }

  .testimonial-quote {
    font-size: 17px;
  }

  /* Hero pill form goes vertical on mobile */
  .hero-form-pill {
    flex-direction: column;
    border-radius: var(--radius-xl);
    padding: 8px;
    max-width: 400px;
  }

  .hero-form-pill .form-input {
    width: 100% !important;
    text-align: center;
    padding: 14px 20px;
  }

  .hero-form-pill .form-submit-btn {
    width: 100% !important;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
  }

  .hero-centered {
    align-items: center;
  }
}

/* --- Mobile (480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero-stat {
    text-align: center;
  }

  .form-card {
    padding: 28px 24px;
  }

  .pain-card,
  .benefit-card {
    padding: 28px 24px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .result-card {
    padding: 32px 24px;
  }

  .cta-form-card {
    padding: 32px 24px;
  }

  .section--hero {
    padding-top: 110px;
  }

  .logo-strip {
    gap: 16px;
  }

  .client-logo {
    font-size: 14px;
  }

  .footer-socials {
    gap: 8px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   15. UTILITY HELPERS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Text alignment helpers */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Margin helpers */
.mx-auto { margin-inline: auto; }
.mt-0    { margin-top: 0; }
.mb-0    { margin-bottom: 0; }
.mb-sm   { margin-bottom: 16px; }
.mb-md   { margin-bottom: 32px; }
.mb-lg   { margin-bottom: 48px; }

/* Max-width helpers for titles/subtitles */
.max-w-sm  { max-width: 480px; }
.max-w-md  { max-width: 640px; }
.max-w-lg  { max-width: 800px; }

/* Gradient text utility */
.gradient-pink-purple {
  background: linear-gradient(135deg, var(--pink), var(--purple-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-purple-teal {
  background: linear-gradient(135deg, var(--purple), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
