/*
Theme Name: DiscoveryMax
Theme URI: https://discoverymax.ai
Author: DiscoveryMax
Version: 1.0.0
Description: Official DiscoveryMax AI Visibility Platform theme
*/
/*
Theme Name: DiscoveryMax
Author: DiscoveryMax
Version: 2.3.0
Description: AI Visibility Platform — Dark theme
*/

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: #0a0a1a;
    background-image: radial-gradient(ellipse at center, #1a0033 0%, #0a0a1a 70%);
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6366f1;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    line-height: 1.2;
    font-weight: 700;
}

p {
    color: #94a3b8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ============================================================
   PARTICLES BACKGROUND
   ============================================================ */

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: #6366f1;
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

.gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: #94a3b8;
}

.text-sm {
    font-size: 0.875rem;
}

.text-center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 12px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
    overflow: visible;
}

#site-header.scrolled {
    background: rgba(10, 10, 26, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
    overflow: visible;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 147px;
    height: auto;
    display: block;
    max-width: 30vw;
    padding-top: 4px;
    object-fit: contain;
    object-position: center;
}

/* Text fallback — used until real transparent logo is dropped in */
.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #22d3ee 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: #22d3ee;
    -webkit-text-fill-color: #22d3ee;
    font-size: 1.4rem;
}

.logo-ai {
    background: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #a5b4fc;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Login button — ghost style */
.btn-nav-login {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: transparent;
    color: #a5b4fc !important;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-nav-login:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
    color: #ffffff !important;
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
    color: #ffffff !important;
}

.btn-nav-cta::after {
    display: none !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    padding: 24px;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
}

.mobile-nav .btn-nav-cta {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.45);
    color: #ffffff;
}

.btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1.05rem;
}

/* ============================================================
   GLASSMORPHISM CARDS
   ============================================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 32px;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    padding: 8px 0;
}

.hero-stat {
    padding: 16px 36px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a5b4fc 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    gap: 24px;
}

.cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */

.problems {
    background: rgba(0, 0, 0, 0.2);
}

.problem-card {
    text-align: center;
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #ffffff;
}

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

/* ============================================================
   PLATFORM SECTION
   ============================================================ */

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.platform-card {
    text-align: center;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
}

.platform-logo {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.2s;
}
.platform-card:hover .platform-logo {
    opacity: 1;
}
.platform-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.platform-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.platform-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-it-works {
    background: rgba(0, 0, 0, 0.15);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #22d3ee);
    opacity: 0.3;
    pointer-events: none;
}

