/* BizMagnet Styles */

:root {
    --primary: #FF6B35;
    --primary-dark: #e85a2b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --border-color: #e0e0e0;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 0;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Onboarding Container */
.onboarding-container {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.onboarding-intro {
    text-align: center;
    margin-bottom: 32px;
}

.onboarding-intro h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.onboarding-intro p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* Onboarding Steps */
.onboarding-step {
    display: none;
    flex-direction: column;
    gap: 24px;
    animation: fadeIn 0.3s ease;
}

.onboarding-step.active {
    display: flex;
}

.onboarding-step h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.onboarding-step > p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 15px;
}

/* Option Grid */
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.option-card {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    font-family: inherit;
}

.option-card:hover {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.option-card.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Form Inputs */
.input-text,
.input-textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    resize: vertical;
}

.input-textarea {
    min-height: 120px;
    resize: vertical;
}

.input-text:focus,
.input-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.input-text::placeholder,
.input-textarea::placeholder {
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

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

.btn:active {
    transform: translateY(0);
}

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

.btn.ghost:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Onboarding Navigation */
.onboarding-step .btn {
    margin-top: 8px;
}

.onboarding-step .btn.ghost {
    margin-right: 12px;
}

/* Button Container for Steps */
.onboarding-step-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.onboarding-step-buttons .btn {
    flex: 1;
    min-width: 120px;
}

/* Scrollbar Styling */
.onboarding-container::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.onboarding-container::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.onboarding-container::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.onboarding-container::-webkit-scrollbar-thumb:hover,
.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }

    .onboarding-container {
        padding: 24px 20px;
        max-height: 95vh;
    }

    .option-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .option-card {
        padding: 14px 16px;
        font-size: 14px;
    }

    .onboarding-intro h2 {
        font-size: 24px;
    }

    .onboarding-step h3 {
        font-size: 20px;
    }

    .onboarding-step-buttons {
        flex-direction: column;
    }

    .onboarding-step-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .option-grid {
        grid-template-columns: 1fr;
    }

    .onboarding-container {
        padding: 20px 16px;
    }

    .close-modal {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 28px;
    }
}

/* Header Styles */
.site-shell {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.utility-bar {
    background: var(--bg-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.utility-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.utility-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.link-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: none;
    transition: var(--transition);
    font-family: inherit;
}

.link-btn:hover {
    color: var(--primary);
}

/* Primary Navigation */
.primary-nav {
    background: var(--bg-primary);
    padding: 16px 0;
}

.nav-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.2;
}

.nav-search {
    flex: 1;
    max-width: 400px;
    display: flex;
    gap: 8px;
}

.nav-search input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
}

.nav-search input:focus {
    outline: none;
    border-color: var(--primary);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
}

.btn-inline {
    padding: 10px 20px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: var(--bg-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 40px 20px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eyebrow {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin: 0;
}

.hero-copy h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0;
}

.lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.support-copy {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

/* Hero Panel */
.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

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

.panel-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.panel-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* AI Assistant Panel */
.ai-assistant {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.02));
}

.ai-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.ai-message {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.ai-message.small {
    font-size: 14px;
}

.ai-subprompt {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.chip {
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.chip:hover {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
    transform: translateY(-1px);
}

.flow-block {
    margin-top: 16px;
}

.flow-block.hidden {
    display: none;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section.muted {
    background: var(--bg-secondary);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.checklist li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-primary);
}

.checklist li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.content-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

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

.content-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.content-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Mentor Card */
.mentor-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.prompt-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.prompt-hints span {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Network Card */
.network-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.network-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.network-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.empty-states {
    margin: 20px 0;
}

.empty-states p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.network-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* Pill Grid */
.pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.pill-lg {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 16px 24px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

/* CTA Panel */
.cta-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.cta-panel.small {
    padding: 24px;
    gap: 24px;
}

.cta-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.cta-list li {
    padding: 8px 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.cta-list li:last-child {
    border-bottom: none;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.final-cta {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.02));
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.price-tag {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

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

.price-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.price-list li:last-child {
    border-bottom: none;
}

.marketing-phrases {
    margin-top: 60px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.marketing-phrases ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.marketing-phrases li {
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-grid a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-option {
    text-align: center;
    padding-top: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

.footer-option a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

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

/* Sign In Modal Styles */
#signInModal .modal-content {
    padding: 40px;
}

.modal-footer-text {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.modal-footer-text a {
    color: var(--primary);
    text-decoration: none;
}

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

.forgot-password {
    display: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.forgot-password h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.forgot-password p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.forgot-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-layout {
        flex-wrap: wrap;
    }

    .nav-search {
        order: 3;
        max-width: 100%;
        width: 100%;
    }

    .nav-links {
        order: 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 28px;
    }

    .cta-panel {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .utility-layout {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .hero-copy h1 {
        font-size: 28px;
    }

    .lead {
        font-size: 16px;
    }

    .section {
        padding: 40px 0;
    }

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

/* Utility Classes */
.hidden {
    display: none !important;
}

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

