/* ============================================================
   Croptia Landing — Styles
   Modern minimalist with animated backgrounds
   ============================================================ */

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

:root {
  --primary: #2e7d32;
  --primary-light: #43a047;
  --primary-dark: #1b5e20;
  --bg: #fafaf7;
  --text: #2b2b2b;
  --text-light: #6b6b6b;
  --border: #e8e5df;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-hover: 0 20px 50px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.i18n-loading body { opacity: 0; }
[data-i18n-lang] { display: none; }

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 10px 24px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.btn--white {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}
.btn--white:hover {
  background: #f0f0ed;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}
.btn--lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}
.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
}
.btn--block { width: 100%; }

/* ---------- Section shared ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(46, 125, 50, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s ease;
}
.nav--scrolled {
  background: rgba(18, 18, 18, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}
.nav__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
}
.nav__logo-type {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.nav__logo-type .logo-crop { color: #fff; font-weight: 800; }
.nav__logo-type .logo-tia  { color: #ddd; font-weight: 400; }
.nav__logo-type .logo-underline {
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #43a047, #66bb6a);
  border-radius: 2px;
  margin-top: 4px;
}
.nav__logo-type .logo-slogan {
  display: block;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #66bb6a;
  white-space: nowrap;
  font-size: 11px;
  margin-top: 6px;
}

/* Legal pages: nav--dark class kept for compatibility but nav is already dark */
.nav__links { display: flex; gap: 32px; }
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.nav__link:hover { color: #fff; }
.nav__cta {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  padding: 8px 20px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav__cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46,125,50,0.3);
}
/* Language switcher */
.nav__lang {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
  margin-right: 8px;
}
.nav__lang button {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all var(--transition);
}
.nav__lang button.active {
  background: var(--primary);
  color: var(--white);
}
.nav__lang button:hover:not(.active) {
  color: #fff;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.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;
  padding: 170px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Animated background */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero__glow--1 {
  width: 700px; height: 700px;
  background: rgba(46, 125, 50, 0.12);
  top: -250px; right: -150px;
  animation: floatGlow1 18s ease-in-out infinite;
}
.hero__glow--2 {
  width: 500px; height: 500px;
  background: rgba(102, 187, 106, 0.1);
  bottom: -150px; left: -100px;
  animation: floatGlow2 22s ease-in-out infinite;
}
.hero__glow--3 {
  width: 400px; height: 400px;
  background: rgba(64, 145, 108, 0.08);
  top: 30%; left: 40%;
  animation: floatGlow3 25s ease-in-out infinite;
}
@keyframes floatGlow1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.05); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}
@keyframes floatGlow2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(0.95); }
  66% { transform: translate(-20px, 15px) scale(1.05); }
}
@keyframes floatGlow3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.08); }
}