.step-card {
    text-align: center;
    padding: 40px 28px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.step-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */

.pricing {
    background: rgba(0, 0, 0, 0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.pricing-card.featured {
    border-color: #6366f1;
    border-width: 2px;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.2);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.35);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.pricing-tier {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 8px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 16px 0 8px;
}

.price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: #64748b;
}

.pricing-card > p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 28px;
    min-height: 50px;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.9rem;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-feature:last-child {
    border-bottom: none;
}

.feature-check {
    color: #22d3ee;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-card .btn {
    width: 100%;
}

/* ============================================================
   RESULTS / METRICS SECTION
   ============================================================ */

.results {
    background: rgba(0, 0, 0, 0.1);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.metric-card {
    text-align: center;
    padding: 32px 20px;
}

.metric-value {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.metric-value.positive {
    background: linear-gradient(135deg, #22d3ee, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-value.purple {
    background: linear-gradient(135deg, #a5b4fc, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.82rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 40px;
}

.testimonial-quote {
    font-size: 1.15rem;
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */

.final-cta {
    text-align: center;
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.final-cta .cta-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.cta-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #64748b;
    display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */

#site-footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-logo-img {
    width: 140px;
    height: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
    color: #a5b4fc;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #64748b;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a5b4fc;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 10px;
}

.footer-contact-item a {
    color: #64748b;
}

.footer-contact-item a:hover {
    color: #a5b4fc;
}

.footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
}

.footer-bar p {
    font-size: 0.85rem;
    color: #475569;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-section {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.open {
    border-color: #6366f1;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #a5b4fc;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    color: #6366f1;
    font-size: 1.1rem;
    font-weight: 300;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(99, 102, 241, 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 24px;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================================
   BADGE / PILL STYLES
   ============================================================ */

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-teal {
    background: rgba(16, 185, 129, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-purple {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-yellow {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-pink {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.badge-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-teal {
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

/* ============================================================
   BLOG — ARCHIVE
   ============================================================ */

.archive-header {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
}

.archive-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.archive-header p {
    font-size: 1.1rem;
    color: #94a3b8;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.post-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
}

.post-card-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(34,211,238,0.1));
    flex-shrink: 0;
}

.post-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-img-wrap img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.post-read-time {
    font-size: 0.8rem;
    color: #64748b;
}

.post-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.4;
}

.post-card h2 a {
    color: inherit;
    transition: color 0.3s ease;
}

.post-card h2 a:hover {
    color: #a5b4fc;
}

.post-card-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: #a5b4fc;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

.post-read-more:hover {
    color: #6366f1;
    gap: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 60px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    color: #a5b4fc;
}

/* ============================================================
   SINGLE POST
   ============================================================ */

.post-hero {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.post-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.post-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-date,
.post-author,
.post-read-time-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.post-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* Post Content Typography */
.post-content {
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.85;
}

.post-content h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    margin: 48px 0 20px;
    letter-spacing: -0.01em;
}

.post-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 36px 0 16px;
}

.post-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 28px 0 12px;
}

.post-content p {
    color: #e2e8f0;
    margin-bottom: 20px;
}

.post-content a {
    color: #a5b4fc;
    text-decoration: underline;
    text-decoration-color: rgba(165, 180, 252, 0.3);
}

.post-content a:hover {
    color: #6366f1;
}

.post-content ul,
.post-content ol {
    color: #e2e8f0;
    margin: 20px 0;
    padding-left: 24px;
}

.post-content ul {
    list-style: disc;
}

.post-content ol {
    list-style: decimal;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.post-content blockquote {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #6366f1;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 28px 0;
    color: #94a3b8;
    font-style: italic;
}

.post-content img {
    border-radius: 12px;
    margin: 28px 0;
    width: 100%;
}

.post-content code {
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.post-content pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    padding: 24px;
    overflow-x: auto;
    margin: 28px 0;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #e2e8f0;
}

/* Post Footer */
.post-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.post-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
}

/* Related Posts */
.related-posts {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related-posts h3 {
    font-size: 1.3rem;
    margin-bottom: 28px;
    color: #ffffff;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 28px;
}

.sidebar-widget-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 20px;
    display: block;
}

.sidebar-about p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-post-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-post-item:first-child {
    padding-top: 0;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-item a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.4;
}

.sidebar-post-item a:hover {
    color: #a5b4fc;
}

.sidebar-post-date {
    font-size: 0.78rem;
    color: #64748b;
}

.sidebar-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 0.9rem;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.sidebar-categories a:hover {
    color: #a5b4fc;
}

.sidebar-cta {
    text-align: center;
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
}

.sidebar-cta .sidebar-widget-title {
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 10px;
}

.sidebar-cta p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
}

.sidebar-cta .btn {
    width: 100%;
    font-size: 0.85rem;
    padding: 12px 20px;
}

/* ============================================================
   PAGE.PHP — STATIC PAGES
   ============================================================ */

.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto;
}

.page-content-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.85;
}

.page-content-wrap h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    margin: 48px 0 20px;
    letter-spacing: -0.01em;
}

.page-content-wrap h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 36px 0 16px;
}

.page-content-wrap p {
    color: #e2e8f0;
    margin-bottom: 20px;
}

.page-content-wrap a {
    color: #a5b4fc;
}

.page-content-wrap a:hover {
    color: #6366f1;
}

.page-content-wrap ul,
.page-content-wrap ol {
    color: #e2e8f0;
    margin: 20px 0;
    padding-left: 24px;
}

.page-content-wrap ul { list-style: disc; }
.page-content-wrap ol { list-style: decimal; }

.page-content-wrap li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.page-content-wrap blockquote {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #6366f1;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 28px 0;
    color: #94a3b8;
    font-style: italic;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 1024px) {
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .post-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-right .btn-nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section {
        padding: 70px 0;
    }

    .cards-grid-3 {
        grid-template-columns: 1fr;
    }

    .cards-grid-2 {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid::before {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
    }

    .hero-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .hero-stat:last-child {
        border-bottom: none;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-row .btn {
        text-align: center;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .share-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-hero-meta {
        gap: 10px;
    }

    .testimonial-card {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .final-cta {
        padding: 80px 24px;
    }
}

/* ── Audit Form ──────────────────────────────────────────── */
.audit-form-wrap {
    max-width: 720px;
    margin: 40px auto 0;
    text-align: left;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 20px;
    padding: 40px 44px 36px;
    box-shadow: 0 0 60px rgba(99,102,241,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
}
.audit-form-wrap::before {
    content: '';
    display: block;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 20px;
}
.audit-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.audit-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.audit-field label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.audit-field .req {
    color: #f59e0b;
    margin-left: 2px;
}
.audit-field-full {
    grid-column: 1 / -1;
}
.audit-section-divider {
    text-align: center;
    margin: 24px 0 20px;
    position: relative;
}
.audit-section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.07);
}
.audit-section-divider span {
    position: relative;
    background: rgba(15,12,35,0.95);
    padding: 0 14px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6366f1;
}
.label-optional {
    font-size: 0.78rem;
    font-weight: 400;
    color: #475569;
    text-transform: none;
    letter-spacing: 0;
}
.audit-field input,
.audit-field select,
.audit-field textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 1rem;
    padding: 14px 16px;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}
.audit-field textarea {
    resize: vertical;
    min-height: 62px;
    line-height: 1.5;
}
.audit-field input::placeholder,
.audit-field textarea::placeholder {
    color: rgba(255,255,255,0.22);
}
.audit-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236366f1' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.audit-field select option {
    background: #0f0f1e;
    color: #f1f5f9;
    padding: 8px;
}
.audit-field input:hover,
.audit-field select:hover,
.audit-field textarea:hover {
    border-color: rgba(99,102,241,0.4);
    background: rgba(255,255,255,0.07);
}
.audit-field input:focus,
.audit-field select:focus,
.audit-field textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(99,102,241,0.08);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.18), 0 0 20px rgba(99,102,241,0.1);
}
.audit-form-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin: 8px 0 24px;
}
.audit-submit-btn {
    width: 100%;
    margin-top: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 4px 24px rgba(99,102,241,0.4);
}
.audit-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99,102,241,0.5);
}
.audit-submit-btn:active {
    transform: translateY(0);
}
.audit-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.audit-form-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.audit-form-trust span {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}
.audit-success-msg {
    text-align: center;
    padding: 48px 20px;
}
.audit-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(34,197,94,0.3);
}
.audit-success-msg h3 {
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 10px;
}
.audit-success-msg p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .audit-form-wrap { padding: 28px 20px 24px; }
    .audit-form-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
}

