/* ===== PulseGuard - Landing Page Styles ===== */

.landing-nav {
    background: #fff;
    box-shadow: var(--pg-shadow);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.landing-nav .navbar-brand {
    font-size: 1.3rem;
    color: var(--pg-gray-900);
}
.landing-nav .nav-link {
    color: var(--pg-gray-600);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}
.landing-nav .nav-link:hover {
    color: var(--pg-primary);
    text-decoration: none;
}

/* Section common */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--pg-gray-900);
}
.section-subtitle {
    text-align: center;
    color: var(--pg-gray-600);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Hero */
.hero-section {
    padding: 6rem 0 5rem;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, var(--pg-primary-light) 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--pg-gray-200);
}
.hero-section h1 {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--pg-gray-900);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.hero-section h1 .text-gradient {
    background: linear-gradient(135deg, var(--pg-primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-section .hero-subtitle {
    font-size: 1.2rem;
    color: var(--pg-gray-600);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-actions .btn-lg {
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Trust bar */
.trust-bar {
    padding: 2.5rem 0;
    background: #fff;
    border-bottom: 1px solid var(--pg-gray-200);
}
.trust-bar .trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.trust-bar .trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pg-gray-500);
    font-size: 0.9rem;
    font-weight: 500;
}
.trust-bar .trust-item i {
    font-size: 1.15rem;
    color: var(--pg-primary);
}

/* Features */
.features-section {
    padding: 5rem 0;
    background: var(--pg-gray-50);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--pg-gray-200);
    border-radius: var(--pg-radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
    box-shadow: var(--pg-shadow-md);
    transform: translateY(-3px);
    border-color: var(--pg-primary);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    background: var(--pg-primary-light);
    color: var(--pg-primary);
}
.feature-card h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: var(--pg-gray-900);
}
.feature-card p {
    color: var(--pg-gray-600);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* How it works */
.how-section {
    padding: 5rem 0;
    background: #fff;
}
.how-section .section-title {
    margin-bottom: 3rem;
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}
.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--pg-gray-50);
    border-radius: var(--pg-radius-lg);
    border: 1px solid var(--pg-gray-200);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.step:hover {
    box-shadow: var(--pg-shadow-md);
    transform: translateY(-2px);
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pg-primary), #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.step h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--pg-gray-900);
}
.step p {
    color: var(--pg-gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Pricing */
.pricing-section {
    padding: 5rem 0;
    background: var(--pg-gray-50);
}
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}
.pricing-toggle-label {
    font-size: 0.95rem;
    color: var(--pg-gray-600);
    user-select: none;
}
.pricing-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}
.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.pricing-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--pg-gray-300, #cbd5e1);
    border-radius: 26px;
    transition: background-color 0.25s;
}
.pricing-slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
}
.pricing-switch input:checked + .pricing-slider {
    background-color: var(--pg-primary);
}
.pricing-switch input:checked + .pricing-slider::before {
    transform: translateX(22px);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
    align-items: stretch;
}
.pricing-card {
    background: #fff;
    border: 2px solid var(--pg-gray-200, #e2e8f0);
    border-radius: var(--pg-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pricing-card-popular {
    border-color: var(--pg-primary);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
    transform: scale(1.03);
}
.pricing-card-popular::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--pg-primary), #7c3aed);
}
.pricing-plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pg-gray-900);
    margin-bottom: 0.5rem;
}
.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--pg-primary), #7c3aed);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}
.pricing-card .pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--pg-gray-900);
    line-height: 1;
}
.pricing-card .pricing-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--pg-gray-500);
}
.pricing-features {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}
.pricing-features li {
    padding: 0.45rem 0;
    color: var(--pg-gray-700);
    font-size: 0.95rem;
}
.pricing-features li i {
    color: var(--pg-success);
    margin-right: 0.6rem;
    font-weight: 700;
}
.pricing-card .btn {
    margin-top: auto;
}

/* Testimonials */
.testimonials-section {
    padding: 5rem 0;
    background: #fff;
}
.testimonials-section .testimonial-card {
    background: var(--pg-gray-50);
    border: 1px solid var(--pg-gray-200);
    border-radius: var(--pg-radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.testimonials-section .testimonial-card:hover {
    box-shadow: var(--pg-shadow-md);
    transform: translateY(-3px);
}

/* CTA */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--pg-primary), #7c3aed);
    text-align: center;
    color: #fff;
    position: relative;
}
.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.cta-section p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.15rem;
}
.cta-section .btn-light {
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--pg-primary);
    border-radius: var(--pg-radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-section .btn-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.landing-footer {
    background: var(--pg-gray-900);
    color: var(--pg-gray-300);
    padding: 3rem 0 1.5rem;
}
.landing-footer h5, .landing-footer h6 {
    color: #fff;
    margin-bottom: 0.75rem;
}
.landing-footer p {
    color: var(--pg-gray-300);
}
.landing-footer a {
    color: var(--pg-gray-300);
    text-decoration: none;
    transition: color 0.2s ease;
}
.landing-footer a:hover {
    color: #fff;
}
.landing-footer ul li {
    margin-bottom: 0.35rem;
}
.landing-footer hr {
    border-color: var(--pg-gray-700);
    opacity: 0.5;
}
.landing-footer .footer-bottom {
    color: var(--pg-gray-400);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2.5rem;
    }
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .features-section,
    .how-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 3rem 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .pricing-card-popular {
        transform: none;
    }
    .steps {
        grid-template-columns: 1fr;
    }
    .trust-bar .trust-items {
        gap: 1.25rem;
    }
}
