/* ========================================
   CLARITY SALES PAGE - STYLE GUIDE
   ======================================== */

/* CSS Custom Properties (Variables) */
:root {
    /* Colors */
    --primary-dark: #1a1a2e;
    --secondary-dark: #16213e;
    --accent-blue: #0f3460;
    --cta-green: #28a745;
    --cta-green-hover: #218838;
    --bg-light: #ffffff;
    --bg-alternate: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --warning-highlight: #fff3cd;
    
    /* Typography */
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --container-max-width: 800px;
    --paragraph-spacing: 24px;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ========================================
   CONTAINER
   ======================================== */

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

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 42px;
    color: var(--primary-dark);
}

h2 {
    font-size: 28px;
    color: var(--primary-dark);
}

h3 {
    font-size: 24px;
    color: var(--primary-dark);
}

p {
    margin-bottom: var(--paragraph-spacing);
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

/* ========================================
   BUTTONS
   ======================================== */

.cta-button {
    display: inline-block;
    background-color: var(--cta-green);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--cta-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.cta-button.cta-large {
    font-size: 20px;
    padding: 20px 56px;
}

/* ========================================
   SECTION GENERAL STYLES
   ======================================== */

section {
    padding: var(--section-padding) 0;
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading.centered {
    text-align: center;
}

.emphasized-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 32px 0;
}

.emphasized-text.centered {
    text-align: center;
}

.micro-copy {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* ========================================
   SECTION 1: HERO
   ======================================== */

.section-hero {
    background-color: var(--bg-light);
    padding: 60px 0 var(--section-padding);
    text-align: center;
}

.pre-headline {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.main-headline {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 100%;
}

.subheadline {
    font-size: 22px;
    color: var(--secondary-dark);
    margin-bottom: 40px;
    line-height: 1.5;
}

.subheadline em {
    font-style: italic;
}

/* Video Container */
.video-container {
    max-width: 720px;
    margin: 0 auto 40px;
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    color: #ffffff;
    opacity: 0.9;
}

.video-placeholder p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 30px);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* Responsive video embed */
.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
}

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

/* ========================================
   SECTION 2: ELITE COACH ANGLE
   ======================================== */

.section-elite-coach {
    background-color: var(--bg-alternate);
    text-align: center;
}

.elite-names {
    margin-bottom: 40px;
}

.elite-line {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.elite-line:last-child {
    margin-bottom: 0;
}

.elite-body {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.elite-emphasis {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 40px auto 24px;
    max-width: 650px;
}

/* ========================================
   SECTION 3: THE PROBLEM
   ======================================== */

.section-problem {
    background-color: var(--bg-light);
}

/* ========================================
   SECTION 3: AGITATION
   ======================================== */

.section-agitation {
    background-color: var(--bg-alternate);
}

.styled-list {
    list-style: none;
    margin: 32px 0;
    padding: 0;
}

.styled-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
}

.styled-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
}

/* ========================================
   SECTION 4: SOLUTION
   ======================================== */

.section-solution {
    background-color: var(--bg-light);
}

/* ========================================
   SECTION 5: TESTIMONIALS
   ======================================== */

.section-testimonials {
    background-color: var(--bg-alternate);
}

.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card:last-child {
    margin-bottom: 0;
}

.quote-icon {
    font-family: Georgia, serif;
    font-size: 72px;
    color: var(--accent-blue);
    opacity: 0.3;
    line-height: 0.8;
    position: absolute;
    top: 16px;
    left: 24px;
}

.testimonial-quote {
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-top: 24px;
}

.testimonial-body {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.testimonial-author {
    font-weight: 700;
    text-align: right;
    margin-bottom: 0;
}

/* ========================================
   SECTION 7: THE OFFER
   ======================================== */

.section-offer {
    background-color: var(--bg-light);
    text-align: center;
}

.offer-list {
    text-align: left;
    margin: 40px 0;
}

.offer-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.offer-item:last-child {
    margin-bottom: 0;
}

.checkmark {
    color: var(--cta-green);
    font-size: 24px;
    font-weight: 700;
    margin-right: 16px;
    flex-shrink: 0;
    line-height: 1.3;
}

.offer-item strong {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.offer-item p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.value-box {
    background-color: var(--bg-alternate);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    margin: 40px 0;
}

.value-anchor {
    font-size: 24px;
    margin-bottom: 4px;
}

.value-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.price {
    font-size: 20px;
    margin-bottom: 24px;
}

.price span {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ========================================
   SECTION 8: GUARANTEE
   ======================================== */

.section-guarantee {
    background-color: var(--warning-highlight);
    text-align: center;
}

.guarantee-badge {
    color: var(--cta-green);
    margin-bottom: 24px;
}

.guarantee-heading {
    font-size: 28px;
    margin-bottom: 24px;
}

/* ========================================
   SECTION 9: WHO THIS IS FOR
   ======================================== */

.section-who-for {
    background-color: var(--bg-light);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.column h3 {
    font-size: 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-check {
    color: var(--cta-green);
    font-size: 24px;
}

.icon-x {
    color: #dc3545;
    font-size: 24px;
}

.column ul {
    list-style: none;
    padding: 0;
}

.column ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 17px;
}

.for-you ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cta-green);
    font-weight: 700;
}

.not-for-you ul li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: 700;
}

/* ========================================
   SECTION 10: FINAL CTA
   ======================================== */

.section-final-cta {
    background-color: var(--secondary-dark);
    text-align: center;
    color: #ffffff;
}

.final-cta-opener {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.5;
}

.section-final-cta h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.4;
}

.section-final-cta .micro-copy {
    color: rgba(255, 255, 255, 0.7);
}

.supporting-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    margin-top: 32px;
}

/* ========================================
   SECTION 11: ABOUT
   ======================================== */

.section-about {
    background-color: var(--bg-alternate);
    padding: 60px 0;
}

.section-about h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links span {
    color: var(--text-secondary);
    margin: 0 12px;
}

.copyright {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ========================================
   ANIMATIONS
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    body {
        font-size: 17px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .main-headline {
        font-size: 32px;
    }
    
    .subheadline {
        font-size: 18px;
    }
    
    .pre-headline {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    
    .emphasized-text {
        font-size: 20px;
    }
    
    /* Elite Coach section adjustments */
    .elite-line {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .elite-emphasis {
        font-size: 18px;
    }
    
    .final-cta-opener {
        font-size: 18px;
    }
    
    /* Hero adjustments */
    .section-hero {
        padding: 40px 0 60px;
    }
    
    /* Buttons */
    .cta-button {
        display: block;
        width: 100%;
        padding: 18px 24px;
        font-size: 17px;
    }
    
    .cta-button.cta-large {
        padding: 20px 24px;
        font-size: 18px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 24px;
    }
    
    .quote-icon {
        font-size: 48px;
        top: 8px;
        left: 16px;
    }
    
    .testimonial-quote {
        font-size: 18px;
    }
    
    /* Offer section */
    .offer-item {
        flex-direction: column;
    }
    
    .checkmark {
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    .value-box {
        padding: 20px;
    }
    
    .value-anchor {
        font-size: 20px;
    }
    
    .price span {
        font-size: 28px;
    }
    
    /* Two columns */
    .two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .column h3 {
        font-size: 20px;
    }
    
    /* Final CTA */
    .section-final-cta h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }
    
    body {
        font-size: 16px;
    }
    
    h1, .main-headline {
        font-size: 28px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .subheadline {
        font-size: 16px;
    }
    
    .pre-headline {
        font-size: 10px;
    }
    
    .testimonial-quote {
        font-size: 17px;
    }
    
    .section-final-cta h2 {
        font-size: 24px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .cta-button,
    .video-container {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}
