/* Course Platform Page Styles */

/* Hero Section */
.cp-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.cp-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(62, 111, 178, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cp-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cp-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    opacity: 1;
    transform: none;
}

.cp-hero .hero-tagline {
    opacity: 1;
    transform: none;
    max-width: 540px;
}

.cp-hero .hero-buttons {
    opacity: 1;
    transform: none;
}

.cp-hero h1 .highlight {
    position: relative;
    display: inline-block;
}

.cp-hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(62, 111, 178, 0.25);
    z-index: -1;
}

/* Abstract UI mockup in hero */
.hero-abstract {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.abstract-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.abstract-card.overlay {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 200px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.abstract-header {
    height: 8px;
    background: var(--color-primary);
    border-radius: 4px;
    margin-bottom: 1.25rem;
    width: 40%;
}

.abstract-header.accent {
    background: var(--color-primary);
    width: 60%;
}

.abstract-line {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.abstract-line.w-80 { width: 80%; }
.abstract-line.w-70 { width: 70%; }
.abstract-line.w-60 { width: 60%; }
.abstract-line.w-90 { width: 90%; }
.abstract-line.w-50 { width: 50%; }

.abstract-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.abstract-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e9ecef;
}

.abstract-dots .dot.active {
    background: var(--color-primary);
}

/* Reuse beehive floating badge + product badge styles */
.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-black);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-badge svg {
    color: var(--color-primary);
}

.hero-visual {
    position: relative;
}

.hero-graphic {
    position: relative;
    padding: 2rem;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.floating-badge.top-right {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.floating-badge.bottom-left {
    bottom: 0;
    left: 0;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Problem Section */
.problem-section {
    padding: 6rem 0;
    background: white;
}

.section-text {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.8;
}

.pain-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pain-point {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.pain-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ef4444;
}

.pain-point h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-black);
}

.pain-point p {
    color: var(--color-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features Section */
.cp-features-section {
    padding: 6rem 0;
    background: var(--color-primary-light);
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3E6FB2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.feature-card p {
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Process Section */
.cp-process-section {
    padding: 6rem 0;
    background: white;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--color-black);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.step-content p {
    color: var(--color-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Differentiators Section */
.cp-diff-section {
    padding: 6rem 0;
    background: var(--color-black);
    color: white;
    position: relative;
    overflow: hidden;
}

.cp-diff-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(62, 111, 178, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cp-diff-section .section-label {
    color: var(--color-primary);
}

.cp-diff-section .section-title {
    color: white;
}

.diff-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.diff-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.diff-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: white;
}

.diff-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Audience Section */
.cp-audience-section {
    padding: 6rem 0;
    background: white;
}

.audience-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

.audience-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
}

.audience-item h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-black);
}

.audience-item p {
    color: var(--color-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Tech Section */
.cp-tech-section {
    padding: 6rem 0;
    background: var(--color-primary-light);
}

.tech-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-black);
    border: 1px solid #e9ecef;
}

.tech-tag svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.cp-cta {
    background: white;
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.cp-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #3E6FB2);
}

.cp-cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.cp-cta p {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-abstract {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .cp-hero {
        padding-top: 100px;
        min-height: auto;
        text-align: center;
    }

    .cp-hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .cp-hero .hero-tagline {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.05rem;
    }

    .cp-hero .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-visual {
        margin-top: 2.5rem;
    }

    .floating-badge {
        display: none;
    }

    .problem-section,
    .cp-features-section,
    .cp-process-section,
    .cp-diff-section,
    .cp-audience-section,
    .cp-tech-section,
    .cta-section {
        padding: 4rem 0;
    }

    .cp-cta {
        padding: 2.5rem 1.5rem;
    }

    .product-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.875rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .process-step {
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .abstract-card.overlay {
        right: -10px;
        bottom: -10px;
    }
}

@media (max-width: 480px) {
    .cp-hero {
        padding-top: 90px;
        padding-bottom: 2rem;
    }

    .cp-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .cp-hero .hero-tagline {
        font-size: 1rem;
    }

    .problem-section,
    .cp-features-section,
    .cp-process-section,
    .cp-diff-section,
    .cp-audience-section,
    .cp-tech-section,
    .cta-section {
        padding: 3rem 0;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .cp-cta {
        padding: 2rem 1.25rem;
        border-radius: 12px;
    }

    .cp-cta h2 {
        font-size: 1.35rem;
    }

    .diff-card {
        padding: 1.5rem;
    }
}