/* ============================================================
   Imforia Landing Page Styles
   ============================================================ */
:root {
    --landing-primary: #4361ee;
    --landing-primary-dark: #3a56d4;
    --landing-primary-light: #eef1ff;
    --landing-dark: #1a1a2e;
    --landing-gray: #64748b;
    --landing-light: #f8fafc;
    --landing-border: #e2e8f0;
    --landing-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --landing-shadow-lg: 0 20px 60px rgba(67, 97, 238, 0.12);
}

body.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #334155;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Navbar ===== */
.landing-nav {
    padding: 0.85rem 0;
    transition: all 0.35s ease;
    border-bottom: 1px solid transparent;
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--landing-border);
    padding: 0.6rem 0;
}

.landing-nav .nav-link {
    font-weight: 500;
    color: #475569;
    padding: 0.5rem 1.1rem;
    transition: color 0.25s;
    font-size: 0.95rem;
    border-radius: 8px;
}

.landing-nav .nav-link:hover,
.landing-nav .nav-link:focus {
    color: var(--landing-primary);
    background: var(--landing-primary-light);
}

.landing-nav .btn-primary {
    background: var(--landing-primary);
    border-color: var(--landing-primary);
    border-radius: 10px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 0.25s;
}

.landing-nav .btn-primary:hover {
    background: var(--landing-primary-dark);
    border-color: var(--landing-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(67, 97, 238, 0.35);
}

.landing-nav .btn-outline-primary {
    color: var(--landing-primary);
    border-color: var(--landing-primary);
    border-radius: 10px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
}

.landing-nav .btn-outline-primary:hover {
    background: var(--landing-primary);
    border-color: var(--landing-primary);
    transform: translateY(-1px);
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(160deg, #f0f4ff 0%, #e8f0fe 40%, #f5f3ff 70%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--landing-primary-light);
    color: var(--landing-primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(67, 97, 238, 0.15);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--landing-dark);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title span {
    color: var(--landing-primary);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(67, 97, 238, 0.18);
    border-radius: 3px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--landing-gray);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--landing-gray);
}

.hero-section .btn-primary {
    background: var(--landing-primary);
    border-color: var(--landing-primary);
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background: var(--landing-primary-dark);
    border-color: var(--landing-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.35);
}

.hero-section .btn-outline-dark {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1.05rem;
    border-width: 2px;
    transition: all 0.3s ease;
}

.hero-section .btn-outline-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Hero feature grid */
.hero-feature-grid {
    border-radius: 20px !important;
    box-shadow: var(--landing-shadow-lg);
    border: 1px solid rgba(67, 97, 238, 0.08);
}

.hero-feature-grid .rounded-3 {
    border-radius: 14px !important;
    transition: all 0.3s ease;
}

.hero-feature-grid .rounded-3:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.hero-feature-grid .rounded-3 h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--landing-dark);
}

.hero-feature-grid .rounded-3 small {
    font-size: 0.8rem;
}

/* ===== Stats / Trust Bar ===== */
.stats-bar {
    padding: 3rem 0;
    background: #fff;
    border-bottom: 1px solid var(--landing-border);
}

.stat-item {
    padding: 1rem;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--landing-dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--landing-gray);
    font-weight: 500;
}

/* ===== Features Section ===== */
.features-section {
    padding: 100px 0;
    background: var(--landing-light);
}

.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--landing-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--landing-gray);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

.feature-card {
    padding: 2rem 1.75rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--landing-border);
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--landing-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(67, 97, 238, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08);
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
    color: var(--landing-dark);
}

.feature-card p {
    color: var(--landing-gray);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.925rem;
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: 100px 0;
    background: #fff;
}

.pricing-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: #fff;
    border: 2px solid var(--landing-border);
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border-color: var(--landing-primary);
    box-shadow: 0 8px 40px rgba(67, 97, 238, 0.15);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 24px 64px rgba(67, 97, 238, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--landing-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.pricing-plan-type {
    display: inline-block;
    background: var(--landing-primary-light);
    color: var(--landing-primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--landing-dark);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.pricing-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--landing-gray);
}

.pricing-amount {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--landing-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-period {
    font-size: 1rem;
    color: var(--landing-gray);
    font-weight: 500;
}

.pricing-annual {
    font-size: 0.825rem;
    color: var(--landing-gray);
    margin-bottom: 1rem;
}

.pricing-description {
    color: var(--landing-gray);
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--landing-border);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0;
    font-size: 0.925rem;
    color: #334155;
}

