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

:root {
    --primary-color: #4F46E5;
    --accent-color: #F8BBD9;
    --background-color: #FEFBF8;
    --text-color: #2D3748;
    --text-light: #718096;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
    --shadow-lg: 0 8px 40px rgba(79, 70, 229, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(248, 187, 217, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(79, 70, 229, 0.05) 0%, transparent 25%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    background: none;
}

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

.btn-primary:hover {
    background: #3730A3;
    border-color: #3730A3;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* Header */
.header {
    background: rgba(254, 251, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Georgia', serif;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(248, 187, 217, 0.05) 100%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Placeholder Images */
.placeholder-image {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
    padding: 20px;
    min-height: 200px;
    width: 100%;
}

.hero .placeholder-image {
    min-height: 400px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(248, 187, 217, 0.15));
}

/* Section Styles */
section {
    padding: 80px 0;
    text-align: center;
}

section h2 {
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Overview */
.features-overview {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.feature-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

/* Learning Paths */
.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.path-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.path-image {
    height: 200px;
    overflow: hidden;
}

.path-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.path-card .placeholder-image {
    height: 100%;
    border-radius: 0;
    border: none;
}

.path-card h3,
.path-card p {
    padding: 0 24px;
}

.path-card h3 {
    padding-top: 24px;
    color: var(--primary-color);
}

.path-card p {
    padding-bottom: 24px;
}

/* AI Coach Section */
.ai-coach {
    background: var(--white);
}

.ai-coach .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ai-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.ai-features {
    list-style: none;
    margin-top: 2rem;
}

.ai-features li {
    padding: 12px 0;
    position: relative;
    padding-left: 32px;
    color: var(--text-light);
}

.ai-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    background: rgba(79, 70, 229, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.ai-demo {
    display: flex;
    justify-content: center;
}

.ai-demo img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Progress Tracking */
.progress-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.progress-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-card {
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.stat-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.progress-visual {
    display: flex;
    justify-content: center;
}

.progress-visual img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Tutoring Section */
.tutoring {
    background: var(--white);
}

.tutoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tutor-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(248, 187, 217, 0.3);
}

.tutor-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
}

.tutor-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.tutor-card h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(248, 187, 217, 0.3);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.testimonial-card h4 {
    color: var(--primary-color);
    margin-bottom: 4px;
}

.testimonial-card span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--background-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--gray-200);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card li {
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
    color: var(--text-light);
}

.pricing-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(248, 187, 217, 0.05));
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-item p {
    margin: 0;
    color: var(--text-color);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1;
    max-width: 400px;
}

.footer-brand .logo-brand .brand-name {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-300);
    margin-top: 16px;
}

.footer-navigation {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: flex-end;
}

.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--gray-300);
    text-decoration: none;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-300);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .ai-coach .container,
    .progress-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ai-content h2 {
        text-align: center;
    }
    
    .features-grid,
    .paths-grid,
    .tutoring-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-navigation {
        flex-direction: column;
        gap: 30px;
        justify-content: center;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-text p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.cookie-policy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-policy-link:hover {
    color: #3730A3;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.cookie-btn-primary:hover {
    background: #3730A3;
}

.cookie-btn-secondary {
    background: var(--gray-100);
    color: var(--text-color);
    border: 1px solid var(--gray-300);
}

.cookie-btn-secondary:hover {
    background: var(--gray-200);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-modal-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: var(--text-color);
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-category {
    margin-bottom: 24px;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1rem;
}

.cookie-required {
    background: var(--gray-100);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    border-radius: 24px;
    transition: 0.3s;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    border-radius: 50%;
    transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-category p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    text-align: left;
}

.cookie-modal-footer {
    padding: 24px;
    border-top: 1px solid var(--gray-200);
    text-align: right;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    section {
        padding: 60px 0;
    }
}