/**
 * Modern UI - Premium Style Override
 * Theme: Glassmorphism, Gradient, Clean Typography
 */

/* =========================================
   1. Typography & Global
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --dark-glass-bg: rgba(15, 23, 42, 0.8);
    --dark-glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
    font-family: 'Outfit', sans-serif;
}

/* =========================================
   2. Components
   ========================================= */

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.btn-outline-dark,
.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover,
.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Navbar Glassmorphism */
.main-header.glass-header .navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
    border-radius: 0 0 20px 20px;
    padding: 15px 0;
    margin-top: 10px;
    /* Floating effect */
    box-shadow: var(--glass-shadow);
}

@media (max-width: 991px) {
    .main-header.glass-header .navbar {
        margin-top: 0;
        border-radius: 0;
    }
}

/* Dark Mode Support for Glass Header */
body.landing-dark .main-header.glass-header .navbar {
    background: var(--dark-glass-bg);
    border-bottom: var(--dark-glass-border);
}

/* Cards & Sections */
.card,
.screenshot-card,
.price-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.screenshot-card:hover,
.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Feature Cards */
.features-section .card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.landing-dark .features-section .card {
    background: #1e293b;
    box-shadow: none;
}

/* Avatars */
.theme-avtar {
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 202, 240, 0.1) 100%);
    color: #0d6efd;
}

/* =========================================
   3. Section Specifics
   ========================================= */

/* Hero Section */
.main-banner {
    position: relative;
}

.badge {
    padding: 0.6em 1em;
    font-weight: 600;
    border-radius: 30px;
}

/* Pricing Cards */
.price-card.bg-primary {
    background: var(--primary-gradient) !important;
    color: white;
}

.price-card .price-badge {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(4px);
}

/* Testimonials */
.testimonial .card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.landing-dark .site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   4. Redesigned Pricing Section
   ========================================= */

.pricing-tabs {
    border-bottom: none;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.75rem;
    padding: 0;
}

.pricing-tabs .nav-link {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    color: var(--bs-body-color);
    font-weight: 600;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.plan-tab__discount {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.68rem;
    font-weight: 800;
}

.pricing-tabs .nav-link.active .plan-tab__discount {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.price-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.landing-plan-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #15803d;
    font-size: 0.74rem;
    font-weight: 800;
    white-space: nowrap;
}

.price-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
}

.price-compare {
    width: 100%;
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1rem;
}

.price-current {
    font-size: 2rem;
    font-weight: 800;
}

.pricing-tabs .nav-link:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    transform: translateY(-2px);
}

.pricing-tabs .nav-link.active {
    background-color: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

body.landing-dark .pricing-tabs .nav-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

body.landing-dark .pricing-tabs .nav-link:hover,
body.landing-dark .pricing-tabs .nav-link.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

/* New Price Card Design */
.price-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

body.landing-dark .price-card {
    background: #1e1e1e;
    border-color: rgba(255, 255, 255, 0.05);
}

.price-card.popular {
    border: 2px solid var(--bs-primary);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
}

.price-card .card-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.price-card .price-badge {
    background: rgba(13, 110, 253, 0.1) !important;
    color: var(--bs-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

body.landing-dark .price-card .price-badge {
    background: rgba(13, 110, 253, 0.2) !important;
}

.price-card .price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--bs-heading-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

body.landing-dark .price-card .price-amount {
    color: #fff;
}

.price-card .price-duration {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 400;
}

.price-card .price-features {
    margin: 2rem 0;
    padding: 0;
    list-style: none;
    flex-grow: 1;
}

.price-card .price-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--bs-gray-700);
    font-size: 0.95rem;
}

body.landing-dark .price-card .price-features li {
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   5. Features Section Redesign
   ========================================= */

/* Feature Cards (Glass Grid) */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.landing-dark .glass-card {
    background: rgba(20, 20, 25, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card .avtar {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.glass-card .avtar img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.glass-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--bs-heading-color);
}

body.landing-dark .glass-card h3 {
    color: #fff;
}

.glass-card p {
    color: var(--bs-gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

body.landing-dark .glass-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* Feature Row (Zig-Zag) */
.element-section {
    padding: 0;
}

.element-section .img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.element-section .img-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.element-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Global Dark Section Override - Simplified for Premium Deep Dark */
section.bg-dark,
.landing-dark {
    background-color: #0f172a !important;
    /* Force the deep slate base */
    background-image: none !important;
}

/* Add mesh orb effects */
section.bg-dark::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

section.bg-dark::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 202, 240, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

section.bg-dark>.container {
    position: relative;
    z-index: 1;
}

/* =========================================
   6. FAQ Glass Accordion
   ========================================= */
.accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 1rem;
}

.accordion-button {
    background: rgba(255, 255, 255, 0.05);
    /* Glass bg */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px !important;
    color: var(--bs-heading-color);
    box-shadow: none;
    font-weight: 600;
}

body.landing-dark .accordion-button {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.05);
}

.accordion-button:not(.collapsed) {
    background: rgba(13, 110, 253, 0.1);
    /* Primary tint when open */
    color: var(--bs-primary);
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.2);
}

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

.accordion-body {
    background: transparent;
    border: none;
    color: var(--bs-gray-600);
    padding: 1.25rem;
    padding-top: 0.5rem;
}

body.landing-dark .accordion-body {
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   7. Footer Refinement
   ========================================= */
.site-footer {
    position: relative;
    background: transparent;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

.site-footer .nav-link {
    color: var(--bs-gray-600);
    transition: all 0.3s ease;
    padding-left: 0;
}

body.landing-dark .site-footer .nav-link {
    color: rgba(255, 255, 255, 0.6);
}

.site-footer .nav-link:hover {
    color: var(--bs-primary);
    transform: translateX(5px);
}

.input-wrapper.border-dark {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 5px;
}

.input-wrapper input {
    background: transparent;
    color: #fff;
    padding-left: 15px;
}

body:not(.landing-dark) .input-wrapper input {
    color: #000;
}

.input-wrapper .btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
}

/* =========================================
   8. Pricing page
   ========================================= */
.pricing-hero__eyebrow {
    color: var(--bs-primary);
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.pricing-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.pricing-hero__lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

body:not(.landing-dark) .pricing-hero__lead {
    color: var(--bs-gray-600);
}

.pricing-value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(13, 110, 253, 0.12);
    color: var(--bs-primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.pricing-note__list {
    padding-left: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
}

body:not(.landing-dark) .pricing-note__list {
    color: var(--bs-gray-600);
}

.pricing-note__list li + li {
    margin-top: 0.5rem;
}

.pricing-cta__box,
.pricing-cta-home .pricing-cta__box {
    padding: 3rem 2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body:not(.landing-dark) .pricing-cta__box,
body:not(.landing-dark) .pricing-cta-home .pricing-cta__box {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.pricing-faq-item h3 {
    line-height: 1.35;
}