:root {
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --accent: #10b981;
    /* Emerald Green */
    --accent-hover: #059669;
    --nav-text: #2d3436;

    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.02);
    --tooltip-bg: rgba(10, 25, 47, 0.6);
    /* Navy Dark Blue with balanced opacity */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Wavy Background */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-light);
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M465.5,568.5Q394,637,364.5,720.5Q335,804,228,846.5Q121,889,95,785Q69,681,39,598Q9,515,64.5,431.5Q120,348,154,260.5Q188,173,284,136.5Q380,100,471,118.5Q562,137,640.5,190Q719,243,747,335Q775,427,620,513.5Q465,600,465.5,568.5Z' fill='%23f1f2f6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    opacity: 0.6;
}

/* Header */
header {
    height: 70px;
    position: sticky;
    top: 0;
    background: rgba(248, 249, 250, 0.82);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
    height: 100%;
}

nav {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin-left: auto; /* Push menu to the right */
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-primary);
}

/* Header Share (Legacy/Optional) */
.header-share {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

@media (max-width: 600px) {
    .share-label {
        display: none;
    }
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 4rem 0 4rem;
    position: relative;
}

.hero-content {
    max-width: 700px;
}

/* Global Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--accent);
}

h1 {
    font-size: 2.2rem;
    font-weight: 800;
}

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero-preview {
    margin-top: 3rem !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25) !important;
}

.hero-tag {
    text-transform: uppercase;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.hero p {
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Showcase Section */
.showcase {
    padding: 2rem 0 6rem;
    background: var(--bg-light);
    position: relative;
    z-index: 2;
}

.showcase .container {
    padding: 0 2rem;
}

.download-card {
    background: linear-gradient(145deg, #ffffff 0%, #fdfdfd 100%);
    padding: 3rem;
    border-radius: 28px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.08);
    /* Faint grey border */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
}

.download-card h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--accent);
    font-weight: 800;
}

.os-compatibility,
.model-compatibility {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.os-compatibility {
    margin-top: 2rem;
}

.os-compatibility svg {
    height: 24px;
    width: auto;
    fill: #00A4EF;
}

.model-compatibility svg {
    height: 24px;
    width: auto;
    fill: #ef1730;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.btn-download:hover {
    background: var(--accent-hover);
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    filter: brightness(1.1);
}

.btn-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-right: 10px;
}

.download-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    line-height: 1.5;
    opacity: 0.8;
}

.btn-manual {
    margin-top: 1rem;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    box-shadow: none;
}

.btn-manual:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
    filter: none;
}

.window-showcase {
    margin-top: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-block {
    line-height: 1.8;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.contact-link:hover {
    color: var(--accent-hover);
    transform: scale(1.02);
}

.contact-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Media Queries for Manual */
/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-white);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 20px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 0.8rem;
}

.features-info {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
}

.app-screenshot {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    cursor: zoom-in;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.app-screenshot:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 45px 80px rgba(0, 0, 0, 0.18);
}

.app-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.app-screenshot:hover .zoom-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.close-lightbox:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.text-center {
    text-align: center;
}

/* Disclaimer Section */
.disclaimer {
    padding: 4rem 0;
    background: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.disclaimer-text p {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 0.85rem;
}

.whatsapp-icon {
    fill: #25D366;
}

.whatsapp-feedback {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.whatsapp-feedback:hover {
    transform: scale(1.05);
    color: var(--accent);
}

.whatsapp-feedback svg {
    width: 32px;
    height: 32px;
}

/* Footer */
footer {
    background: var(--bg-white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer-text {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    /* Manrope */
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

/* ==========================================================================
   Interactive Manual / Hotspot Styles
   ========================================================================== */
.hotspot-container {
    position: relative;
    width: 90%;
    /* Use percentage for fluid centering */
    max-width: 1000px;
    /* Cap at 1000px as per project requirement */
    margin: 0 auto !important;
    /* Absolute mathematical centering */
    display: block;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    line-height: 0;
}

.interface-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* The Yellow Pointer */
.hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #FFD700;
    /* Yellow */
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    z-index: 10;
}

/* Pulsing Dot Center */
.hotspot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@keyframes heartbeat {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.hotspot {
    animation: heartbeat 2s infinite;
}

.hotspot:hover {
    animation: none;
    /* Stop pulsing on hover */
    transform: translate(-50%, -50%) scale(1.2);
    background: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    z-index: 100;
}

/* Tooltip */
.tooltip {
    position: absolute;
    bottom: 35px;
    /* Above the dot */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--tooltip-bg);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 20;
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Arrow */
.tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--tooltip-bg);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    border-right: 1px solid rgba(255, 215, 0, 0.3);
}

.tooltip-title {
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.tooltip-text {
    font-size: 0.85rem;
    color: #ccc;
    margin: 0;
    line-height: 1.5;
}

.hotspot:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Edge Case Alignments */
.hotspot.tooltip-left .tooltip {
    left: -12px;
    transform: translateX(0) translateY(10px);
}

.hotspot.tooltip-left:hover .tooltip {
    transform: translateX(0) translateY(0);
}

.hotspot.tooltip-left .tooltip::before {
    left: 24px;
}

.hotspot.tooltip-right .tooltip {
    left: auto;
    right: -12px;
    transform: translateX(0) translateY(10px);
}

.hotspot.tooltip-right:hover .tooltip {
    transform: translateX(0) translateY(0);
}

.hotspot.tooltip-right .tooltip::before {
    left: auto;
    right: 24px;
}

/* Hardware Requirements Section */
.hardware-requirements {
    padding: 4rem 0 6rem;
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
}

.hardware-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.hardware-info p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.dlc-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.dlc-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.dlc-list li::before {
    content: "";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.hardware-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    background: white;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
    display: block;
}

.gallery-item span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .hardware-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .showcase .container {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hotspot-container {
        margin: 2rem auto !important;
    }

    .window-showcase {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hardware-gallery {
        grid-gap: 1rem;
    }
}

/* Toast Notification */
.toast-notification {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}

.toast-notification.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* ==========================================================================
   User Manual Page Styles
   ========================================================================== */

/* ---- Layout ---- */
.manual-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: start;
    padding: 3rem 0 6rem;
}

/* ---- Sidebar / Table of Contents ---- */
.manual-toc {
    position: sticky;
    top: 80px;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.06);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.manual-toc h3 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
}

.manual-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.manual-toc li {
    margin-bottom: 0.15rem;
}

.manual-toc a {
    display: block;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    line-height: 1.4;
}

.manual-toc a:hover,
.manual-toc a.active {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent);
    font-weight: 600;
}

.toc-chapter {
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    font-size: 0.85rem !important;
    margin-top: 0.5rem;
}

.toc-sub {
    padding-left: 1.5rem !important;
    font-size: 0.78rem !important;
}

/* ---- Main Content ---- */
.manual-content {
    min-width: 0;
}

/* ---- Chapter Sections ---- */
.chapter {
    margin-bottom: 4rem;
    scroll-margin-top: 90px;
}

.chapter-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(16, 185, 129, 0.15);
}

.chapter-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    display: block;
    margin-bottom: 0.25rem;
}