/* ── Free Audit Banner ───────────────────────────────────── */
.free-audit-banner {
    max-width: 860px;
    margin: 0 auto 48px;
    background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(139,92,246,.15));
    border: 1px solid rgba(99,102,241,.4);
    border-radius: 16px;
    padding: 32px 40px;
}
.free-audit-banner-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.free-audit-label {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.free-audit-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.free-audit-text strong {
    font-size: 1.2rem;
    color: #fff;
}
.free-audit-value {
    font-size: 0.9rem;
    color: #fbbf24;
    font-weight: 600;
}
.free-audit-value s { color: #64748b; font-weight: 400; }
.free-audit-desc {
    flex: 1;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    min-width: 200px;
}
.free-audit-banner .btn { white-space: nowrap; }
@media (max-width: 640px) {
    .free-audit-banner { padding: 24px 20px; }
    .free-audit-banner-inner { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    background: rgba(5, 5, 15, 0.98);
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    padding-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
}
.footer-logo-img { width: 140px; margin-bottom: 16px; }
.footer-tagline { font-size: 0.9rem; color: #64748b; margin-bottom: 20px; line-height: 1.6; max-width: 240px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(99,102,241,0.2);
    border-radius: 50%; color: #94a3b8; font-size: 0.8rem; font-weight: 700;
    transition: all 0.3s ease;
}
.footer-social-link:hover { background: rgba(99,102,241,0.2); border-color: #6366f1; color: #fff; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.9rem; color: #64748b; transition: color 0.3s ease; }
.footer-links a:hover { color: #a5b4fc; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; color: #64748b; }
.footer-contact-item a { color: #64748b; }
.footer-contact-item a:hover { color: #a5b4fc; }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; text-align: center; }
.footer-bar p { font-size: 0.82rem; color: #475569; }
.footer-bar a { color: #475569; }
.footer-bar a:hover { color: #a5b4fc; }

/* ============================================================
   LAYOUT INTEGRATION
   ============================================================ */
.site { display: flex; flex-direction: column; min-height: 100vh; }
#content { flex: 1; }
body { padding-top: 80px; }
.hero { padding-top: 100px; margin-top: -80px; }

/* Elementor — remove conflicting white backgrounds */
.elementor-section { background-color: transparent; }
.site-main, .entry-content { padding: 0 !important; max-width: 100% !important; }
article.page, article.post { padding: 0; }

/* Blog grid */
@media (max-width: 900px) {
    .blog-grid { grid-template-columns: repeat(2,1fr) !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .post-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
}

/* ── /free-score/ form CSS — added 2026-05-02 ─────────────────────────────── */

.form-section {
  position: relative;
  padding: 40px 24px 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.form-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 36px;
  background: rgba(20, 25, 40, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

/* Cancel WordPress wpautop mangling */
.form-card > p,
.form-card form > p,
#form-state > p,
#confirm-state > p {
  margin: 0;
  padding: 0;
}
.form-card br { display: none; }

.form-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}

.form-card-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  line-height: 1.5;
}

#form-error {
  display: none;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
#form-error.show { display: block; }

#score-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-group .optional {
  font-weight: 400;
  text-transform: none;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-left: 6px;
}

.form-group input,
.form-group select,
.select-wrap select {
  width: 100%;
  padding: 13px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #fff;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  transition: border-color 0.15s, background 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.select-wrap select:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(0,0,0,0.6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .form-card { padding: 28px 22px; }
  .form-card-title { font-size: 1.35rem; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
}

.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  pointer-events: none;
  font-size: 0.9rem;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(99, 102, 241, 0.35);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 18px;
  line-height: 1.55;
}
.form-disclaimer a { color: rgba(255,255,255,0.6); }

/* Confirm state (post-submit) */
#confirm-state {
  display: none;
  text-align: center;
}
#confirm-state.show { display: block; }

.confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-radius: 50%;
}
.confirm-icon svg { width: 32px; height: 32px; }

.confirm-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.confirm-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-top: 8px;
}

.step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.step.done {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
}
.step.active {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.06);
}

.step-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5);
}
.step.done .step-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}
.step.active .step-icon {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

.step-body { flex: 1; min-width: 0; }
.step-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.step-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.step-status {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.step.done .step-status { color: #10b981; }
.step.active .step-status { color: #818cf8; }

.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #818cf8;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse-anim 1.5s infinite;
}

@keyframes pulse-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ── /roi-calculator/ CSS — added 2026-05-02 ─────────────────────────────── */

.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(99,102,241,0.12);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 720px;
  margin: 12px auto 0;
  line-height: 1.6;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 24px;
}

@media (max-width: 880px) {
  .calc-layout { grid-template-columns: 1fr; gap: 22px; padding: 0 18px; }
}

.input-card,
.results-card {
  background: rgba(20, 25, 40, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 32px 30px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

/* Score slider */
.slider-wrap { margin-top: 8px; }
#score-slider {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}
#score-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(99,102,241,0.5);
  border: 2px solid #fff;
}
#score-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(99,102,241,0.5);
  border: 2px solid #fff;
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.score-display {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 4px;
}
.score-number, #score-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.score-category, #score-cat {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
}
.score-category.cat-critical, #score-cat.cat-critical { background: rgba(220,38,38,0.15); color: #fca5a5; }
.score-category.cat-poor, #score-cat.cat-poor       { background: rgba(245,158,11,0.15); color: #fcd34d; }
.score-category.cat-fair, #score-cat.cat-fair       { background: rgba(234,179,8,0.15); color: #fde68a; }
.score-category.cat-good, #score-cat.cat-good       { background: rgba(34,197,94,0.15); color: #86efac; }
.score-category.cat-strong, #score-cat.cat-strong   { background: rgba(16,185,129,0.15); color: #6ee7b7; }

/* Lost section */
.lost-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.lost-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.lost-monthly, #monthly-lost {
  font-size: 2.6rem;
  font-weight: 900;
  color: #f87171;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.lost-annual, #annual-lost {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
}

/* Recovery section */
.recovery-section { margin-top: 26px; }
.recovery-header {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.recovery-divider {
  height: 1px; background: rgba(255,255,255,0.08); margin: 14px 0;
}
.recovery-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0;
}
.recovery-row-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
}
.recovery-row-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #6ee7b7;
}
#monthly-recovery, #annual-recovery {
  font-weight: 800;
  color: #6ee7b7;
}

