/* ============================================================
   INVYNEX — Landing Page Styles
   Brand: Satoshi + Inter 800 (wordmark) + JetBrains Mono
   Colors: #1f7b3f (deep), #2fb85a (bright), #3bd47a (light)
   ============================================================ */

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

:root {
  --green-deep: #1f7b3f;
  --green-bright: #2fb85a;
  --green-light: #3bd47a;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  --font-sans: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "Consolas", monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--slate-100);
  background: var(--slate-900);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn--sm { padding: 8px 20px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--green-deep), var(--green-bright));
  color: var(--white);
  border-color: var(--green-deep);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--green-bright), var(--green-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47, 184, 90, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--slate-100);
  border-color: var(--slate-400);
}
.btn--ghost:hover {
  border-color: var(--green-bright);
  color: var(--green-bright);
}

.btn--outline {
  background: transparent;
  color: var(--green-bright);
  border-color: var(--green-bright);
}
.btn--outline:hover {
  background: var(--green-bright);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- HEADER / NAV --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.header--scrolled {
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.nav__logo-svg { height: 36px; width: auto; }

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-400);
  transition: var(--transition);
  position: relative;
}
.nav__link:hover { color: var(--white); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-bright);
  transition: var(--transition);
}
.nav__link:hover::after { width: 100%; }

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

.lang-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--slate-400);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-100);
  transition: var(--transition);
}
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 184, 90, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 184, 90, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 184, 90, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__title br + br { display: none; }

.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--slate-400);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero__lead-magnet {
  font-size: 14px;
  color: var(--slate-400);
}
.hero__lead-magnet a { color: var(--green-bright); }
.hero__lead-magnet a:hover { text-decoration: underline; }

/* Hero Mockup */
.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__mockup-img {
  width: 100%;
  max-width: 680px;
  height: auto;
  border-radius: var(--radius-lg);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.hero__mockup {
  perspective: 1000px;
}

.mockup__screen {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 420px;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotateY(-3deg) rotateX(2deg) translateY(0); }
  50% { transform: rotateY(-3deg) rotateX(2deg) translateY(-12px); }
}

.mockup__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup__dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup__dot--green { background: var(--green-bright); box-shadow: 0 0 8px rgba(47,184,90,0.5); }
.mockup__title { font-size: 13px; font-weight: 600; color: var(--slate-400); }

.mockup__body { padding: 20px; }

.mockup__kpi {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 4px;
  min-width: 80px;
}
.mockup__label { font-size: 11px; color: var(--slate-400); font-weight: 500; margin-bottom: 4px; }
.mockup__value { font-family: var(--font-mono); font-size: 20px; font-weight: 700; }
.mockup__value--ok { color: var(--green-bright); }
.mockup__value--warn { color: var(--warning); }

.mockup__chart {
  margin: 16px 0 12px;
  background: rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.mockup__sparkline { width: 100%; height: 60px; }

.mockup__alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(47, 184, 90, 0.1);
  border: 1px solid rgba(47, 184, 90, 0.2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--green-bright);
}
.mockup__alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- TRUST BAR --- */
.trust {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 28px 0;
}

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

.trust__item { text-align: center; }
.trust__number {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--green-bright);
  font-family: var(--font-mono);
}
.trust__label { font-size: 13px; color: var(--slate-400); font-weight: 500; }
.trust__divider { width: 1px; height: 36px; background: rgba(255,255,255,0.08); }

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-bright);
  margin-bottom: 12px;
}
.section-header__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-header__desc {
  font-size: 18px;
  color: var(--slate-400);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- PROBLEM --- */
.problem {
  padding: 100px 0;
}

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

.problem__card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.problem__card:hover {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.03);
  transform: translateY(-4px);
}

.problem__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--radius-sm);
  color: var(--danger);
  margin-bottom: 16px;
}
.problem__icon svg { width: 22px; height: 22px; }

.problem__card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.problem__card p {
  font-size: 15px;
  color: var(--slate-400);
  line-height: 1.6;
}

/* --- HOW IT WORKS (Steps) --- */
.how {
  padding: 100px 0;
  background: rgba(255,255,255,0.01);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 300px;
  padding: 32px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: var(--transition);
}
.step:hover {
  border-color: rgba(47, 184, 90, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(47, 184, 90, 0.08);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-deep), var(--green-bright));
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}

.step__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--green-bright);
}
.step__icon svg { width: 48px; height: 48px; }

