:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #141414;
    --text-main: #e0e0e0;
    --text-muted: #b0b0b0;
    --neon-green: #00ff9d;
    --neon-green-glow: rgba(0, 255, 157, 0.3);
    --neon-blue: #00f0ff;
    --primary-font: 'Inter', sans-serif;
    --heading-font: 'Outfit', sans-serif;
    --container-width: 1200px;
    --radius: 8px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--neon-green);
    color: var(--bg-dark);
    padding: 10px 20px;
    z-index: 10000;
    font-weight: bold;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: #fff;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-neon {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 4px;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--neon-green-glow);
}

.btn-primary:hover {
    background-color: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--neon-green);
}

.nav-cta {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

/* Mobile Menu Active State */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(0, 255, 157, 0.05) 0%, transparent 50%);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -40px;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--neon-green);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    border-left: 3px solid var(--neon-green);
    padding-left: 15px;
}

.feature-item p {
    padding-left: 18px;
    color: var(--text-muted);
}

/* Industries */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.industry-card {
    background: var(--bg-card);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    transition: 0.3s;
}

.industry-card:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    transform: translateY(-3px);
}

/* Options */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.option-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.option-card.featured {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-green);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.option-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.option-specs li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
}

.option-specs li:last-child {
    border-bottom: none;
}

/* Calculator */
.calculator-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-inputs label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--neon-green);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--neon-green-glow);
}

.amount-display {
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-green);
    margin: 10px 0 40px;
}

.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group label {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    margin-bottom: 0;
    border: 1px solid transparent;
    transition: 0.3s;
}

.radio-group input[type="radio"]:checked+label {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.calc-results {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.result-item strong {
    font-size: 1.5rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

/* Requirements */
.req-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.req-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.check {
    background: rgba(0, 255, 157, 0.1);
    color: var(--neon-green);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.req-item strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.req-item p {
    color: var(--text-muted);
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 0 40px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    color: var(--neon-green);
    font-weight: 800;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    margin-top: 15px;
    color: var(--text-muted);
}

/* Navbar Enhancements */
.navbar {
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Footer Rework */
.footer {
    padding: 100px 0 40px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
}

.footer-nav h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav a,
.footer-nav p {
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 15px;
    transition: 0.3s;
    font-size: 1rem;
}

.footer-nav a:hover {
    color: var(--neon-green);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: #555;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto;
    }

    .footer-nav a:hover {
        transform: none;
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 10px;
}

.modal-content p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: #fff;
    font-family: var(--primary-font);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--neon-green);
}

/* Responsive - Mobile-First Design */

/* Tablet and below */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps-grid,
    .options-grid,
    .req-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {

    /* Typography - Larger, more readable text */
    body {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Navigation - Mobile menu */
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        gap: 20px;
        text-align: center;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }

    /* Hero Section */
    .hero {
        padding: 120px 0 80px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1.1rem;
        min-height: 50px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 15px;
    }

    /* Buttons - Touch-friendly sizing */
    .btn {
        min-height: 48px;
        min-width: 48px;
        padding: 14px 28px;
        font-size: 1rem;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 1.1rem;
        min-height: 52px;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    /* Cards - Full width on mobile */
    .step-card,
    .option-card,
    .industry-card {
        padding: 25px 20px;
    }

    .step-number {
        font-size: 3rem;
    }

    /* Calculator */
    .calculator-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }

    .calc-inputs label {
        font-size: 1rem;
    }

    input[type="range"] {
        height: 48px;
    }

    /* Form improvements */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .form-input,
    .form-label {
        font-size: 1rem;
    }

    .form-input {
        padding: 14px;
        min-height: 48px;
    }

    select.form-input {
        min-height: 48px;
        padding: 14px;
        font-size: 1rem;
    }

    /* TCPA Checkbox - Touch-friendly */
    #tcpa-consent {
        min-width: 24px !important;
        min-height: 24px !important;
        width: 24px !important;
        height: 24px !important;
    }

    .tcpa-disclaimer {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* FAQ */
    .faq-item summary {
        font-size: 1.05rem;
        padding: 18px 35px 18px 0;
    }

    .faq-item p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto;
    }

    .footer-nav a,
    .footer-nav p {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-nav a:hover {
        transform: none;
    }

    .footer-disclosure {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }

    /* Reviews Section */
    .reviews-section {
        padding: 80px 0;
    }

    .review-card {
        min-width: 320px;
    }

    /* Contact Page */
    .contact-hero h1 {
        font-size: 2.25rem;
    }

    .contact-methods {
        gap: 20px;
    }

    .phone-highlight {
        font-size: 1.5rem;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .step-card h3,
    .option-card h3 {
        font-size: 1.15rem;
    }

    .review-card {
        min-width: 280px;
    }

    .footer-grid {
        gap: 30px;
    }

    /* Ensure text remains readable */
    body {
        font-size: 0.95rem;
    }

    .faq-item summary {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }
}

/* Accessibility - Improve tap targets on all devices */
a,
button,
input,
select,
textarea,
summary {
    min-width: 44px;
    min-height: 44px;
}

/* Ensure focus states are visible on mobile */
@media (hover: none) and (pointer: coarse) {
    :focus-visible {
        outline: 3px solid var(--neon-green);
        outline-offset: 2px;
    }
}

/* Reviews Section - Modern Gallery */
.reviews-section {
    padding: 120px 0;
    overflow: hidden;
    position: relative;
    background: var(--bg-darker);
}

.reviews-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.reviews-gallery-container {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.reviews-scroll-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: autoScroll 25s linear infinite;
    padding: 20px 0;
}

.reviews-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes autoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% / 2));
    }
}

.review-card-modern {
    flex: 0 0 380px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 35px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.review-card-modern::after {
    content: '"';
    position: absolute;
    top: -10px;
    right: 25px;
    font-size: 6rem;
    color: rgba(0, 255, 157, 0.05);
    font-family: serif;
    line-height: 1;
}

.review-card-modern:hover {
    border-color: var(--neon-green);
    background: rgba(0, 255, 157, 0.02);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 157, 0.1);
}

.card-status-simple {
    display: none;
}

.funding-amount {
    font-family: var(--heading-font);
    font-weight: 900;
    color: var(--neon-green);
    font-size: 1.1rem;
    background: rgba(0, 255, 157, 0.05);
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.review-text {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.review-footer-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
}

.author-meta strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
}

.author-meta span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .review-card-modern {
        flex: 0 0 320px;
        padding: 30px;
    }

    .review-text {
        font-size: 1.05rem;
    }
}