/* ============================================
   Landing Page Styles
   Inspired by RetellAI pricing page
   ============================================ */

/* --- Color Variables --- */
:root {
    --landing-dark: #00122e;
    --landing-blue: #3e6aef;
    --landing-blue-hover: #2d56d4;
    --landing-light-bg: #f5f5fa;
    --landing-grey-text: #5a6577;
    --landing-border: #e2e5eb;
    --landing-white: #ffffff;
    --landing-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* --- General Reset for Landing --- */
.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--landing-dark);
    overflow-x: hidden;
}

.landing-page section {
    padding: 80px 0;
}

/* --- Navbar --- */
.landing-navbar {
    background: var(--landing-white);
    border-bottom: 1px solid var(--landing-border);
    padding: 14px 0;
    transition: box-shadow 0.3s ease;
}

.landing-navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.landing-navbar .navbar-brand img {
    height: 36px;
}

.landing-navbar .nav-link {
    color: var(--landing-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px !important;
    transition: color 0.2s ease;
}

.landing-navbar .nav-link:hover {
    color: var(--landing-blue);
}

.landing-navbar .btn-outline-primary {
    border-color: var(--landing-blue);
    color: var(--landing-blue);
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.landing-navbar .btn-outline-primary:hover {
    background: var(--landing-blue);
    color: var(--landing-white);
}

.landing-navbar .btn-primary {
    background: var(--landing-blue);
    border-color: var(--landing-blue);
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.landing-navbar .btn-primary:hover {
    background: var(--landing-blue-hover);
    border-color: var(--landing-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(62, 106, 239, 0.3);
}

/* --- Hero Section --- */
.landing-hero {
    background: var(--landing-white);
    padding: 120px 0 100px;
    text-align: center;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--landing-dark);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.landing-hero h1 .text-gradient {
    background: var(--landing-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero p.lead {
    font-size: 1.25rem;
    color: var(--landing-grey-text);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.landing-hero .btn-hero-primary {
    background: var(--landing-blue);
    border: none;
    color: var(--landing-white);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.landing-hero .btn-hero-primary:hover {
    background: var(--landing-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 106, 239, 0.35);
}

.landing-hero .btn-hero-secondary {
    background: transparent;
    border: 2px solid var(--landing-border);
    color: var(--landing-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 36px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.landing-hero .btn-hero-secondary:hover {
    border-color: var(--landing-blue);
    color: var(--landing-blue);
    transform: translateY(-2px);
}

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

.landing-features .section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--landing-dark);
}

.landing-features .section-subtitle {
    font-size: 1.1rem;
    color: var(--landing-grey-text);
    text-align: center;
    max-width: 550px;
    margin: 0 auto 60px;
}

.feature-card {
    background: var(--landing-white);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 36px 28px;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-card .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(62, 106, 239, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--landing-blue);
    font-size: 22px;
}

.feature-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--landing-dark);
}

.feature-card p {
    color: var(--landing-grey-text);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* --- Pricing Section --- */
.landing-pricing {
    background: var(--landing-white);
}

.landing-pricing .section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--landing-dark);
}

.landing-pricing .section-subtitle {
    font-size: 1.1rem;
    color: var(--landing-grey-text);
    text-align: center;
    max-width: 550px;
    margin: 0 auto 60px;
}

.pricing-card {
    background: var(--landing-white);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    padding: 40px 32px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.pricing-featured {
    border: 2px solid var(--landing-blue);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--landing-blue);
    color: var(--landing-white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

.pricing-card .pricing-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--landing-dark);
    margin-bottom: 8px;
}

.pricing-card .pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--landing-dark);
    line-height: 1.1;
    margin-bottom: 4px;
}

.pricing-card .pricing-period {
    font-size: 0.9rem;
    color: var(--landing-grey-text);
    margin-bottom: 24px;
}

.pricing-card .pricing-description {
    font-size: 0.95rem;
    color: var(--landing-grey-text);
    margin-bottom: 28px;
    line-height: 1.6;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.pricing-card ul li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--landing-dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-card ul li i {
    color: var(--landing-blue);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.pricing-card .btn-pricing-primary {
    background: var(--landing-blue);
    border: none;
    color: var(--landing-white);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 0;
    border-radius: 10px;
    width: 100%;
    transition: all 0.2s ease;
}

.pricing-card .btn-pricing-primary:hover {
    background: var(--landing-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(62, 106, 239, 0.3);
}

.pricing-card .btn-pricing-secondary {
    background: var(--landing-light-bg);
    border: 1px solid var(--landing-border);
    color: var(--landing-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 0;
    border-radius: 10px;
    width: 100%;
    transition: all 0.2s ease;
}

.pricing-card .btn-pricing-secondary:hover {
    background: #ecedf3;
    transform: translateY(-1px);
}

/* --- FAQ Section --- */
.landing-faq {
    background: var(--landing-light-bg);
}

.landing-faq .section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--landing-dark);
}

.landing-faq .section-subtitle {
    font-size: 1.1rem;
    color: var(--landing-grey-text);
    text-align: center;
    max-width: 550px;
    margin: 0 auto 50px;
}

.landing-faq .accordion-item {
    border: 1px solid var(--landing-border);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--landing-white);
}

.landing-faq .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--landing-dark);
    padding: 20px 24px;
    background: var(--landing-white);
    box-shadow: none;
}

.landing-faq .accordion-button:not(.collapsed) {
    color: var(--landing-blue);
    background: var(--landing-white);
    box-shadow: none;
}

.landing-faq .accordion-button:focus {
    box-shadow: none;
    border-color: var(--landing-border);
}

.landing-faq .accordion-button::after {
    background-size: 1rem;
}

.landing-faq .accordion-body {
    color: var(--landing-grey-text);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 24px 20px;
}

/* --- Footer --- */
.landing-footer {
    background: var(--landing-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.landing-footer h6 {
    color: var(--landing-white);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: block;
    padding: 4px 0;
}

.landing-footer a:hover {
    color: var(--landing-white);
}

.landing-footer .footer-brand img {
    height: 32px;
    margin-bottom: 12px;
}

.landing-footer .footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.landing-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 24px;
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .landing-hero {
        padding: 100px 0 80px;
    }

    .landing-hero h1 {
        font-size: 2.5rem;
    }

    .landing-page section {
        padding: 60px 0;
    }

    .landing-navbar .nav-cta-buttons {
        margin-top: 12px;
        display: flex;
        gap: 8px;
    }
}

@media (max-width: 575.98px) {
    .landing-hero h1 {
        font-size: 2rem;
    }

    .landing-hero p.lead {
        font-size: 1.05rem;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    .landing-hero .btn-hero-primary,
    .landing-hero .btn-hero-secondary {
        width: 100%;
        display: block;
    }
}

/* --- Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}
