﻿:root {
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --dark: #1a3a52;
  --dark2: #1e3a5f;
  --dark3: #0f2740;
  --gray-light: #F6F6F6;
  --gray-light2: #E8E8E8;
  --gray-border: #E1E1E1;
  --gray-med: #6D6D6D;
  --white: #FFFFFF;
  --font-heading: 'Lato', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1440px;
  --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray-med);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--dark); font-weight: 600; }
h1 { font-size: 48px; line-height: 1.2; letter-spacing: -1px; }
h2 { font-size: 39px; line-height: 1.2; letter-spacing: -0.5px; }
h3 { font-size: 31px; line-height: 1.3; }
h4 { font-size: 25px; line-height: 1.3; }
h5 { font-size: 20px; line-height: 1.4; }
h6 { font-size: 14px; line-height: 1em; }

.section-heading { text-align: center; max-width: 800px; margin: 0 auto 56px; }
.section-sup-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-desc {
  font-size: 16px;
  color: var(--gray-med);
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 16px 32px;
  border-radius: 100px;
}
.btn-primary {
  --bg: var(--accent);
  --shimmer-color: rgba(255,255,255,0.4);
  --speed: 3s;
  --spread: 90deg;
  --cut: 0.05em;
  position: relative;
  z-index: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--cut));
  z-index: -2;
  border-radius: inherit;
  background: var(--bg);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -200%;
  z-index: -1;
  aspect-ratio: 1;
  animation: shimmer-spin var(--speed) linear infinite;
  background: conic-gradient(from calc(270deg - var(--spread) * 0.5), transparent 0deg, var(--shimmer-color) var(--spread), transparent var(--spread));
  filter: blur(2px);
}
.btn-primary:hover, .btn-primary:focus-visible {
  --bg: var(--accent-hover);
}
.btn-primary:active {
  transform: translateY(1px);
}
.btn-suporte {
  --bg: var(--accent);
  --shimmer-color: rgba(255,255,255,0.4);
  --speed: 3s;
  --spread: 90deg;
  --cut: 0.05em;
  position: relative;
  z-index: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 12px 20px;
  font-size: 13px;
}
.btn-suporte::before {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--cut));
  z-index: -2;
  border-radius: inherit;
  background: var(--bg);
}
.btn-suporte::after {
  content: '';
  position: absolute;
  inset: -200%;
  z-index: -1;
  aspect-ratio: 1;
  animation: shimmer-spin var(--speed) linear infinite;
  background: conic-gradient(from calc(270deg - var(--spread) * 0.5), transparent 0deg, var(--shimmer-color) var(--spread), transparent var(--spread));
  filter: blur(2px);
}
.btn-suporte:hover, .btn-suporte:focus-visible {
  --bg: var(--accent-hover);
}
.btn-hero { font-size: 15px; padding: 18px 40px; }
.btn-lg { font-size: 15px; padding: 18px 36px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-success { background: #d4edda; color: #155724; padding: 16px 20px; border-radius: 8px; font-family: var(--font-body); font-size: 14px; margin-top: 16px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -9999px; z-index: 9999; background: var(--accent); color: var(--white); padding: 12px 24px; font-family: var(--font-body); font-size: 14px; font-weight: 600; border-radius: 0 0 8px 8px; text-decoration: none; }
.skip-link:focus { left: 50%; transform: translateX(-50%); top: 0; }
section { padding: 100px 0; }
@media (max-width: 1024px) {
  h1 { font-size: 37px; }
  h2 { font-size: 31px; }
  h3 { font-size: 25px; }
  h4 { font-size: 21px; }
  h5 { font-size: 18px; }
  h6 { font-size: 13px; }
  body { font-size: 15px; }
  section { padding: 80px 0; }
  .section-heading { margin-bottom: 40px; }
}
@media (max-width: 767px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }
  h6 { font-size: 12px; }
  body { font-size: 14px; }
  section { padding: 60px 0; }
  .section-heading { margin-bottom: 32px; }
}

/* ===== TOP BAR ===== */
.top-bar {
  display: none;
  position: absolute;
  inset: 0 0 auto;
  z-index: 1001;
  background: rgba(15,39,64,0.46);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding: 0;
  min-height: 34px;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 34px;
}
.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}
.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5em;
  transition: color var(--transition);
}
.top-bar-contact a:hover { color: var(--accent-light); }
.top-bar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}
.top-bar-social a:hover {
  background: var(--accent);
  color: var(--white);
}
.top-bar-social svg { width: 13px; height: 13px; }
@media (min-width: 768px) {
  .top-bar { display: block; }
}

