/* =====================================================
   360 NERDS HOMEPAGE REDESIGN — DESIGN SYSTEM OVERRIDE
   Dark + Neon Green Conversion-First Theme
   ===================================================== */

/* --- Design Tokens --- */
:root {
    --neon: #AAFF00;
    --neon-dim: rgba(170, 255, 0, 0.15);
    --neon-glow: rgba(170, 255, 0, 0.4);
    --charcoal: #141414;
    --charcoal-light: #1C1C1C;
    --charcoal-mid: #232323;
    --surface-dark: #191919;
    --text-light: #E8E8E8;
    --text-muted: #999;
    --border-dark: rgba(255,255,255,0.08);
    --border-neon: rgba(170,255,0,0.25);
}

/* --- NEW HERO SECTION --- */
.hero-new {
    background: var(--charcoal);
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}
.hero-new::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--neon-dim) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero-new .container {
    position: relative;
    z-index: 1;
}
.hero-new-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
    padding: 80px 0 60px;
}
.hero-new-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.hero-new-left h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -1.5px;
}
.hero-new-left h1 .neon {
    color: var(--neon);
}
.hero-new-sub {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 560px;
}
.hero-pain-block {
    background: var(--charcoal-light);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 24px 28px;
}
.hero-pain-block h3 {
    color: var(--neon);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.hero-pain-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-pain-block li {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    padding-left: 22px;
    position: relative;
}
.hero-pain-block li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ff4d4d;
    font-weight: 700;
    font-size: 12px;
}
.hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.btn-neon {
    display: inline-block;
    background: var(--neon);
    color: #000;
    font-weight: 800;
    font-size: 15px;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}
.btn-neon:hover {
    background: #c4ff33;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--neon-glow);
}
.btn-outline-light {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 32px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    font-family: 'Inter', sans-serif;
}
.btn-outline-light:hover {
    border-color: var(--neon);
    color: var(--neon);
}
.hero-microcopy {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: -8px;
}

/* Hero Proof Chips */
.hero-proof-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.proof-chip {
    background: var(--charcoal-mid);
    border: 1px solid var(--border-dark);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

/* --- TRUST BADGES BAR --- */
.hero-badges-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 36px 0 20px;
    border-top: 1px solid var(--border-dark);
    margin-top: 20px;
}
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    transition: all 0.3s ease;
}
.trust-badge:hover {
    transform: translateY(-4px);
}
.trust-badge-img {
    width: 77px;
    height: 77px;
    object-fit: contain;
    border-radius: 14px;
    transition: all 0.3s ease;
}
.trust-badge:hover .trust-badge-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(170,255,0,0.3));
}
.trust-badge span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.3;
    max-width: 132px;
}

