/* ================================================
   DeviDevs Agency — Warm Tech Redesign
   Light mode, mobile-first, BEM naming
   ================================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* --- Design Tokens --- */
:root {
  /* Colors */
  --bg-primary: #FAFAF9;
  --bg-secondary: #F5F5F4;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --accent-primary: #059669;
  --accent-light: #10B981;
  --accent-navy: #1e3a5f;
  --accent-amber: #F59E0B;
  --white: #ffffff;
  --border: #e2e8f0;
  --error: #ef4444;

  /* Niche colors */
  --niche-turism: #0d9488;
  --niche-ecommerce: #4f46e5;
  --niche-wellness: #7c3aed;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 48px;
  --card-gap: 16px;
  --content-max-width: 1200px;
  --nav-height: 72px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 40px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 4px 12px rgba(5,150,105,0.12);
  --shadow-nav: 0 1px 2px rgba(0,0,0,0.05);

  /* Transitions */
  --transition: 0.2s ease;
}

/* Niche color shift */
[data-niche="turism"] { --accent: var(--niche-turism); }
[data-niche="ecommerce"] { --accent: var(--niche-ecommerce); }
[data-niche="wellness"] { --accent: var(--niche-wellness); }

/* --- Base Typography --- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: 36px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

small, .text-sm { font-size: 14px; }
.text-caption { font-size: 12px; font-weight: 500; }
.text-muted { color: var(--text-secondary); }

/* --- Utilities --- */
.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding) 0;
}

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

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

.section__subtitle {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 16px;
}

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

.sr-only--focusable:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 12px 24px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--accent-primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ================================================
   COMPONENTS
   ================================================ */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #D97706, var(--accent-amber));
  color: var(--white);
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

.btn--secondary {
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  background: transparent;
}

.btn--ghost {
  color: var(--accent-primary);
  background: transparent;
  padding: 12px 16px;
}

.btn--sm { font-size: 14px; padding: 8px 20px; }
.btn--lg { font-size: 18px; padding: 16px 36px; }

.btn--muted {
  opacity: 0.5;
  pointer-events: none;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(5,150,105,0.08);
  color: var(--accent-primary);
}

.card__icon svg { width: 24px; height: 24px; }

.card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* Card — Module variant */
.card--module {
  position: relative;
  overflow: hidden;
}

.card--module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

/* Card — Niche variant */
.card--niche {
  border-left: 3px solid var(--accent, var(--accent-primary));
}

.card--niche .card__icon {
  background: color-mix(in srgb, var(--accent, var(--accent-primary)) 10%, transparent);
  color: var(--accent, var(--accent-primary));
}

/* Card — Pricing variant */
.card--pricing {
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.card--pricing--featured {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-card-hover);
  position: relative;
}

.card--pricing .card__title {
  font-size: 20px;
  margin: 8px 0 0;
}

.card--pricing .card__price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 16px 0 4px;
  white-space: nowrap;
}

.card--pricing .card__price-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.card--pricing .card__setup {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card--pricing .card__model {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.card--pricing .card__features {
  text-align: left;
  margin: 16px 0 24px;
  flex: 1;
}

.card--pricing .card__features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.card--pricing .card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.card--pricing .card__micro {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

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

.card--pricing--dimmed {
  opacity: 0.6;
  position: relative;
}

.card--pricing .card__price-old {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 4px;
}

.card--pricing .card__micro--fomo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--accent-primary);
  font-weight: 500;
}

.card--pricing .card__micro--fomo svg {
  flex-shrink: 0;
}

/* Card — Team variant */
.card--team { text-align: center; }

.card--team .card__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 16px;
}