/* ===== HEADER (Desktop) ===== */
.header {
  display: none;
  position: absolute;
  inset: 34px 0 auto;
  z-index: 1000;
  background: rgba(15,39,64,0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  min-height: 90px;
  overflow: hidden;
}
.header::before {
  content: "";
  position: absolute;
  inset: -18px -120px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.54;
  background-image:
    url("data:image/svg+xml,%3Csvg%20width%3D%271200%27%20height%3D%27140%27%20viewBox%3D%270%200%201200%20140%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cg%20fill%3D%27none%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%2036%20C150%206%20450%206%20600%2036%20C750%2066%201050%2066%201200%2036%27%20stroke%3D%27%232563eb%27%20stroke-width%3D%272.4%27%20opacity%3D%27.72%27%2F%3E%3Cpath%20d%3D%27M0%2074%20C150%20104%20450%20104%20600%2074%20C750%2044%201050%2044%201200%2074%27%20stroke%3D%27%23dbeafe%27%20stroke-width%3D%271.45%27%20opacity%3D%27.48%27%2F%3E%3Cpath%20d%3D%27M0%20108%20C150%2078%20450%2078%20600%20108%20C750%20138%201050%20138%201200%20108%27%20stroke%3D%27%231d4ed8%27%20stroke-width%3D%272%27%20opacity%3D%27.55%27%2F%3E%3Cpath%20d%3D%27M0%2018%20C200%2042%20400%2042%20600%2018%20C800%20-6%201000%20-6%201200%2018%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271%27%20opacity%3D%27.34%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-repeat: repeat-x;
  background-size: 1200px 140px;
  animation: headerPathsFlow 24s linear infinite;
}
.header .container {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 90px;
  position: relative;
  z-index: 1;
}
.header .container::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.76), rgba(37,99,235,0.7), transparent);
}
.header-logo { flex: 0 0 20%; }
.header-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.18));
}
.header-nav {
  flex: 0 0 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  position: relative;
}
.header-nav a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  padding: 28px 10px;
  border-radius: 0;
  transition: color var(--transition);
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,0.24);
}
.header-nav a:hover {
  color: var(--accent-light);
}
.header-nav a.active {
  color: var(--accent-light);
}
.nav-cursor {
  position: absolute;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.nav-cursor.visible { opacity: 1; }
.header-cta {
  flex: 0 0 20%;
  display: none;
  justify-content: flex-end;
}
@media (min-width: 768px) {
  .header { display: block; }
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
  display: block;
  background: rgba(15,39,64,0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  overflow: visible;
}
.mobile-header::before {
  content: "";
  position: absolute;
  inset: 0 -80px auto;
  height: 58px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  overflow: hidden;
  background-image:
    url("data:image/svg+xml,%3Csvg%20width%3D%27720%27%20height%3D%2788%27%20viewBox%3D%270%200%20720%2088%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cg%20fill%3D%27none%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M0%2022%20C90%204%20270%204%20360%2022%20C450%2040%20630%2040%20720%2022%27%20stroke%3D%27%232563eb%27%20stroke-width%3D%272.2%27%20opacity%3D%27.72%27%2F%3E%3Cpath%20d%3D%27M0%2048%20C90%2066%20270%2066%20360%2048%20C450%2030%20630%2030%20720%2048%27%20stroke%3D%27%23dbeafe%27%20stroke-width%3D%271.3%27%20opacity%3D%27.48%27%2F%3E%3Cpath%20d%3D%27M0%2070%20C90%2052%20270%2052%20360%2070%20C450%2088%20630%2088%20720%2070%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271%27%20opacity%3D%27.32%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-repeat: repeat-x;
  background-size: 720px 88px;
  animation: headerPathsFlowMobile 18s linear infinite;
}
.mobile-header::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.76), rgba(37,99,235,0.7), transparent);
}
.mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 8px;
  position: relative;
  z-index: 2;
}
.mobile-header .header-logo { flex: none; }
.mobile-header .header-logo img {
  height: 36px;
  max-width: 148px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.18));
}
.mobile-suporte {
  display: none;
  justify-content: flex-end;
  padding: 0 16px 8px;
}
.header-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--accent);
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 999px;
  z-index: 1001;
  position: relative;
}
.header-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 1px;
}
.header-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header-toggle.active span:nth-child(2) { opacity: 0; }
.header-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.gooey-menu {
  position: absolute;
  top: 56px;
  right: 12px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: -1px;
  opacity: 0;
  pointer-events: none;
  transform-origin: top right;
  transform: scale(0.85) translateY(-8px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  -webkit-backface-visibility: hidden;
}
.gooey-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
.gooey-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--white);
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i) * 0.04s);
}
.gooey-menu.open .gooey-item {
  opacity: 1;
  transform: translateX(0);
}
.gooey-item:first-child {
  border-radius: 20px 20px 0 0;
}
.gooey-item:last-child {
  border-radius: 0 0 20px 20px;
}
.gooey-item.gooey-cta {
  background: var(--accent);
  color: #fff;
  justify-content: center;
  font-weight: 700;
}
.gooey-item.gooey-cta svg { color: #fff; }
.gooey-item svg {
  flex: none;
  color: var(--accent);
}
.gooey-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}
.gooey-overlay.active { opacity: 1; pointer-events: auto; }
@media (min-width: 768px) {
  .mobile-header { display: none; }
  .gooey-menu, .gooey-overlay { display: none; }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--dark);
  padding: 160px 0 80px;
  margin-top: 0;
}
.page-hero-content { max-width: 720px; }
.page-hero-title {
  font-family: var(--font-heading);
  font-size: 39px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 600px;
}
@media (max-width: 767px) {
  .page-hero { padding: 140px 0 60px; }
  .page-hero-title { font-size: 30px; }
  .page-hero-content { text-align: center; }
  .page-hero-desc { margin: 0 auto 32px; }
}
@media (max-width: 1024px) {
  .page-hero-title { font-size: 31px; }
}