/* Payback */
.payback-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.22);
  border-radius: 10px;
}
.payback-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.payback-value, #payback-value {
  font-size: 1.2rem;
  font-weight: 900;
  color: #a5b4fc;
}

/* Justification */
.justification {
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(0,0,0,0.35);
  border-left: 3px solid #6366f1;
  border-radius: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
#justify-count, #justify-label { font-weight: 700; color: #a5b4fc; }

/* Formula section */
.formula-section {
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 0 24px;
}
.formula-box {
  background: rgba(20,25,40,0.65);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px 30px;
}
.formula-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
#formula-body {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* Proof strip */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 0 24px;
}
.proof-card {
  background: rgba(20,25,40,0.65);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 22px 24px;
  text-align: center;
}
.proof-number {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.proof-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* CTA block */
.cta-block {
  max-width: 800px;
  margin: 50px auto;
  padding: 36px 30px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 18px;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(99,102,241,0.4);
  color: #fff;
}

.btn-scan-link {
  display: inline-block;
  margin-top: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-decoration: underline;
}

/* Accordion */
.accordion-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(20,25,40,0.5);
}
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.accordion-trigger:hover { background: rgba(255,255,255,0.03); }
.accordion-chevron {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  transition: transform 0.2s;
}
.accordion-item.open .accordion-chevron { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.open .accordion-body { max-height: 500px; }
.accordion-body-inner {
  padding: 4px 20px 18px;
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Cancel WordPress wpautop on calculator content */
.calc-layout p,
.formula-section p,
.proof-strip p,
.cta-block p { margin: 0; }
.calc-layout br,
.formula-section br,
.proof-strip br { display: none; }