.card--team .card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.card--team .card__role {
  font-size: 14px;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.card--team .card__bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Badges --- */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.badge--recommended {
  background: var(--accent-primary);
  color: var(--white);
  margin-bottom: 8px;
}

.badge--coming-soon {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.badge--early-adopter {
  background: rgba(245,158,11,0.12);
  color: #b45309;
}

.badge--new {
  background: rgba(16,185,129,0.12);
  color: var(--accent-primary);
}

.badge--audit {
  background: rgba(13,148,136,0.12);
  color: var(--niche-turism);
}

.badge--pilot {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
  color: var(--white);
}

.badge--scale {
  background: rgba(79,70,229,0.12);
  color: var(--niche-ecommerce);
}

.badge--custom {
  background: rgba(124,58,237,0.12);
  color: var(--niche-wellness);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

.nav--scrolled {
  box-shadow: var(--shadow-nav);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
}

.nav__logo img {
  width: 36px;
  height: 36px;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav__cta {
  display: none;
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 24px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}

.nav__mobile-menu--open {
  display: flex;
}

.nav__mobile-link {
  font-size: 18px;
  font-weight: 600;
  padding: 16px 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.nav__mobile-cta {
  margin-top: 16px;
}

/* --- FAQ Accordion --- */
.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  text-align: left;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* --- Form Elements --- */
.form__group {
  margin-bottom: 16px;
}

.form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.12);
}

.form__input--error,
.form__select--error,
.form__textarea--error {
  border-color: var(--error);
}

.form__error {
  font-size: 13px;
  color: var(--error);
  margin-top: 4px;
  display: none;
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form__status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form__status--success {
  display: block;
  background: rgba(5,150,105,0.08);
  color: var(--accent-primary);
}

.form__status--error {
  display: block;
  background: rgba(239,68,68,0.08);
  color: var(--error);
}

.cf-turnstile {
  position: absolute;
  overflow: hidden;
  width: 0;
  height: 0;
}

.form__protected {
  font-size: 9px;
  color: #6B7280;
  margin-top: 20px;
  opacity: 0.4;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* --- Browser Frame --- */
.browser-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 800px;
  margin: 40px auto 0;
}

.browser-frame__bar {
  background: #f1f5f9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.browser-frame__dot:first-child { background: #fca5a5; }
.browser-frame__dot:nth-child(2) { background: #fde68a; }
.browser-frame__dot:nth-child(3) { background: #86efac; }

.browser-frame__body {
  background: #1a1a2e;
  padding: 0;
  line-height: 0;
}

.browser-frame__body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* --- Platform Carousel --- */
.platform-carousel {
  max-width: 800px;
  margin: 40px auto 0;
}

.platform-carousel__tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.platform-carousel__tabs::-webkit-scrollbar {
  display: none;
}

.platform-carousel__tab {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.platform-carousel__tab--active {
  background: #f1f5f9;
  color: var(--accent-primary);
}

@media (hover: hover) {
  .platform-carousel__tab:hover:not(.platform-carousel__tab--active) {
    background: #e8ecf0;
    color: var(--text-primary);
  }
}

.platform-carousel__panel {
  animation: carouselFadeIn 0.35s ease both;
}

.platform-carousel__panel[hidden] {
  display: none;
}

.platform-carousel__panel img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes carouselFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.platform-carousel__desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 20px;
  min-height: 48px;
  transition: opacity 0.25s ease;
}

.platform-carousel__desc--fading {
  opacity: 0;
}

.platform-carousel__progress {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}

.platform-carousel__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
  border-radius: 2px;
}

.platform-carousel__progress-bar--running {
  animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

.platform-carousel__progress-bar--paused {
  animation-play-state: paused;
}

.platform-carousel .browser-frame {
  margin: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
}

.platform-carousel .browser-frame--full-radius {
  border-radius: var(--radius-md);
}

@media (max-width: 639px) {
  .platform-carousel__tab {
    font-size: 12px;
    padding: 8px 14px;
  }
  .platform-carousel__desc {
    font-size: 14px;
    min-height: 64px;
  }
}

@media (min-width: 640px) {
  .platform-carousel__tab {
    flex: 1;
    text-align: center;
  }
}

/* --- Step Indicator --- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}

.step__content { flex: 1; }

.step__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step__desc {
  color: var(--text-secondary);
  font-size: 15px;
}

/* --- Trust Signals --- */
.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.trust-signal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.trust-signal svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

/* --- Sticky Mobile CTA --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: var(--white);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  z-index: 998;
  display: none;
}

.sticky-cta--visible {
  display: block;
}

.sticky-cta .btn {
  width: 100%;
}

/* ================================================
   SECTION-SPECIFIC STYLES
   ================================================ */

/* --- Hero --- */
.hero {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: var(--section-padding);
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(5,150,105,0.08);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero__title {
  max-width: 640px;
  margin: 0 auto 16px;
}

.hero__subtitle {
  max-width: 540px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
}

.trust-signals {
  margin-top: 8px;
}

/* --- Problema --- */
.problema__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}

/* --- Platforma --- */
.platforma__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}

/* --- Rezultate --- */
.rezultate__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}

.rezultate__card {
  padding: 28px;
  border-top: 3px solid var(--accent, var(--accent-primary));
}

.rezultate__card .card__title {
  color: var(--accent, var(--text-primary));
}

.rezultate__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0;
}

.rezultate__stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent, var(--accent-primary));
}

/* --- Process (Cum Lucram) --- */
.process__micro {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: 40px;
  font-style: italic;
}

/* --- Pricing --- */
#preturi .container {
  max-width: 1440px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}

.pricing__note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* ROI Calculator */
.roi-calculator {
  background: var(--white);
  border: 2px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 540px;
  margin: 48px auto 0;
  box-shadow: 0 4px 16px rgba(245,158,11,0.08);
}

.roi-calculator__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.roi-calculator__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.roi-calculator__output {
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-primary);
  padding: 16px;
  background: rgba(5,150,105,0.06);
  border-radius: var(--radius-sm);
}

