/* ============================================================
   BYTEROCK — Main Stylesheet
   Dark-mode, Glassmorphism, Mobile-First
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Palette */
  --clr-bg:            #0a0a0f;
  --clr-bg-alt:        #0f0f17;
  --clr-bg-card:       #13131e;
  --clr-surface:       #1a1a2e;
  --clr-border:        rgba(255, 255, 255, 0.06);
  --clr-border-light:  rgba(255, 255, 255, 0.10);

  --clr-text:          #e8e8f0;
  --clr-text-muted:    #8888a0;
  --clr-text-dim:      #5a5a7a;

  /* Accent — electric violet */
  --clr-accent:        #8b5cf6;
  --clr-accent-hover:  #a78bfa;
  --clr-accent-glow:   rgba(139, 92, 246, 0.35);
  --clr-accent-soft:   rgba(139, 92, 246, 0.12);

  /* Gradient */
  --gradient-primary:  linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
  --gradient-text:     linear-gradient(135deg, #c084fc 0%, #818cf8 100%);

  /* Typography */
  --ff-body:           'Inter', system-ui, -apple-system, sans-serif;
  --ff-heading:        'Outfit', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --container-max:     1200px;
  --container-padding: 1.5rem;

  /* Shadows */
  --shadow-sm:         0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md:         0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg:         0 12px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow:       0 0 40px var(--clr-accent-glow);

  /* Glass */
  --glass-bg:          rgba(255, 255, 255, 0.03);
  --glass-bg-hover:    rgba(255, 255, 255, 0.06);
  --glass-blur:        20px;
  --glass-border:      rgba(255, 255, 255, 0.08);

  /* Transitions */
  --ease-out-expo:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:       cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:     150ms;
  --duration-base:     300ms;
  --duration-slow:     600ms;

  /* Nav */
  --navbar-height:     72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* ---------- Section Common ---------- */
.section {
  padding-block: 6rem;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: var(--clr-accent-soft);
  padding: 0.35em 1em;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section__title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section__description {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--ff-body);
  font-size: 0.925rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition:
    background var(--duration-base) var(--ease-out-expo),
    color var(--duration-base) var(--ease-out-expo),
    border-color var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo),
    transform var(--duration-fast) var(--ease-out-expo);
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--clr-accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 6px 32px var(--clr-accent-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--glass-bg);
  color: var(--clr-text);
  border-color: var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
}

.btn--ghost:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border-light);
}

.btn--outline:hover {
  background: var(--glass-bg);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 0.85em 2em;
  font-size: 1rem;
}

.btn i {
  font-size: 1.05em;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  height: var(--navbar-height);
  background: rgba(10, 10, 15, 0.75);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--duration-base);
}

.navbar__glass {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  pointer-events: none;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 1120;
  flex-shrink: 0;
}

.navbar__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--clr-accent);
  background: var(--clr-accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 8px;
}

/* Nav desktop */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color var(--duration-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  border-radius: 2px;
  transition: width var(--duration-base) var(--ease-out-expo);
}

.navbar__link:hover,
.navbar__link:focus-visible {
  color: var(--clr-text);
}

.navbar__link:hover::after,
.navbar__link:focus-visible::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar__cta {
  padding: 0.55em 1.4em;
  font-size: 0.85rem;
}

/* Lang Toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: var(--glass-bg);
  color: var(--clr-text-muted);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 0.45em 0.9em;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color var(--duration-fast),
    background var(--duration-fast),
    border-color var(--duration-fast);
}

.lang-toggle:hover {
  color: var(--clr-text);
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-toggle i {
  font-size: 0.9rem;
}

.lang-toggle--mobile {
  display: none;
}

/* Navbar right group (mobile: lang toggle + hamburger) */
.navbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1120;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out-expo),
              opacity var(--duration-fast);
}

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

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  padding-block: 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Decorative orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--clr-accent);
  top: -20%;
  right: -10%;
  animation: floatOrb 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: 350px;
  height: 350px;
  background: #6366f1;
  bottom: -15%;
  left: -5%;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -30px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.95); }
}

/* Grid pattern */
.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-accent);
  background: var(--clr-accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.4em 1em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Stats */
.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: var(--ff-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--clr-text);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-top: 0.15em;
}

/* Terminal visual */
.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__terminal {
  width: 100%;
  max-width: 420px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(139, 92, 246, 0.08);
}

.hero__terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--clr-border);
}

