@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f0f7ff;
    --light-pink: #dbeafe;
    --white: #ffffff;
    --success: #16a34a;
    --warning: #f59e0b;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(249,115,22,0.3); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--primary-light); }
.btn-outline { background: transparent; border: 2px solid var(--dark); color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-outline-primary { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline-primary:hover { background: var(--accent); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--light); }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    padding: 18px 0;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { 
    font-size: 1.6rem; 
    font-weight: 700; 
    font-family: var(--font-body);
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.navbar .logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar .logo .logo-icon::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--dark);
    border-radius: 50%;
}
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { 
    color: var(--dark); 
    font-weight: 500; 
    transition: color 0.3s; 
    font-size: 0.95rem; 
}
.nav-links a:hover { color: var(--accent); }
.nav-auth { display: flex; gap: 12px; align-items: center; }
.nav-search {
    width: 44px;
    height: 44px;
    background: var(--dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
}
.mobile-menu { display: none; font-size: 1.5rem; cursor: pointer; color: var(--dark); }

/* Hero Section */
.hero {
    padding: 100px 0 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
    position: relative;
    overflow: hidden;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.hero-badge i {
    font-size: 1.2rem;
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.15;
}
.hero-content h1 .accent {
    color: var(--accent);
    position: relative;
}
.hero-content h1 .doodle {
    position: relative;
    display: inline-block;
}
.hero-content h1 .doodle::after {
    content: '✦';
    position: absolute;
    top: -10px;
    right: -30px;
    font-size: 1.5rem;
    color: #60a5fa;
}
.hero-content p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 450px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.hero-image-wrapper {
    position: relative;
}
.hero-image img {
    max-height: 500px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    display: block;
}

/* Hero Image Mobile - hidden by default, shown on mobile */
.hero-image-mobile {
    display: none;
    justify-content: center;
    margin-top: 30px;
}
.hero-image-mobile img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.hero-shape {
    position: absolute;
    z-index: 1;
}
.hero-shape-circle {
    width: 400px;
    height: 400px;
    border: 3px solid var(--light-pink);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hero-shape-heart {
    width: 350px;
    height: 350px;
    border: 3px solid var(--light-pink);
    border-radius: 50%;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
.hero-doodle {
    position: absolute;
    z-index: 3;
}
.doodle-star {
    color: var(--accent);
    font-size: 2rem;
    top: 10%;
    left: 40%;
}
.doodle-like {
    top: 15%;
    right: 5%;
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.doodle-like i {
    color: var(--primary);
    font-size: 1.5rem;
}
.doodle-lines {
    top: 25%;
    left: 15%;
    color: #60a5fa;
    font-size: 1.5rem;
}

/* Stats Bar */
.stats-bar {
    padding: 50px 0;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
}
.stats-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}
.stat-label {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* Section Styles */
.section { padding: 100px 0; }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .label {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}
.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.bg-light { background: var(--light); }

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: transparent;
}
.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--accent);
}
.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 600;
}
.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.course-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.course-card:hover .course-card-image img {
    transform: scale(1.05);
}
.course-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.course-card-body {
    padding: 25px;
}
.course-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}
.course-card-body p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}
.course-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}
.course-card-footer .lessons {
    font-size: 0.85rem;
    color: var(--gray);
}
.course-card-footer .price {
    font-weight: 700;
    color: var(--accent);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}
.pricing-card:hover {
    border-color: var(--accent);
}
.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(249,115,22,0.15);
}
.pricing-card.popular::before {
    content: 'TERPOPULER';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
}
.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    margin: 25px 0;
}
.pricing-price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
    font-family: var(--font-body);
}
.pricing-features {
    margin: 30px 0;
    text-align: left;
}
.pricing-features li {
    padding: 12px 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}
.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}
.testimonial-card p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}
.testimonial-info h4 {
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 600;
}
.testimonial-info span {
    color: var(--gray);
    font-size: 0.9rem;
}
.stars {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.faq-question {
    padding: 22px 28px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    font-size: 1.05rem;
}
.faq-question:hover { background: var(--light); }
.faq-answer {
    padding: 0 28px 22px;
    color: var(--gray);
    display: none;
    line-height: 1.7;
}
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform 0.3s; }

/* CTA */
.cta {
    padding: 100px 40px;
    background: var(--dark);
    text-align: center;
    color: var(--white);
    border-radius: 30px;
    margin: 0 20px 100px;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(249,115,22,0.1);
    border-radius: 50%;
}
.cta h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
}
.cta p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 35px;
    position: relative;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
}
.footer-brand p {
    color: #94a3b8;
    line-height: 1.8;
}
.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 600;
}
.footer-links a {
    display: block;
    color: #94a3b8;
    padding: 10px 0;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    color: #94a3b8;
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}
.card-header {
    padding: 25px;
    border-bottom: 1px solid #e2e8f0;
}
.card-body { padding: 25px; }

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-warning { background: #fef3c7; color: #92400e; }

/* Badge */
.badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #dcfce7; color: #166534; }
.badge-rejected { background: #fee2e2; color: #991b1b; }

/* Responsive */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-image { display: none; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { margin: 0 auto 35px; }
    .hero-buttons { justify-content: center; }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar .container { justify-content: center; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 0; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 0;
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #f1f5f9;
    }
    .nav-auth { gap: 8px; }
    .nav-auth .btn { padding: 10px 16px; font-size: 0.85rem; }
    .nav-search { display: none; }
    .mobile-menu { display: block; }

    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-badge { justify-content: center; }

    .section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }

    .features-grid, .pricing-grid, .testimonial-slider { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: 1fr; }
    .stats-bar .container { flex-direction: column; gap: 20px; }

    .cta { margin: 0 15px 60px; padding: 60px 25px; border-radius: 20px; }
    .cta h2 { font-size: 1.8rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .container { padding: 0 15px; }
}
