/**
 * Landing Page Styles
 * Mobile-First with Extended Sections
 */

/* Base Landing Styles */
.landing-page {
    min-height: 100vh;
    padding: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.main-heading {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-tagline {
    font-size: 24px;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Base button styles */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Primary hero buttons (Demo and Get Access) */
.hero-buttons .btn-large,
.btn-large {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Demo button specific styling */
.btn-demo {
    background: linear-gradient(135deg, #00ff9f, #00d4ff);
    color: var(--bg-color);
    font-weight: 700;
    border: none;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 159, 0.3);
    text-decoration: none;
}

/* Login button - smaller, secondary outline style */
.btn-login,
.hero-buttons .btn-login {
    display: inline-block !important;
    padding: 11px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: transparent !important;
    border: 2px solid #00ff9f !important;
    color: #00ff9f !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.btn-login:hover,
.hero-buttons .btn-login:hover {
    background: #00ff9f !important;
    color: #0a0e27 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 159, 0.2);
    text-decoration: none !important;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.hero-feature {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 10px;
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

/* How It Works Section */
.how-it-works-section {
    background: rgba(0, 255, 159, 0.03);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #00d4ff);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

/* Exams Section - Accordion */
.exams-section {
    background: rgba(0, 255, 159, 0.03);
}

.exams-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.accordion-item:hover {
    border-color: var(--primary-color);
}

.accordion-item.active {
    border-color: var(--primary-color);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(0, 255, 159, 0.05);
}

.accordion-icon {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 400;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.exam-list {
    list-style: none;
    padding: 0 25px 25px 25px;
    margin: 0;
}

.exam-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    line-height: 1.5;
}

.exam-list li:last-child {
    border-bottom: none;
}

.exam-list li:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
}

.exams-notice {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.exams-notice p {
    color: var(--text-secondary);
    margin: 0;
}

/* Demo CTA Section */
.demo-cta-section {
    background: linear-gradient(135deg, rgba(0, 255, 159, 0.1), rgba(0, 212, 255, 0.1));
    text-align: center;
    padding: 80px 20px;
}

.demo-cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.demo-cta-section p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.demo-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 20px;
}

/* Pricing Section */
.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.price-currency {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
}

/* Footer Section */
.footer-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.footer-column p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .main-heading {
        font-size: 56px;
    }
    
    .hero-tagline {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .hero-buttons .btn-large {
        min-width: 180px;
    }
    
    .hero-buttons .btn-login {
        min-width: 120px;
    }
    
    .hero-features {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .main-heading {
        font-size: 64px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Legacy Landing Content Support */
.landing-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.brand {
    margin-bottom: 50px;
}

.app-name {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.tagline {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 300;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 60px;
}

.action-buttons .btn {
    width: 100%;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-secondary);
    padding: 8px 0;
}

.feature-text {
    position: relative;
    padding-left: 20px;
}

.feature-text:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}


/* ====================================================================
   NEW SECTIONS STYLING FOR SEO-OPTIMIZED HOMEPAGE
   ==================================================================== */

/* Study Benefits Section */
.study-benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(20, 24, 49, 0.95) 100%);
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 159, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 159, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 159, 0.1);
}

.benefit-item h3 {
    color: #00ff9f;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: rgba(10, 14, 39, 0.9);
    position: relative;
    z-index: 1;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 159, 0.15);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 159, 0.3);
    box-shadow: 0 5px 20px rgba(0, 255, 159, 0.08);
}

.faq-item h3 {
    color: #00ff9f;
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Enhanced Section Titles (apply to both new sections) */
.study-benefits-section .section-title,
.faq-section .section-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00ff9f 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-align: center;
}

.study-benefits-section .section-subtitle,
.faq-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Mobile refinements */
@media (max-width: 768px) {
    .benefits-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-item,
    .faq-item {
        padding: 20px;
    }
    
    .study-benefits-section,
    .faq-section {
        padding: 50px 0;
    }
    
    .study-benefits-section .section-title,
    .faq-section .section-title {
        font-size: 1.8rem;
    }
    
    .benefit-item h3,
    .faq-item h3 {
        font-size: 1.1rem;
    }
}

/* Primary button (Get Access) additional styling */
.btn-primary {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover {
    text-decoration: none;
}

/* ===================================================================
   LOGIN BUTTON FIX - ADD THIS TO THE BOTTOM OF landing.css
   =================================================================== */

/* Login button - outline style - HIGHEST PRIORITY */
a.btn-login,
.hero-buttons a.btn-login,
.btn-login {
    display: inline-block !important;
    padding: 11px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: transparent !important;
    background: transparent !important;
    border: 2px solid #00ff9f !important;
    color: #00ff9f !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-height: auto !important;
    min-width: auto !important;
}

a.btn-login:hover,
.hero-buttons a.btn-login:hover,
.btn-login:hover {
    background-color: #00ff9f !important;
    background: #00ff9f !important;
    color: #0a0e27 !important;
    border-color: #00ff9f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 255, 159, 0.2) !important;
    text-decoration: none !important;
}

/* Override any conflicting mobile.css styles */
a.btn-login {
    border-style: solid !important;
    border-width: 2px !important;
}

/* ===================================================================
   LOGIN BUTTON CENTERED BELOW MAIN BUTTONS
   ADD THIS TO landing.css
   =================================================================== */

/* Login button container - centered below main buttons */
.login-button-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

/* Login button - outline style */
a.btn-login,
.login-button-container a.btn-login,
.btn-login {
    display: inline-block !important;
    padding: 11px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: transparent !important;
    background: transparent !important;
    border: 2px solid #00ff9f !important;
    color: #00ff9f !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-height: auto !important;
    min-width: auto !important;
}

a.btn-login:hover,
.login-button-container a.btn-login:hover,
.btn-login:hover {
    background-color: #00ff9f !important;
    background: #00ff9f !important;
    color: #0a0e27 !important;
    border-color: #00ff9f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 255, 159, 0.2) !important;
    text-decoration: none !important;
}

/* Override any conflicting mobile.css styles */
a.btn-login {
    border-style: solid !important;
    border-width: 2px !important;
}

/* Responsive - mobile view */
@media (max-width: 767px) {
    .login-button-container {
        margin-top: 15px;
        margin-bottom: 40px;
    }
}