/* ========================================
   PMToolkit Landing Page — Dedicated Styles
   ======================================== */

/* ===== BODY OVERRIDE ===== */
.pmtoolkit-page {
    background-color: #0a0f1e;
}

/* ===== HERO ===== */
.pm-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 50%, #1a0533 100%);
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 140px;
}

.pm-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.pm-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.pm-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3b82f6, #1e3a8a);
    top: -150px;
    right: -100px;
    animation: pm-float 8s ease-in-out infinite;
}

.pm-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #7c3aed, #4c1d95);
    bottom: -100px;
    left: -80px;
    animation: pm-float 10s ease-in-out infinite reverse;
}

.pm-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #0ea5e9, #0284c7);
    top: 40%;
    left: 45%;
    animation: pm-float 6s ease-in-out infinite;
}

@keyframes pm-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -30px) scale(1.05);
    }
}

.pm-hero .container {
    position: relative;
    z-index: 2;
}

.pm-hero-content {
    max-width: 820px;
    color: #fff;
}

.pm-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #93c5fd;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.pm-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pm-blink 2s ease-in-out infinite;
}

@keyframes pm-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.pm-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.pm-text-highlight {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pm-hero-lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.pm-hero-lead strong {
    color: #60a5fa;
}

.pm-hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.pm-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.pm-cta-main {
    background: linear-gradient(135deg, #3b82f6, #6366f1) !important;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4) !important;
    border: none !important;
    font-size: 1.05rem !important;
    padding: 1rem 2rem !important;
}

.pm-cta-main:hover {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.6) !important;
    transform: translateY(-3px) !important;
}

.pm-cta-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
}

.pm-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

.pm-hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pm-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.pm-trust-icon {
    font-size: 1rem;
}

.pm-hero-scroll {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    z-index: 2;
    cursor: pointer;
    font-size: 0.85rem;
}

/* ===== PAIN POINTS SECTION ===== */
.pm-pain-section {
    background-color: #f8fafc;
}

.pm-pain-grid {
    display: grid;
    gap: 2rem;
}

.pm-pain-card {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.pm-pain-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pm-pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pm-pain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pm-pain-icon {
    font-size: 2rem;
}

.pm-pain-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #e2e8f0;
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    line-height: 1;
}

.pm-pain-card h3 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.pm-pain-vs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: start;
}

.pm-pain-divider {
    font-size: 1.5rem;
    color: #94a3b8;
    padding-top: 2rem;
    font-weight: 700;
}

.pm-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.pm-label-pain {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.pm-label-relief {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.pm-pain-block p,
.pm-relief-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.pm-relief-block p strong {
    color: #1e3a8a;
}

.pm-pain-block {
    background: #fff8f8;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #fee2e2;
}

.pm-relief-block {
    background: #f0fdf4;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #dcfce7;
}

/* ===== DASHBOARD SECTION ===== */
.pm-dashboard-section {
    background: #0a0f1e !important;
}

.pm-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pm-dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg, 16px);
    padding: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.pm-dashboard-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pm-dashboard-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.09);
}

.pm-dash-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.pm-dashboard-card h3 {
    color: #93c5fd;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.pm-dashboard-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.pm-dashboard-card p strong {
    color: rgba(255, 255, 255, 0.95);
}

.pm-dash-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.07);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border-left: 3px solid #3b82f6;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.pm-dash-alert {
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===== INSTALL SECTION ===== */
.pm-install-section {
    background: #fff;
}

.pm-install-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pm-install-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #f8fafc;
    border-radius: var(--radius-lg, 16px);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.pm-install-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pm-install-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.12);
}

.pm-install-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.pm-install-card h3 {
    color: #1e3a8a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.pm-install-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

.pm-install-card p strong {
    color: #1e3a8a;
}

/* ===== FINAL CTA ===== */
.pm-final-cta {
    background: linear-gradient(135deg, #0a0f1e 0%, #1e3a8a 50%, #0a0f1e 100%) !important;
    position: relative;
    overflow: hidden;
}

.pm-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

.pm-cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.pm-cta-headline h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    line-height: 1.2;
}

.pm-cta-headline p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.pm-cta-headline p strong {
    color: rgba(255, 255, 255, 0.95);
}

.pm-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.pm-cta-large {
    padding: 1.2rem 2.5rem !important;
    font-size: 1.1rem !important;
    white-space: nowrap;
}

.pm-cta-credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45) !important;
    text-align: center;
    margin: 0 !important;
}

.pm-cta-credit a {
    color: #93c5fd;
    text-decoration: underline;
}

/* ===== NAVBAR OVERRIDE FOR DARK BG ===== */
.pmtoolkit-page .navbar {
    background: rgba(10, 15, 30, 0.4);
}

.pmtoolkit-page .navbar.scrolled {
    background: rgba(10, 15, 30, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.pmtoolkit-page .navbar.scrolled .nav-menu a {
    color: rgba(255, 255, 255, 0.85);
}

.pmtoolkit-page .navbar.scrolled .nav-menu a:hover {
    color: #60a5fa;
}

.pmtoolkit-page .navbar.scrolled .nav-menu a::after {
    background: #60a5fa;
}

.active-nav {
    color: #93c5fd !important;
    font-weight: 600 !important;
}

/* ===== FOOTER OVERRIDE ===== */
.pmtoolkit-page .footer {
    background: #050810;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .pm-pain-vs {
        grid-template-columns: 1fr;
    }

    .pm-pain-divider {
        text-align: center;
        padding: 0;
        font-size: 1.5rem;
    }

    .pm-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .pm-hero-trust {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pm-cta-large {
        white-space: normal !important;
    }

    .pm-hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .pm-hero-actions {
        flex-direction: column;
    }

    .pm-hero-actions a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}