:root {
    --primary-color: #0f172a;
    /* Slate 900 */
    --primary-light: #1e293b;
    /* Slate 800 */
    --accent-color: #2563eb;
    /* Blue 600 */
    --accent-hover: #1d4ed8;
    /* Blue 700 */
    --text-color: #334155;
    /* Slate 700 */
    --text-light: #64748b;
    /* Slate 500 */
    --white: #ffffff;
    --light-bg: #f1f5f9;
    /* Slate 100 */
    --danger-color: #ef4444;
    /* Red 500 */
    --success-color: #22c55e;
    /* Green 500 */
    --warning-color: #f59e0b;
    /* Amber 500 */
    --max-width: 1200px;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Fix for fixed header overlap */
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-white {
    color: white;
}

.text-muted {
    color: var(--text-light);
}

.mt-2 {
    margin-top: 2rem;
}

.pl-2 {
    padding-left: 2rem;
}

.section {
    padding: 5rem 0;
    margin-top: 10px;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--primary-color);
}

.section-dark {
    background-color: var(--primary-light);
    color: white;
}

.section-dark h2 {
    color: white;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 3rem;
}

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

.col-half {
    flex: 1;
    min-width: 300px;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-highlight {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem 0;
    background-color: var(--primary-color);
    color: white;
    background-image: url('/assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.4);
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.hero .subheadline {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 600px;
}

.trust-indicators {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-indicators i {
    color: var(--accent-color);
}

/* Problem Section */
.section-header {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-box.danger {
    background-color: #fee2e2;
    color: var(--danger-color);
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Consequences Section */
.danger-list {
    margin-top: 2rem;
}

.danger-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.danger-list i {
    color: var(--danger-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.danger-list strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.danger-list p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.stat-card h3 {
    font-size: 5rem;
    color: var(--danger-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-card p {
    color: white;
    font-size: 1.25rem;
}

/* Solution Section */
.tag {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-img {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
}

.feature-item {
    margin-bottom: 2.5rem;
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--text-light);
}

/* Benefits Section */
.benefit-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    transition: var(--transition);
}

.benefit-box:hover {
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.benefit-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.benefit-box h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.benefit-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* How It Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--accent-color);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.25rem;
    box-shadow: 0 0 0 8px var(--white);
}

.step h4 {
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.step-line {
    position: absolute;
    top: 1.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
    display: none;
    /* Hidden on mobile, could be shown on larger screens with complex calc, simplifying for now */
}

@media (min-width: 768px) {
    .step-line {
        display: block;
        width: 75%;
        left: 12.5%;
    }
}

/* ICP Section */
.icp-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.icp-item {
    text-align: center;
    max-width: 200px;
}

.icp-item i {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.icp-item:hover i {
    color: white;
}

/* Authority */
.authority-box {
    background-color: var(--light-bg);
    border-left: 5px solid var(--accent-color);
    padding: 3rem;
    border-radius: 0 1rem 1rem 0;
}

.authority-content h3 {
    margin-bottom: 1rem;
}

.authority-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 6rem 0;
}

.cta-container h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-container p {
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.125rem;
}

.cta-form-wrapper {
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    max-width: 500px;
    margin: 0 auto;
    color: var(--text-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cta-form-wrapper h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cta-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-family: var(--font-body);
    font-size: 1rem;
}

.cta-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-footer {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #64748b;
    padding: 2rem 0;
    border-top: 1px solid #1e293b;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    color: white;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .nav-links {
        display: none;
    }

    /* Hide nav links on mobile for simplicity in this MVP */
    .row {
        flex-direction: column;
    }

    .reverse-mobile {
        flex-direction: column-reverse;
    }

    .col-half {
        width: 100%;
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .icp-grid {
        gap: 2rem;
    }

    .authority-box {
        padding: 1.5rem;
    }

    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }

    .step-line {
        display: none;
    }

    .stat-card h3 {
        font-size: 3.5rem;
    }
}

/* Utilities */
.d-flex {
    display: flex;
}

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

.justify-content-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

/* Split Hero Layout (for Landing Pages) */
.hero-content-split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1.2;
    max-width: 650px;
    padding-right: 1rem;
    text-align: left;
}

.hero-form {
    flex: 1;
    max-width: 500px;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-form h3 {
    text-align: left;
    color: #001f3f;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Mobile Responsive for Split Hero */
@media (max-width: 991px) {
    .hero-content-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        margin-bottom: 2rem;
        padding-right: 0;
    }

    .hero-form {
        width: 100%;
        max-width: 100%;
    }

    .hero-form h3 {
        text-align: center;
    }
}

/* Pulse Animation */
@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

.btn-pulse {
    animation: pulse-animation 2s infinite;

}

/* FAQ Styles */
details.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(57, 204, 204, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

details.faq-item[open] {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(57, 204, 204, 0.6);
}

summary.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--accent);
    /* Light blue updated */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    list-style: none;
    /* Remove default arrow */
}

summary.faq-question::-webkit-details-marker {
    display: none;
}

summary.faq-question::after {
    content: '\F282';
    /* Bootstrap Icons 'chevron-down' */
    font-family: 'bootstrap-icons';
    font-size: 1.2rem;
    transition: transform 0.3s;
}

details[open] summary.faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* Contact Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    /* Changed from flex/visibility hidden to none */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    /* Activate flex when active */
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 2.5rem 2rem 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    line-height: 1;
    z-index: 10;
}

.modal-close:hover {
    color: #333;
}

/* Override MailChimp style inside modal if needed */
.modal-content #mc_embed_signup {
    background: transparent !important;
}

/* End of landing.css */

/* Modal Form Styles */
.modal-content .mc-field-group {
    margin-bottom: 1rem;
    width: 100%;
}

.modal-content label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="number"],
.modal-content input[type="tel"],
.modal-content select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    background: #f8fafc;
    transition: all 0.3s;
}

.modal-content input:focus,
.modal-content select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #fff;
}

.modal-content input[type="submit"] {
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    height: auto;
    font-size: 1rem;
}

.modal-content input[type="submit"]:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}