/* --- Variables & Reset --- */
:root {
    --primary: #0F172A; /* Deep Navy */
    --accent: #2563EB;  /* Agile Blue */
    --highlight: #0EA5E9; /* Tech Teal */
    --success: #10B981; /* Verified Green */
    --warning: #F59E0B; /* Star Yellow */
    --light: #F8FAFC;
    --white: #ffffff;
    --text: #334155;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Merriweather', serif;
    --font-handwriting: 'Caveat', cursive;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, .btn, .nav-link {
    font-family: var(--font-heading);
}

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

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* --- Navigation --- */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-nav {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-nav:hover {
    background: var(--accent);
    color: var(--white);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

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

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    color: var(--white);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.badge {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 1rem 0 0.5rem 0;
    font-weight: 800;
}

.author-byline {
    font-family: var(--font-handwriting);
    font-size: 1.8rem;
    color: var(--highlight);
    margin: 0.5rem 0 1.5rem 0;
    font-weight: 700;
}

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

.highlight-blue {
    color: var(--accent);
}

.subheadline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

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

.guarantee-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
    font-family: var(--font-heading);
}

/* --- Problem Section --- */
.problem-section {
    padding: 4rem 0;
    background: var(--light);
}

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

.problem-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.problem-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.problem-solution-bridge {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.problem-solution-bridge h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* --- Solution Section --- */
.solution-section {
    padding: 4rem 0;
}

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

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

.feature {
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-img {
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-img:hover {
    transform: scale(1.02);
}

/* --- Outcomes Section --- */
.outcomes-section {
    padding: 4rem 0;
    background: var(--light);
}

.outcomes-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.outcome-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent);
}

.outcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.outcome-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.outcome-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.outcome-card p {
    color: var(--text);
    line-height: 1.7;
}

/* --- Unique Value Section --- */
.unique-value-section {
    padding: 4rem 0;
    background: var(--white);
}

.unique-value-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.2;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.value-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text);
    line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials-section {
    padding: 4rem 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: var(--warning);
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-heading);
}

.verified {
    display: block;
    color: var(--success);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    margin-top: 2px;
}

/* --- Instructor --- */
.instructor-section {
    padding: 5rem 0;
}

.instructor-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .instructor-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.instructor-img img {
    border-radius: 12px;
    box-shadow: 15px 15px 0px var(--light);
    transition: transform 0.3s ease;
}

.instructor-img img:hover {
    transform: translateX(-5px) translateY(-5px);
}

.instructor-bio h3 {
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.credentials {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.bio-bullets {
    list-style: none;
    margin-top: 1.5rem;
}

.bio-bullets li {
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* --- Curriculum Section --- */
.curriculum-section {
    padding: 4rem 0;
    background: var(--light);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text);
}

/* --- Accordion (Curriculum & FAQ) --- */
.accordion {
    max-width: 800px;
    margin: 2rem auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: var(--white);
    border: none;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: var(--light);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: var(--light);
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-content ul {
    margin: 1.5rem 0 1.5rem 1.5rem;
}

.accordion-content p {
    margin: 1.5rem 0;
}

.accordion-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.accordion-content a:hover {
    text-decoration: underline;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

/* --- Bonus Section --- */
.bonus-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.bonus-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.bonus-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border: 3px solid var(--accent);
}

.bonus-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .bonus-content {
        grid-template-columns: 300px 1fr;
        align-items: center;
    }
}

.bonus-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.bonus-details h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.bonus-value {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.price-highlight {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.5rem;
}

.bonus-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text);
}

.bonus-highlight {
    font-size: 1.2rem;
    color: var(--success);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-top: 1.5rem;
}

/* --- Offer Section --- */
.offer-section {
    padding: 5rem 0;
    background: var(--light);
    text-align: center;
}

.offer-box {
    background: var(--white);
    max-width: 600px;
    margin: 0 auto 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.offer-header {
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
}

.offer-body {
    padding: 2.5rem;
}

.price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.one-time {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

.benefits-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.benefits-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.secure-checkout {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 1rem;
}

.guarantee-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.badge-img {
    width: 120px;
    flex-shrink: 0;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* --- Footer --- */
footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    margin-top: 1rem;
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .author-byline {
        font-size: 1.5rem;
    }

    .subheadline {
        font-size: 1rem;
    }

    .btn-large {
        font-size: 1.1rem;
        padding: 0.9rem 2rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .outcomes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .outcomes-section h2,
    .unique-value-section h2 {
        font-size: 2rem;
    }

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

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

    .instructor-layout {
        grid-template-columns: 1fr;
    }

    .instructor-img img {
        box-shadow: 10px 10px 0px var(--light);
    }

    .bonus-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .bonus-image img {
        max-width: 250px;
    }

    .bonus-details h3 {
        font-size: 1.5rem;
    }

    .bonus-section h2 {
        font-size: 2rem;
    }

    .price-tag {
        font-size: 3rem;
    }

    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }

    .accordion-header {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }

    .problem-solution-bridge h2 {
        font-size: 1.6rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .btn-nav {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .author-byline {
        font-size: 1.3rem;
    }

    .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .problem-section,
    .solution-section,
    .outcomes-section,
    .unique-value-section,
    .instructor-section,
    .curriculum-section,
    .bonus-section,
    .offer-section,
    .faq-section {
        padding: 3rem 0;
    }

    .outcomes-section h2,
    .unique-value-section h2 {
        font-size: 1.7rem;
    }

    .outcome-card,
    .value-card {
        padding: 1.5rem;
    }

    .value-number {
        font-size: 2.5rem;
    }

    .bonus-section h2 {
        font-size: 1.7rem;
    }

    .bonus-details h3 {
        font-size: 1.3rem;
    }

    .bonus-image img {
        max-width: 200px;
    }

    .price-tag {
        font-size: 2.5rem;
    }
}

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