/* =============== VARIABLES (BRUTALIST PREMIUM) =============== */
:root {
  --bg-dark: #050505;
  --bg-card: #0a0a0a;

  --primary-yellow: #ffcf00;
  /* Premium Solid Gold */
  --primary-yellow-light: #ffd700;

  --text-main: #ffffff;
  --text-muted: #888888;

  --border-color: #222;

  --font-inter: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Cinzel', serif;

  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  --container-max: 1400px;
  /* Wider grid */
}

/* =============== LIGHT THEME VARIABLES =============== */
body.light-theme {
  --bg-dark: #fcfcfc;
  --bg-card: #ffffff;

  --primary-yellow: #e6b800;
  /* Darker Gold for visibility, or Black */

  --text-main: #050505;
  --text-muted: #666666;

  --border-color: #e0e0e0;
}

/* =============== BASE =============== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-inter);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============== REUSABLE CSS CLASSES =============== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.section {
  padding-block: 6rem;
}

.section__title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.section__subtitle {
  color: var(--primary-yellow);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
}

.text-center {
  text-align: center;
}

.mb-sm {
  margin-bottom: 1rem;
}

.mb-loose {
  margin-bottom: 3.5rem;
}

.text-muted {
  color: var(--text-muted);
}

.text-italic {
  font-style: italic;
}

.font-bold {
  font-weight: 700;
}

.flex-align {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.block {
  display: block;
}

.w-full {
  width: 100%;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary-yellow), #ffb200);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Background Effects */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.5;
}

.top-glow {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(1, 77, 178, 0.4);
}

.bottom-glow {
  bottom: 0;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 222, 89, 0.15);
}

.bg-alt {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.glass {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 1.5rem;
}

/* Icons */
.lucide {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}

.icon-red {
  color: #f87171;
}

.icon-yellow {
  color: var(--primary-yellow);
}

.icon-white {
  color: #fff;
}

/* Buttons (Brutalist) */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button--primary {
  background-color: var(--primary-yellow);
  color: #000;
  border: 1px solid var(--primary-yellow);
}

.button--primary:hover {
  background-color: #000;
  color: var(--primary-yellow);
  box-shadow: 4px 4px 0 var(--primary-yellow);
  transform: translate(-2px, -2px);
}

.button--outline {
  border: 1px solid var(--text-main);
  color: var(--text-main);
  background: transparent;
}

.button--outline:hover {
  background: var(--text-main);
  color: #000;
  box-shadow: 4px 4px 0 var(--text-muted);
  transform: translate(-2px, -2px);
}

.hover-lift {
  transition: all 0.2s ease-out;
}

.hover-lift:hover {
  box-shadow: 4px 4px 0 var(--primary-yellow);
  transform: translate(-1px, -1px);
}

.hover-float:hover {
  box-shadow: 6px 6px 0 var(--border-color);
  transform: translate(-2px, -2px);
  border-color: var(--primary-yellow);
}

/* =============== HEADER & NAV =============== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: background 0.2s, border 0.2s;
  background: transparent;
}

.blur-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo img {
  height: 3.5rem;
}

.nav__toggle,
.nav__close {
  display: none;
  color: var(--text-main);
  cursor: pointer;
}

.nav__btns {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.change-theme {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-main);
  cursor: pointer;
  transition: color 0.3s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border: none;
  padding: 0.5rem;
}

.change-theme:hover {
  color: var(--primary-yellow);
  transform: rotate(15deg) scale(1.1);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav__link:hover {
  color: var(--primary-yellow);
}

.active-link {
  color: var(--primary-yellow);
  font-weight: 700;
  position: relative;
}

.active-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--primary-yellow);
  bottom: -0.5rem;
  left: 0;
  border-radius: 2px;
}

.nav__cta {
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  background-color: var(--primary-yellow);
  color: var(--bg-dark);
}

.nav__cta:hover {
  background-color: #fff;
}

@media screen and (min-width: 1025px) {
  .nav__menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }
}

/* Responsive Menu */
@media screen and (max-width: 1024px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-card);
    padding: 6rem 2rem;
    backdrop-filter: blur(20px);
    transition: right 0.4s cubic-bezier(0.2, 0, 0, 1);
    border-left: 1px solid var(--border-glass);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .nav__toggle,
  .nav__close {
    display: inline-flex;
  }

  .nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }
}