/* Topographic lines */
.hero__topo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.topo-line {
  stroke: rgba(46, 125, 50, 0.06);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 12 8;
  animation: topoFlow 25s linear infinite;
}
.topo-line:nth-child(1) { stroke-width: 1.5; opacity: 0.8; animation-duration: 28s; }
.topo-line:nth-child(2) { stroke-width: 1; opacity: 0.6; animation-duration: 22s; animation-delay: -5s; }
.topo-line:nth-child(3) { stroke-width: 1.5; opacity: 0.7; animation-duration: 25s; animation-delay: -3s; }
.topo-line:nth-child(4) { stroke-width: 1; opacity: 0.5; animation-duration: 20s; animation-delay: -8s; }
.topo-line:nth-child(5) { stroke-width: 1; opacity: 0.4; animation-duration: 32s; animation-delay: -2s; }
.topo-line:nth-child(6) { stroke-width: 0.8; opacity: 0.35; animation-duration: 35s; animation-delay: -10s; }
.topo-line:nth-child(7) { stroke-width: 0.8; opacity: 0.3; animation-duration: 30s; animation-delay: -7s; }
.topo-contour {
  stroke: rgba(46, 125, 50, 0.045);
  fill: none;
  stroke-width: 1;
  stroke-dasharray: 6 6;
  animation: topoFlow 35s linear infinite;
}
@keyframes topoFlow {
  to { stroke-dashoffset: -200; }
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero__gradient {
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, #66bb6a 40%, var(--primary-light) 70%, var(--primary) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========== BROWSER MOCKUP ========== */
.mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f6f5f2;
  border-bottom: 1px solid var(--border);
}
.mockup__dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup__dot--red { background: #ff5f57; }
.mockup__dot--yellow { background: #febc2e; }
.mockup__dot--green { background: #28c840; }
.mockup__url {
  margin-left: 12px;
  font-size: 0.72rem;
  color: var(--text-light);
  background: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  flex: 1;
  max-width: 200px;
}
.mockup__body { display: flex; min-height: 280px; }
.mockup__sidebar {
  width: 120px;
  padding: 10px 6px;
  border-right: 1px solid var(--border);
  background: #fafaf7;
  flex-shrink: 0;
}
.mockup__sidebar-item {
  font-size: 0.68rem;
  padding: 7px 8px;
  border-radius: 6px;
  margin-bottom: 3px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup__sidebar-item.active {
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary);
  font-weight: 600;
}
.mockup__dot-indicator {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.mockup__dot-indicator--green { background: var(--primary); }

.mockup__map {
  flex: 1;
  background: url('assets/landing-bg.jpg') 50% 40% / cover no-repeat;
  position: relative;
  padding: 16px;
  overflow: hidden;
}
/* Parcel delimiter — traces the fence */
.mockup__map-polygon {
  position: absolute;
  top: 4%; left: 9%; width: 80%; height: 90%;
  border: 2px solid #66bb6a;
  background: rgba(102, 187, 106, 0.06);
  border-radius: 1px;
}
.mockup__vertex {
  position: absolute;
  width: 7px; height: 7px;
  background: #ff7043;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.mockup__vertex--1 { top: -4px; left: -4px; }
.mockup__vertex--2 { top: -4px; right: -4px; }
.mockup__vertex--3 { bottom: -4px; right: -4px; }
.mockup__vertex--4 { bottom: -4px; left: -4px; }
.mockup__map-label {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 0.55rem;
  background: var(--white);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  font-family: var(--font);
  letter-spacing: 0.02em;
  z-index: 5;
}

/* Zone structures (like the app) */
.mockup__zone {
  position: absolute;
  border-width: 2px;
  border-style: solid;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.mockup__zone--casa {
  top: 10%; left: 14%; width: 27%; height: 30%;
  background: rgba(211, 47, 47, 0.30);
  border-color: rgba(183, 28, 28, 0.7);
}
.mockup__zone--piscina {
  top: 16%; left: 45%; width: 11%; height: 34%;
  background: rgba(33, 150, 243, 0.30);
  border-color: rgba(21, 101, 192, 0.7);
}
.mockup__zone-label {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  padding: 2px 5px 2px 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
}
.mockup__zone-emoji { font-size: 10px; line-height: 1; flex-shrink: 0; }
.mockup__zone-info { display: flex; flex-direction: column; }
.mockup__zone-name { font-size: 7px; font-weight: 700; color: #2b2b2b; line-height: 1.2; }
.mockup__zone-area { font-size: 5.5px; color: #6b6b6b; line-height: 1.2; font-weight: 500; }

/* Fruit tree emojis — below/around the house, on visible trees */
.mockup__emoji {
  position: absolute;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
  z-index: 2;
}
.mockup__emoji--t1 { top: 55%; left: 16%; font-size: 12px; }
.mockup__emoji--t2 { top: 60%; left: 26%; font-size: 11px; }
.mockup__emoji--t3 { top: 50%; left: 34%; font-size: 11px; }
.mockup__emoji--t4 { top: 65%; left: 20%; font-size: 10px; }
.mockup__emoji--t5 { top: 58%; left: 40%; font-size: 11px; }
.mockup__emoji--t6 { top: 70%; left: 32%; font-size: 10px; }

/* Garden/huerto emojis — on bancales right of pool */
.mockup__emoji--g1 { top: 18%; left: 62%; font-size: 10px; }
.mockup__emoji--g2 { top: 26%; left: 68%; font-size: 10px; }
.mockup__emoji--g3 { top: 34%; left: 62%; font-size: 10px; }
.mockup__emoji--g4 { top: 30%; left: 74%; font-size: 10px; }

/* ========== FEATURES ========== */
.features {
  padding: 100px 0;
  position: relative;
  background-image: radial-gradient(circle, rgba(46,125,50,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(46, 125, 50, 0.15);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--blue { background: rgba(59,130,246,0.08); color: #3b82f6; }
.card__icon--green { background: rgba(46,125,50,0.08); color: var(--primary); }
.card__icon--amber { background: rgba(245,158,11,0.08); color: #d97706; }
.card__icon--emerald { background: rgba(16,185,129,0.08); color: #059669; }
.card__icon--teal { background: rgba(20,184,166,0.08); color: #0d9488; }
.card__icon--cyan { background: rgba(6,182,212,0.08); color: #0891b2; }
.card__icon--purple { background: rgba(139,92,246,0.08); color: #7c3aed; }
.card__icon--rose { background: rgba(244,63,94,0.08); color: #e11d48; }
.card__icon--orange { background: rgba(249,115,22,0.08); color: #ea580c; }
.card__icon--indigo { background: rgba(99,102,241,0.08); color: #4f46e5; }
.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card__desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ========== HOW / TIMELINE ========== */
.how {
  padding: 100px 0;
  background: #121212;
  position: relative;
  overflow: hidden;
}
.how::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/landing-bg.jpg') center / cover no-repeat;
  opacity: 0.12;
  filter: brightness(0.5);
  pointer-events: none;
}
.how .container { position: relative; z-index: 1; }
.how .section-tag {
  color: #66bb6a;
  background: rgba(102, 187, 106, 0.12);
}
.how .section-title { color: #fff; }
.timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.timeline__line {
  position: absolute;
  left: 23px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #66bb6a 0%, rgba(255, 255, 255, 0.08) 100%);
}
.timeline__step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}
.timeline__step:last-child { margin-bottom: 0; }
.timeline__number {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}
.timeline__content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  padding-top: 2px;
  color: #fff;
}
.timeline__content p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 100px 0;
  position: relative;
  background: var(--bg);
}
.testimonials__carousel {
  position: relative;
  max-width: 100%;
}
.testimonials__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 16px;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testimonials__card {
  flex: 0 0 auto;
  width: min(380px, 85vw);
  scroll-snap-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonials__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(46, 125, 50, 0.15);
}
.testimonials__stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonials__quote {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.testimonials__text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}
.testimonials__author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}
.testimonials__controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.testimonials__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.testimonials__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.testimonials__btn svg { width: 18px; height: 18px; }

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0;
  background: #121212;
  position: relative;
  overflow: hidden;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.section-tag--light {
  color: #66bb6a;
  background: rgba(102, 187, 106, 0.12);
}
.contact__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 16px;
  margin-bottom: 14px;
}
.contact__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  transition: all var(--transition);
}
.contact__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.contact__btn-icon { width: 24px; height: 24px; flex-shrink: 0; }
.contact__btn--wa { background: #25D366; }
.contact__btn--wa:hover { background: #1fb855; }
.contact__btn--tg { background: #0088cc; }
.contact__btn--tg:hover { background: #0077b3; }
.contact__btn--email { background: var(--primary); }
.contact__btn--email:hover { background: var(--primary-dark); }

/* ========== PRICING ========== */
.pricing {
  padding: 100px 0;
  background: var(--white);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* Featured card with animated gradient border */
.pricing__card--featured {
  border: 2px solid transparent;
  background: var(--white);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.pricing__card--featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: conic-gradient(from var(--border-angle, 0deg), var(--primary), #66bb6a, var(--primary-light), var(--border), var(--primary));
  z-index: -1;
  animation: rotateBorder 6s linear infinite;
}
.pricing__card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  z-index: -1;
}
@supports (background: conic-gradient(red, red)) {
  @property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
  }
  @keyframes rotateBorder { to { --border-angle: 360deg; } }
}
.pricing__card--featured:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.pricing__popular {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 2;
}
.pricing__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.pricing__price { margin-bottom: 28px; }
.pricing__amount {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}
.pricing__period {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-left: 2px;
}
.pricing__features {
  text-align: left;
  margin-bottom: 28px;
}
.pricing__features li {
  font-size: 0.9rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 28px;
  position: relative;
}
.pricing__features li:last-child { border-bottom: none; }
.pricing__features li::before {
  content: '';
  position: absolute;
  left: 2px; top: 12px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232e7d32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ========== CTA FINAL ========== */
.cta-final {
  padding: 100px 0;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cta-final__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-final__glow--1 {
  width: 400px; height: 400px;
  background: rgba(102, 187, 106, 0.15);
  top: -100px; right: 10%;
  animation: floatGlow2 15s ease-in-out infinite;
}
.cta-final__glow--2 {
  width: 300px; height: 300px;
  background: rgba(46, 125, 50, 0.2);
  bottom: -80px; left: 15%;
  animation: floatGlow1 18s ease-in-out infinite;
}
.cta-final__content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-final__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-final__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ========== FOOTER ========== */
.footer {
  background: #132a1e;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__logo {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
}
.footer__logo .logo-crop { color: #fff; font-weight: 800; }
.footer__logo .logo-tia  { color: #ddd; font-weight: 400; }
.footer__logo .logo-underline {
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #43a047, #66bb6a);
  border-radius: 2px;
  margin-top: 4px;
}
.footer__logo .logo-slogan {
  display: block;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #66bb6a;
  white-space: nowrap;
  font-size: 11px;
  margin-top: 6px;
}
.footer__tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer__heading {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner__content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie-banner__content p {
  font-size: 0.85rem;
  color: var(--text-light);
  flex: 1;
  line-height: 1.5;
}
.cookie-banner__content a {
  color: var(--primary);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.features__grid .card:nth-child(1) { transition-delay: 0s; }
.features__grid .card:nth-child(2) { transition-delay: 0.08s; }
.features__grid .card:nth-child(3) { transition-delay: 0.16s; }
.features__grid .card:nth-child(4) { transition-delay: 0.24s; }
.features__grid .card:nth-child(5) { transition-delay: 0.32s; }
.features__grid .card:nth-child(6) { transition-delay: 0.4s; }
.features__grid .card:nth-child(7) { transition-delay: 0s; }
.features__grid .card:nth-child(8) { transition-delay: 0.08s; }
.features__grid .card:nth-child(9) { transition-delay: 0.16s; }
.features__grid .card:nth-child(10) { transition-delay: 0.24s; }
.features__grid .card:nth-child(11) { transition-delay: 0.32s; }
.features__grid .card:nth-child(12) { transition-delay: 0.4s; }

.pricing__grid .pricing__card:nth-child(1) { transition-delay: 0s; }
.pricing__grid .pricing__card:nth-child(2) { transition-delay: 0.08s; }
.pricing__grid .pricing__card:nth-child(3) { transition-delay: 0.16s; }

.timeline__step:nth-child(2) { transition-delay: 0s; }
.timeline__step:nth-child(3) { transition-delay: 0.1s; }
.timeline__step:nth-child(4) { transition-delay: 0.2s; }
.timeline__step:nth-child(5) { transition-delay: 0.3s; }
.timeline__step:nth-child(6) { transition-delay: 0.4s; }
.timeline__step:nth-child(7) { transition-delay: 0.5s; }
.timeline__step:nth-child(8) { transition-delay: 0.6s; }
.timeline__step:nth-child(9) { transition-delay: 0.7s; }

.hero .reveal { transition-delay: var(--delay, 0s); }

/* ========== LEGAL PAGES ========== */
.legal {
  padding: 120px 0 80px;
  min-height: calc(100vh - 200px);
}
.legal__container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.legal__updated {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
}
.legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal ul {
  margin-bottom: 14px;
  padding-left: 24px;
  list-style: disc;
}
.legal li {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 4px;
}
.legal a {
  color: var(--primary);
  text-decoration: underline;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}
.legal th, .legal td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}
.legal th {
  font-weight: 600;
  color: var(--text);
  background: rgba(46, 125, 50, 0.03);
}

/* ========== RESPONSIVE: TABLET ========== */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero__subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { max-width: 520px; margin: 0 auto; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .contact__title { font-size: 2rem; }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__card--featured { grid-column: span 2; max-width: 400px; justify-self: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-title { font-size: 2rem; }
  .hero__title { font-size: 2.75rem; }
}

/* ========== RESPONSIVE: MOBILE ========== */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }
  .nav__links.open { display: flex; }
  .nav__links .nav__link { font-size: 1.2rem; font-weight: 600; color: #fff; }
  .nav__cta { display: none; }
  .nav__logo-type { font-size: 36px; }
  .nav__logo-type .logo-underline { height: 4px; margin-top: 3px; }
  .nav__logo-type .logo-slogan { font-size: 9px; margin-top: 5px; }
  .nav__lang {
    margin-right: 12px;
  }
  .nav__hamburger { display: flex; z-index: 1001; }

  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero__title { font-size: 2.25rem; }
  .hero__subtitle { font-size: 1.05rem; }
  .hero__visual { display: none; }

  .features__grid,
  .pricing__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__title { font-size: 1.75rem; }
  .pricing__card--featured {
    grid-column: span 1;
    max-width: 100%;
    transform: none;
    box-shadow: var(--shadow-lg);
  }
  .pricing__card--featured::before { animation: none; background: var(--primary); }
  .pricing__card--featured:hover { transform: translateY(-6px); }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .features, .how, .testimonials, .pricing, .contact { padding: 72px 0; }
  .section-title { font-size: 1.75rem; }
  .cta-final { padding: 72px 0; }
  .cta-final__title { font-size: 1.6rem; }

  .cookie-banner__content { flex-direction: column; text-align: center; gap: 12px; }

  .legal { padding: 100px 0 60px; }
  .legal h1 { font-size: 1.6rem; }
}

/* ========== RESPONSIVE: MINI ========== */
@media (max-width: 480px) {
  .hero__title { font-size: 1.85rem; }
  .hero__subtitle { font-size: 0.95rem; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: 1rem; }
  .card { padding: 24px; }
  .pricing__card { padding: 28px 20px; }
  .pricing__amount { font-size: 2.25rem; }
  .timeline__content h3 { font-size: 1rem; }
  .timeline__number { width: 40px; height: 40px; font-size: 0.9rem; }
  .timeline__line { left: 19px; }
  .cta-final__title { font-size: 1.4rem; }
}