.pricing-features li iconify-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.pricing-card .btn {
    border-radius: 12px;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pricing-card .btn-primary {
    background: var(--landing-primary);
    border-color: var(--landing-primary);
}

.pricing-card .btn-primary:hover {
    background: var(--landing-primary-dark);
    border-color: var(--landing-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.3);
}

.pricing-card .btn-outline-primary {
    color: var(--landing-primary);
    border-color: var(--landing-primary);
    border-width: 2px;
}

.pricing-card .btn-outline-primary:hover {
    background: var(--landing-primary);
    border-color: var(--landing-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== Feature Comparison Table ===== */
.comparison-section {
    padding: 80px 0 100px;
    background: var(--landing-light);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--landing-border);
}

.comparison-table thead th {
    background: var(--landing-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1.1rem 1.25rem;
    border: none;
    text-align: center;
}

.comparison-table thead th:first-child {
    text-align: left;
    border-top-left-radius: 16px;
}

.comparison-table thead th:last-child {
    border-top-right-radius: 16px;
}

.comparison-table thead th.highlight-col {
    background: var(--landing-primary);
}

.comparison-table .feature-name-col {
    min-width: 220px;
}

.comparison-table tbody td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.925rem;
    color: #475569;
    vertical-align: middle;
}

.comparison-table tbody td.highlight-col {
    background: rgba(67, 97, 238, 0.03);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover td {
    background: #fafbfc;
}

.comparison-table tbody tr:hover td.highlight-col {
    background: rgba(67, 97, 238, 0.06);
}

.comparison-table .category-row td {
    background: #f8fafc;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--landing-dark);
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--landing-border);
}

/* ===== Testimonials ===== */
.testimonials-section {
    padding: 100px 0;
    background: #fff;
}

.testimonial-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
    border: 1px solid var(--landing-border);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 4rem;
    color: rgba(67, 97, 238, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 1rem;
    display: flex;
    gap: 2px;
}

.testimonial-card blockquote {
    font-style: italic;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--landing-dark);
    font-size: 0.95rem;
}

.testimonial-card .role {
    font-size: 0.85rem;
    color: var(--landing-gray);
    margin-top: 2px;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 100px 0;
    background: var(--landing-light);
}

.faq-section .accordion-item {
    border: 1px solid var(--landing-border);
    border-radius: 14px !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-section .accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq-section .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 1.15rem 1.5rem;
    color: #334155;
    background: #fff;
    border-radius: 14px !important;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--landing-primary-light);
    color: var(--landing-primary);
    box-shadow: none;
}

.faq-section .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--landing-gray);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--landing-primary) 0%, #3730a3 50%, #1e1b4b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
}

.cta-section p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    position: relative;
}

.cta-section .btn-light {
    border-radius: 12px;
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    font-size: 1.05rem;
    color: var(--landing-primary);
    transition: all 0.3s ease;
    border: none;
}

.cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-outline-light {
    border-radius: 12px;
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    font-size: 1.05rem;
    border-width: 2px;
    transition: all 0.3s ease;
}

.cta-section .btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

/* ===== Footer ===== */
.landing-footer {
    padding: 4rem 0 2rem;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.65);
}

.landing-footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: all 0.25s;
    font-size: 0.925rem;
}

.landing-footer a:hover {
    color: #fff;
    padding-left: 3px;
}

.landing-footer p {
    font-size: 0.925rem;
    line-height: 1.7;
}

.landing-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.75rem;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 120px 0 60px;
    }

    .landing-nav .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 14px;
        margin-top: 0.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--landing-border);
    }

    .landing-nav .nav-link {
        padding: 0.65rem 1rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-title span::after {
        height: 4px;
        bottom: 2px;
    }

    .hero-badge {
        display: flex;
        justify-content: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-note {
        text-align: center;
    }

    .hero-section .d-flex.gap-3 {
        justify-content: center;
    }

    .hero-section {
        padding: 110px 0 50px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .features-section,
    .testimonials-section,
    .faq-section,
    .comparison-section {
        padding: 70px 0;
    }

    .pricing-section {
        padding: 70px 0;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .testimonial-card,
    .feature-card {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-amount {
        font-size: 2.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    /* Make comparison table scroll nicely */
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.7rem 0.85rem;
        font-size: 0.85rem;
    }

    .comparison-table .feature-name-col {
        min-width: 160px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-section .btn-lg {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }

    .cta-section .btn-lg {
        padding: 0.7rem 2rem;
        font-size: 0.95rem;
    }

    .landing-footer {
        text-align: center;
    }

    .landing-footer .d-flex.align-items-center {
        justify-content: center;
    }
}

/* ===== Utilities ===== */
html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

body.landing-page ::selection {
    background: rgba(67, 97, 238, 0.15);
    color: var(--landing-dark);
}
