/* ============================================================
   VEXYTEC — Landing Page Styles
   Stack: Vanilla CSS · Mobile-first · Dark theme + Electric Blue
   ============================================================ */

/* === VARIABLES === */
:root {
  --bg:          #07071A;
  --bg-alt:      #0B0B22;
  --bg-card:     #0F0F2A;
  --bg-card-h:   #141436;
  --blue:        #4B7CF5;
  --blue-dark:   #3A6AE4;
  --blue-glow:   rgba(75, 124, 245, 0.15);
  --blue-border: rgba(75, 124, 245, 0.25);
  --green:       #25D366;
  --text:        #F0F0FF;
  --text-2:      #8888A8;
  --text-3:      #5055A0;
  --border:      rgba(255, 255, 255, 0.07);
  --r:           14px;
  --r-sm:        8px;
  --shadow:      0 8px 40px rgba(0, 0, 0, 0.5);
  --transition:  0.25s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

/* === UTILITIES === */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section       { padding-block: 96px; }
.section-alt   { background: var(--bg-alt); }

.text-blue     { color: var(--blue); }
.text-green    { color: var(--green); }

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--blue-glow);
  color: var(--blue);
  border: 1px solid var(--blue-border);
  margin-bottom: 16px;
}

.badge--light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-2);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 16px rgba(75, 124, 245, 0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(75, 124, 245, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--blue-border);
  color: var(--text);
}

.btn-white {
  background: #fff;
  color: #07071A;
  font-weight: 700;
}
.btn-white:hover {
  background: #e8eeff;
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(255,255,255,0.2);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* === FLOATING WHATSAPP === */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(7, 7, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 98px;
}

.logo img {
  height: 68px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: none;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  margin-left: auto;
  font-size: 0.875rem;
  padding: 10px 20px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 98px 0 0 0;
  background: rgba(7, 7, 26, 0.97);
  backdrop-filter: blur(14px);
  padding: 32px 24px;
  gap: 24px;
  z-index: 800;
}
.nav-links.open a {
  font-size: 1.25rem;
  color: var(--text);
}

/* === HERO === */
.hero {
  position: relative;
  padding-top: 174px;
  padding-bottom: 108px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(75,124,245,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(139,92,246,0.05) 0%, transparent 60%);
  background-color: var(--bg);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(75,124,245,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,124,245,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero-content { max-width: 640px; }

.hero-content h1 {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  line-height: 1.14;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Dashboard card */
.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(75,124,245,0.1);
  max-width: 420px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.card-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.card-topbar-label {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
}

.card-body {
  padding: 8px 0;
}

.auto-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  transition: background var(--transition);
}
.auto-row:hover { background: rgba(255,255,255,0.03); }

.auto-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.auto-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.auto-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auto-status {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 500;
}

.auto-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-2);
  white-space: nowrap;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
}

/* === SOCIAL PROOF === */
.social-proof {
  padding-block: 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 32px;
  text-align: center;
}

.proof-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.proof-label {
  font-size: 0.82rem;
  color: var(--text-2);
  max-width: 140px;
  text-align: center;
  line-height: 1.4;
}

.proof-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 8px 0;
}

/* === PAIN POINTS === */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.pain-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-2px);
}

.pain-icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.pain-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(75,124,245,0.1);
}

.service-card--featured {
  border-color: var(--blue-border);
  box-shadow: 0 0 0 1px rgba(75,124,245,0.15), 0 8px 40px rgba(75,124,245,0.1);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--blue-glow);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 11px;
}

/* === HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 30px;
  position: relative;
}

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-border);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

.step-arrow {
  display: none;
  font-size: 1.5rem;
  color: var(--blue-border);
  align-self: center;
  justify-self: center;
}

.steps-cta {
  text-align: center;
  margin-top: 48px;
}

/* === USE CASES === */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.case-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-2px);
}

.case-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.case-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 16px;
}

.case-result {
  font-size: 0.85rem;
  color: var(--text);
  background: rgba(75,124,245,0.08);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  line-height: 1.5;
}

.case-result strong {
  color: var(--blue);
}

/* === FAQ === */
.faq-wrap { max-width: 760px; margin-inline: auto; }

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--blue); }

.faq-icon {
  font-size: 1.3rem;
  color: var(--blue);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  padding-bottom: 22px;
}

.faq-a p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* === FINAL CTA === */
.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0D1A3E 0%, #07071A 60%);
  border-top: 1px solid var(--blue-border);
}

.final-cta-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75,124,245,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}

.final-cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  margin-top: 4px;
}

.final-cta-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-reassurance {
  margin-top: 18px !important;
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.4) !important;
  margin-bottom: 0 !important;
}

/* === FOOTER === */
.footer {
  background: #04040F;
  border-top: 1px solid var(--border);
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-2);
  max-width: 280px;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
  margin-bottom: 16px;
}

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

.footer-col li,
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-3);
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.reveal-delay { transition-delay: 0.15s; }

/* ============================================================
   TABLET — 640px+
   ============================================================ */
@media (min-width: 640px) {
  .pain-grid    { grid-template-columns: 1fr 1fr; }
  .cases-grid   { grid-template-columns: 1fr 1fr; }
  .proof-sep    { display: block; }
}

/* ============================================================
   DESKTOP — 900px+
   ============================================================ */
@media (min-width: 900px) {
  .nav-links     { display: flex; }
  .nav-cta       { display: inline-flex; }
  .hamburger     { display: none; }

  .logo img { height: 84px; }
  .nav      { height: 112px; }

  .hero { padding-top: 196px; padding-bottom: 124px; }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-content { flex: 1; }
  .hero-visual  { flex: 0 0 420px; }

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

  .steps-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
  }
  .step-arrow { display: flex; padding-inline: 12px; }
  .step-card  { flex: 1; align-self: stretch; }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ============================================================
   LARGE — 1100px+
   ============================================================ */
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .pain-grid     { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .cases-grid    { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .nav-links     { margin-left: auto; }
  .nav-cta       { margin-left: 0; }
}
