/* ═══════════════════════════════════════════════
   GLOBAL & SHARED LAYOUT
═══════════════════════════════════════════════ */
body {
    overflow-x: hidden;
}

/* ── Hamburger ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    border-radius: 8px;
    transition: background .2s;
}

.nav-hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
    transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Drawer ── */
.mobile-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 23, 0.95); /* Deeper Obsidian */
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 89;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.15rem;
    font-weight: 700;
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.6rem;
    transition: color .2s, background .2s;
}

.mobile-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu .m-btn {
    background: var(--blue);
    color: #fff !important;
    padding: 0.75rem 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
}

/* ── Split Layout Wrap (Auth Pages) ── */
.page-wrap {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: calc(100vh - 68px);
}

@media (min-width: 900px) {
    .page-wrap {
        flex-direction: row;
    }
}

/* ═══════════════════════════════════════════════
   PUBLIC MARKETING SITE (index.php)
═══════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 5vw 4rem;
    background: radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.15) 0%, var(--bg-page) 60%),
        radial-gradient(circle at 0% 100%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}


.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(37, 99, 235, .06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .2);
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.75rem;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.5);
    }
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
    max-width: 820px;
    margin: 0 auto 1.5rem;
}

.gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
}

.hero-sub {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 540px;
    line-height: 1.7;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 99px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat {
    text-align: center;
    min-width: 120px;
}

.hero-stat strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 1000;
    letter-spacing: -0.04em;
    color: #fff; /* Changed from var(--gray-900) to white for dark mode visibility */
    margin-bottom: 0.25rem;
}

.hero-stat span {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Section Base ── */
section {
    padding: 7rem 5vw;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--blue);
    margin-bottom: 0.85rem;
    opacity: 0.9;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 1000;
    letter-spacing: -0.04em;
    line-height: 1.1;
    max-width: 680px;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}

section.dark .section-title {
    color: #fff;
}

.section-sub {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 580px;
    line-height: 1.8;
}

section.dark .section-sub {
    color: #94a3b8;
}

/* ── Glassmorphism ── */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}


/* ── Trust Bar ── */
.trust-bar {
    padding: 4rem 5vw;
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.trust-bar p {
    font-size: 0.72rem;
    color: #475569;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
}

.trust-logos {
    display: flex;
    gap: 4rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.trust-brand {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #cbd5e1; /* soft slate glow */
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.55;
    transition: opacity 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    cursor: default;
}

.trust-brand:hover {
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.trust-brand i {
    font-size: 1.3rem;
    color: #94a3b8;
    transition: color 0.3s;
}

.trust-brand:hover i {
    color: var(--blue);
}


/* ── Features ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05); /* very subtle dark glass */
    background: rgba(255, 255, 255, 0.02); /* dark transparent */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Premium glowing top gradient border effect on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #10b981);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.3); /* subtle blue glow border */
    background: rgba(30, 41, 59, 0.6); /* deep sophisticated slate on hover */
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.1);
}

.feature-card:hover::before {
    opacity: 1; /* Reveals the glowing top bar */
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    background: rgba(59, 130, 246, 0.1) !important; /* Force darker transparent blue */
    color: #60a5fa !important; /* neon blue icon */
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(3deg);
    background: #3b82f6 !important;
    color: #fff !important;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: #fff !important; /* Crisp white for the dark theme */
    transition: color 0.3s;
}

.feature-card:hover h3 {
    color: #60a5fa !important; /* Brightens up on hover */
}

.feature-card p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.8;
    transition: color 0.3s;
}

.feature-card:hover p {
    color: #cbd5e1; /* Paragraph gets slightly brighter on hover */
}

/* ── FAQ Accordion ── */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    cursor: pointer;
    border-radius: 1.25rem !important;
    padding: 1.5rem 2rem !important;
}

.faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.faq-trigger i {
    font-size: 0.85rem;
    color: var(--blue);
    transition: transform 0.4s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), margin-top 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.faq-content p {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.7;
    padding-top: 1rem;
}