/* --- HERO FORM CARD --- */
.hero-form-card {
    background: var(--charcoal-light);
    border: 1px solid var(--border-neon);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
}
.hero-form-card::before {
    content: '';
    position: absolute;
    top: -1px; left: 20%; right: 20%; height: 3px;
    background: var(--neon);
    border-radius: 0 0 4px 4px;
}
.hero-form-card h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}
.hero-form-card .form-sub {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.hero-form-card .form-field {
    margin-bottom: 12px;
}
.hero-form-card label {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}
.hero-form-card input,
.hero-form-card select {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    background: var(--charcoal);
    color: #fff;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}
.hero-form-card input:focus,
.hero-form-card select:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 0 3px var(--neon-dim);
}
.hero-form-card input::placeholder {
    color: #555;
}
.hero-form-card select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.hero-form-card select option {
    background: var(--charcoal);
    color: #fff;
}
.hero-form-card .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hero-form-card .btn-neon {
    width: 100%;
    margin-top: 4px;
    text-align: center;
}
.hero-form-trust {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* --- LEAD LEAK METER --- */
.lead-leak-meter {
    margin-top: 20px;
    background: var(--charcoal);
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    padding: 18px 20px;
}
.lead-leak-meter h4 {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.leak-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-dark);
    font-size: 13px;
}
.leak-row:last-child { border-bottom: none; }
.leak-label { color: var(--text-light); font-weight: 600; }
.leak-status { font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.leak-status.bad { color: #ff4d4d; }
.leak-status.warn { color: #ffaa00; }
.leak-status.good { color: var(--neon); }

/* --- MOVED HERO / AUTHORITY SECTION --- */
.authority-section {
    background: #fff;
    padding: 80px 0;
}
.authority-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.authority-inner h2 {
    font-size: 42px;
    font-weight: 900;
    color: var(--charcoal);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.authority-inner h2 .neon-dark { color: #4F46E5; }
.authority-inner .authority-copy {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.authority-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.authority-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s;
}
.authority-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #4F46E5;
}
.authority-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 0;
}

/* --- PAIN-TO-SOLUTION SECTION --- */
.pain-solution-section {
    background: var(--charcoal);
    padding: 80px 0;
}
.pain-solution-section h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.pain-solution-section .ps-sub {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}
.ps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.ps-card {
    background: var(--charcoal-light);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.3s;
}
.ps-card:hover {
    border-color: var(--border-neon);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(170,255,0,0.06);
}
.ps-card .ps-problem {
    color: #ff4d4d;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.ps-card h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}
.ps-card .ps-fix-label {
    color: var(--neon);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.ps-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}
.ps-cta-wrap {
    text-align: center;
    margin-top: 40px;
}

/* --- SECTION DIVIDERS & SPACING --- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-dark), transparent);
    margin: 0;
    border: none;
}

/* --- STICKY MOBILE CTA BAR --- */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--charcoal);
    border-top: 2px solid var(--neon);
    padding: 10px 16px;
    z-index: 9999;
    gap: 10px;
}
.sticky-mobile-cta a {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}
.sticky-mobile-cta .smc-audit {
    background: var(--neon);
    color: #000;
}
.sticky-mobile-cta .smc-call {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
}

/* --- FLOATING DESKTOP CTA --- */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    animation: floatCta 3s ease-in-out infinite;
}
.floating-cta a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--neon);
    color: #000;
    font-weight: 800;
    font-size: 14px;
    padding: 14px 24px;
    border-radius: 60px;
    text-decoration: none;
    box-shadow: 0 8px 30px var(--neon-glow);
    transition: all 0.25s;
}
.floating-cta a:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px var(--neon-glow);
}
@keyframes floatCta {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* --- INLINE CTA STRIP (repeated between sections) --- */
.inline-cta-strip {
    text-align: center;
    padding: 40px 20px;
}
.inline-cta-strip.dark {
    background: var(--charcoal);
}
.inline-cta-strip.light {
    background: #f8f9fa;
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .hero-new-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0 40px;
    }
    .hero-new-left h1 { font-size: 40px; }
    .authority-inner h2 { font-size: 32px; }
    .authority-cards { grid-template-columns: 1fr; }
    .ps-grid { grid-template-columns: 1fr; }
    .pain-solution-section h2 { font-size: 28px; }
    .floating-cta { display: none; }
    .sticky-mobile-cta { display: flex; }
    .hero-badges-bar { gap: 20px; padding: 28px 0 16px; }
    .trust-badge-img { width: 62px; height: 62px; }
}
@media (max-width: 768px) {
    .hero-new-inner { padding: 40px 0 30px; gap: 30px; }
    .hero-new-left h1 { font-size: 32px !important; }
    .hero-form-card .form-row-2 { grid-template-columns: 1fr; }
    .hero-proof-chips { gap: 6px; }
    .proof-chip { font-size: 11px; padding: 6px 10px; }
    .hero-form-card { padding: 24px 20px; }
    .authority-section { padding: 50px 0; }
    .pain-solution-section { padding: 50px 0; }
    .hero-badges-bar { gap: 16px; }
    .trust-badge-img { width: 55px; height: 55px; }
    .trust-badge span { font-size: 12px; max-width: 96px; }
}
@media (max-width: 480px) {
    .hero-new-left h1 { font-size: 26px !important; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group a { width: 100%; text-align: center; }
    .btn-neon, .btn-outline-light { width: 100%; text-align: center; }
}
/* Add padding to body bottom for sticky bar on mobile */
@media (max-width: 968px) {
    body { padding-bottom: 70px; }
}
