/* AI Guide Styles */
/* AI Guide Styles */
.ai-intro {
    text-align: center; 
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.ai-intro h1 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-intro p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.ai-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

/* Roadmap, Doubt Solver & Topic Simplifier Sections */
.roadmap-section, .doubt-section, .simplifier-section {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-section:hover, .doubt-section:hover, .simplifier-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.simplifier-section h2 {
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-control, select, textarea, input[type="text"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: all 0.2s ease;
}

.form-control:focus, select:focus, textarea:focus, input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background-color: white;
}

/* Enhanced Response Box */
.ai-response-box {
    margin-top: 1.5rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: none; /* Hidden by default */
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    
    /* Scrollbar Features */
    max-height: 400px;
    overflow-y: auto;
}

/* Custom Scrollbar for Response Box */
.ai-response-box::-webkit-scrollbar {
    width: 8px;
}
.ai-response-box::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.ai-response-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    border: 2px solid #f1f5f9;
}
.ai-response-box::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Buttons */
.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #0ea5e9);
    color: white;
    border: none;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #4338ca);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca, #3730a3);
    box-shadow: 0 6px 15px -3px rgba(79, 70, 229, 0.3);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .ai-intro h1 {
        font-size: 2rem;
    }
    
    .ai-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .roadmap-section, .doubt-section, .simplifier-section {
        padding: 1.5rem;
    }
}

/* =========================================
   SEO Content Sections (Ultra Premium Design v3.0)
   ========================================= */

/* New Section Containers */
.section-container {
    padding: 6rem 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.bg-white {
    background-color: #ffffff;
}

/* Modern Mesh Gradient Background for 'Light' Sections */
.bg-light {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,0) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,0) 0, transparent 50%);
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%); /* Fallback / Override for freshness */
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
}

/* Typography Enhancements */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #1e293b, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 99px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* Features Grid - Colorful & Vibrant */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(255,255,255,1), 0 8px 15px -3px rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(224, 231, 255, 0.6);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(6deg);
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Exam Strategies - Glass Headers */
.exam-strategies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.strategy-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.strategy-card h3 {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem;
    margin: 0;
    border-bottom: 1px solid #bfdbfe;
    color: #0369a1;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
}

.strategy-card ul {
    padding: 2rem;
    list-style: none;
    text-align: left;
}

.strategy-card ul li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 500;
}

.strategy-card ul li::before {
    content: '✓';
    color: white;
    background: var(--secondary-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

/* Exam Badges - Glassmorphism Pills */
.exam-badge {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    color: #475569;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(8px); /* Blur effect */
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.exam-badge:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

/* How It Works - Visual Process */
.how-it-works {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.how-it-works::before { display: none; }

.steps-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: unset;
}

.steps-list li {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.steps-list li:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.steps-list li strong {
    font-size: 1.15rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    display: block;
}

/* FAQ - Detailed & Clean */
.ai-faq {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid transparent; /* Accent placeholder */
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    height: 100%;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
    border-left-color: var(--primary-color); /* Vibrant left border on hover */
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.05);
    background: #fafafa;
}

.faq-item h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    .features-grid, .steps-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .exam-strategies {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid, .steps-list, .exam-strategies, .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-container {
        padding: 4rem 0;
    }
}
