/* ============================================
   FitVision Coaches — Product Landing ("/")
   Landing-specific component styles ported VERBATIM
   from fit_vision_app/landing/style.css.
   Loaded ONLY on directory/landing.html, after
   tokens.css + base.css. Overrides the single-column
   .hero used elsewhere in base.css with the real
   two-column product hero (content + phone mockups).

   Skipped (already in tokens.css / base.css, reused
   as-is): :root tokens, reset, .container, .fade-up,
   .navbar*, .footer*, .section-header,
   .problem-card*, .steps*, .hero-blob, .hero-badge,
   .pulse-dot, .btn-primary, .btn-secondary.
   ============================================ */

/* ============================================
   SECTION — landing-scoped padding override
   base.css ships a flat .section { padding: 64px 0; }
   used by the coaches apartado pages (directorio,
   panel, manager, etc.) — left untouched there. The
   real product landing source uses 80px 0 (120px 0
   from 768px up); this file loads AFTER base.css
   (tokens.css -> base.css -> landing.css, see
   directory/landing.html's extra_head block), so this
   same-specificity rule wins on "/" only.
   ============================================ */
.section {
    padding: 80px 0;
}

@media (min-width: 768px) {
    .section { padding: 120px 0; }
}

/* ============================================
   HERO — two-column override
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.hero-content {
    max-width: 560px;
    margin: 0;
    text-align: left;
}

.hero h1 {
    text-align: left;
}

@media (min-width: 1024px) {
    .hero h1 { font-size: 72px; }
}

.hero-sub {
    max-width: 480px;
    margin: 0 0 32px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Phone Mockups (hero) */
.hero-phones {
    display: flex;
    justify-content: center;
    gap: 8px;
    perspective: 800px;
    width: 100%;
}

@media (max-width: 1023px) {
    .hero-phones { margin-top: 16px; }
}

@media (min-width: 480px) {
    .hero-phones { gap: 16px; }
}

.phone {
    width: calc((100% - 16px) / 3);
    max-width: 160px;
    aspect-ratio: 1 / 2;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-phone);
    padding: 16px 12px;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.phone::before {
    content: '';
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
}

.phone:nth-child(1) { animation-delay: 0s; }
.phone:nth-child(2) { animation-delay: 0.8s; transform: translateY(-20px); }
.phone:nth-child(3) { animation-delay: 1.6s; }

@media (min-width: 768px) {
    .phone { max-width: 180px; }
}

.phone-screen {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.phone-header {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Phone 1: Camera */
.phone-camera-circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    margin: 16px auto;
    display: flex; align-items: center; justify-content: center;
}

.phone-camera-circle::after {
    content: '';
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.5;
}

.phone-shutter {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 3px solid var(--color-text);
    margin: auto auto 8px;
}

@media (max-width: 479px) {
    .phone { padding: 12px 8px; border-radius: 24px; }
    .phone::before { width: 28px; height: 4px; top: 8px; }
    .phone-header { font-size: 8px; }
    .phone-stat-big { font-size: 22px !important; }
    .phone-camera-circle { width: 44px; height: 44px; margin: 8px auto; }
    .phone-shutter { width: 28px; height: 28px; }
    .phone-kcal { font-size: 16px; }
    .phone-macro-label { font-size: 7px; }
    .phone-macro-value { font-size: 10px; }
    .phone-category { font-size: 8px; }
    .phone-date { font-size: 7px; }
}

/* Phone 2: Body scan result */
.phone-stat-big {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    text-align: center;
    margin: 8px 0 4px;
}

.phone-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    position: relative;
    margin: 8px 0;
}

.phone-progress-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--color-accent);
}

.phone-category {
    font-size: 10px;
    color: var(--color-accent);
    text-align: center;
    font-weight: 500;
}

.phone-date {
    font-size: 9px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: auto;
    margin-bottom: 4px;
}

/* Phone 3: Macros dashboard */
.phone-macro-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.phone-macro-label {
    font-size: 9px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.phone-macro-value {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text);
}

.phone-macro-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    margin-top: 3px;
}

.phone-macro-bar-fill {
    height: 100%;
    border-radius: 2px;
}

.phone-macro-bar-fill.protein { background: var(--color-accent-blue); width: 70%; }
.phone-macro-bar-fill.carbs   { background: var(--color-accent-warm); width: 55%; }
.phone-macro-bar-fill.fat     { background: var(--color-accent-coral); width: 40%; }

.phone-kcal {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin: 8px 0 2px;
}

.phone-kcal-label {
    font-size: 9px;
    color: var(--color-text-muted);
    text-align: center;
}

/* ============================================
   STORE BADGES
   ============================================ */
.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.store-badges--center { justify-content: center; }

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px 12px 18px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.store-badge:hover {
    border-color: var(--color-accent);
    background: var(--color-bg-subtle);
    transform: translateY(-2px);
}