.step__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.step__desc {
  font-size: 15px;
  color: var(--slate-400);
  line-height: 1.6;
}

.step__arrow {
  display: flex;
  align-items: center;
  padding-top: 80px;
  color: var(--slate-700);
}
.step__arrow svg { width: 32px; height: 32px; }

/* --- FEATURES --- */
.features {
  padding: 100px 0;
}

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

.feature {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature:hover {
  border-color: rgba(47, 184, 90, 0.25);
  transform: translateY(-4px);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__icon--green { background: rgba(47,184,90,0.1); color: var(--green-bright); }
.feature__icon--blue { background: rgba(59,130,246,0.1); color: var(--info); }
.feature__icon--amber { background: rgba(245,158,11,0.1); color: var(--warning); }

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.feature p {
  font-size: 15px;
  color: var(--slate-400);
  line-height: 1.6;
}

/* --- TRANSFORMATION --- */
.transform {
  padding: 100px 0;
  background: rgba(255,255,255,0.01);
}

.transform__grid {
  display: flex;
  align-items: stretch;
  gap: 32px;
  justify-content: center;
}

.transform__col {
  flex: 1;
  max-width: 420px;
  padding: 40px;
  border-radius: var(--radius);
}
.transform__col--before {
  background: rgba(239,68,68,0.04);
  border: 1px solid rgba(239,68,68,0.15);
}
.transform__col--after {
  background: rgba(47,184,90,0.04);
  border: 1px solid rgba(47,184,90,0.15);
}

.transform__heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.transform__heading--before { color: var(--danger); }
.transform__heading--after { color: var(--green-bright); }

.transform__list li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--slate-400);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-left: 20px;
  position: relative;
}
.transform__col--before .transform__list li::before {
  content: "\2717";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}
.transform__col--after .transform__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green-bright);
  font-weight: 700;
}

.transform__arrow {
  display: flex;
  align-items: center;
  color: var(--slate-700);
}
.transform__arrow svg { width: 40px; height: 40px; }

/* --- SOCIAL PROOF (Numbers) --- */
.proof {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-deep), var(--green-bright));
}

.proof__grid {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.proof__stat { text-align: center; }
.proof__number {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-mono);
}
.proof__suffix {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-mono);
}
.proof__label {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

/* --- PRICING --- */
.pricing {
  padding: 100px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing__card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.pricing__card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.12);
}

.pricing__card--featured {
  border-color: var(--green-bright);
  background: rgba(47, 184, 90, 0.05);
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(47, 184, 90, 0.12);
}
.pricing__card--featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--green-deep), var(--green-bright));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 20px;
  border-radius: 20px;
}

.pricing__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.pricing__price {
  margin-bottom: 8px;
}
.pricing__currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--slate-400);
  vertical-align: top;
  line-height: 1.4;
}
.pricing__amount {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.pricing__amount--custom {
  font-size: 28px;
}
.pricing__period {
  font-size: 16px;
  color: var(--slate-400);
}

.pricing__target {
  font-size: 14px;
  color: var(--slate-400);
  margin-bottom: 28px;
}

.pricing__features {
  text-align: left;
  margin-bottom: 32px;
}
.pricing__features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--slate-400);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-left: 24px;
  position: relative;
}
.pricing__features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green-bright);
  font-weight: 700;
}

.pricing__guarantees {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pricing__guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--slate-400);
}
.pricing__guarantee svg { width: 20px; height: 20px; color: var(--green-bright); flex-shrink: 0; }

/* --- STORY --- */
.story {
  padding: 100px 0;
  background: rgba(255,255,255,0.01);
}

.story__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 64px;
  align-items: center;
}

.story__title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  margin-top: 12px;
}

.story__text {
  font-size: 17px;
  color: var(--slate-400);
  line-height: 1.8;
  margin-bottom: 16px;
}
.story__text--bold {
  color: var(--white);
  font-weight: 600;
  font-style: italic;
}

.story__visual {
  display: flex;
  justify-content: center;
}

.story__badge {
  text-align: center;
  padding: 48px;
  background: rgba(47, 184, 90, 0.05);
  border: 1px solid rgba(47, 184, 90, 0.15);
  border-radius: var(--radius-lg);
}

