@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap");

:root {
  --primary: #d5fe02;
  --bg-dark: #010000;
  --bg-graphite: #212123;
  --accent-blue: #0016ff;
  --border: #35363a;
  --text-secondary: #afafaf;
  --text-light: #f8f8f8;
}

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

img,
svg {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
}

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

section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.bg-dark {
  background-color: var(--bg-dark);
}

.bg-graphite {
  background-color: var(--bg-graphite);
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* Typography */
h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--primary);
}

h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  text-wrap: balance;
}

p {
  margin-bottom: 24px;
  color: var(--text-secondary);
  text-wrap: pretty;
}

p.light {
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--bg-dark);
  font-weight: 700;
  border-radius: 10px;
  padding: 18px 36px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  font-size: 18px;
  text-align: center;
}

.btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(213, 254, 2, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 14px 24px;
}

.btn-secondary:hover {
  color: var(--text-light);
  transform: none;
  box-shadow: none;
}

.microcopy {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.text-primary {
  color: var(--primary);
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  background-color: rgba(1, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  height: 28px;
  width: auto;
  display: block;
}

/* Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.grid-2-even {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {

  .grid-2,
  .grid-2-even {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Specific Sections */
.hero p {
  font-size: 20px;
  max-width: 800px;
  margin-bottom: 40px;
}

.highlight-blocks p {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 32px;
  font-weight: 500;
}

/* Cards */
.stats-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 40px;
}

.stat-card {
  flex: 1;
  min-width: 200px;
  background-color: var(--bg-dark);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.stat-card .number {
  color: var(--primary);
  font-size: 32px;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
}

.stat-card .label {
  color: var(--text-secondary);
  font-size: 14px;
}

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

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

.funnel-card {
  background-color: var(--bg-graphite);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

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

.funnel-card .number {
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}

.funnel-card h3 {
  font-size: 20px;
  margin-top: 16px;
  margin-bottom: 12px;
}

.funnel-card p {
  font-size: 15px;
  margin-bottom: 0;
}

/* Lists */
.list-check,
.list-cross {
  list-style: none;
}

.list-check li,
.list-cross li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: var(--text-light);
  text-wrap: pretty;
}

.list-check li::before,
.list-cross li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

.list-check li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5fe02' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.list-cross li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23afafaf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.list-cross li {
  color: var(--text-secondary);
}

/* Profile Photo */
.photo-wrapper {
  border-radius: 12px;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quiz Section */
#quiz {
  border-bottom: none;
}

.quiz-wrapper {
  background-color: var(--bg-graphite);
  max-width: 700px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .quiz-wrapper {
    padding: 24px;
  }
}

#quiz-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background-color: var(--primary);
  width: 0%;
  transition: width 0.3s ease;
}

#quiz-step-counter {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 500;
}

#quiz-content {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

#quiz-content.fade-out {
  opacity: 0;
  transform: translateX(-20px);
}

#quiz-content.fade-in {
  opacity: 0;
  transform: translateX(20px);
}

.quiz-question {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-light);
}

.quiz-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.quiz-option {
  background-color: var(--bg-dark);
  border: 1px solid var(--border);
  padding: 18px 20px;
  border-radius: 10px;
  color: var(--text-light);
  margin-bottom: 12px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-option:hover {
  border-color: var(--primary);
}

.quiz-option.selected {
  border: 2px solid var(--primary);
  background-color: rgba(213, 254, 2, 0.08);
  padding: 17px 19px;
  /* adjust for border width */
}

.quiz-option.selected::after {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d5fe02' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 10px;
  flex-shrink: 0;
}

.quiz-option:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.quiz-input-wrapper {
  margin-bottom: 16px;
}

.quiz-input-wrapper label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.quiz-input {
  width: 100%;
  background-color: var(--bg-dark);
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 14px 16px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.quiz-input:focus {
  outline: none;
  border-color: var(--primary);
}

.quiz-input::placeholder {
  color: var(--text-secondary);
}

.quiz-input-other {
  margin-top: 12px;
  display: none;
}

.quiz-input-other.visible {
  display: block;
}

#quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.btn-nav {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
}

.btn-prev {
  background-color: transparent;
  color: var(--text-secondary);
  padding: 14px 0;
}

.btn-prev:hover {
  color: var(--text-light);
}

.btn-next {
  background-color: var(--primary);
  color: var(--bg-dark);
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-next:not(:disabled):hover {
  transform: scale(1.02);
}

/* Result Screens */
.result-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.result-icon.check circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.result-icon.check path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.whatsapp-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.whatsapp-link:hover {
  text-decoration: underline;
}

#calendar-embed {
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-dark);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

footer {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
}

.flex-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 24px;
  width: auto;
  opacity: 0.8;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 32px;
}

.mt-2 {
  margin-top: 16px;
}

/* ========================================= */
/* AI & Automation Visual Enhancements       */
/* ========================================= */

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(53, 54, 58, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(53, 54, 58, 0.2) 1px, transparent 1px);
  z-index: 0;
  pointer-events: none;
}

.hero,
section {
  position: relative;
}

.hero>.container,
section>.container {
  position: relative;
  z-index: 2;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  animation: float 8s ease-in-out infinite alternate;
}

.orb-1 {
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: rgba(213, 254, 2, 0.15);
  top: -10%;
  right: -10%;
}

.orb-2 {
  width: 30vw;
  height: 30vw;
  max-width: 400px;
  max-height: 400px;
  background: rgba(0, 22, 255, 0.15);
  bottom: -10%;
  left: -5%;
  animation-delay: -4s;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }

  100% {
    transform: translateY(40px) translateX(40px);
  }
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(213, 254, 2, 0.2);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(213, 254, 2, 0.8);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(213, 254, 2, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(213, 254, 2, 0);
  }
}

.funnel-card,
.quiz-wrapper,
.stat-card {
  position: relative;
  background-color: rgba(33, 33, 35, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.funnel-card::before,
.quiz-wrapper::before,
.stat-card::before {
  content: "";
  position: absolute;
  top: var(--mouse-y, 0);
  left: var(--mouse-x, 0);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(213, 254, 2, 0.12) 0%,
      transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.funnel-card:hover::before,
.quiz-wrapper:hover::before,
.stat-card:hover::before {
  opacity: 1;
}

.funnel-card>*,
.quiz-wrapper>*,
.stat-card>* {
  position: relative;
  z-index: 1;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
  z-index: 1;
  pointer-events: none;
}

.btn:hover::after {
  left: 150%;
}