/* ============================================
   SYRA AGENCY — Styles
   Paleta: Azul-Morado (logo) + Fondo oscuro
   ============================================ */

/* ---- Variables ---- */
:root {
  --blue: #2563EB;
  --purple: #7C3AED;
  --blue-light: #60A5FA;
  --purple-light: #A78BFA;
  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --gradient-text: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);

  --bg: #080C18;
  --bg-card: #0F1629;
  --bg-card-hover: #151D35;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);

  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

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

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.section__tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 48px;
  color: var(--text);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  padding: 12px 28px;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 12px 28px;
  font-size: 15px;
}
.btn--ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--xl { padding: 20px 48px; font-size: 18px; }

/* ---- Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 12, 24, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.navbar__logo img { height: 40px; width: auto; }

.navbar__logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.navbar__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}
.navbar__links a:hover { color: var(--text); }

.navbar .btn--primary { margin-left: 8px; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 20%, transparent 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 32px;
}

.badge__dot {
  width: 7px;
  height: 7px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text);
}

.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero__subtitle strong { color: var(--text); }

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 48px;
  max-width: 640px;
  margin: 0 auto;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat__number {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label {
  font-size: 12px;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 4px;
}

.stat__divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================
   FOR WHO
   ============================================ */
.for-who {
  padding: 100px 0;
  text-align: center;
}

.for-who__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.for-who__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  text-align: center;
}
.for-who__card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.for-who__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.for-who__card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.for-who__card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   PROBLEM
   ============================================ */
.problem {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.04) 50%, transparent 100%);
}

.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem__text .section__title { margin-bottom: 32px; }

.problem__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.problem__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text-muted);
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.problem__icon { font-size: 20px; flex-shrink: 0; }

.problem__solution {
  font-size: 18px;
  color: var(--text);
}

/* Chat Mockup */
.chat-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  max-width: 380px;
  margin-left: auto;
}

.chat-mockup__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid var(--border);
}

.chat-mockup__avatar {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.chat-mockup__header strong {
  display: block;
  font-size: 14px;
}

.chat-mockup__status {
  font-size: 12px;
  color: #22C55E;
}

.chat-mockup__messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 85%;
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.chat-bubble:nth-child(1) { animation-delay: 0.3s; }
.chat-bubble:nth-child(2) { animation-delay: 0.9s; }
.chat-bubble:nth-child(3) { animation-delay: 1.5s; }
.chat-bubble:nth-child(4) { animation-delay: 2.1s; }

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

.chat-bubble--user {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-bubble--bot {
  background: var(--bg-card-hover);
  border: 1px solid var(--border);
  margin-right: auto;
  border-bottom-left-radius: 4px;
}

.chat-mockup__footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-subtle);
  text-align: center;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 100px 0;
  text-align: center;
}

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

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: left;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.service-card--featured {
  border-color: rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  box-shadow: var(--shadow-glow);
}

.service-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.service-card__icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.service-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  flex: 1;
}

.service-card__features li {
  font-size: 14px;
  color: var(--text-muted);
}

.service-card__features li::first-letter { color: #22C55E; }

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-light);
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}
.service-card__cta:hover {
  gap: 8px;
  color: var(--purple-light);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.04) 50%, transparent 100%);
}

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

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 200px;
  flex: 1;
  min-width: 160px;
}

.step__number {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.step__content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step__content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step__connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  margin-top: 28px;
  opacity: 0.4;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  text-align: center;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.testimonial-card--highlight {
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(124, 58, 237, 0.06) 100%);
}

.testimonial-card__stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; }

.testimonial-card__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.testimonial-card__author span {
  font-size: 12px;
  color: var(--text-subtle);
}

.testimonial-card__result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ADE80;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 0;
  text-align: center;
}

.faq__list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item:hover { border-color: var(--border-hover); }
.faq__item.open { border-color: rgba(37, 99, 235, 0.35); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}

.faq__question:hover { color: var(--blue-light); }

.faq__icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--blue-light);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__item.open .faq__icon { transform: rotate(45deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__item.open .faq__answer { max-height: 200px; }

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

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-final__orb {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.1) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-final__inner { position: relative; z-index: 1; }

.cta-final__title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-final__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 48px;
}

.cta-final__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-subtle);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

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

.footer__brand img { margin-bottom: 16px; }

.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__links h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--blue-light); }

.footer__contact h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.footer__logo-text {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4ADE80;
  font-weight: 600;
  transition: color var(--transition);
}
.footer__whatsapp:hover { color: #86EFAC; }

.footer__email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 10px;
  transition: color var(--transition);
}
.footer__email:hover { color: var(--blue-light); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-subtle);
  max-width: 1180px;
  margin: 0 auto;
}

.footer__bottom a {
  color: var(--text-subtle);
  transition: color var(--transition);
}
.footer__bottom a:hover { color: var(--text-muted); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .for-who__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8, 12, 24, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }
  .navbar .btn--primary { display: none; }
  .navbar__hamburger { display: flex; }

  .hero { padding: 100px 0 80px; }
  .hero__stats { flex-direction: column; gap: 20px; padding: 24px; }
  .stat__divider { width: 80px; height: 1px; }

  .problem__inner { grid-template-columns: 1fr; gap: 48px; }
  .chat-mockup { margin: 0 auto; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .step__connector {
    width: 2px;
    height: 30px;
    margin-top: 0;
  }

  .for-who__grid { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 38px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { text-align: center; }
  .btn--xl { padding: 16px 32px; font-size: 16px; }
}
