/* ============================================
   NRF2 NUTRICELL — Design tokens
   ============================================ */
:root {
    /* Color */
    --bg-deep: #06112b;
    --bg-base: #08183a;
    --bg-surface: #0c2351;
    --bg-surface-soft: #102a5e;
    --line: #1c3868;
    --line-soft: #142b59;

    --text-main: #f2fbff;
    --text-soft: #aebfdc;
    --text-muted: #7488ae;

    --accent: #13d2f0;
    --accent-dim: #0f9fbb;
    --accent-deep: #14528f;

    --gold: #e8c468; /* reservado para Club 960, único uso */

    /* Type */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container: 1180px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Hexagon signature — eco visual del logo
   ============================================ */
.hex-clip {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hex-divider {
    position: relative;
    height: 64px;
    overflow: hidden;
}

.hex-divider svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: #04111f;
}

.btn--primary:hover {
    background: #3fdcf5;
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text-main);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn--large {
    padding: 15px 32px;
    font-size: 16px;
}

.btn--xlarge {
    padding: 18px 40px;
    font-size: 17px;
}

/* ============================================
   Header
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 17, 43, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.header__logo img {
    height: 38px;
    width: auto;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    padding: 72px 0 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    height: 600px;
    background:
        radial-gradient(circle at 18% 20%, rgba(19, 210, 240, 0.10), transparent 45%),
        radial-gradient(circle at 85% 0%, rgba(20, 82, 143, 0.22), transparent 50%);
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    position: relative;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero__eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(19, 210, 240, 0.18);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
    color: var(--text-main);
}

.hero__subtitle {
    font-size: 17px;
    color: var(--text-soft);
    max-width: 540px;
    margin-bottom: 34px;
}

.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero__media {
    position: relative;
}

.hero__media .responsive-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
}

/* ============================================
   Section scaffolding
   ============================================ */
section {
    padding: 96px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text-main);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 18px;
}

.section-title--accent {
    color: var(--accent);
}

.section-intro {
    text-align: center;
    color: var(--text-soft);
    max-width: 620px;
    margin: 0 auto 48px;
    font-size: 16px;
}

.responsive-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line-soft);
}

.responsive-media__image {
    width: 100%;
    height: auto;
}

/* ============================================
   Beneficios
   ============================================ */
.benefits {
    background: var(--bg-deep);
}

.benefits .responsive-media {
    max-width: 920px;
    margin: 0 auto;
}

/* ============================================
   Productos
   ============================================ */
.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease;
}

.product-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-3px);
}

.product-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-surface-soft);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__image::after {
    content: '';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    opacity: 0.9;
}

.product-card__content {
    padding: 28px;
}

.product-card__name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
}

.product-card__description {
    color: var(--text-soft);
    font-size: 14.5px;
    margin-bottom: 16px;
}

.product-card__benefit {
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid var(--line-soft);
    padding-top: 14px;
}

.product-card__benefit strong {
    color: var(--accent);
    font-weight: 600;
}

/* ============================================
   Oportunidad
   ============================================ */
.opportunity {
    background: var(--bg-deep);
}

.opportunity__content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.opportunity__intro {
    color: var(--text-soft);
    font-size: 16.5px;
    margin-bottom: 40px;
}

.opportunity .responsive-media {
    text-align: left;
}

/* ============================================
   Club 960 — único punto dorado de la página
   ============================================ */
.club960 {
    background: linear-gradient(180deg, var(--bg-base) 0%, #0a1c44 100%);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.club960__content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.club960__intro {
    color: var(--text-soft);
    font-size: 16.5px;
    margin-bottom: 40px;
}

.section-title--accent {
    color: var(--gold);
}

/* ============================================
   Cómo funciona
   ============================================ */
.how-it-works .responsive-media {
    max-width: 920px;
    margin: 0 auto;
}

/* ============================================
   CTA Final
   ============================================ */
.cta-final {
    text-align: center;
    background: var(--bg-deep);
}

.cta-final__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-final__text {
    color: var(--text-soft);
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 16px;
}

.cta-final__buttons {
    margin-bottom: 48px;
}

.cta-final .responsive-media {
    max-width: 920px;
    margin: 0 auto;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--line-soft);
    padding: 64px 0 32px;
}

.footer__content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__brand img {
    height: 30px;
    margin-bottom: 12px;
}

.footer__tagline {
    color: var(--text-muted);
    font-size: 14px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer__column-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 16px;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 10px;
}

.footer__list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14.5px;
    transition: color .15s ease;
}

.footer__list a:hover {
    color: var(--accent);
}

.footer__bottom {
    border-top: 1px solid var(--line-soft);
    padding-top: 28px;
}

.footer__disclaimer {
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 760px;
}

.footer__copyright {
    color: var(--text-muted);
    font-size: 12.5px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__subtitle {
        max-width: none;
    }

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

    .footer__content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__links {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 64px 0;
    }

    .hero {
        padding-top: 48px;
    }

    .header__content {
        height: 64px;
    }

    .header__logo img {
        height: 30px;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .footer__links {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-final__buttons .btn {
        width: 100%;
    }
}