.chapter-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

/* Sub-sections */
.section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 90px;
}

.section h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section ul, .section ol {
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 1rem;
}

.section li {
    margin-bottom: 0.4rem;
}

/* ---- Styled Tables ---- */
.manual-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.9rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.manual-table thead {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
}

.manual-table th {
    padding: 0.85rem 1rem;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    white-space: nowrap;
}

.manual-table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-primary);
    vertical-align: top;
}

.manual-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.manual-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.04);
}

.manual-table.compact td,
.manual-table.compact th {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

/* ---- Callout / Info Box ---- */
.callout {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.callout-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.callout-info {
    background: rgba(16, 185, 129, 0.08);
    border-left: 4px solid var(--accent);
    color: var(--text-primary);
}

.callout-warning {
    background: rgba(245, 166, 35, 0.08);
    border-left: 4px solid #f5a623;
    color: var(--text-primary);
}

.callout-danger {
    background: rgba(235, 77, 75, 0.08);
    border-left: 4px solid #eb4d4b;
    color: var(--text-primary);
}

/* ---- Step Indicators ---- */
.steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2rem;
    min-height: 2.5rem;
}

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.2rem;
    height: 2.2rem;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.steps li > strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.steps li span {
    display: block;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Image Placeholder ---- */
.img-placeholder {
    width: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px dashed #d0d0d0;
    margin: 1.5rem 0;
    min-height: 200px;
    text-align: center;
    padding: 2rem;
}

.img-placeholder.small {
    min-height: 120px;
    max-width: 400px;
}

/* ---- Code / Inline ---- */
.manual-content code {
    background: #f0f0f0;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.88rem;
    font-family: 'Consolas', 'Courier New', monospace;
    color: #d63384;
}

/* ---- Back to Top ---- */
.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: transform 0.2s;
}

.back-to-top:hover {
    transform: translateX(4px);
}

/* ---- Divider ---- */
.manual-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 3rem 0;
}

/* ---- Manual TOC Scrollbar ---- */
.manual-toc::-webkit-scrollbar {
    width: 4px;
}

.manual-toc::-webkit-scrollbar-track {
    background: transparent;
}

.manual-toc::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 4px;
}

/* ---- Manual Responsive ---- */
@media (max-width: 992px) {
    .manual-layout {
        grid-template-columns: 1fr;
    }

    .manual-toc {
        position: static;
        max-height: none;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .chapter-title {
        font-size: 1.3rem;
    }

    .manual-table {
        font-size: 0.8rem;
    }

    .manual-table th,
    .manual-table td {
        padding: 0.5rem 0.6rem;
    }

    .steps li {
        padding-left: 3rem;
    }

    .steps li::before {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.75rem;
    }
}

/* ---- Floating Back-to-Top Button ---- */
.btn-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    z-index: 999;
}

.btn-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-top:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
}

/* DTC Reference Table Toggle */
.dtc-details {
    margin: 1.5rem 0;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dtc-details[open] {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--accent);
}

.dtc-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(16, 185, 129, 0.04);
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none; /* Hide default arrow in Chrome */
    user-select: none;
    transition: background 0.2s;
}

.dtc-summary::-webkit-details-marker {
    display: none; /* Hide default arrow in Safari */
}

.dtc-summary:hover {
    background: rgba(16, 185, 129, 0.08);
}

.dtc-summary::after {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.dtc-details[open] .dtc-summary::after {
    transform: rotate(180deg);
}

.dtc-content {
    padding: 0 1rem 1rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Autoplay Demo Video Showcase */
.showcase-video-container {
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
}

.video-frame {
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #000;
    line-height: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.12);
}

.showcase-video {
    width: 100%;
    height: auto;
    display: block;
}