.hero__terminal-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hero__terminal-bar span:nth-child(1) { background: #ff5f57; }
.hero__terminal-bar span:nth-child(2) { background: #febc2e; }
.hero__terminal-bar span:nth-child(3) { background: #28c840; }

.hero__terminal-body {
  padding: 1.5rem;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.85rem;
  line-height: 2;
}

.hero__terminal-body p {
  margin-bottom: 0.25rem;
}

.code-accent    { color: #c084fc; }
.code-highlight { color: #818cf8; }
.code-string    { color: #6ee7b7; }

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--clr-accent);
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Service Card */
.service-card {
  position: relative;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition:
    border-color var(--duration-base),
    box-shadow var(--duration-base),
    transform var(--duration-base);
}

.service-card:hover {
  border-color: var(--clr-border-light);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.service-card--featured {
  background: linear-gradient(145deg, var(--clr-bg-card) 0%, rgba(139, 92, 246, 0.06) 100%);
  border-color: rgba(139, 92, 246, 0.2);
}

.service-card--featured:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.08);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--clr-accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.service-card__icon i {
  font-size: 1.3rem;
  color: var(--clr-accent-hover);
}

.service-card__title {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card__text {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-card__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.service-card__list li i {
  font-size: 0.75rem;
  color: var(--clr-accent);
}

/* ============================================================
   AI SECTION
   ============================================================ */
.ai__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai__content {
  max-width: 520px;
}

.ai__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.ai__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ai__feature i {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--clr-accent-soft);
  border-radius: 10px;
  color: var(--clr-accent-hover);
  font-size: 0.95rem;
}

.ai__feature h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2em;
}

.ai__feature p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* Glass card */
.ai__visual {
  display: flex;
  justify-content: center;
}

.ai__card-glass {
  width: 100%;
  max-width: 380px;
  background: rgba(19, 19, 30, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ai__card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--ff-heading);
  font-weight: 600;
  border-bottom: 1px solid var(--clr-border);
}

.ai__card-header i {
  color: var(--clr-accent);
  font-size: 1.1rem;
}

.ai__card-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
}

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

.ai__metric-value {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai__metric-label {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  transition:
    border-color var(--duration-base),
    box-shadow var(--duration-base),
    transform var(--duration-base);
}

.feature-card:hover {
  border-color: var(--clr-border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  background: var(--clr-accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
}

.feature-card__icon i {
  font-size: 1.4rem;
  color: var(--clr-accent-hover);
}

.feature-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta__card {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 24px;
  overflow: hidden;
}

.cta__card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--clr-accent);
  filter: blur(120px);
  opacity: 0.08;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--clr-accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta__icon i {
  font-size: 1.4rem;
  color: var(--clr-accent-hover);
}

.cta__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.cta__text {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--clr-border);
  padding-block: 4rem 2rem;
  background: var(--clr-bg-alt);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--glass-bg);
  border: 1px solid var(--clr-border-light);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  transition:
    color var(--duration-fast),
    background var(--duration-fast),
    border-color var(--duration-fast);
}

.footer__social a:hover {
  color: var(--clr-accent-hover);
  background: var(--clr-accent-soft);
  border-color: rgba(139, 92, 246, 0.25);
}

.footer__col h4 {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  color: var(--clr-text);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__col li,
.footer__col a {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  transition: color var(--duration-fast);
}

.footer__col a:hover {
  color: var(--clr-text);
}

.footer__tech-text {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  font-size: 1.6rem;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition:
    transform var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-btn__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  10%      { transform: scale(1.08); }
  20%      { transform: scale(1); }
}

/* ============================================================
   REVEAL ANIMATIONS (driven by JS)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

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

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — Mobile First
   ============================================================ */

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

  .hero__content {
    max-width: 100%;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .ai__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ai__content {
    max-width: 100%;
    text-align: center;
  }

  .ai__feature {
    justify-content: center;
  }

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
  }

  .section {
    padding-block: 4rem;
  }

  /* Show mobile lang toggle */
  .lang-toggle--mobile {
    display: inline-flex;
  }

  /* Hide desktop lang toggle inside nav */
  .navbar__nav .lang-toggle {
    display: none;
  }

  /* --- Mobile Nav Overlay --- */
  .navbar__nav {
    position: fixed;
    inset: 0;
    z-index: 1090;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    background: rgba(10, 10, 15, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--duration-base) var(--ease-out-expo),
      visibility var(--duration-base) var(--ease-out-expo);
    overflow-y: auto;
  }

  .navbar__nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Keep toggle + logo above overlay */
  .navbar__logo,
  .navbar__right {
    position: relative;
    z-index: 1100;
  }

  .navbar__links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .navbar__link {
    font-size: 1.15rem;
  }

  .navbar__actions {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .navbar__cta {
    font-size: 1rem;
    padding: 0.7em 1.8em;
  }

  .navbar__toggle {
    display: flex;
  }

  /* Hero stats */
  .hero__stats {
    gap: 1.5rem;
  }

  .hero__stat-number {
    font-size: 1.4rem;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

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

  /* AI feature alignment */
  .ai__feature {
    justify-content: flex-start;
    text-align: left;
  }

  /* CTA */
  .cta__card {
    padding: 3rem 1.5rem;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* WhatsApp button */
  .whatsapp-btn {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
    font-size: 1.4rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

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

  .cta__actions .btn {
    width: 100%;
  }
}