/* =============== HERO =============== */
.hero {
  padding-top: 15rem;
  padding-bottom: 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
}

.hero__title {
  font-size: clamp(1.75rem, 8vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.text-gradient {
  background: none;
  color: var(--primary-yellow);
  -webkit-text-fill-color: var(--primary-yellow);
  display: block;
}

.hero__description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 50vw;
  font-family: var(--font-mono);
  border-left: 2px solid var(--primary-yellow);
  padding-left: 1.5rem;
}

.hero__buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero__img-wrapper {
  display: none;
  /* Removed the safe left/right split entirely */
}

/* =============== STATS =============== */
.stats {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: transparent;
}

.stats__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-inline: 0;
  max-width: 100%;
}

.stats__card {
  padding: 4rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border-color);
  transition: background 0.3s;
}

.stats__card:last-child {
  border-right: none;
}

.stats__card:hover {
  background: var(--primary-yellow);
}

.stats__card:hover .stats__number,
.stats__card:hover .stats__title {
  color: #000;
}

.stats__number {
  font-size: clamp(3rem, 5vw, 4rem);
  color: var(--text-main);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.stats__title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* =============== ABOUT =============== */
.about__container {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.about__description {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: var(--text-muted);
}

/* =============== FOUNDERS =============== */
.founders__container {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

.founder__card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  border: 1px solid var(--border-color);
  background: transparent;
}

.founder__card:hover {
  border-color: var(--primary-yellow);
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--border-color);
}

.founder__img-wrapper {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.3s;
}

.founder__card:hover .founder__img-wrapper {
  filter: grayscale(0%) contrast(1);
  border-color: var(--primary-yellow);
}

.founder__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder__name {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-yellow);
}

.founder__role {
  color: var(--primary-yellow);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.founder__bio {
  color: var(--text-muted);
  font-size: 0.938rem;
}

/* =============== PROBLEM =============== */
.problem {
  position: relative;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.problem__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.accent-line {
  width: 5rem;
  height: 2px;
  background-color: var(--primary-yellow);
  margin-bottom: 2rem;
}

.problem__quote {
  padding-left: 1.5rem;
  border-left: 2px solid var(--primary-yellow);
  color: var(--text-main);
  font-size: 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
}

.problem__cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-color);
}

.problem__card {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: transparent;
  border-bottom: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  transition: padding-left 0.3s ease;
}

.problem__card:hover {
  background: rgba(255, 207, 0, 0.05);
  padding-left: 2rem;
}

.problem__card p {
  font-size: 1rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* =============== SOLUTION =============== */
.solution__wrapper {
  max-width: 1000px;
  margin-inline: auto;
}

.solution__content {
  padding: 5rem 4rem;
  border-radius: 0;
  position: relative;
  border: 1px solid var(--primary-yellow);
  background: var(--primary-yellow);
  color: #000;
  text-align: center;
  box-shadow: 12px 12px 0 var(--border-color);
}

.solution__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  color: #000;
}

.solution__description {
  font-size: 1.25rem;
  font-family: var(--font-mono);
  max-width: 800px;
  margin: 0 auto;
  color: #333
}

/* =============== METHODOLOGY =============== */
.methodology__container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step__card {
  padding: 3rem 2rem;
  background: transparent;
  border-top: 1px solid var(--border-color);
  transition: background 0.2s;
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  align-items: center;
  gap: 2rem;
}

.step__card:last-child {
  border-bottom: 1px solid var(--border-color);
}

