@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --background: hsl(210, 20%, 97%);
  --foreground: hsl(210, 50%, 10%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(210, 50%, 10%);
  --primary: hsl(214, 84%, 56%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(210, 20%, 94%);
  --muted: hsl(210, 15%, 94%);
  --muted-foreground: hsl(210, 10%, 45%);
  --accent: hsl(142, 71%, 45%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(210, 15%, 90%);
  --syncrova-deep: hsl(210, 50%, 10%);
  --syncrova-purple: hsl(214, 84%, 40%);
  --syncrova-teal: hsl(142, 71%, 45%);
  --syncrova-glow: hsl(214, 84%, 65%);
  --radius: 0.75rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--syncrova-deep);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo img {
  height: 48px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-desktop a.active {
  background: hsla(214, 84%, 56%, 0.2);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover { opacity: 0.9; }

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover { opacity: 0.9; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
}

.btn-lg {
  padding: 12px 32px;
  font-size: 1rem;
  border-radius: 8px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8125rem;
  border-radius: 6px;
}

.header-cta { display: block; }

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  font-size: 1.5rem;
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--syncrova-deep);
  padding: 16px 2rem;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.nav-mobile a:hover { color: #fff; background: rgba(255,255,255,0.1); }

.nav-mobile .btn { margin-top: 8px; }

.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-desktop, .header-cta { display: none; }
  .mobile-toggle { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--syncrova-deep), var(--primary), var(--syncrova-purple));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    radial-gradient(circle at 20% 50%, hsla(172, 66%, 50%, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, hsla(250, 60%, 55%, 0.3) 0%, transparent 50%);
}

.hero .container {
  position: relative;
  z-index: 10;
  text-center: ;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-subtitle {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--primary-foreground);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero h1 span { color: var(--accent); }

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero-outline {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid var(--accent);
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}

.btn-hero-outline:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-muted { background: var(--muted); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section-desc {
  text-align: center;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ===== SEGMENTS GRID ===== */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) { .segments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .segments-grid { grid-template-columns: 1fr; } }

.segment-card {
  display: block;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.3s;
}

.segment-card:hover {
  border-color: hsla(214, 84%, 56%, 0.3);
  box-shadow: 0 10px 30px -10px hsla(214, 84%, 56%, 0.1);
}

.segment-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: hsla(214, 84%, 56%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 1.5rem;
}

.segment-card:hover .segment-icon {
  background: hsla(214, 84%, 56%, 0.2);
}

.segment-card h3 {
  font-weight: 600;
  margin-bottom: 4px;
}

.segment-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-card {
  text-align: center;
  padding: 32px;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: hsla(214, 84%, 56%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
  font-size: 1.75rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-card p { color: var(--muted-foreground); }

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-value {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
  color: var(--muted-foreground);
  font-weight: 500;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--syncrova-deep), var(--primary), var(--syncrova-purple));
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  outline: none;
}

.cta-form input::placeholder { color: rgba(255,255,255,0.4); }

/* ===== SOLUTIONS PAGE ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) { .solutions-grid { grid-template-columns: 1fr; } }

.solution-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.3s;
  display: flex;
  gap: 20px;
}

.solution-card:hover {
  border-color: hsla(214, 84%, 56%, 0.3);
  box-shadow: 0 10px 30px -10px hsla(214, 84%, 56%, 0.1);
}

.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: hsla(214, 84%, 56%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.75rem;
}

.solution-card:hover .solution-icon {
  background: hsla(214, 84%, 56%, 0.2);
}

.solution-content { flex: 1; }

.solution-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.solution-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 16px;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.solution-tag {
  font-size: 0.75rem;
  background: var(--muted);
  color: var(--muted-foreground);
  padding: 4px 12px;
  border-radius: 999px;
}

.solution-buttons { display: flex; gap: 8px; }

/* ===== ABOUT PAGE ===== */
.about-hero { padding-top: 96px; }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

@media (max-width: 768px) { .mission-grid { grid-template-columns: 1fr; } }

.mission-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid hsla(214, 84%, 56%, 0.1);
}

.mission-card.mission { background: linear-gradient(135deg, hsla(214, 84%, 56%, 0.1), hsla(142, 71%, 45%, 0.1)); }
.mission-card.vision { background: linear-gradient(135deg, hsla(214, 84%, 40%, 0.1), hsla(214, 84%, 56%, 0.1)); }

.mission-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.mission-card.mission .icon-wrap { background: hsla(214, 84%, 56%, 0.1); color: var(--primary); }
.mission-card.vision .icon-wrap { background: hsla(214, 84%, 40%, 0.1); color: var(--syncrova-purple); }

.mission-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.mission-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.history {
  max-width: 768px;
  margin: 0 auto 80px;
  text-align: center;
}

.history h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.history p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

@media (max-width: 768px) { .differentials-grid { grid-template-columns: 1fr; } }

.differential-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  text-align: center;
}

.differential-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: hsla(214, 84%, 56%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  font-size: 1.5rem;
}

.differential-card h3 { font-weight: 600; margin-bottom: 8px; }
.differential-card p { font-size: 0.875rem; color: var(--muted-foreground); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 1024px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--muted);
  text-align: center;
}

.value-card .icon-wrap {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.value-card h3 { font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 0.875rem; color: var(--muted-foreground); }

/* ===== CONTACT PAGE ===== */
.contact-channels-centered {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 1024px;
  margin: 0 auto;
}

@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.3s;
  margin-bottom: 24px;
}

.contact-channel:hover {
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

.contact-channel .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.contact-channel.whatsapp .icon-wrap { background: hsla(142, 71%, 45%, 0.1); color: var(--accent); }
.contact-channel.email .icon-wrap { background: hsla(214, 84%, 56%, 0.1); color: var(--primary); }

.contact-channel h3 { font-weight: 600; }
.contact-channel p { font-size: 0.875rem; color: var(--muted-foreground); }
.contact-channel .link-hint { font-size: 0.75rem; margin-top: 4px; }
.contact-channel.whatsapp .link-hint { color: var(--accent); }
.contact-channel.email .link-hint { color: var(--primary); }

.contact-form h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--background);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--syncrova-deep);
  color: var(--primary-foreground);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo img { height: 80px; width: auto; margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
}

.footer h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: 16px;
}

.footer ul { display: flex; flex-direction: column; gap: 8px; }

.footer ul a,
.footer ul li {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer ul a:hover { opacity: 1; }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding: 32px 0;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.5;
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--card);
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--muted-foreground);
}

.modal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 20px;
}

.modal .form-group { margin-bottom: 16px; }

.modal .solution-interest {
  background: var(--muted);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 16px;
}

.modal .solution-interest span {
  font-weight: 500;
  color: var(--foreground);
}

.success-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
}

.success-icon svg { width: 64px; height: 64px; color: var(--accent); margin-bottom: 16px; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-24 { margin-top: 96px; }
.pt-24 { padding-top: 96px; }
.pb-20 { padding-bottom: 80px; }

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

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

/* Legal Pages */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
}
.legal-page h1 {
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-page p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-page ul {
  color: var(--muted-foreground);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-page ul li {
  margin-bottom: 0.5rem;
}
.legal-page a {
  color: var(--primary);
}
.legal-page a:hover {
  text-decoration: underline;
}
.legal-page em {
  font-style: italic;
}

/* Footer Legal Links */
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-legal a {
  text-decoration: underline;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-legal a:hover {
  opacity: 1;
}