/* ===== VIDEO + COPY SECTION ===== */
.video-copy-section { background: var(--gray-light); }
.video-copy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.video-copy-media {
  display: flex;
  justify-content: center;
}
.video-copy-player {
  width: 100%;
  max-width: 400px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.video-copy-player::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: conic-gradient(from var(--border-angle, 0deg), var(--accent), #60a5fa, #93c5fd, var(--accent-light), var(--accent));
  animation: border-rotate 4s linear infinite;
}
.video-copy-player video {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  margin: 2px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}
.vsl-mute-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}
.vsl-mute-btn:hover {
  background: rgba(0,0,0,0.7);
  border-color: #fff;
}
.vsl-icon-unmuted { display: none; }
.vsl-mute-btn.muted .vsl-icon-muted { display: block; }
.vsl-mute-btn.muted .vsl-icon-unmuted { display: none; }
.vsl-mute-btn:not(.muted) .vsl-icon-muted { display: none; }
.vsl-mute-btn:not(.muted) .vsl-icon-unmuted { display: block; }
.video-copy-text .section-title { text-align: left; }
.video-copy-text .section-sup-title { text-align: left; }
.video-copy-text p {
  font-size: 16px;
  color: var(--gray-med);
  line-height: 1.7;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .video-copy-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .video-copy-player { max-width: 360px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  margin-top: 0;
}
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content {
  max-width: 720px;
  padding: 120px 0 80px;
}
@media (min-width: 768px) {
  .hero-content { padding: 160px 0 100px; }
  .mobile-header + .hero { margin-top: 0; }
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 16px;
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.hero-rotating-wrapper {
  display: block;
  position: relative;
  height: 42px;
  overflow: hidden;
  margin: 16px 0 24px;
}
.hero-rotating-text {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: fit-content;
  padding: 4px 16px;
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  box-sizing: border-box;
  font-family: var(--font-heading);
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  animation: heroRotate 9s infinite;
  opacity: 0;
  transform: translateY(100%);
}
.hero-rotating-text:nth-child(1) { animation-delay: 0s; }
.hero-rotating-text:nth-child(2) { animation-delay: 3s; }
.hero-rotating-text:nth-child(3) { animation-delay: 6s; }
@keyframes heroRotate {
  0%, 10% { opacity: 0; transform: translateY(100%); }
  15%, 30% { opacity: 1; transform: translateY(0); }
  35%, 100% { opacity: 0; transform: translateY(-100%); }
}
.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 600px;
}
@media (max-width: 767px) {
  .hero-title { font-size: 30px; }
  .hero-rotating-text { font-size: 20px; }
  .hero-subtitle { font-size: 16px; }
  .hero-content { text-align: center; padding-top: 140px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero .btn-hero { width: 100%; }
}
@media (max-width: 1024px) {
  .hero-title { font-size: 37px; }
  .hero-rotating-text { font-size: 25px; }
}

/* ===== COUNTERS ===== */
.counters-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 80px 0;
}
.counters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.counter-item { text-align: center; }
.counter-num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  display: inline;
  line-height: 1;
  letter-spacing: -1px;
}
.counter-suffix {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  display: inline;
  margin-left: 2px;
}
.counter-label {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .counters-grid { grid-template-columns: repeat(4, 1fr); gap: 60px; }
  .counter-num { font-size: 61px; }
  .counter-suffix { font-size: 31px; }
}
@media (max-width: 767px) {
  .counter-num { font-size: 37px; }
}

