/* =============================================================================
   MAN-UP! LIFE COACHING - COMPONENT STYLES
   Reusable UI components for pages and landing pages
   ============================================================================= */

/* -----------------------------------------------------------------------------
   HERO SECTIONS
   ----------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: var(--color-bg-secondary);
    padding: calc(var(--space-20) + 80px) 0 var(--space-20); /* Account for fixed nav */
}

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

.hero__pre-headline {
    display: inline-block;
    background: var(--color-primary-alpha-15);
    border: 1px solid var(--color-primary-alpha-40);
    color: var(--color-primary);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-6);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.hero__headline {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-8);
    letter-spacing: var(--tracking-tight);
}

.hero__headline-highlight {
    color: var(--color-primary);
}

.hero__subheadline {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-10);
    line-height: var(--leading-relaxed);
    max-width: 700px;
}

.hero--center .hero__subheadline {
    margin-left: auto;
    margin-right: auto;
}

.hero__cta-wrapper {
    margin-top: var(--space-10);
}

/* Hero with video */
.hero__video-container {
    margin: var(--space-10) 0;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero__video-container .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero__video-container .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hero__video-caption {
    text-align: center;
    margin-top: var(--space-4);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.hero__video-wrapper {
    margin: var(--space-10) 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero__video {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__video iframe,
.hero__video video {
    width: 100%;
    height: 100%;
    border: none;
}

.hero__play-button {
    width: 80px;
    height: 80px;
    background: rgba(220, 38, 38, 0.9);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    cursor: pointer;
    transition: transform var(--transition-base), background var(--transition-base);
    border: none;
}

.hero__play-button:hover {
    transform: scale(1.1);
    background: var(--color-primary);
}

/* -----------------------------------------------------------------------------
   CONTENT SECTIONS
   ----------------------------------------------------------------------------- */
.content-section {
    padding: var(--space-20) 0;
    background: var(--color-bg-primary);
}

.content-section--alt {
    background: var(--color-bg-secondary);
}

/* Content blocks */
.content-block {
    max-width: var(--container-narrow);
    margin: 0 auto var(--space-12);
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block__title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.content-block p {
    color: var(--color-text-secondary);
    font-size: var(--text-md);
    margin-bottom: var(--space-4);
    line-height: var(--leading-loose);
}

/* Highlighted box */
.highlight-box {
    background: var(--color-primary-alpha-15);
    border-left: 3px solid var(--color-primary);
    padding: var(--space-4) var(--space-5);
    margin: var(--space-5) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.highlight-box p {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* -----------------------------------------------------------------------------
   TWO COLUMN LAYOUTS
   ----------------------------------------------------------------------------- */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    max-width: 1000px;
    margin: 0 auto;
}

.two-column--gap-sm {
    gap: var(--space-8);
}

@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* -----------------------------------------------------------------------------
   OFFER STEPS
   ----------------------------------------------------------------------------- */
.offer-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
}

.offer-step {
    display: flex;
    gap: var(--space-6);
    background: var(--color-bg-elevated);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-primary);
    align-items: flex-start;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.offer-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.offer-step__number {
    flex: 0 0 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
}

.offer-step__content {
    flex: 1;
}

.offer-step__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
    gap: var(--space-3);
}

.offer-step__title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
}

.offer-step__value {
    background: var(--color-success-alpha-20);
    color: var(--color-success);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-2xl);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
}

.offer-step__text {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.offer-step__text p {
    margin-bottom: var(--space-3);
}

@media (max-width: 768px) {
    .offer-step {
        flex-direction: column;
        gap: var(--space-5);
        padding: var(--space-6) var(--space-5);
    }

    .offer-step__number {
        width: 50px;
        height: 50px;
        font-size: var(--text-lg);
    }

    .offer-step__header {
        flex-direction: column;
        gap: var(--space-2);
    }
}

/* -----------------------------------------------------------------------------
   VALUE SUMMARY BOX
   ----------------------------------------------------------------------------- */
.value-summary {
    max-width: 600px;
    margin: var(--space-16) auto 0;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.value-summary__title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-8);
}

.value-summary__items {
    text-align: left;
    margin-bottom: var(--space-8);
}

.value-summary__item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-base);
}

.value-summary__item-name {
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.value-summary__item-name .icon {
    color: var(--color-success);
}

.value-summary__item-value {
    color: var(--color-primary);
    font-weight: var(--font-bold);
}

.value-summary__total {
    display: flex;
    justify-content: space-between;
    padding: var(--space-4) 0;
    font-size: var(--text-lg);
    border-top: 2px solid var(--color-primary);
    margin-top: var(--space-4);
}

.value-summary__total-label {
    color: var(--color-text-muted);
}

.value-summary__total-value {
    color: var(--color-text-primary);
    font-weight: var(--font-bold);
    text-decoration: line-through;
    text-decoration-color: var(--color-primary);
}

.value-summary__price {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-success);
    margin: var(--space-6) 0;
}

.value-summary__note {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-5);
}

.value-summary__qualifier {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    text-align: left;
    border-left: 4px solid var(--color-warning);
    margin-top: var(--space-6);
}

.value-summary__qualifier p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

.value-summary__qualifier p:last-child {
    margin-bottom: 0;
    color: var(--color-warning);
    font-weight: var(--font-bold);
}

@media (max-width: 768px) {
    .value-summary {
        padding: var(--space-8) var(--space-5);
    }

    .value-summary__item {
        flex-direction: column;
        gap: var(--space-1);
    }
}

/* -----------------------------------------------------------------------------
   QUALIFICATION LISTS
   ----------------------------------------------------------------------------- */
.qual-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    max-width: 1000px;
    margin: 0 auto var(--space-12);
}