.story__shield { width: 100px; height: 100px; margin: 0 auto 16px; }
.story__location {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.story__tagline {
  display: block;
  font-size: 14px;
  color: var(--green-bright);
  font-style: italic;
}

/* --- HERO DEVICE FRAMES --- */
.hero__device {
  position: relative;
  perspective: 1000px;
}

.device {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.device--laptop {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  max-width: 480px;
  animation: float 6s ease-in-out infinite;
}

.device--laptop .device__screen {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.device--phone {
  position: absolute;
  bottom: -20px;
  right: -30px;
  width: 140px;
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  animation-delay: -2s;
}

.device--phone .device__screen {
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
}

.device__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.device__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31,123,63,0.1), rgba(15,23,42,0.95));
  padding: 24px;
  text-align: center;
}
.device__placeholder span {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-400);
}

.placeholder__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
  max-width: 240px;
}
.placeholder__kpi {
  display: block;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  padding: 8px;
  font-size: 13px;
  color: var(--green-bright);
  font-family: var(--font-mono);
}
.placeholder__kpi b {
  display: block;
  font-size: 10px;
  color: var(--slate-400);
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 2px;
}
.placeholder__kpi--warn {
  color: var(--warning);
}

.device__placeholder--phone {
  gap: 8px;
  padding: 16px 8px;
}
.device__placeholder--phone span {
  font-size: 10px;
}

/* --- STEP IMAGES --- */
.step__image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  background: rgba(47,184,90,0.03);
  border: 1px solid rgba(255,255,255,0.04);
}

.step__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.step__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(47,184,90,0.05), rgba(15,23,42,0.3));
}

/* --- STORY IMAGE --- */
.story__image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.story__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* When image loads, hide fallback badge */
.story__image-wrapper .story__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- FINAL CTA --- */
.cta {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--slate-900) 0%, rgba(31, 123, 63, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: blur(2px);
}
.cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--slate-900) 0%, rgba(15,23,42,0.7) 40%, rgba(31,123,63,0.15) 100%);
}

.cta__inner { max-width: 640px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }

.cta__title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta__subtitle {
  font-size: 18px;
  color: var(--slate-400);
  margin-bottom: 40px;
}

.cta__form { text-align: left; }

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.cta__input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: var(--transition);
}
.cta__input:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(47, 184, 90, 0.15);
}
.cta__input::placeholder { color: var(--slate-700); }

.cta__select { appearance: none; cursor: pointer; }
.cta__select option { background: var(--slate-800); color: var(--white); }

.cta__textarea { margin-bottom: 16px; resize: vertical; min-height: 80px; }

.cta__note {
  text-align: center;
  font-size: 14px;
  color: var(--slate-400);
  margin-top: 16px;
}
.cta__note a { color: var(--green-bright); }

/* --- FOOTER --- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
}

.footer__logo { height: 32px; width: auto; margin-bottom: 8px; }
.footer__tagline { font-size: 14px; color: var(--slate-400); font-style: italic; }

.footer__social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  max-width: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--slate-400);
  transition: var(--transition);
  overflow: hidden;
  flex-shrink: 0;
}
.footer__social a:hover {
  background: var(--green-bright);
  color: var(--white);
  transform: translateY(-2px);
}
.footer__social svg { width: 18px; height: 18px; max-width: 18px; max-height: 18px; flex-shrink: 0; }

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

.footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--slate-400);
  padding: 4px 0;
  transition: var(--transition);
}
.footer__col a:hover { color: var(--green-bright); }

.footer__bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: var(--slate-700);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero__subtitle { margin: 0 auto 36px; }
  .hero__ctas { justify-content: center; }
  .hero__lead-magnet { text-align: center; }
  .hero__device { display: flex; justify-content: center; }
  .device--laptop { max-width: 400px; }
  .device--phone { right: -20px; width: 120px; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing__card--featured { transform: none; }
  .pricing__card--featured:hover { transform: translateY(-6px); }

  .story__inner { grid-template-columns: 1fr; text-align: center; }
  .story__image-wrapper { max-width: 400px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__links { justify-items: center; }
  .footer__social { justify-content: center; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__actions { order: 2; }
  .nav__hamburger { display: flex; order: 3; z-index: 10; min-width: 40px; min-height: 40px; justify-content: center; align-items: center; }

  /* Mobile menu */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero__title { font-size: 36px; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 320px; }

  .mockup__screen { width: 100%; max-width: 360px; }
  .device--laptop { max-width: 340px; }
  .device--phone { width: 100px; right: -10px; bottom: -10px; }
  .step__image-wrap { aspect-ratio: 3 / 2; }

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

  .steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); padding-top: 0; }

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

  .transform__grid { flex-direction: column; align-items: center; }
  .transform__arrow { transform: rotate(90deg); }
  .transform__col { width: 100%; }

  .proof__grid { gap: 32px; }
  .proof__number, .proof__suffix { font-size: 36px; }

  .trust__inner { gap: 20px; }
  .trust__divider { display: none; }

  .cta__form-row { grid-template-columns: 1fr; }

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

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 30px; }
  .trust__inner { flex-direction: column; gap: 16px; }
}