.early-adopter {
  text-align: center;
  margin-top: 24px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(245,158,11,0.08);
  color: #b45309;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
}

/* --- Team --- */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}

.team__trust {
  margin-top: 48px;
  text-align: center;
  padding: 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.team__trust-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.team__trust-desc {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto;
}

.team__trust-desc a {
  color: var(--accent-primary);
  font-weight: 600;
}

/* --- FAQ + Contact --- */
.faq-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.faq__wrapper {
  max-width: 640px;
}

.contact__form {
  max-width: 540px;
}

/* --- Footer Newsletter --- */
.footer__newsletter {
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 0 0 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.footer__newsletter-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.footer__newsletter-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer__newsletter-form {
  max-width: 440px;
  margin: 0 auto;
  padding-top: 28px;
}

.footer__newsletter-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.footer__newsletter-row .form__input {
  flex: 1;
  min-width: 0;
}

.footer__newsletter-btn {
  width: 100%;
  margin-top: 4px;
}

.footer__newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
}

.footer__newsletter-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

.footer__newsletter-consent a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.footer__newsletter-status {
  margin: 8px 0 0;
  text-align: center;
}

/* Hero newsletter CTA */
.hero__newsletter {
  margin-top: 24px;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.hero__newsletter:hover { opacity: 1; }

.hero__newsletter-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.hero__newsletter-link {
  font-size: 14px;
  color: var(--accent-primary);
  font-weight: 500;
  transition: color var(--transition);
}

@media (max-width: 480px) {
  .footer__newsletter-row { flex-direction: column; gap: 12px; }
}

/* --- Footer --- */
.footer {
  padding: 32px 0 50vh;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.footer__logo img {
  width: 28px;
  height: 28px;
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer__link {
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

/* --- Desktop-only line breaks for controlled heading typography --- */
.desktop-br { display: none; }

/* ================================================
   RESPONSIVE
   ================================================ */

/* Tablet (640px+) */
@media (min-width: 640px) {
  :root {
    --section-padding: 64px;
    --card-gap: 20px;
  }

  h1 { font-size: 44px; }
  h2 { font-size: 32px; }

  .desktop-br { display: inline; }

  .hero {
    padding-top: calc(var(--nav-height) + 64px);
  }

  .hero__ctas {
    flex-direction: row;
    justify-content: center;
  }

  /* Nav */
  .nav__links {
    display: flex;
  }
  .nav__hamburger { display: none; }

  .problema__grid { grid-template-columns: repeat(3, 1fr); }
  .platforma__grid { grid-template-columns: repeat(2, 1fr); }
  .rezultate__grid { grid-template-columns: repeat(3, 1fr); }

  .steps {
    flex-direction: row;
    max-width: 100%;
    gap: 16px;
  }

  .step {
    flex-direction: column;
    text-align: center;
    flex: 1;
    gap: 12px;
    align-items: center;
  }

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

  .team__grid { grid-template-columns: repeat(3, 1fr); }

  .faq-contact {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }

  .faq__wrapper { max-width: none; }
  .contact__form { max-width: none; }

  .roi-calculator__fields {
    grid-template-columns: 1fr 1fr;
  }

  /* Sticky CTA hidden on tablet+ */
  .sticky-cta { display: none !important; }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  :root {
    --section-padding: 80px;
    --card-gap: 24px;
  }

  h1 { font-size: 56px; }
  h2 { font-size: 36px; }

  .hero {
    padding-top: calc(var(--nav-height) + 80px);
  }

  .nav__cta { display: inline-flex; }

  .platforma__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Wide desktop — pricing 4 columns */
@media (min-width: 1200px) {
  .pricing__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Hover effects (pointer devices only) */
@media (hover: hover) {
  .btn--primary:hover {
    filter: brightness(0.92);
    box-shadow: 0 4px 12px rgba(245,158,11,0.4);
  }

  .btn--secondary:hover {
    background: rgba(5,150,105,0.05);
  }

  .btn--ghost:hover {
    background: rgba(5,150,105,0.05);
  }

  .nav__link:hover { color: var(--accent-primary); }
  .footer__link:hover { color: var(--accent-primary); }

  .card:hover {
    box-shadow: var(--shadow-card-hover);
  }

  .card--module:hover::before {
    transform: scaleX(1);
  }

  .card--niche:hover {
    border-left-color: var(--accent, var(--accent-primary));
  }
}

/* Focus indicators */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ================================================
   ANIMATIONS
   ================================================ */

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger--visible > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger--visible > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger--visible > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger--visible > *:nth-child(5) { transition-delay: 400ms; }

.reveal-stagger--visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero animations --- */
.hero__badge {
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero__title {
  animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero__subtitle {
  animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero__ctas {
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.trust-signals {
  animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Card hover lift --- */
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
  }

  .card--pricing--featured:hover {
    box-shadow: 0 8px 24px rgba(5,150,105,0.2);
  }

  .card--team:hover .card__photo {
    transform: scale(1.05);
  }

  .step:hover .step__number {
    transform: scale(1.1);
  }
}

.card__photo {
  transition: transform 0.3s ease;
}

.step__number {
  transition: transform 0.3s ease;
}

/* --- Shimmer on module cards --- */
.card--module::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(5,150,105,0.04), transparent);
  transition: none;
}

@media (hover: hover) {
  .card--module:hover::after {
    animation: shimmer 0.6s ease-out forwards;
  }
}

@keyframes shimmer {
  from { left: -100%; }
  to { left: 100%; }
}

/* --- FAQ question subtle slide on hover --- */
@media (hover: hover) {
  .faq__question {
    transition: padding-left 0.25s ease, color 0.25s ease;
  }

  .faq__question:hover {
    padding-left: 8px;
    color: var(--accent-primary);
  }
}

/* --- Section header underline --- */
.section__header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
}

/* --- Team photo gradient border --- */
.card--team .card__photo {
  border: 3px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)),
                    linear-gradient(135deg, var(--accent-primary), var(--accent-light));
  background-origin: border-box;
  background-clip: content-box, border-box;
}

/* --- Legal Pages (shared) --- */
.legal-page {
  padding: calc(var(--nav-height) + 48px) 0 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-content .legal-version {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--accent-primary);
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.legal-content th,
.legal-content td {
  text-align: left;
  padding: 12px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.legal-content th {
  background: rgba(5,150,105,0.06);
  color: var(--text-primary);
  font-weight: 600;
}

.legal-content a {
  color: var(--accent-primary);
  font-weight: 500;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 32px;
  transition: opacity var(--transition);
}

/* Mobile pricing: Growth Pro first */
@media (max-width: 639px) {
  .card--pricing--featured {
    order: -1;
  }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.08);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-banner--visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.cookie-banner__text a { color: var(--accent-primary); font-weight: 500; }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner__btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner__btn--primary {
  background: var(--accent-primary);
  color: #fff;
}
.cookie-banner__btn--primary:hover { background: #047857; }
.cookie-banner__btn--outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.cookie-banner__btn--outline:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}
@media (max-width: 639px) {
  .cookie-banner__inner { flex-direction: column; text-align: center; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; }
}

/* Footer manage cookies button styled as link */
.footer__link--btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition);
}
.footer__link--btn:hover { color: var(--accent-primary); }

/* Legal page h3 */
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* ================================================
   SERVICES PAGE
   ================================================ */

/* --- Hero variant (green radial glow) --- */
.hero--services {
  position: relative;
  overflow: hidden;
}
.hero--services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(5,150,105,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Service Cards --- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}

.card--service {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card--service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.card--service::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(5,150,105,0.04), transparent);
  transition: none;
}

.card--service .card__desc {
  margin-bottom: 16px;
}

.card--service .card__includes {
  margin: 0 0 16px;
}
.card--service .card__includes li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 5px 0;
  padding-left: 24px;
  position: relative;
}
.card--service .card__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.card--service .card__target {
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  line-height: 1.5;
}
.card--service .card__target strong {
  color: var(--text-primary);
}

.card--service .card__credential {
  font-size: 13px;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.card--service .btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (hover: hover) {
  .card--service:hover::before { transform: scaleX(1); }
  .card--service:hover::after { animation: shimmer 0.6s ease-out forwards; }
}

/* --- Why Us Grid --- */
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}
.why__card {
  text-align: center;
}
.why__card .card__icon {
  margin-left: auto;
  margin-right: auto;
}

/* --- Services CTA Final --- */
.services-cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
}
.services-cta__inner h2 {
  margin-bottom: 12px;
}
.services-cta__inner h2::after {
  display: none;
}
.services-cta__inner p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* --- Services page responsive --- */
@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
}
