:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --secondary: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    outline: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-800);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
}

.btn-block {
    width: 100%;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-pro {
    color: var(--primary);
}

.logo-tag {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: -0.25rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 32rem;
}

.hero-cta {
    margin-top: 2rem;
}

.microcopy {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
}

.dashboard-preview {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    background-color: var(--gray-100);
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-tab {
    padding: 0.5rem 1rem;
    color: var(--gray-600);
    font-weight: 500;
    cursor: pointer;
}

.dashboard-tab.active {
    background-color: var(--white);
    border-radius: var(--radius);
    color: var(--primary);
}

.dashboard-content {
    padding: 1.5rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.metric:last-child {
    border-bottom: none;
}

.metric-label {
    color: var(--gray-600);
}

.metric-value {
    font-weight: 600;
    color: var(--gray-900);
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: #fef3c7;
    border-radius: var(--radius);
    margin-top: 1rem;
}

.alert-badge {
    font-size: 1.25rem;
}

.alert-text {
    color: var(--gray-800);
    font-weight: 500;
}

.pain-points,
.features,
.how-it-works,
.social-proof,
.faq {
    padding: 4rem 0;
}

.pain-points {
    background-color: var(--gray-50);
}

.pain-grid,
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .pain-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pain-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pain-card,
.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-card:hover,
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pain-icon,
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pain-card h3,
.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.pain-card p,
.feature-card p {
    color: var(--gray-600);
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.step p {
    color: var(--gray-600);
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.testimonial p {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.form-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.form-wrapper {
    max-width: 32rem;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.form-header p {
    color: var(--gray-600);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--gray-800);
    background-color: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.captcha-container {
    margin: 1.5rem 0;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    border-radius: var(--radius);
    padding: 1rem;
}

.captcha-placeholder {
    color: var(--gray-500);
    font-style: italic;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.consent-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.consent-group label {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.privacy-note {
    background-color: var(--gray-50);
    padding: 1rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.privacy-note strong {
    color: var(--gray-700);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: var(--primary);
    background-color: var(--gray-50);
}

.radio-option input[type="radio"] {
    margin: 0;
}

.radio-label {
    font-weight: 500;
    color: var(--gray-700);
}

.survey-header {
    text-align: center;
    margin-bottom: 2rem;
}

.survey-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.survey-header p {
    color: var(--gray-600);
}

.thank-you-content {
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.thank-you-text {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.micro-demo {
    background-color: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    text-align: left;
}

.micro-demo h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.demo-report {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.report-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    font-weight: 500;
    color: var(--gray-700);
}

.report-body {
    padding: 1rem;
}

.report-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.report-row:last-child {
    border-bottom: none;
}

.status-good {
    color: var(--secondary);
    font-weight: 500;
}

.status-alert {
    color: var(--warning);
    font-weight: 500;
}

.report-export {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.upload-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--gray-50);
    border-radius: var(--radius);
}

.upload-note {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

#file-upload {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    background-color: var(--white);
}

#upload-status {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.pilot-cta {
    margin-top: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--gray-600);
}

.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.875rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.legal {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: var(--gray-500);
}

#form-messages {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    font-weight: 500;
}

#form-messages.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

#form-messages.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 640px) {
    .nav {
        display: none;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}