/* CSS Reset and Base Styles */
@import url('cookie-banner.css');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #fffef7;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    line-height: 1.2;
    color: #1f2937;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1em;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background-color: #4338ca;
    color: #fffef7;
}

.btn-primary:hover {
    background-color: #3730a3;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #4338ca;
    border: 2px solid #4338ca;
}

.btn-secondary:hover {
    background-color: #4338ca;
    color: #fffef7;
}

.btn-outline {
    background-color: transparent;
    color: #065f46;
    border: 2px solid #065f46;
}

.btn-outline:hover {
    background-color: #065f46;
    color: #fffef7;
}

/* Header */
.header {
    padding: 20px 0;
    background-color: #fffef7;
    border-bottom: 1px solid #e5e7eb;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="20" cy="20" r="1" fill="%23e11d48" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="%234338ca" opacity="0.1"/><circle cx="60" cy="40" r="0.5" fill="%23065f46" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

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

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 30px;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Service Images */
.service-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

/* Product Images */
.product-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* Featured Image */
.featured-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px -5px rgba(255, 255, 255, 0.2);
}

/* Membership Image */
.membership-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.1);
}

/* Approach Image */
.approach-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width: 100%;
    max-width: 400px;
}

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

.section-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1f2937;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
}

/* About Section */
.about {
    background-color: #f9fafb;
}

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

.about-card {
    background: #fffef7;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.about-icon {
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fffef7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 16px -4px rgba(0, 0, 0, 0.1);
}

.service-image {
    padding: 20px;
    background: #f9fafb;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card h3,
.service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* Featured Section */
.featured {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    color: #fffef7;
    text-align: left;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.featured h2,
.featured h3 {
    color: #fffef7;
}

.featured-list {
    list-style: none;
    margin: 20px 0;
}

.featured-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.featured-list li::before {
    content: '•';
    color: #e11d48;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.featured-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Products Section */
.products {
    background-color: #f9fafb;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fffef7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 16px -4px rgba(0, 0, 0, 0.1);
}

.product-image {
    padding: 20px;
    background: #f9fafb;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card h3 {
    padding: 0 20px;
    margin-bottom: 10px;
}

.product-card p {
    padding: 0 20px;
    color: #6b7280;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e11d48;
    margin-bottom: 20px;
}

.product-card .btn {
    margin-bottom: 20px;
}

/* Membership Section */
.membership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.membership-features {
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.membership-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.price {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
}

.price-note {
    font-size: 1rem;
    color: #6b7280;
}

.membership-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Why Choose Section */
.why-choose {
    background-color: #f9fafb;
}

.why-choose h2 {
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

.reason {
    background: #fffef7;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.reason-number {
    font-size: 3rem;
    font-weight: bold;
    color: #4338ca;
    margin-bottom: 20px;
    text-align: center;
}

/* Learning Approach Section */
.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.approach-steps {
    margin-top: 30px;
}

.step {
    margin-bottom: 30px;
    padding-left: 20px;
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background: #e11d48;
    border-radius: 50%;
}

.step h4 {
    color: #1f2937;
    margin-bottom: 8px;
}

.step p {
    color: #6b7280;
    margin: 0;
}

.approach-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contacts Section */
.contacts {
    background-color: #f9fafb;
}

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

.contact-card {
    background: #fffef7;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contact-icon {
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #1f2937;
    text-align: center;
}

.contact-card p {
    margin-bottom: 8px;
    color: #6b7280;
    text-align: center;
}

.contact-card p:first-of-type {
    font-weight: 600;
    color: #1f2937;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 60px 0 20px;
}

.footer-main {
    margin-bottom: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand-name {
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f9fafb;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    color: #f9fafb;
    margin-bottom: 16px;
    font-size: 1.125rem;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #4338ca;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fffef7;
    margin: 5% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    margin: 0;
    color: #1f2937;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: #6b7280;
    cursor: pointer;
    margin-left: auto;
}

.close:hover {
    color: #374151;
}

.modal-body {
    padding: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fffef7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4338ca;
    box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1);
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero-wrapper,
    .featured-content,
    .membership-content,
    .approach-content,
    section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.25rem;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-actions {
        justify-content: stretch;
    }

    .form-actions .btn {
        flex: 1;
    }

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

    .approach-content {
        grid-template-columns: 1fr;
    }

    .approach-image {
        order: -1;
    }
}

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

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    section {
        padding: 60px 0;
    }

    .btn {
        width: 100%;
        justify-self: stretch;
    }

    .hero-cta {
        flex-direction: column;
    }

    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}