.qual-column {
    background: var(--color-bg-elevated);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.qual-column:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.qual-column--for {
    border-top: 4px solid var(--color-success);
}

.qual-column--against {
    border-top: 4px solid var(--color-error);
}

.qual-column__title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-6);
}

.qual-column--for .qual-column__title {
    color: var(--color-success);
}

.qual-column--against .qual-column__title {
    color: var(--color-error);
}

.qual-list {
    list-style: none;
}

.qual-list li {
    padding: var(--space-3) 0;
    padding-left: var(--space-8);
    position: relative;
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    border-bottom: 1px solid var(--color-border);
}

.qual-list li:last-child {
    border-bottom: none;
}

.qual-list li::before {
    position: absolute;
    left: 0;
    font-weight: var(--font-bold);
}

.qual-column--for .qual-list li::before {
    content: '✓';
    color: var(--color-success);
}

.qual-column--against .qual-list li::before {
    content: '✗';
    color: var(--color-error);
}

@media (max-width: 768px) {
    .qual-columns {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .qual-column {
        padding: var(--space-6) var(--space-5);
    }
}

/* -----------------------------------------------------------------------------
   SELECTIVE / NOTICE BOX
   ----------------------------------------------------------------------------- */
.notice-box {
    max-width: var(--container-narrow);
    margin: 0 auto;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-warning);
    box-shadow: var(--shadow-md);
}

.notice-box__title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
    color: var(--color-warning);
}

.notice-box p {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
}

/* -----------------------------------------------------------------------------
   TESTIMONIAL GRID
   ----------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Testimonial sections (before/learned/after) */
.testimonial__section {
    margin-bottom: var(--space-4);
}

.testimonial__section:last-child {
    margin-bottom: 0;
}

/* Common thread box */
.common-thread {
    max-width: 700px;
    margin: var(--space-12) auto 0;
    text-align: center;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    box-shadow: var(--shadow-md);
}

.common-thread__title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
    color: var(--color-primary);
}

.common-thread p {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
}

/* -----------------------------------------------------------------------------
   PROCESS STEPS (Horizontal)
   ----------------------------------------------------------------------------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step__number {
    width: 70px;
    height: 70px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin: 0 auto var(--space-5);
    box-shadow: var(--shadow-primary);
}

.process-step__title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
}

.process-step__text {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
}

/* Connector line between steps */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -30px;
    width: 60px;
    height: 2px;
    background: var(--color-border);
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .process-step:not(:last-child)::after {
        display: none;
    }
}

/* -----------------------------------------------------------------------------
   FAQ ACCORDION
   ----------------------------------------------------------------------------- */
.faq-list {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) 0;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: var(--text-md);
    font-weight: var(--font-semibold);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-item__question:hover {
    color: var(--color-primary);
}

.faq-item__icon {
    font-size: var(--text-lg);
    transition: transform var(--transition-base);
}

.faq-item--open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    display: none;
    padding-bottom: var(--space-5);
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.faq-item--open .faq-item__answer {
    display: block;
}

/* -----------------------------------------------------------------------------
   CTA SECTIONS
   ----------------------------------------------------------------------------- */
.cta-section {
    text-align: center;
    padding: var(--space-20) 0;
    background: var(--color-bg-secondary);
}

.cta-section__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-5);
}

.cta-section__text {
    font-size: var(--text-md);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

.cta-center {
    text-align: center;
    margin-top: var(--space-12);
}

/* -----------------------------------------------------------------------------
   STATS / METRICS
   ----------------------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.stat__label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
}

/* -----------------------------------------------------------------------------
   FEATURE GRID
   ----------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    display: flex;
    gap: var(--space-4);
}

.feature__icon {
    flex: 0 0 50px;
    height: 50px;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.feature:hover .feature__icon {
    background: var(--color-bg-elevated);
    transform: scale(1.05);
}

.feature__content {
    flex: 1;
}

.feature__title {
    font-size: var(--text-md);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
}

.feature__text {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

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

/* -----------------------------------------------------------------------------
   MEDIA LOGOS (As Seen In)
   ----------------------------------------------------------------------------- */
.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-12);
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all var(--transition-base);
}

.media-logos:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.media-logos img {
    height: 30px;
    width: auto;
}

/* -----------------------------------------------------------------------------
   ANIMATIONS
   ----------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* -----------------------------------------------------------------------------
   QUOTES GRID (What are Men Saying?)
   ----------------------------------------------------------------------------- */
.quotes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    max-width: 900px;
    margin: 0 auto;
}

.quote-card {
    background: var(--color-bg-elevated);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    border-left: 3px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.quote-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.quote-card__text {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    font-style: italic;
    margin: 0;
}

/* -----------------------------------------------------------------------------
   RED LINE MARK (decorative element)
   ----------------------------------------------------------------------------- */
.red-line-mark {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: var(--space-4) auto 0;
    border-radius: 2px;
}

/* -----------------------------------------------------------------------------
   HOW IT WORKS LIST
   ----------------------------------------------------------------------------- */
.how-it-works-list {
    max-width: 600px;
    margin: 0 auto;
}

.how-it-works-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
}

.how-it-works-item:last-child {
    border-bottom: none;
}

.how-it-works-item__bullet {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    margin-top: 6px;
}

.how-it-works-item p {
    color: var(--color-text-secondary);
    font-size: var(--text-md);
    margin: 0;
}

/* -----------------------------------------------------------------------------
   PROCESS STEPS (with icons)
   ----------------------------------------------------------------------------- */
.process-step__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step__icon svg {
    width: 60px;
    height: 60px;
    stroke: var(--color-accent);
    stroke-width: 1.5;
}

/* CTA Section disclaimer */
.cta-section__disclaimer {
    margin-top: var(--space-8);
    color: var(--color-text-muted);
    font-size: var(--text-base);
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
