/* === CSS Variables === */
:root {
    --primary: #1a5c3a;
    --primary-dark: #0d3d25;
    --primary-light: #2d8a55;
    --secondary: #1e3a5f;
    --secondary-light: #2c5282;
    --accent: #38a169;
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --success: #48bb78;
    --warning: #ed8936;
    --info: #4299e1;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    padding-left: 1.5rem;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 92, 58, 0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    padding: 8rem 2rem 5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 400px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

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

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

/* === Main Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === Sections === */
.section {
    padding: 5rem 0;
}

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

.section-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-medium);
}

/* === Feature Grid === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-card.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.feature-card.highlight h3 {
    color: white;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.feature-card.highlight .feature-list li::before {
    color: rgba(255,255,255,0.9);
}

/* === QR Code Download === */
.qr-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0 1rem;
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 2px solid var(--border-color, #e2e8f0);
    display: block;
}

.qr-label {
    font-size: 0.8rem;
    color: var(--text-muted, #64748b);
    text-align: center;
    max-width: 220px;
    line-height: 1.4;
    margin: 0;
}

/* === Download Buttons === */
.download-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    color: white;
    flex: 1;
    min-width: 180px;
}

.download-btn:hover {
    background: rgba(255,255,255,0.25);
    color: white;
}

.download-btn svg {
    width: 28px;
    height: 28px;
}

.download-btn small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.download-btn span {
    font-weight: 600;
    font-size: 1rem;
}

/* === Note Boxes === */
.note-box {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    font-size: 0.9rem;
}

.note-box.info {
    background: rgba(66, 153, 225, 0.15);
    border-left: 4px solid var(--info);
    color: var(--text-dark);
}

.note-box.warning {
    background: rgba(237, 137, 54, 0.15);
    border-left: 4px solid var(--warning);
}

.note-box.tip {
    background: rgba(72, 187, 120, 0.15);
    border-left: 4px solid var(--success);
}

.feature-card.highlight .note-box {
    background: rgba(255,255,255,0.15);
    border-left-color: rgba(255,255,255,0.5);
    color: white;
}

/* === Steps Container === */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

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

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.instruction-list {
    margin: 1rem 0;
}

.instruction-list li {
    margin-bottom: 0.5rem;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 0.35rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.check-list li::before {
    content: '☐';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* === Contact Card === */
.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    color: white;
}

.contact-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info a {
    color: rgba(255,255,255,0.9);
}

.contact-info a:hover {
    color: white;
}

/* === Content Grid === */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 1.5rem;
}

.content-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.content-card.full-width {
    grid-column: 1 / -1;
}

.content-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

/* === Control Grid === */
.control-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.control-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    text-align: center;
}

.control-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.control-grid.compact .control-item {
    flex-direction: column;
    align-items: center;
}

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

.control-item p {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin: 0;
}

.control-item strong {
    display: block;
    font-size: 0.9rem;
}

/* === Quality Table === */
.quality-table {
    margin: 1rem 0;
}

.quality-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.quality-row:last-child {
    border-bottom: none;
}

.quality-label {
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 80px;
    text-align: center;
    color: white;
}

.quality-label.low {
    background: var(--success);
}

.quality-label.medium {
    background: var(--warning);
}

.quality-label.high {
    background: var(--info);
}

.quality-desc {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* === Timeline Guide === */
.color-legend {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.color-legend li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
}

.legend-color {
    width: 20px;
    height: 8px;
    border-radius: 4px;
}

.legend-color.blue {
    background: #3498db;
}

.legend-color.orange {
    background: #e67e22;
}

.legend-color.gray {
    background: #bdc3c7;
}

.gesture-tips {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.gesture {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    flex: 1;
    min-width: 100px;
}

.gesture span {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gesture p {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin: 0;
}

/* === Accordion === */
.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    fill: var(--text-medium);
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
}

.accordion-content > * {
    padding: 0 1.5rem;
}

.accordion-content > *:first-child {
    padding-top: 0;
}

.accordion-content > *:last-child {
    padding-bottom: 1.5rem;
}

.accordion-content h4 {
    margin: 1.25rem 0 0.75rem;
    color: var(--primary);
}

/* === Layout Options === */
.layout-options {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

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

.layout-grid {
    width: 60px;
    height: 60px;
    display: grid;
    gap: 2px;
    padding: 4px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.layout-grid div {
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
}

.layout-grid.l1 {
    grid-template-columns: 1fr;
}

.layout-grid.l4 {
    grid-template-columns: repeat(2, 1fr);
}

.layout-grid.l9 {
    grid-template-columns: repeat(3, 1fr);
}

.layout-grid.l16 {
    grid-template-columns: repeat(4, 1fr);
}

.layout-option span {
    font-size: 0.85rem;
    color: var(--text-medium);
}

/* === Troubleshoot Grid === */
.troubleshoot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}

.troubleshoot-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--warning);
}

.troubleshoot-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.troubleshoot-card ul {
    padding-left: 1.25rem;
    color: var(--text-medium);
}

.troubleshoot-card li {
    margin-bottom: 0.35rem;
}

/* === Support Section === */
.support-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
}

