/* Landing Page Styles for ContractorVerify */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --verified: #22c55e;
    --verified-dark: #16a34a;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: var(--text);
    line-height: 1.6;
}

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

/* Site Navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

.site-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.site-nav-logo-icon {
    color: var(--primary);
    font-size: 24px;
}

.site-nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav-link:hover {
    color: var(--text);
}

.site-nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

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

.btn-secondary {
    background: var(--bg-alt);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    color: var(--text);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    text-align: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--verified);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 24px;
    color: var(--text);
}

.hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin: 0 0 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 14px;
    color: var(--text-lighter);
    margin: 0;
}

/* Hero Demo */
.hero-demo-wrapper {
    margin-top: 64px;
}

.hero-demo {
    background: #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.hero-demo-header {
    background: #334155;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-demo-dot.red { background: #ef4444; }
.hero-demo-dot.yellow { background: #eab308; }
.hero-demo-dot.green { background: #22c55e; }

.hero-demo-title {
    color: #94a3b8;
    font-size: 13px;
    margin-left: 8px;
}

.hero-demo-content {
    padding: 24px;
}

.code-block {
    margin: 0;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: auto;
}

.code-block.small {
    font-size: 13px;
}

.code-key { color: #7dd3fc; }
.code-string { color: #86efac; }
.code-bool { color: #fbbf24; }

/* Stats Section */
.stats-section {
    padding: 48px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Feature Sections */
.feature-section {
    padding: 100px 0;
}

.feature-section.alt {
    background: var(--bg-alt);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-label {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.2;
}

.feature-description {
    font-size: 18px;
    color: var(--text-light);
    margin: 0 0 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 16px;
}

.feature-list i {
    color: var(--verified);
    font-size: 18px;
}

.feature-card-grid {
    display: grid;
    gap: 16px;
}

.mini-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.feature-section.alt .mini-card {
    background: white;
}

.mini-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.mini-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.mini-card-icon.verified {
    background: rgba(34, 197, 94, 0.1);
    color: var(--verified);
}

.mini-card h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.mini-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

/* Code Example */
.code-example {
    background: #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.code-example-header {
    background: #334155;
    padding: 12px 16px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

.code-example .code-block {
    padding: 20px;
}

/* States Grid */
.states-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.state-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.state-card.active {
    border-color: var(--verified);
    background: rgba(34, 197, 94, 0.05);
}

.state-card.coming {
    opacity: 0.6;
}

.state-abbr {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
}

.state-card.active .state-abbr {
    color: var(--verified);
}

.state-name {
    font-size: 14px;
    color: var(--text-light);
    margin: 4px 0 8px;
}

.state-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 100px;
    background: var(--border);
    color: var(--text-light);
}

.state-badge.live {
    background: var(--verified);
    color: white;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    margin: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

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

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}

.step-description {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.pricing-card.featured.active {
    border-color: var(--verified);
    box-shadow: 0 0 0 1px var(--verified);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin: 8px 0 8px;
}

.pricing-description {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 24px;
}

.pricing-price {
    margin-bottom: 24px;
}

.pricing-amount {
    font-size: 48px;
    font-weight: 700;
}

.pricing-period {
    font-size: 16px;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary);
}

.pricing-btn {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-alt);
}

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

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-icon {
    transition: transform 0.2s;
    color: var(--text-light);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin: 0 0 16px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 32px;
}

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

.cta-buttons .btn-primary:hover {
    background: var(--bg-alt);
}

/* Footer */
.footer {
    padding: 64px 0 32px;
    background: #1f2937;
    color: white;
}

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

.footer-brand {
    max-width: 280px;
}

.footer-brand .site-nav-logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand .site-nav-logo-icon {
    color: var(--primary-light);
}

.footer-brand p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 16px;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #9ca3af;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #9ca3af;
    font-size: 20px;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .site-nav-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        gap: 24px;
    }

    .site-nav-right.active {
        display: flex;
    }

    .site-nav-links {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .site-nav-cta {
        flex-direction: column;
        width: 100%;
    }

    .site-nav-cta .btn {
        width: 100%;
    }

    .site-nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .states-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-title {
        font-size: 32px;
    }

    .feature-title {
        font-size: 28px;
    }
}

/* Docs navbar overrides */
.docs-navbar .site-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
