/* ============================================
   InterviewGlitch - Landing Page Styles
   ============================================ */

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 9999px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);  /* White text */
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);  /* Light gray - readable on dark background */
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);  /* Golden yellow for stats */
    margin-bottom: 0.25rem;
}

.hero-stats .stat span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.platform-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
}

.platform-badge.available {
    color: var(--success-color);
    border-color: rgba(16, 185, 129, 0.3);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-badge.available:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.platform-badge.coming-soon {
    color: var(--text-muted);
}

.hero-decoration {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.gradient-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -200px;
    right: -100px;
}

.gradient-orb.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -150px;
    left: -100px;
    animation-delay: 1s;
}

.gradient-orb.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    top: 50%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-slow);
    color: var(--text-primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.feature-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 204, 87, 0.05));
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), #38bdf8);
    color: #020617;  /* Dark text on cyan */
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #38bdf8);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: #020617;  /* Dark icon on cyan background */
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.feature-list li i {
    color: var(--success-color);
}

/* Pricing Section */
.pricing-teaser {
    padding: 4rem 0;
    background: var(--background-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-slow);
    position: relative;
    color: var(--text-primary);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 204, 87, 0.1));
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), #38bdf8);
    color: #020617;  /* Dark text on cyan background */
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);  /* Golden yellow for plan names */
    font-weight: 800;
}

.pricing-card .plan-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.pricing-card .price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pricing-card .price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);  /* Cyan for price */
}

.pricing-card .price-period {
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--success-color);
    font-size: 0.875rem;
}

.pricing-cta {
    text-align: center;
}

/* Social Proof Section */
.social-proof {
    padding: 4rem 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-weight: 600;
}

.trust-badge i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    color: var(--text-primary);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: var(--warning-color);
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--text-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-answer ul {
    list-style: none;
    padding-left: 2.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl);
    margin: 2rem 1.5rem;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white !important;
    color: #020617 !important;
    font-weight: 700;
    border: 2px solid white;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary {
    background: rgba(15, 23, 42, 0.8) !important;
    color: white !important;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.cta-section .btn-secondary:hover {
    background: rgba(15, 23, 42, 0.95) !important;
    transform: translateY(-2px);
}

/* Success Page Styles */
.success-section {
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.success-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    color: var(--text-primary);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
}

.success-icon i {
    font-size: 3rem;
    color: var(--success-color);
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 50%;
}

.error-icon i {
    font-size: 3rem;
    color: var(--error-color);
}

.success-card h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.success-message {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.success-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.detail-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.detail-item span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.detail-item strong {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.next-steps {
    margin-bottom: 3rem;
}

.next-steps h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.step {
    display: flex;
    gap: 1rem;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.support-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-md);
    color: var(--info-color);
    font-size: 0.875rem;
}

/* Comparison Table Styles */
.comparison-table-section {
    padding: 4rem 0;
    background: var(--background-primary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-background);
}

.comparison-table thead {
    background: rgba(0, 255, 255, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table th {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table tbody tr:hover {
    background: rgba(0, 255, 255, 0.05);
}

.loading-cell {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* Pricing Page Specific */
.pricing-header {
    padding: 4rem 0 2rem;
    background: var(--background-primary);
}

.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 0.5rem;
    background: var(--background-secondary);
    border-radius: var(--radius-xl);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn:hover {
    color: var(--text-primary);
}

.toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #38bdf8);
    color: #020617;
    border-color: var(--primary-color);
}

.savings-badge {
    padding: 0.25rem 0.5rem;
    background: var(--secondary-color);
    color: #020617;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.current-plan-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    margin-top: 1rem;
}

.pricing-plans {
    padding: 2rem 0 4rem;
}

.features-breakdown {
    padding: 4rem 0;
    background: var(--background-secondary);
}

.features-breakdown .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-detail {
    padding: 2rem;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-detail:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.feature-detail i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-detail h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-detail p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .success-card {
        padding: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    .comparison-table th {
        font-size: 1rem;
    }

    .billing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }

    .toggle-btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-card .price-amount {
        font-size: 2.5rem;
    }

    .pricing-header {
        padding: 2rem 0 1rem;
    }

    .features-breakdown .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Download Section
   ============================================ */
.download-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03) 0%, rgba(56, 189, 248, 0.03) 100%);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.download-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.download-card:hover::before {
    opacity: 1;
}

.download-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.download-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.download-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.download-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #020617;
    padding: 0.875rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.download-card:hover .download-button {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.4);
}

.download-size {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
}

.download-notice {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.download-notice i {
    color: #ff9800;
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.download-notice p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.download-notice strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .download-notice {
        flex-direction: column;
        text-align: center;
    }
}