/* ===== FEATURES (Icon Boxes) ===== */
.features-section { background: var(--gray-light); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 40px 32px;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.feature-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.feature-icon svg { width: 48px; height: 48px; }
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 15px;
  color: var(--gray-med);
  line-height: 1.6;
  margin-top: auto;
}
@media (min-width: 480px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ===== CRM FEATURES ===== */
.crm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}


.crm-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.crm-showcase-item {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}
.crm-showcase-item img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 768px) {
  .crm-showcase-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== SPLIT SECTIONS ===== */
.split-section { background: var(--gray-light); }
.split-reverse { background: var(--white); }
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.split-text .section-title { text-align: left; margin-bottom: 20px; }
.split-text .section-sup-title { text-align: left; }
.split-text p {
  font-size: 16px;
  color: var(--gray-med);
  line-height: 1.7;
  margin-bottom: 28px;
}
.split-image {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--white);
}
.split-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
@media (min-width: 768px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split-reverse .split-image { order: 2; }
  .split-reverse .split-text { order: 1; }
}

/* ===== SYSTEM SECTION ===== */
.system-section { background: var(--gray-light); }
.system-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.system-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 40px 32px;
  text-align: center;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.btn-card {
  margin-top: auto;
  font-size: 12px;
  padding: 12px 20px;
  align-self: center;
}
.system-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.system-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--accent);
}
.system-icon svg { width: 64px; height: 64px; }
.system-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.system-card p {
  font-size: 14px;
  color: var(--gray-med);
  line-height: 1.6;
}
@media (min-width: 480px) {
  .system-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .system-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== COURSES ===== */
.courses-section { background: var(--white); }
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.course-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.course-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.course-image {
  background: var(--gray-light);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course-body { padding: 28px; }
.course-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.course-body p {
  font-size: 14px;
  color: var(--gray-med);
  line-height: 1.6;
}
.course-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,99,235,0.1);
  padding: 4px 12px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
@media (min-width: 480px) {
  .courses-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}
.cta-banner .section-title { color: var(--white); margin-bottom: 20px; }
.cta-banner .section-sup-title { color: var(--accent); }
.cta-banner p {
  max-width: 680px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq-section { background: var(--gray-light); }
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.faq-column .section-title { text-align: left; }
.faq-column .section-sup-title { text-align: left; }
.faq-column .section-desc { text-align: left; }
.faq-list { margin-top: 32px; }
.faq-item {
  border: 1px solid var(--gray-border);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-light); }
.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  color: var(--gray-med);
}
.faq-arrow svg { width: 20px; height: 20px; }
.faq-item.active .faq-question .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-med);
  line-height: 1.7;
}

