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

:root {
    --primary-color: #3b9ad2;
    --secondary-color: #3b82f6;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: #3b9ad2;
}

.btn-primary:hover {
    background: #1e3a8a;
    color: #fff;
    border: 2px solid #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
}

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

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

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

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

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    background: url('./images/bg-heroSection.jpg') center center/cover no-repeat;
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}



.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.subheadline {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-visual {
    margin-top: 3rem;
}

.dashboard-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.mockup-header {
    background: #e2e8f0;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.mockup-content {
    padding: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.compliance-card {
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
}

.compliance-card.pass {
    background: #d1fae5;
    color: #065f46;
}

.compliance-card.fail {
    background: #fee2e2;
    color: #991b1b;
}

.compliance-card.partial {
    background: #fef3c7;
    color: #92400e;
}

/* Problem Section */
.problem {
    padding: 6rem 0;
    background: var(--white);
}

.problem h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
}

.highlight {
    background: #EAF3FE;
    padding: 1rem;
    border-left: 4px solid #B8D8F7;
    margin: 1.5rem 0;
}

.strong {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.chaos-diagram {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.chaos-item {
    background: var(--white);
    padding: 1rem;
    margin: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.arrow {
    font-size: 2rem;
    margin: 1rem 0;
    color: var(--primary-color);
}

.solution-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.25rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--light-gray);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about p {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: var(--text-secondary);
}

.about .btn {
    margin-top: 1rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--white);
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.badge-small {
    display: inline-block;
    background: var(--warning-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--light-gray);
}

.how-it-works h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.step p {
    color: var(--text-secondary);
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Audience Section */
.audience {
    padding: 6rem 0;
    background: var(--white);
}

.audience h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.audience-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: transform 0.3s;
}

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

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.audience-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.audience-card p {
    color: var(--text-secondary);
}

/* Why It Matters */
.why-matters {
    padding: 6rem 0;
    background: #3b9ad2;
    color: var(--white);
}

.why-matters h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-content > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.benefits-box {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    text-align: left;
}

.benefits-box h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefits-box ul {
    list-style: none;
}

.benefits-box li {
    padding: 0.5rem 0;
    font-size: 1.125rem;
}

.emphasis {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
}

/* Future Capabilities */
.future {
    padding: 6rem 0;
    background: var(--light-gray);
}

.future h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.future-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    font-size: 1.125rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--white);
}

.faq h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: var(--light-gray);
    display: none;
}

.pricing h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.pricing-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.pricing stripe-pricing-table {
    max-width: 1200px;
    margin: 0 auto;
}

/* Early Adoption Form Section */
.early-adoption {
    padding: 6rem 0;
    background: var(--white);
}

.early-adoption h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.early-adoption .form-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.early-adoption .hs-form-frame {
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Us Form Section */
.contact-us {
    padding: 6rem 0;
    background: var(--light-gray);
}

.contact-us h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-us .form-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-us .hs-form-frame {
    max-width: 600px;
    margin: 0 auto;
}

/* Final CTA */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(#3b9ad2);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 15px 0 ;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 10px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

/* Compact footer link list for small footer */
.footer-section.compact ul,
.footer-section.compact ul li {
    margin: 0;
    padding: 0;
}

.footer-section.compact ul li a {
    display: inline-block;
    padding: 2px 0; /* reduce vertical padding */
    font-size: 0.9rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Privacy Policy Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    max-width: 700px;
    max-height: 85vh;
    margin: 2rem;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: none;
    position: sticky;
    top: 0;
    background: var(--white);
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
    padding-right: 2rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--light-gray);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    padding: 0;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.modal-body ol,
.modal-body ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary);
}

.modal-body li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.modal-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.modal-body a:hover {
    text-decoration: underline;
}

/* Scrollbar styling for modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--gray);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .problem-content {
        grid-template-columns: 1fr;
    }
    
    .mockup-content {
        flex-direction: column;
    }
    
    .features-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
    }
    
    .modal-content {
        max-width: 95%;
        margin: 1rem;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
}