.faq-item.active {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(30, 41, 59, 0.4);
}

.faq-item.active .faq-trigger i {
    transform: rotate(180deg);
}

.faq-item.active .faq-content {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0), margin-top 0.4s ease, opacity 0.4s ease;
}

/* ── How it works ── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--indigo));
    opacity: .15;
    pointer-events: none;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.step h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

section.dark .step h3 {
    color: #fff;
}

.step p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.7;
}

section.dark .step p {
    color: #94a3b8;
}

/* ── Compact Pricing Matrix ── */
.compact-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.plan-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Dark glass line */
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02); /* Glassy dark */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease, border-color .3s;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 60px rgba(0, 0, 0, .4);
    border-color: rgba(255, 255, 255, 0.15);
}

.plan-card.featured {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.05);
}

.plan-card.featured:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 30px rgba(59, 130, 246, 0.2);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 1.5rem;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.plan-header {
    margin-bottom: 2rem;
}

.plan-name-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 1000;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-period {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0;
}

.plan-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
}

.plan-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 0 2rem 0;
}

.plan-features.compact {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1; /* Pushes button to bottom */
}

.plan-features.compact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.plan-features.compact li i {
    color: #10b981; /* Green checkmarks by default */
    font-size: 0.85rem;
    width: 14px;
    text-align: center;
}

.plan-features.compact li.f-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 1.25rem 0;
}

.plan-features.compact li.f-muted {
    opacity: 0.4;
    text-decoration: line-through;
}

.plan-features.compact li strong {
    color: #fff;
}

.plan-btn {
    width: 100%;
    justify-content: center;
    padding: 1.1rem;
    font-size: 0.95rem;
    border-radius: 0.75rem;
}

.glow-btn {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.glow-btn:hover {
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.6);
}


/* ── CTA Band ── */
.cta-band {
    background: linear-gradient(135deg, var(--gray-900) 0%, #0c1a3a 100%);
    color: #fff;
    text-align: center;
    padding: 7rem 5vw;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.cta-band h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    position: relative;
}

.cta-band p {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    position: relative;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ── */
footer {
    background: #020617;
    color: #94a3b8;
    padding: 5rem 5vw 2rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.82rem;
    line-height: 1.7;
    margin-top: 0.75rem;
    max-width: 250px;
    color: #64748b;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    margin-bottom: 1.25rem;
    opacity: 0.95;
}

.footer-col a {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
    color: var(--blue);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 0.78rem;
    color: #475569;
}

.footer-bottom .logo-text {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
}

.footer-bottom .logo-text span {
    color: var(--blue);
}

/* ═══════════════════════════════════════════════
   PUBLIC AUTH PAGES (Client Login & Request Access)
═══════════════════════════════════════════════ */

/* ── Shared Auth Brand Panel ── */
.auth-brand-panel {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 1.5rem;
    color: #fff;
}

.auth-brand-panel.emerald-theme {
    background: linear-gradient(150deg, #022c22 0%, #064e3b 55%, #065f46 100%);
}

@media (min-width: 900px) {
    .auth-brand-panel {
        width: 45%;
        padding: 3.5rem;
    }

    .auth-brand-panel.emerald-theme {
        width: 42%;
    }
}

/* Animations */
.auth-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: authPanelDrift 20s linear infinite;
    pointer-events: none;
}

.auth-brand-panel.emerald-theme::before {
    background-image: radial-gradient(circle, rgba(52, 211, 153, .07) 1px, transparent 1px);
    animation: authPanelDrift 25s linear infinite;
}

.auth-brand-panel::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 179, 237, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.auth-brand-panel.emerald-theme::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 211, 153, .15) 0%, transparent 70%);
    right: -150px;
}

@keyframes authPanelDrift {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 28px 28px;
    }
}

.auth-brand-hero {
    position: relative;
    z-index: 10;
}

/* Logos */
.auth-panel-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.auth-panel-logo img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.auth-panel-logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
}