/* FAQ Form Column */
.faq-form-column {}
.faq-form-card {
  background: var(--dark);
  padding: 40px 32px;
}
.faq-form-card h3 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.faq-form-card > p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  line-height: 1.6;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form input, .contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-border);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4em;
  color: var(--dark);
  background: var(--gray-light);
  transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form select:focus {
  border-color: var(--accent);
  outline: none;
  background: var(--white);
}
.contact-form .error {
  color: #ef4444;
  font-size: 12px;
  text-align: left;
  margin-top: -8px;
}
.contact-form input.error-field, .contact-form select.error-field {
  border-color: #ef4444;
}
.contact-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
@media (min-width: 768px) {
  .faq-layout { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: var(--dark3);
  text-align: center;
  padding: 60px 0;
}
.newsletter-section h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid var(--gray-border);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: var(--gray-light);
}
.newsletter-form input:focus {
  border-color: var(--accent);
  outline: none;
}
@media (min-width: 480px) {
  .newsletter-form { flex-direction: row; }
  .newsletter-form input { min-width: 0; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
}
.footer-logo { height: 36px; width: auto; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
@media (min-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* ===== ANIMATED BORDER ROTATE ===== */
@keyframes border-rotate {
  from { --border-angle: 0deg; }
  to { --border-angle: 360deg; }
}
@keyframes headerPathsFlow {
  from { background-position: 0 0; }
  to { background-position: 1200px 0; }
}
@keyframes headerPathsFlowMobile {
  from { background-position: 0 0; }
  to { background-position: 720px 0; }
}
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ===== SPOTLIGHT CARDS ===== */
.spotlight-card {
  position: relative;
  overflow: hidden;
}
.spotlight-card::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: -1px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(600px circle at var(--spot-x, 50%) var(--spot-y, 50%), var(--spot-color, rgba(37,99,235,0.1)), transparent 40%);
  border-radius: inherit;
}
.spotlight-card:hover::before {
  opacity: 1;
}

/* ===== IMAGE SCROLL SECTION ===== */
.imgscroll-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--white);
}
.imgscroll-track {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.imgscroll-slide {
  flex: none;
  width: 100%;
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  gap: 24px;
  opacity: 0.3;
  transition: opacity 0.6s ease;
}
.imgscroll-slide.active {
  opacity: 1;
}
.imgscroll-slide figure {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  flex: none;
}
.imgscroll-slide figure img {
  width: 100%;
  height: auto;
  display: block;
}
.imgscroll-slide-text {
  text-align: center;
  max-width: 440px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}
.imgscroll-slide.active .imgscroll-slide-text {
  opacity: 1;
  transform: translateY(0);
}
.imgscroll-slide-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--dark);
  margin-bottom: 8px;
}
.imgscroll-slide-text p {
  font-size: 14px;
  color: var(--gray-med);
  line-height: 1.7;
}

/* Dots */
.imgscroll-dots {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}
.imgscroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-light2);
  border: 2px solid var(--gray-border);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.imgscroll-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}
@media (max-width: 767px) {
  .imgscroll-slide {
    padding: 24px 16px;
    gap: 16px;
  }
  .imgscroll-slide figure {
    max-width: 400px;
  }
  .imgscroll-dots {
    right: 12px;
  }
}

/* ===== SHIMMER KEYFRAMES ===== */
@keyframes shimmer-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .header::before,
  .mobile-header::before {
    animation: none;
  }
}