.step__card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.step__number {
  font-size: 3rem;
  font-weight: 400;
  color: var(--primary-yellow);
  font-family: var(--font-mono);
  line-height: 1;
}

.step__title {
  font-size: 2rem;
  margin-bottom: 0;
}

.step__desc {
  font-size: 1rem;
  font-family: var(--font-mono);
}

/* =============== TARGET & BENEFITS =============== */
.target__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.target__title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.accent-bar-yellow,
.accent-bar-blue {
  width: 0.5rem;
  height: 2.5rem;
  border-radius: 0;
}

.accent-bar-yellow {
  background-color: var(--primary-yellow);
}

.accent-bar-blue {
  background-color: var(--text-main);
}

.target__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.target__list li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 1rem;
  font-family: var(--font-mono);
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 1rem;
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.benefit__card {
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  transition: all 0.2s;
}

.benefit__card:hover {
  background: var(--primary-yellow);
}

.benefit__card:hover .benefit__title,
.benefit__card:hover .benefit__desc {
  color: #000;
}

.benefit__title {
  color: var(--primary-yellow);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.benefit__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* =============== CONTACT =============== */
.relative-overflow {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

.corner-bottom-glow {
  display: none;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact__description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-yellow);
}

.contact__info-label {
  font-size: 0.875rem;
  display: block;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.contact__info-value {
  font-size: clamp(0.9rem, 4vw, 1.25rem);
  word-break: break-all;
  display: block;
}

.contact__form-container {
  padding: 3rem;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form__group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact__info-card > div:last-child {
  min-width: 0;
  flex: 1;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

.form__input {
  width: 100%;
  padding: 1.2rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 0;
  color: var(--text-main);
  font-family: var(--font-mono);
  transition: all 0.2s;
}

.form__input:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 4px 4px 0 var(--border-color);
}

/* Form Submit States */
.spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* =============== FOOTER =============== */
.footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding-block: 4rem;
}

.footer__logo img {
  height: 2.5rem;
  filter: grayscale(1) invert(1) brightness(2);
  transition: filter 0.2s;
}

.footer__logo:hover img {
  filter: grayscale(0) invert(0);
}

.footer__social-link {
  color: var(--text-muted);
  transition: all 0.2s;
  padding: 0.5rem;
  border: 1px solid transparent;
}

.footer__social-link:hover {
  color: #000;
  background-color: var(--primary-yellow);
  border-color: var(--primary-yellow);
}

.footer__copy {
  margin-top: 4rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

/* =============== ANIMATIONS & REVEALS =============== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveals for cards */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

/* =============== WHATSAPP WIDGET =============== */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: var(--z-modal);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.whatsapp-widget:hover {
  background-color: #1ebe57;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-widget__icon {
  width: 34px;
  height: 34px;
  z-index: 2;
}

.whatsapp-widget__pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  z-index: 1;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* =============== MEDIA QUERIES =============== */
@media screen and (max-width: 968px) {

  .hero__container,
  .problem__container,
  .target__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    padding-top: 8rem;
    text-align: left;
  }

  .hero__title {
    font-size: clamp(1.75rem, 10vw, 3.5rem);
  }

  .hero__description {
    max-width: 100%;
  }

  .step__card {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
  }

  .stats__container {
    grid-template-columns: 1fr;
  }

  .stats__card {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    border: 1px solid var(--border-color);
  }

  .stats__card:last-child {
    border-bottom: none;
  }

  .form__group-grid {
    grid-template-columns: 1fr;
  }

  .contact__form-container {
    padding: 2rem 1.5rem;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .solution__content {
    padding: 3rem 1.5rem;
  }

  .footer__content {
    flex-direction: column;
    gap: 2rem;
  }

  .whatsapp-widget {
    bottom: calc(20px + env(safe-area-inset-bottom, 20px));
    right: 20px;
    z-index: 99999;
  }
}

@media screen and (min-width: 1400px) {
  .container {
    margin-inline: auto;
  }
}