.auth-panel-logo-text span {
    color: #60a5fa;
}

.auth-panel-logo-text.emerald-span span {
    color: #34d399;
}

.auth-brand-eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #34d399;
    margin-bottom: 0.75rem;
}

.auth-brand-hero h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 0.9rem;
}

.auth-brand-hero h2 em {
    font-style: normal;
    color: #60a5fa;
}

.auth-brand-hero>p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 2rem;
}

.auth-brand-panel.emerald-theme .auth-brand-hero>p {
    color: #6ee7b7;
}

/* Auth Feature rows (Blue Theme) */
.auth-feat-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.auth-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 10px;
    padding: 11px 14px;
    transition: background .2s;
}

.auth-feat-item:hover {
    background: rgba(255, 255, 255, .08);
}

.auth-feat-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(96, 165, 250, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.auth-feat-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* Trust checklist (Emerald Theme) */
.auth-trust-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #a7f3d0;
}

.auth-trust-list li .tick {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(52, 211, 153, .2);
    border: 1px solid rgba(52, 211, 153, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34d399;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* Stats row (Emerald Theme) */
.auth-stats-row {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
    flex-wrap: wrap;
}

.auth-stat-item {
    text-align: left;
}

.auth-stat-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: #34d399;
    letter-spacing: -0.03em;
    line-height: 1;
}

.auth-stat-lbl {
    font-size: 0.68rem;
    color: #4ade80;
    font-weight: 600;
    margin-top: 3px;
    opacity: .7;
}

/* Bottom Trust strip (Blue Theme) */
.auth-trust-strip {
    position: relative;
    z-index: 10;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-trust-label {
    font-size: 0.6rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.auth-trust-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.auth-trust-badge {
    font-size: 0.58rem;
    font-weight: 800;
    padding: 3px 8px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

/* ── Form Panel (Right) ── */
.auth-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    background: #f1f5f9;
}

@media (min-width: 900px) {
    .auth-form-panel {
        padding: 3rem 2rem;
    }
}

.auth-form-wrap {
    width: 100%;
    max-width: 420px;
}

.auth-form-wrap.large {
    max-width: 520px;
}

.auth-card {
    background: #fff;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 32px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .04);
    margin-bottom: 1rem;
}

@media (min-width: 480px) {
    .auth-card {
        padding: 2.5rem;
    }
}

/* Badges */
.auth-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.auth-status-badge.secure {
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.auth-status-badge.secure .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: authPulse 1.8s ease-in-out infinite;
}

@keyframes authPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(.75);
    }
}

.auth-demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    margin-bottom: 1.25rem;
}

.auth-demo-badge i {
    font-size: 0.6rem;
}

.auth-card h1 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.auth-card .subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

/* Auth Alerts */
.auth-alert-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.85rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    color: #dc2626;
    margin-bottom: 1.25rem;
    animation: authSlideDown .25s ease;
}

@keyframes authSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-alert-error i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Form Elements */
.auth-field-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #374151;
    margin-bottom: 0.5rem;
}

.auth-field-label .req {
    color: #ef4444;
    margin-left: 2px;
}

.auth-input-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.auth-input-wrap.no-bottom {
    margin-bottom: 0;
}

.auth-input-wrap .fi {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.82rem;
    pointer-events: none;
    transition: color .2s;
}

.auth-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s, background .2s;
    font-family: inherit;
}

.auth-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
    background: #fff;
}

.auth-input:focus+.fi-abs,
.auth-input-wrap:focus-within .fi {
    color: #2563eb;
}

.auth-input::placeholder {
    color: #cbd5e1;
    font-weight: 500;
}

.fi-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.88rem;
    color: #0f172a;
    font-family: inherit;
    background: #f8fafc;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.fi-input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, .1);
    background: #fff;
}

.fi-input::placeholder {
    color: #cbd5e1;
}

select.fi-input {
    cursor: pointer;
}

