/* ========================================
   BeeQueen Support - Styles
   ======================================== */

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

:root {
    /* Sampled from the BeeQueen mark: #752f90 is the logo purple, #211615 its ink,
       and the app icon sits on a warm off-white. */
    --primary-purple: #752f90;
    --dark-purple: #5a2370;
    --light-purple: #a271b8;
    --pale-purple: #f2eaf6;
    --bg-light: #f7f4f2;
    --bg-white: #ffffff;
    --text-primary: #211615;
    --text-secondary: #5f5560;
    --text-light: #766e7c;
    --border-color: #e7e1ea;
    --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: #b42318;
    --warning-orange: #ea580c;
    --info-blue: #0891b2;
    --success-green: #16a34a;
}

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-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--dark-purple);
    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-purple);
    color: var(--bg-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-purple);
    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-purple);
    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-purple);
}

.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-purple);
    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-purple);
    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-purple);
    color: var(--bg-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-purple);
    border-left: 4px solid var(--primary-purple);
    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: #e6f4f7;
    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-purple);
    border: 2px solid var(--primary-purple);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.success-box h3 {
    color: var(--dark-purple);
    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-purple);
    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-purple);
}

.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-purple);
    color: var(--bg-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-purple);
    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-purple);
    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-purple) 0%, #e9dcf0 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-purple);
    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-purple);
    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-purple);
    text-decoration: none;
}

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

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

.help-card {
    background: var(--bg-white);
    border: 2px solid var(--primary-purple);
    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-purple);
    color: var(--bg-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-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ========================================
   LEGAL DOCUMENTS
   ======================================== */

/* .container is a flex item of the flex body, so its width is a cross size that
   resolves against its own content. A definite width pins it to the viewport instead,
   which is what makes a wide .legal-table scroll inside .legal-table-wrap rather than
   stretching the whole page. .container's max-width: 1200px still caps it on desktop. */
.container--legal {
    width: 100%;
    min-width: 0;
}

.legal-doc {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--pale-purple);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legal-meta strong {
    color: var(--text-primary);
}

.legal-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.legal-toc {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}

.legal-toc h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.legal-toc ol {
    margin-left: 1.25rem;
    columns: 2;
    column-gap: 2rem;
}

.legal-toc li {
    margin-bottom: 0.35rem;
    break-inside: avoid;
}

.legal-toc a {
    color: var(--dark-purple);
    text-decoration: none;
}

.legal-toc a:hover {
    text-decoration: underline;
}

.legal-section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 7rem;
}

.legal-section h2 {
    font-size: 1.35rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section h3 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    margin: 0 0 1rem 1.5rem;
}

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

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section a {
    color: var(--dark-purple);
}

.legal-table-wrap {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    min-width: 560px;
}

.legal-table th,
.legal-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-table th {
    background: var(--pale-purple);
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
}

.legal-table td {
    color: var(--text-secondary);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-callout {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-purple);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-callout p:last-child {
    margin-bottom: 0;
}

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

.legal-contact address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-contact a {
    color: var(--dark-purple);
}

@media print {
    .header,
    .breadcrumb,
    .footer,
    .legal-toc {
        display: none;
    }

    .legal-doc {
        border: none;
        box-shadow: none;
        padding: 0;
        max-width: none;
    }
}

/* ========================================
   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(--light-purple);
}

.footer-section a {
    color: var(--light-purple);
    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(--light-purple);
}

/* ========================================
   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) {
    .legal-doc {
        padding: 1.5rem 1.25rem;
    }

    .legal-toc {
        padding: 1.25rem;
    }

    .legal-toc ol {
        columns: 1;
    }

    .legal-contact {
        padding: 1.25rem;
    }


    .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;
    }
}
