/* ============================================
   Youth Empowerment - Modern Professional Design
   Color Palette: Indigo Ink + Copper Accents
   ============================================ */

:root {
    /* Primary Colors */
    --primary-dark: #1B0A3C;
    --primary: #3D1E7C;
    --primary-light: #7B68EE;
    --accent: #C9A87C;
    --accent-light: #E8D5B7;
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8F6FA;
    --light-gray: #E8E0F0;
    --mid-gray: #9B8BB0;
    --dark-gray: #4A3B5C;
    --text: #2D1B4E;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #1B0A3C 0%, #3D1E7C 50%, #5B2D8C 100%);
    --gradient-card: linear-gradient(135deg, #7B68EE 0%, #9B59D0 100%);
    
    /* Typography */
    --font-display: 'DM Serif Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(27, 10, 60, 0.08);
    --shadow-md: 0 8px 24px rgba(27, 10, 60, 0.12);
    --shadow-lg: 0 16px 48px rgba(27, 10, 60, 0.16);
    --shadow-glow: 0 0 40px rgba(123, 104, 238, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 10, 60, 0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    color: var(--primary-dark);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-hero);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--dark-gray);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    opacity: 0.3;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #FF6B9D;
    top: 50%;
    left: 30%;
    opacity: 0.2;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--white);
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-title .accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(123, 104, 238, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 48px);
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 18px;
    color: var(--mid-gray);
    line-height: 1.7;
}

/* ============================================
   Programs Section
   ============================================ */

.programs {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.program-card {
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.program-card.featured {
    background: var(--gradient-hero);
    color: var(--white);
}

.program-card.featured .program-title,
.program-card.featured .program-desc,
.program-card.featured .program-features {
    color: var(--white);
}

.program-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.program-badge.alt {
    background: var(--primary-light);
    color: var(--white);
}

.program-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.program-title {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.program-desc {
    font-size: 16px;
    color: var(--mid-gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.program-features {
    margin-bottom: 32px;
}

.program-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--dark-gray);
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

.program-card.featured .program-features li::before {
    color: var(--accent);
}

/* ============================================
   Courses Section
   ============================================ */

.courses {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.courses-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--mid-gray);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.course-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

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

.course-image {
    height: 180px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
}

.course-tag {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-tag.free {
    background: #10B981;
    color: var(--white);
}

.course-tag.premium {
    background: var(--accent);
    color: var(--primary-dark);
}

.course-info {
    padding: 28px;
}

.course-info h4 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.course-info p {
    font-size: 15px;
    color: var(--mid-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--mid-gray);
    margin-bottom: 16px;
}

.course-price {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}

.course-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.course-link:hover {
    gap: 10px;
}

/* App Download */
.app-download {
    margin-top: 80px;
    background: var(--gradient-hero);
    border-radius: 24px;
    padding: 60px;
    color: var(--white);
    text-align: center;
}

.app-content h3 {
    font-family: var(--font-display);
    font-size: 36px;
    margin-bottom: 16px;
}

.app-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--primary-dark);
    padding: 14px 28px;
    border-radius: 12px;
    transition: var(--transition);
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.app-icon {
    font-size: 28px;
}

.app-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-text small {
    font-size: 11px;
    opacity: 0.7;
}

.app-text strong {
    font-size: 16px;
    font-weight: 700;
}

/* ============================================
   Success Stories
   ============================================ */

.success {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.story-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.story-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-initial {
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--white);
    opacity: 0.9;
}

.story-content {
    padding: 32px;
}

.story-content blockquote {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}

.story-author strong {
    display: block;
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.story-author span {
    font-size: 14px;
    color: var(--mid-gray);
}

/* ============================================
   Join Section
   ============================================ */

.join {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.join-text h2 {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.join-text p {
    font-size: 18px;
    color: var(--mid-gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.join-benefits {
    display: grid;
    gap: 16px;
}

.join-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--dark-gray);
}

.join-form {
    background: var(--off-white);
    border-radius: 24px;
    padding: 48px;
}

.signup-form h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(123, 104, 238, 0.1);
}

.form-group input::placeholder {
    color: var(--mid-gray);
}

.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--mid-gray);
}

.form-note a {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: 80px 0;
    background: var(--primary-dark);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-info > p {
    opacity: 0.8;
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-methods {
    display: grid;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.contact-item span {
    font-size: 16px;
}

.contact-social h4 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: #0F0518;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.7;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--accent);
}

.footer-links ul {
    display: grid;
    gap: 12px;
}

.footer-links a {
    opacity: 0.7;
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a {
    opacity: 0.6;
    font-size: 14px;
}

.footer-legal a:hover {
    opacity: 1;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .join-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .navbar .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .programs-grid,
    .courses-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card {
        padding: 32px;
    }
    
    .app-download {
        padding: 40px 24px;
    }
    
    .join-form {
        padding: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-header {
        padding: 0 16px;
    }
    
    .courses-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .app-btn {
        justify-content: center;
    }
}