.support-logo {
    max-width: 200px;
}

.support-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.support-content p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.support-link span {
    font-size: 1.25rem;
}

/* === Footer === */
.footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    width: 60px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-note {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    .hero-logo {
        max-width: 280px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

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

    .feature-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-btn {
        justify-content: center;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .support-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .support-logo {
        max-width: 150px;
    }

    .gesture-tips {
        flex-direction: column;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .feature-card,
    .content-card {
        padding: 1.5rem;
    }

    .accordion-header {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    /* Slideshow: stack image above info on tablet */
    .slide-layout {
        flex-direction: column;
        align-items: center;
    }

    .slide-col-info {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .slide-step-badge { align-self: center; }

    .slide-image-wrap {
        width: min(260px, 60vw);
    }

    .qr-code {
        width: 160px;
        height: 160px;
    }

    .qr-label {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-logo {
        max-width: 200px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .feature-card,
    .content-card {
        padding: 1.25rem;
    }

    .support-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .accordion-header {
        padding: 0.875rem 1rem;
    }

    .layout-options {
        gap: 1rem;
    }

    .layout-grid {
        width: 50px;
        height: 50px;
    }

    .slide-image-wrap {
        width: min(200px, 55vw);
    }

    .slide-title {
        font-size: 1.1rem;
    }

    .phase-sep { display: none; }

    .slideshow-phase-bar {
        gap: 0.3rem;
        row-gap: 0.4rem;
    }

    .phase-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.55rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .slide-alert {
        font-size: 0.85rem;
        padding: 0.875rem 1rem;
    }

    .slide-numbers {
        gap: 0.3rem;
    }

    .slide-num-btn {
        font-size: 0.7rem;
    }
}

/* === Photo Slideshow === */
.photo-slideshow {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Phase breadcrumb */
.slideshow-phase-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.phase-tag {
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
}
.phase-tag.active { opacity: 1; transform: scale(1.06); }
.phase-sep { color: #94a3b8; font-size: 0.85rem; }
.phase-install { background: #1a5c3a; }
.phase-launch  { background: #1e3a5f; }
.phase-account { background: #6d28d9; }
.phase-access  { background: #0369a1; }

/* Two-column layout: image left, info right */
.slide-layout {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    width: 100%;
}

/* Left column: phone image only */
.slide-col-img {
    flex-shrink: 0;
}

/* Bottom controls row: ‹ [number grid] › */
.slide-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slide-nav {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    user-select: none;
}
.slide-nav:hover    { background: #f1f5f9; border-color: #94a3b8; color: #1e293b; }
.slide-nav:disabled { opacity: 0.25; cursor: default; }

.slide-image-wrap {
    width: 260px;
    aspect-ratio: 9 / 19.5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    background: #0f172a;
    flex-shrink: 0;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}
.slide-img.fading { opacity: 0; }

/* Right column: all text content */
.slide-col-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.slide-step-badge {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    width: fit-content;
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.slide-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.slide-alert {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #78350f;
    line-height: 1.6;
}
.slide-alert.hidden { display: none; }

/* Progress bar */
.slideshow-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease, background 0.3s ease;
}

.progress-label {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
    min-width: 3rem;
    text-align: right;
}

/* Number grid — 3 rows × 9, inside .slide-controls */
.slide-numbers {
    display: grid;
    grid-template-columns: repeat(9, auto);
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
}

.slide-num-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    padding: 0;
    line-height: 1;
}
.slide-num-btn:hover  { background: #f1f5f9; border-color: #94a3b8; color: #1e293b; }
.slide-num-btn.active { color: #fff; border-color: transparent; }

/* === Print Styles === */
@media print {
    .navbar,
    .hero-cta,
    .download-buttons,
    .nav-toggle {
        display: none;
    }

    .hero {
        padding: 2rem;
        color: black;
        background: none;
    }

    .section {
        page-break-inside: avoid;
    }

    .accordion-content {
        max-height: none !important;
    }
}
