/* CSS Variables */
:root {
    --primary-black: #2A2A2A;
    --kiln-orange: #FF6B35;
    --clay-beige: #E8DCC0;
    --electric-cyan: #00BFFF;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-gray: #666666;
    --border-gray: #E0E0E0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--white);
}

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

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

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

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--clay-beige) 0%, var(--light-gray) 100%);
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.cta-button {
    background: var(--kiln-orange);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

section .container {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background: var(--light-gray);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

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

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

.path-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease;
}

.path-card:hover {
    transform: translateY(-4px);
}

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

.path-card h3 {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    color: var(--primary-black);
}

.path-card p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

/* Products Section */
.products {
    background: var(--light-gray);
}

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

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    position: relative;
}

.product-card.featured {
    border: 2px solid var(--kiln-orange);
    transform: scale(1.05);
}

.product-card h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--kiln-orange);
    margin-bottom: 1.5rem;
}

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

.features-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.features-list li:before {
    content: "✓";
    color: var(--electric-cyan);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-button {
    background: var(--primary-black);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.product-button:hover {
    background: #1a1a1a;
}

.featured .product-button {
    background: var(--kiln-orange);
}

.featured .product-button:hover {
    background: #e55a2b;
}

/* Tutorials Section */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.tutorial-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s ease;
}

.tutorial-card:hover {
    transform: translateY(-4px);
}

.tutorial-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tutorial-card h3 {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.tutorial-card p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-bottom: 0;
    color: var(--text-gray);
}

/* Portfolio Section */
.portfolio {
    background: var(--light-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

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

.portfolio-svg {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.portfolio-item:hover .portfolio-svg {
    transform: scale(1.02);
}

/* Pipeline Section */
.pipeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    padding: 2rem 1rem;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--electric-cyan);
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-gray);
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    background: var(--light-gray);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--clay-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-style: italic;
    font-size: 0.8rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--text-gray);
    font-weight: 600;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h3 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

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

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--white);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
}

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

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--white);
    opacity: 0.6;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* 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: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: var(--text-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: var(--primary-black);
}

.order-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--kiln-orange);
}

.submit-button {
    background: var(--kiln-orange);
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.submit-button:hover {
    background: #e55a2b;
}

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

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-visual {
        max-width: 100%;
    }

    .hero-image {
        height: 300px;
    }

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

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .paths-grid,
    .products-grid,
    .tutorials-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}