/* ========================================
   BeeThere Ambassador Support - Styles
   ======================================== */

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

:root {
    --primary-green: #4ade80;
    --dark-green: #22c55e;
    --light-green: #86efac;
    --pale-green: #dcfce7;
    --bg-light: #f8faf9;
    --bg-white: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 12px -1px rgb(0 0 0 / 0.12);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --error-red: #ef4444;
    --warning-orange: #f59e0b;
    --info-blue: #3b82f6;
    --success-green: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   HEADER
   ======================================== */

.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.header-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.header-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   BREADCRUMB
   ======================================== */

.breadcrumb {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
}

.container-narrow {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--text-light);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    flex: 1;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* ========================================
   CONTACT CARD
   ======================================== */

.contact-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 3rem;
}

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

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-green);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.email-link:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   QUICK LINKS GRID
   ======================================== */

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.quick-link-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-align: center;
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.quick-link-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.quick-link-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ========================================
   POPULAR TOPICS
   ======================================== */

.popular-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.topic-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-white);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.topic-link:hover {
    background: var(--pale-green);
    transform: translateX(4px);
}

.topic-icon {
    font-size: 1.5rem;
}

/* ========================================
   SECTION
   ======================================== */

.section {
    margin-bottom: 3rem;
}

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

/* ========================================
   FAQ
   ======================================== */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-green);
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: var(--bg-white);
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: transform 0.3s ease;
    font-weight: 300;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.faq-answer strong {
    color: var(--text-primary);
}

/* ========================================
   SOLUTION STEPS & HOW-TO
   ======================================== */

.solution-steps,
.how-to {
    background: var(--pale-green);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.solution-steps h4,
.how-to h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.solution-steps ol,
.solution-steps ul,
.how-to ol,
.how-to ul {
    margin-left: 1.5rem;
}

.solution-steps li,
.how-to li {
    margin-bottom: 0.5rem;
}

.sub-features {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
}

/* ========================================
   GUIDE STEPS
   ======================================== */

.guide-container {
    max-width: 900px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.step-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ========================================
   INFO BOXES
   ======================================== */

.info-box {
    background: var(--pale-green);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.info-box.warning {
    background: #fef3c7;
    border-left-color: var(--warning-orange);
}

.info-box strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.info-box li {
    margin-bottom: 0.25rem;
}

.tip-box {
    background: #dbeafe;
    border-left: 4px solid var(--info-blue);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    color: var(--text-primary);
}

.success-box {
    background: var(--pale-green);
    border: 2px solid var(--primary-green);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.success-box h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
}

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

/* ========================================
   CHECKLIST
   ======================================== */

.checklist {
    margin-top: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.checklist-item .check {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ========================================
   TIPS GRID
   ======================================== */

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

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

.tip-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tip-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   VERSION HISTORY
   ======================================== */

.version-container {
    max-width: 900px;
    margin: 0 auto;
}

.version-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-green);
}

.version-card.current-version {
    border-left-width: 6px;
    box-shadow: var(--shadow-lg);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.version-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.version-date {
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.version-badge {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-badge.platform {
    background: var(--text-secondary);
}

.version-description {
    margin-bottom: 2rem;
}

.version-description p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.features-section {
    margin-bottom: 2rem;
}

.features-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.version-features {
    list-style: none;
}

.version-features > li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.8;
}

.version-features > li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.25rem;
}

.version-features > li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.version-requirements {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.version-requirements h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.requirement-item {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 8px;
}

.requirement-item strong {
    display: block;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.requirement-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

/* ========================================
   FUTURE RELEASES & ROADMAP
   ======================================== */

.future-releases {
    background: linear-gradient(135deg, var(--pale-green) 0%, #e0f2fe 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.future-releases h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.future-releases > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.roadmap-items {
    display: grid;
    gap: 1rem;
}

.roadmap-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: start;
}

.roadmap-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.roadmap-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.roadmap-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   UPDATE GUIDE
   ======================================== */

.update-guide {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.update-guide h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.update-platform h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.update-platform ol {
    margin-left: 1.5rem;
}

.update-platform li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.update-tip {
    background: var(--pale-green);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: var(--text-primary);
}

/* ========================================
   VERSION SUPPORT
   ======================================== */

.version-support {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.version-support h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.version-support p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.version-support ul {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.version-support li {
    margin-bottom: 0.5rem;
}

.version-support a {
    color: var(--primary-green);
    text-decoration: none;
}

.version-support a:hover {
    text-decoration: underline;
}

/* ========================================
   HELP CARD
   ======================================== */

.help-card {
    background: var(--bg-white);
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
}

.help-card.error {
    border-color: var(--error-red);
}

.help-card.success {
    border-color: var(--success-green);
}

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

.help-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.support-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.support-info ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.support-info li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.feedback-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-block;
    background: var(--bg-white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--pale-green);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 2rem 1.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 0.5rem;
}

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

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-text h1 {
        font-size: 1.25rem;
    }

    .header-text p {
        font-size: 0.85rem;
    }

    .logo {
        height: 40px;
    }

    .breadcrumb {
        padding: 0.75rem 1rem;
    }

    .hero h2,
    .page-header h1 {
        font-size: 1.875rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .guide-step {
        flex-direction: column;
        gap: 1.5rem;
    }

    .quick-links-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .update-instructions {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .email-link {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .feedback-options {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h2,
    .page-header h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}
