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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    background: #f8f9fa;
    background-image: 
        linear-gradient(rgba(229, 231, 235, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 231, 235, 0.3) 1px, transparent 1px),
        linear-gradient(rgba(229, 231, 235, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 231, 235, 0.1) 1px, transparent 1px);
    background-size: 
        20px 20px,
        20px 20px,
        100px 100px,
        100px 100px;
    background-position:
        0 0,
        0 0,
        0 0,
        0 0;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
}

/* .logo {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo::before {
    content: "🔥";
    font-size: 20px;
} */

.auth-buttons {
    display: flex;
    gap: 15px;
}

.pricing {
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pricing:hover {
    background: #f5f5f5;
}

.sign-in {
    background: #FF7A44;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sign-in:hover {
    background: #e66a3a;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    background: #fff9f5;
    background-image: 
        linear-gradient(rgba(255, 122, 68, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 122, 68, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 122, 68, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 122, 68, 0.02) 1px, transparent 1px);
    background-size: 
        20px 20px,
        20px 20px,
        100px 100px,
        100px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    background: linear-gradient(135deg, #FF7A44, #E91E63, #9C27B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
}

.input-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    margin-bottom: 20px;
    z-index: 10;
}

.problem-input {
    width: 100%;
    padding: 20px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 16px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.problem-input:focus {
    outline: none;
    border-color: #FF7A44;
    box-shadow: 0 15px 40px rgba(255,122,68,0.2);
}

.problem-input::placeholder {
    color: #aaa;
}

.solve-button {
    background: linear-gradient(135deg, #FF7A44, #e66a3a);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255,122,68,0.3);
    position: relative;
    z-index: 10;
}

.solve-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255,122,68,0.4);
}

.features-note {
    color: #888;
    font-size: 16px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Floating Emojis Animation */
.floating-emoji {
    position: absolute;
    font-size: 2rem;
    animation: float-up 6s linear infinite;
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

@keyframes float-up {
    0% {
        transform: translateY(calc(100vh + 50px));
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-150px);
        opacity: 0;
    }
}

/* How It Works Section */
.how-it-works {
    background: #fef7f8;
    
    background-image: 
        linear-gradient(rgba(255, 122, 68, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 122, 68, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 122, 68, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 122, 68, 0.02) 1px, transparent 1px);    
    background-size: 
        20px 20px,
        20px 20px,
        100px 100px,
        100px 100px;
    padding: 80px 40px;
    text-align: center;
    border-radius: 0;
}

.how-it-works h2 {
    color: #333;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
}

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

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.step-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Why Students Love Section */
.why-students-love {
    background: #fff9f5;
    background-image: 
        linear-gradient(rgba(255, 122, 68, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 122, 68, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 122, 68, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 122, 68, 0.02) 1px, transparent 1px);
    background-size: 
        20px 20px,
        20px 20px,
        100px 100px,
        100px 100px;
    padding: 80px 40px;
    color: #333;
}

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

.love-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #333;
}

.love-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.5;
    color: #666;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 122, 68, 0.1);
    border: 2px solid rgba(255, 122, 68, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.benefit-content p {
    opacity: 0.8;
    line-height: 1.5;
    color: #666;
}

.love-image {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.love-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
}

/* .lightning-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: #FF7A44;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255,122,68,0.4);
} */

/* FAQ Section */
.faq {
    background: #faf9ff;
    background-image: 
        linear-gradient(rgba(255, 122, 68, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 122, 68, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 122, 68, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 122, 68, 0.02) 1px, transparent 1px);  
    
    background-size: 
        20px 20px,
        20px 20px,
        100px 100px,
        100px 100px;
    padding: 80px 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    line-height: 1.5;
}

.faq-items {
    text-align: left;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 30px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 122, 68, 0.05);
}

.faq-question.active {
    background: rgba(255, 122, 68, 0.08);
    border-bottom: 1px solid #e5e7eb;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgOUwxMiAxNUwxOCA5IiBzdHJva2U9IiM2NjY2NjYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1zbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgOUwxMiAxNUwxOCA5IiBzdHJva2U9IiNGRjdBNDQiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=');
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-answer.active {
    max-height: 200px;
    padding: 0 30px 24px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer Section */
.footer {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(229, 231, 235, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

/* .footer-logo {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.footer-logo::before {
    content: "🔥";
    font-size: 20px;
} */

.footer-description {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FF7A44;
}

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

.social-links a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #FF7A44;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: #FF7A44;
}

.math-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'><rect width='400' height='300' fill='%23f8f9fa'/><g fill='%23333' opacity='0.1'><text x='50' y='50' font-family='monospace' font-size='14'>2x + 5 = 11</text><text x='200' y='80' font-family='monospace' font-size='12'>x = 3</text><text x='80' y='120' font-family='monospace' font-size='14'>y = mx + b</text><text x='250' y='150' font-family='monospace' font-size='12'>√(x² + y²)</text><text x='100' y='200' font-family='monospace' font-size='14'>ax² + bx + c = 0</text><text x='300' y='230' font-family='monospace' font-size='12'>x = (-b ± √(b²-4ac))/2a</text></g><circle cx='320' cy='80' r='30' fill='%23FF7A44' opacity='0.3'/><path d='M320 65 L325 80 L320 95 L315 80 Z' fill='%23FF7A44'/></svg>") center/cover;
}

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

    /* .logo {
        font-size: 20px;
    } */

    .auth-buttons {
        gap: 10px;
    }

    .pricing, .sign-in {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero {
        padding: 20px 15px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .problem-input {
        padding: 15px 20px;
        font-size: 16px;
    }

    .features-note {
        flex-direction: column;
        text-align: center;
    }

    .how-it-works {
        padding: 60px 20px;
    }

    .how-it-works h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-card {
        padding: 30px 20px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.3rem;
    }

    .why-students-love {
        padding: 60px 20px;
    }

    .love-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .love-content h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .love-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .benefits-list {
        gap: 25px;
    }

    .benefit-item {
        gap: 15px;
    }

    .benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .benefit-content h3 {
        font-size: 1.2rem;
    }

    .love-image img {
        height: 300px;
    }

    .lightning-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .faq {
        padding: 60px 20px;
    }

    .faq h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .faq-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .faq-question {
        padding: 20px 20px;
        font-size: 1rem;
    }

    .faq-answer.active {
        padding: 0 20px 20px;
    }

    .footer {
        padding: 40px 20px 20px;
    }

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

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

    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

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

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 13px;
        padding-top: 20px;
    }
}