textarea.fi-input {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

/* Auth Grid */
.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

@media (max-width: 520px) {
    .auth-form-grid {
        grid-template-columns: 1fr;
    }
}

.auth-form-group {
    display: flex;
    flex-direction: column;
}

.auth-form-group.full {
    grid-column: 1 / -1;
}

.auth-section-label {
    grid-column: 1 / -1;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    margin-top: 0.5rem;
}

/* Domain Hint */
.auth-domain-hint {
    margin-top: -0.25rem;
    font-size: 0.73rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

#slug-preview {
    color: #2563eb;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* Submit Buttons */
.auth-btn-continue {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.95rem 1.5rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    box-shadow: 0 4px 18px rgba(37, 99, 235, .35);
}

.auth-btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, .45);
}

.auth-btn-continue:active {
    transform: translateY(0);
}

.auth-btn-continue:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.auth-btn-submit.emerald {
    width: 100%;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    box-shadow: 0 4px 18px rgba(5, 150, 105, .35);
}

.auth-btn-submit.emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(5, 150, 105, .45);
}

.auth-btn-submit.emerald:active {
    transform: translateY(0);
}

.auth-btn-submit.emerald:disabled {
    opacity: .7;
    cursor: not-allowed;
}

/* Dividers & Help */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.5rem 0 1rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.auth-help-text {
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.7;
}

.auth-help-text a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.auth-help-text a:hover {
    text-decoration: underline;
}

.auth-form-footer {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    line-height: 1.6;
}

.auth-form-footer a {
    color: #059669;
    text-decoration: none;
    font-weight: 600;
}

.auth-form-footer a:hover {
    text-decoration: underline;
}

/* ── Success State ── */
.auth-success-state {
    text-align: center;
    padding: 2rem 1rem;
}

.auth-success-icon {
    width: 80px;
    height: 80px;
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #059669;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    animation: authPopIn .4s cubic-bezier(.175, .885, .32, 1.275);
}

@keyframes authPopIn {
    from {
        transform: scale(.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.auth-success-state h2 {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.auth-success-state p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 360px;
    margin: 0 auto 2rem;
}

.auth-btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(5, 150, 105, .3);
}

.auth-btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, .4);
}

@keyframes authSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Media Queries */
@media (max-width: 899px) {
    .auth-brand-hero>p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .auth-brand-panel {
        padding: 2rem 1.25rem;
    }

    .auth-card {
        padding: 1.75rem 1.25rem;
    }

    .auth-stats-row {
        gap: 1rem;
    }
}

/* ═══════════════════════════════════════════════
   LEGAL PAGES (privacy.php, terms.php)
═══════════════════════════════════════════════ */

.legal-page .page-wrap {
    flex: 1;
    padding: 4rem 5vw;
}

.legal-page .container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .02);
    position: relative;
}

.legal-card h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.legal-meta {
    font-size: .85rem;
    color: var(--gray-500);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-meta-badge {
    background: var(--blue);
    color: #fff;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-card h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.02em;
}

.legal-card p {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.legal-card ul {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--gray-700);
}

.legal-card li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.legal-card a {
    color: var(--blue);
    font-weight: 500;
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

.legal-card code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--rose);
    font-family: monospace;
}

@media (max-width: 768px) {
    .legal-page .page-wrap {
        padding: 2rem 1.25rem;
    }

    .legal-card {
        padding: 2rem 1.5rem;
    }

    .legal-card h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .legal-page .page-wrap {
        padding: 1.5rem 1rem;
    }

    .legal-card {
        padding: 1.5rem 1.15rem;
        border-radius: 1rem;
    }

    .legal-card h1 {
        font-size: 1.4rem;
    }

    .legal-meta {
        flex-wrap: wrap;
        gap: 6px;
    }
}

/* ── Enterprise Conversion Utilities ── */