/* --- ANIMATIONS (reveal on scroll) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESOURCES PREVIEW (landing page)
   ============================================================ */
.resources {
  padding: 100px 0;
  background: var(--slate-900);
}
.resources__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 12px;
}
.resources__desc {
  font-size: 18px;
  color: var(--slate-400);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.resources__more {
  text-align: center;
}
.btn--outline {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid var(--green-bright);
  color: var(--green-bright);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn--outline:hover {
  background: var(--green-bright);
  color: var(--slate-900);
}
@media (max-width: 768px) {
  .resources__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .resources { padding: 72px 0; }
}

/* ============================================================
   BLOG STYLES
   ============================================================ */

/* Blog listing */
.blog-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}
.blog-hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.blog-hero__desc {
  font-size: 18px;
  color: var(--slate-400);
  max-width: 600px;
  margin: 0 auto;
}

.blog-grid {
  padding: 80px 0;
  background: var(--slate-900);
}
.blog-grid__inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-bright);
  box-shadow: 0 12px 40px rgba(47,184,90,0.1);
}
.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-bright);
  margin-bottom: 12px;
}
.blog-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.blog-card__excerpt {
  font-size: 15px;
  color: var(--slate-400);
  line-height: 1.6;
  flex: 1;
}
.blog-card__meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: var(--slate-500);
  display: flex;
  justify-content: space-between;
}

/* Blog article */
.article {
  padding: 140px 0 80px;
  background: var(--slate-900);
}
.article__container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.article__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-bright);
  margin-bottom: 16px;
}
.article__title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.article__meta {
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.article__hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
.article__content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--slate-300);
}
.article__content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin: 48px 0 16px;
}
.article__content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin: 32px 0 12px;
}
.article__content p { margin-bottom: 20px; }
.article__content ul, .article__content ol {
  margin: 0 0 24px 24px;
  color: var(--slate-300);
}
.article__content li { margin-bottom: 8px; }
.article__content strong { color: var(--white); }
.article__content blockquote {
  border-left: 3px solid var(--green-bright);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(47,184,90,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--slate-300);
  font-style: italic;
}
.article__content code {
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}
.article__content .tip {
  background: rgba(47,184,90,0.08);
  border: 1px solid rgba(47,184,90,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.article__content .tip strong {
  color: var(--green-bright);
}

/* Article references */
.article__references {
  margin: 48px 0 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.article__references h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.article__references ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: ref;
}
.article__references li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-400);
}
.article__references li::before {
  counter-increment: ref;
  content: counter(ref) ".";
  position: absolute;
  left: 0;
  color: var(--slate-500);
  font-weight: 600;
}
.article__references em { font-style: italic; }

/* Related articles */
.article__related {
  margin: 40px 0 48px;
}
.article__related h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.article__related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.article__related-card {
  display: block;
  padding: 20px;
  background: var(--slate-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.article__related-card:hover {
  border-color: var(--green-bright);
  transform: translateY(-2px);
}
.article__related-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--green-bright);
  margin-bottom: 8px;
}
.article__related-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .article__related-grid {
    grid-template-columns: 1fr;
  }
}

/* Article CTA banner */
.article-cta {
  background: linear-gradient(135deg, rgba(47,184,90,0.1), rgba(26,107,53,0.15));
  border: 1px solid rgba(47,184,90,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}
.article-cta__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.article-cta__text {
  color: var(--slate-400);
  margin-bottom: 20px;
}

/* Blog back link */
.article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--slate-400);
  text-decoration: none;
  margin-bottom: 32px;
  transition: var(--transition);
}
.article__back:hover { color: var(--green-bright); }
.article__back svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .blog-grid__inner { grid-template-columns: 1fr; }
  .article-cta { padding: 28px 20px; }
}
