/* ===== Business Setup Guide Styles ===== */

/* CSS Variables */
:root {
    --guide-primary: #C8A96E;
    --guide-primary-dark: #a08756;
    --guide-bg: #ffffff;
    --guide-text: #1a1a1a;
    --guide-text-light: #4a4a4a;
    --guide-border: #e0e0e0;
    --guide-shadow: rgba(0, 0, 0, 0.1);
    --guide-success: #4caf50;
    --guide-warning: #ff9800;
    --guide-danger: #f44336;
    --guide-info: #2196f3;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 11pt;
    line-height: 1.6;
    color: var(--guide-text);
    background: var(--guide-bg);
    padding: 20px;
    max-width: 8.5in;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--guide-text);
}

h1 {
    font-size: 32pt;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 24pt;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--guide-primary);
    border-bottom: 3px solid var(--guide-primary);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 16pt;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--guide-primary-dark);
}

h4 {
    font-size: 13pt;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 0.75rem;
}

a {
    color: var(--guide-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Print Controls (Hidden in print) */
.print-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.btn-print,
.btn-back {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-print:hover {
    background: var(--guide-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--guide-shadow);
}

.btn-back {
    background: #f5f5f5;
    color: var(--guide-text);
}

.btn-back:hover {
    background: #e0e0e0;
}

/* Header */
.guide-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 4px solid var(--guide-primary);
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.guide-logo {
    filter: drop-shadow(0 2px 4px var(--guide-shadow));
}

.header-text .tagline {
    font-size: 16pt;
    font-weight: 600;
    color: var(--guide-primary);
    margin: 0.5rem 0;
}

.header-text .company {
    font-size: 12pt;
    color: var(--guide-text-light);
}

/* Table of Contents */
.toc-section {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--guide-border);
    margin-bottom: 2rem;
}

.toc-section h2 {
    margin-top: 0;
    border-bottom: none;
}

.toc-list {
    list-style: none;
    counter-reset: toc-counter;
}

.toc-list li {
    counter-increment: toc-counter;
    margin: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.toc-list li::before {
    content: counter(toc-counter);
    position: absolute;
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--guide-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10pt;
}

.toc-list a {
    font-size: 12pt;
    font-weight: 500;
}

/* Guide Sections */
.guide-section {
    margin-bottom: 3rem;
}

/* Pillar Headers */
.pillar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pillar-number {
    width: 50px;
    height: 50px;
    background: var(--guide-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24pt;
    font-weight: 700;
    flex-shrink: 0;
}

.pillar-header h2 {
    margin: 0;
    border: none;
    padding: 0;
}

/* Alert Boxes */
.alert-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 5px solid;
}

.alert-box.warning {
    background: #fff3e0;
    border-color: var(--guide-warning);
}

.alert-box.success {
    background: #e8f5e9;
    border-color: var(--guide-success);
}

.alert-box.danger {
    background: #ffebee;
    border-color: var(--guide-danger);
}

.alert-box strong {
    display: block;
    font-size: 12pt;
    margin-bottom: 0.5rem;
}

/* Info Boxes */
.info-box {
    background: #f5f5f5;
    border: 2px solid var(--guide-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box.highlight {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border-color: var(--guide-primary);
}

.info-box h3 {
    margin-top: 0;
    color: var(--guide-primary);
}

.info-box ul {
    margin-left: 1.5rem;
}

.info-box ul li {
    margin: 0.5rem 0;
}

/* Tip Boxes */
.tip-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 5px solid var(--guide-info);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.tip-box strong {
    color: var(--guide-info);
}

/* Stats Box */
.stats-box {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 32pt;
    font-weight: 700;
    color: var(--guide-primary);
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    font-size: 10pt;
    color: var(--guide-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tables */
.comparison-table {
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 10pt;
}

table thead {
    background: var(--guide-primary);
    color: white;
}

table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 12px;
    border-bottom: 1px solid var(--guide-border);
}

table tbody tr:hover {
    background: #f9f9f9;
}

table strong {
    color: var(--guide-primary);
}

.simple-table {
    background: white;
}

/* Checklist Boxes */
.checklist-box {
    background: #f9f9f9;
    border: 2px solid var(--guide-primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.checklist-box h3 {
    margin-top: 0;
    color: var(--guide-primary);
}

.checklist {
    list-style: none;
    margin-left: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    margin: 0.75rem 0;
    padding-left: 0;
}

.checklist input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checklist label {
    cursor: pointer;
    line-height: 1.5;
}

.checklist input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    color: var(--guide-text-light);
}

/* Technology Stack */
.tech-stack {
    margin: 2rem 0;
}

.tech-category {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.tech-category h4 {
    color: var(--guide-primary);
    margin-top: 0;
}

.tech-category ul {
    margin-left: 1.5rem;
}

.tech-category li {
    margin: 0.5rem 0;
}

/* AI Services Grid */
.ai-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.ai-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f5f5 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--guide-info);
}

.ai-card h4 {
    color: var(--guide-info);
    margin-top: 0;
}

/* Final Checklist */
.final-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.checklist-section {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--guide-border);
}

.checklist-section h3 {
    margin-top: 0;
    color: var(--guide-primary);
}

/* Package Highlight */
.package-highlight {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border: 3px solid var(--guide-primary);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    text-align: center;
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--guide-primary);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 10pt;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-highlight h3 {
    font-size: 20pt;
    margin-bottom: 1.5rem;
}

.package-price {
    margin: 1.5rem 0;
}

.price-label {
    display: block;
    font-size: 10pt;
    color: var(--guide-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    display: block;
    font-size: 42pt;
    font-weight: 700;
    color: var(--guide-primary);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}

.package-timeline {
    font-size: 12pt;
    font-weight: 600;
    color: var(--guide-text-light);
    margin: 1rem 0;
}

.package-includes {
    text-align: left;
    margin-top: 2rem;
}

.package-includes h4 {
    text-align: center;
    color: var(--guide-primary);
}

.package-includes ul {
    max-width: 600px;
    margin: 0 auto;
    list-style: none;
}

.package-includes li {
    margin: 0.5rem 0;
    font-size: 11pt;
}

/* Services Grid */
.services-grid {
    margin: 2rem 0;
}

.services-grid h3 {
    color: var(--guide-primary);
    margin-bottom: 1.5rem;
}

.service-card {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 2px solid var(--guide-border);
}

.service-card h4 {
    color: var(--guide-primary);
    margin-top: 0;
}

.service-card ul {
    margin-left: 1.5rem;
    columns: 2;
    column-gap: 2rem;
}

.service-card li {
    margin: 0.5rem 0;
    break-inside: avoid;
}

/* Testimonial */
.testimonial-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #f5f5f5 100%);
    border-left: 5px solid var(--guide-success);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-style: italic;
}

.testimonial-text {
    font-size: 12pt;
    margin-bottom: 1rem;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: var(--guide-text-light);
    font-style: normal;
}

/* Next Steps List */
.next-steps-list {
    list-style: none;
    counter-reset: steps;
    margin-left: 0;
}

.next-steps-list li {
    counter-increment: steps;
    margin: 2rem 0;
    padding-left: 4rem;
    position: relative;
}

.next-steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--guide-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14pt;
}

.next-steps-list strong {
    display: block;
    font-size: 13pt;
    color: var(--guide-primary);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.cta-section h3 {
    color: var(--guide-primary);
    font-size: 18pt;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-method {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--guide-border);
}

.contact-method .icon {
    font-size: 24pt;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-method strong {
    display: block;
    color: var(--guide-primary);
    margin-bottom: 0.5rem;
}

.contact-method a {
    font-size: 10pt;
    word-break: break-word;
}

.service-area {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--guide-border);
}

/* Final Message */
.final-message {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border-radius: 12px;
    margin: 2rem 0;
}

.final-message h3 {
    color: var(--guide-primary);
    font-size: 18pt;
}

.tagline-large {
    font-size: 20pt;
    font-weight: 700;
    color: var(--guide-primary);
    font-family: 'Space Grotesk', sans-serif;
    margin: 1rem 0;
}

/* Footer */
.guide-footer {
    border-top: 3px solid var(--guide-primary);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.footer-company {
    font-weight: 700;
    font-size: 13pt;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-tagline {
    color: var(--guide-primary);
    font-weight: 600;
    font-size: 11pt;
}

.footer-contact {
    color: var(--guide-text-light);
    font-size: 10pt;
    margin: 0.5rem 0;
}

.footer-copyright {
    color: var(--guide-text-light);
    font-size: 9pt;
}

/* Insurance Grid */
.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.insurance-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--guide-border);
    position: relative;
}

.insurance-card.required {
    border-color: var(--guide-danger);
    background: #ffebee;
}

.insurance-card.recommended {
    border-color: var(--guide-info);
    background: #e3f2fd;
}

.insurance-card h4 {
    margin-top: 0;
    color: var(--guide-primary);
}

.coverage {
    font-weight: 600;
    color: var(--guide-text-light);
    font-size: 10pt;
    display: block;
    margin-bottom: 0.5rem;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 8pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--guide-danger);
    color: white;
}

.badge.recommended {
    background: var(--guide-info);
}

/* Page Break Utilities */
.page-break {
    page-break-before: always;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        padding: 0;
        font-size: 10pt;
    }
    
    .page-break {
        page-break-before: always;
    }
    
    a {
        color: var(--guide-text);
        text-decoration: none;
    }
    
    a::after {
        content: " (" attr(href) ")";
        font-size: 8pt;
        color: var(--guide-text-light);
    }
    
    .checklist input[type="checkbox"] {
        -webkit-appearance: checkbox;
        appearance: checkbox;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .print-controls {
        position: static;
        margin-bottom: 20px;
    }
    
    .stats-box {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .final-checklist {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .service-card ul {
        columns: 1;
    }
    
    .ai-services {
        grid-template-columns: 1fr;
    }
    
    .insurance-grid {
        grid-template-columns: 1fr;
    }
}