/* ============================================
   RESET & GLOBAL STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-neutral-200);
    background: var(--clr-neutral-900);
}
img {
    max-width: 100%;
}

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

/* ============================================
   COLOR VARIABLES (DARK MODE)
   ============================================ */

:root {
    /* Base colors for dark mode */
    --clr-neutral-200: #fafdf6; /* Clear background */
    --clr-neutral-900: #081a40; /* Dark  background */
    --clr-primary-700: #030a1a; /* Primary blue blue */

    --accent-gold: #bb8d3f; /* Gold for CTAs and accents */
    --accent-gold-light: #d4a85c; /* Lighter gold for hover states */

    --border-color: var(--clr-primary-700); /* Dark blue border */
    --shadow-color: rgba(40, 56, 100, 0.3); /* Blue-tinted shadow */

    /* Button colors */
    --btn-primary: var(--accent-gold); /* Gold for primary buttons */
    --btn-primary-hover: var(--accent-gold-light);
    --btn-primary-text: var(
        --clr-neutral-900
    ); /* Near-black text on gold buttons */
    --btn-secondary: var(--bg-primary-700);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

p {
    margin-bottom: 1em;
    color: var(--text-neutral-800);
}
/* ============================================
   LAYOUT
   ============================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.card__content {
    padding: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
    border-color: var(--accent-gold);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--clr-neutral-900);
    position: sticky;
    top: -1px;
    z-index: 1000;
    transition: box-shadow 0.2s ease;
}
.navbar.is-stuck {
    box-shadow: 0 2px 10px var(--shadow-color);
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-link {
    padding: 0.5rem 1.2rem;
    color: var(--clr-neutral-200);
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
}
@media (max-width: 600px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: red;
    }
}
.nav-link:hover {
    background: var(--clr-primary-700);
    border-color: var(--border-color);
}
.logo-wrapper {
    display: flex;
    align-items: center;
}
.logo-zoi {
    width: 80px;
    margin-right: 0.5rem;
    margin-bottom: 0.125rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: -1px;
}

.nav-cta {
    background-color: var(--btn-primary);
    color: var(--btn-primary-text);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    transition: opacity 0.4s ease;
    opacity: 0;
}
.is-stuck .nav-cta {
    opacity: 1;
}

.nav-cta:hover {
    background-color: var(--btn-primary-hover);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    color: var(--clr-neutral-200);
    display: flex;
    min-height: 85vh;
}
.hero .container {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
    padding-block: 2rem;
    gap: 2rem;
    background-color: var(--clr-neutral-900);
    transition: background ease-in-out 400ms;
}
.hero .container:hover{
  background-color: transparent;
}
.hero-visual {
    flex: 0.4;
    max-width: 200px;
    display: flex;
    align-items: flex-start;
    transition: opacity ease-in-out 400ms;
}
.hero .container:hover .hero-visual{
    opacity: 0.7;
}
.hero-video{
  position: absolute;
  display: flex;
  z-index: -1;
  top: 50%;
  left: 0px;
  width: 100%;
  border-radius: 30px;
  transform: translateY(-50%);
  overflow: hidden;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05; /* 🔥 aquí controlas todo */
}
.hero-content {
    flex: 1;
    max-width: 600px;
}
@media (min-width: 700px) {
    .hero .container {
        flex-direction: row;
    }
    .hero-content {
        padding-top: 5rem;
    }
    .hero-visual {
        padding-bottom: 2rem;
        max-width: 400px;
    }
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

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

.cta-primary:hover {
    background-color: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 141, 63, 0.2);
}

/* ============================================
   PROBLEM
   ============================================ */
.problem {
    background: var(--clr-neutral-900);
    color: var(--clr-neutral-200);
    padding: 6rem 0;
}
.problem-content {
    max-width: 800px;
}
.problem-stats {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}
.stat-card {
    padding: 1rem 2rem;
    /* display: flex;
    flex-direction: column; */
}
.stat-number {
    color: var(--accent-gold);
    font-size: 3em;
    margin-right: 0.2rem;
}
.stat-label {
    font-size: 1.2em;
}
/* ============================================
   PRODUCT SHOWCASE
   ============================================ */
.product-showcase {
    padding-top: 6rem;
    background: var(--clr-primary-700);
    color: var(--clr-neutral-200);
}
.product-card {
}
.specs-list {
    list-style: none;
    padding-left: 0.8rem;
}
.specs-list li {
    display: flex;
    padding: 1rem 0;
}
.spec-icon {
    margin-right: 0.8rem;
}
.product-visual {
    max-width: 600px;
}
.product-visual img {
    border-radius: 8px;
}
.product-main {
    padding: 4rem 0;
}
@media (min-width: 700px) {
    .product-main {
        display: flex;
        align-items: flex-start;
        flex-direction: row-reverse;
        gap: 2rem;
    }
    .product-visual {
        position: sticky;
        top: 8rem;
    }
}
/* ============================================
   SOLUTION SHOWCASE
   ============================================ */

.solution-showcase {
    padding: 4rem 0;
    background-color: var(--clr-neutral-900);
    color: var(--clr-neutral-200);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-neutral-200);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-neutral-800);
    max-width: 600px;
    margin: 0 auto;
}
.solution-card {
    padding: 2rem;
}
.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    max-width: 42px;
}

.solution-card h3 {
    font-size: 1.5rem;
    color: var(--text-neutral-200);
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--text-neutral-800);
    line-height: 1.6;
}

.solution-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
.included-features {
    padding-left: 1.4rem;
    list-style: square;
}
.included-features li::marker {
    color: var(--accent-gold);
}
/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: 6rem 0;
    display: flex;
    color: var(--clr-neutral-200);
    background: #0e2f73;
    background: linear-gradient(
        120deg,
        rgba(14, 47, 115, 1) 0%,
        rgba(8, 26, 64, 1) 100%
    );
    background: #081a40;
    background: linear-gradient(
        130deg,
        rgba(8, 26, 64, 1) 20%,
        rgba(14, 47, 115, 1) 48%,
        rgba(8, 26, 64, 1) 80%
    );
}
.cta-content {
    max-width: 700px;
}
.final-cta .cta-button {
    display: block;
    width: fit-content;
    margin-top: 4rem;
    margin-inline: auto;
}
/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--clr-neutral-900);
    color: var(--clr-neutral-200);
    padding: 3rem 0;
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow-color);
}