.problem-hook {
    background: #050b14;
    position: relative;
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.problem-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 3.5rem;
    border-radius: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.problem-card h2 {
    color: #fecaca;
    margin-bottom: 1.5rem;
}

.problem-card p {
    color: #fca5a5;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.transformation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 5rem;
}

.t-card {
    padding: 3rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.t-card.before {
    border-color: rgba(239, 68, 68, 0.15);
}

.t-card.after {
    border-color: rgba(16, 185, 129, 0.15);
    background: rgba(16, 185, 129, 0.02);
}

.t-header {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.t-header.before {
    color: #ef4444;
}

.t-header.after {
    color: #10b981;
}

.t-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.t-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.t-item i {
    font-size: 0.85rem;
}

.t-item.before {
    color: #94a3b8;
}

.t-item.after {
    color: #f1f5f9;
}

.differentiation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.diff-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: #0a0f1e;
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.diff-card.primary {
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.03);
    transform: scale(1.05);
    z-index: 10;
}

.diff-card i {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.4;
}

.diff-card.primary i {
    opacity: 1;
    color: var(--blue);
}

.diff-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #94a3b8;
}

.diff-card.primary h3 {
    color: #fff;
    font-size: 1.25rem;
}

.risk-banner {
    background: linear-gradient(90deg, #7f1d1d 0%, #020617 100%);
    padding: 4rem;
    border-radius: 2.5rem;
    margin-top: 6rem;
    border: 1px solid rgba(239, 68, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.risk-content h2 {
    color: #fecaca;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.risk-content p {
    color: #f87171;
    font-weight: 600;
}

@media (max-width: 900px) {

    .transformation-grid,
    .differentiation-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .differentiation-grid {
        gap: 1rem;
    }

    .diff-card.primary {
        transform: none;
    }

    .risk-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ── UI/UX Audit Fixes ── */
@media (max-width: 1024px) {
    .nav-links { display: none !important; }
    .nav-hamburger { 
        display: flex; 
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1000;
        padding: 10px;
    }
    .nav-hamburger span {
        width: 25px;
        height: 2px;
        background: #fff;
        transition: transform 0.3s ease, opacity 0.3s ease;
        border-radius: 2px;
    }
    .nav-hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav-hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .mobile-menu { display: none; }
    .mobile-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(12px);
        z-index: 998;
        padding: 7rem 2rem 2rem;
        gap: 2rem;
        align-items: center;
    }
    .mobile-menu a {
        color: #fff;
        font-size: 1.5rem;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s;
    }
    .mobile-menu a:hover {
        color: var(--blue);
    }
}

@media (min-width: 1025px) {
    .nav-hamburger { display: none !important; }
    .mobile-menu { display: none !important; }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
        align-items: center;
        background: rgba(2, 6, 23, 0.98);
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .t-card {
        padding: 1.5rem !important;
    }
}

:root {
    --section-gap: 4rem;
}
.features-section,
#how-it-works,
.problem-hook,
.differentiation,
.transformation,
#pricing,
.risk-section {
    padding-top: var(--section-gap) !important;
    padding-bottom: var(--section-gap) !important;
}

/* ── Laptop Optimization (Lower Vertical Height) ── */
@media (min-width: 1024px) {
    :root {
        --section-gap: 5rem;
    }
}

@media (min-width: 1024px) and (max-height: 900px) {
    :root {
        --section-gap: 3.5rem;
    }
    section {
        padding: var(--section-gap) 5vw !important;
    }
    .hero {
        padding: 4rem 5vw 3rem !important;
        min-height: calc(100vh - 70px) !important;
    }
    .hero h1 {
        font-size: clamp(2.4rem, 5vw, 3.8rem) !important;
        margin-bottom: 1.25rem !important;
    }
    .hero-stats {
        margin-top: 3rem !important;
    }
}

/* ── Header Hiding & Content Offset ── */
nav {
    transition: transform 0.3s ease, background 0.3s ease;
}

nav.nav-hidden {
    transform: translateY(-100%);
}

.error-page {
    padding-top: 120px !important; /* Ensure content starts below fixed nav */
    min-height: calc(100vh - 350px) !important;
}