.store-badge svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.store-badge span {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

.store-badge small {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.social-proof-bar {
    padding: 16px 0;
    background: var(--color-bg-subtle);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.social-proof-bar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.social-proof-bar .accent {
    font-family: var(--font-mono);
    color: var(--color-accent);
    font-weight: 700;
}

.proof-separator {
    color: rgba(255,255,255,0.15);
}

@media (max-width: 600px) {
    .proof-separator { display: none; }
    .social-proof-bar .container {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.feature-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 0;
}

@media (min-width: 768px) {
    .feature-block {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    .feature-block.reverse .feature-visual { order: -1; }
}

.feature-content { max-width: 480px; }

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.feature-badge .dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--color-accent);
}

.feature-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .feature-content h3 { font-size: 32px; }
}

.feature-content p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Feature mockup (larger phone) */
.feature-phone {
    width: 240px;
    height: 480px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-phone);
    padding: 20px 16px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.feature-phone::before {
    content: '';
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
}

.feature-phone-screen {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Feature 3: Body scan result */
.scan-result-big {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    text-align: center;
    margin: 16px 0 8px;
}

.scan-category-bar {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    gap: 2px;
    margin: 8px 0;
}

.scan-category-bar span {
    flex: 1;
    border-radius: 4px;
}

.scan-category-bar .essential { background: #3B82F6; }
.scan-category-bar .fitness   { background: var(--color-accent); }
.scan-category-bar .average   { background: var(--color-accent-warm); }
.scan-category-bar .obese     { background: var(--color-accent-coral); }

.scan-indicator {
    width: 8px; height: 8px;
    background: var(--color-text);
    border-radius: 50%;
    margin-left: 36%;
    margin-top: -4px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 2px var(--color-bg-card);
}

.scan-label {
    font-size: 12px;
    color: var(--color-accent);
    text-align: center;
    font-weight: 600;
}

/* Iconos vectoriales verdes (reemplazan a los emojis) */
.icon-vec {
    fill: var(--color-accent);
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-vec--inline {
    width: 14px;
    height: 14px;
    position: relative;
    top: -1px;
}

/* Feature 1: Food placeholder */
.food-placeholder {
    width: 100%;
    height: 100px;
    border-radius: var(--radius-md);
    background: var(--color-bg-subtle);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-accent);
}

.macro-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.macro-mini-card {
    background: var(--color-bg-subtle);
    border-radius: var(--radius-sm);
    padding: 8px;
    text-align: center;
}

.macro-mini-card .val {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
}

.macro-mini-card .lbl {
    font-size: 9px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Feature 2 & 4: Workout list */
.workout-day-header {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 8px;
}

.workout-exercise-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.workout-exercise-name {
    font-size: 12px;
    color: var(--color-text);
    font-weight: 500;
}

.workout-exercise-detail {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-text-muted);
}

.workout-start-btn {
    width: 100%;
    padding: 10px;
    background: var(--color-accent);
    color: #000;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 12px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-section { padding-top: 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

@media (min-width: 800px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.pricing-card--featured {
    border-color: rgba(0, 245, 160, 0.35);
    box-shadow: 0 0 0 1px rgba(0, 245, 160, 0.12), 0 20px 60px -30px rgba(0, 245, 160, 0.35);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 5px 12px;
    background: var(--color-accent);
    color: #06231A;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pricing-tier {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 10px;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    color: var(--color-text);
}

.pricing-period {
    font-size: 14px;
    color: var(--color-text-muted);
}

.pricing-usd {
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.pricing-desc {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: 15px;
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    margin: 18px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    line-height: 1.5;
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.pricing-cta {
    display: block;
    padding: 14px;
    text-align: center;
    background: var(--color-accent);
    color: #06231A;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.pricing-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.pricing-cta--ghost {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.pricing-cta--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ============================================
   DOWNLOAD CTA
   ============================================ */
.download-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(0,245,160,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.download-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,245,160,0.4), transparent);
}

.download-inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.download-logo {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    margin: 0 auto 24px;
}

.download-inner h2 {
    font-size: 36px;
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    .download-inner h2 { font-size: 44px; }
}

.download-inner > p {
    color: var(--color-text-muted);
    font-size: 17px;
    margin-bottom: 32px;
}

.download-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   FOUNDER SECTION
   ============================================ */
.founder-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .founder-section { grid-template-columns: 1fr 300px; gap: 64px; }
}

.founder-text p {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.founder-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.founder-socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--color-text-muted);
    transition: border-color 0.2s, color 0.2s;
}

.founder-social-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.founder-socials a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.founder-photo {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text-muted);
    font-size: 14px;
    margin: 0 auto;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    gap: 16px;
}

.faq-question:hover { color: var(--color-accent); }

.faq-icon {
    font-family: var(--font-mono);
    font-size: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer > div {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 0 20px;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   COACHES APARTADO CTA
   ============================================ */
.coaches-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
