* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-900: #eef7ff;
    --bg-800: #ffffff;
    --surface: #ffffff;
    --surface-2: #f0fbff;
    --line: #9ed8e8;
    --accent: #ff7f50;
    --accent-soft: #0084b8;
    --text-main: #104864;
    --text-muted: #2f6a83;
    --text-dark: #ffffff;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background:
        radial-gradient(circle at 8% 14%, rgba(255, 194, 102, 0.45) 0%, transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(108, 225, 255, 0.45) 0%, transparent 30%),
        linear-gradient(135deg, #f2fbff 0%, #fff8ee 45%, #f5fff5 100%);
    color: var(--text-main);
    overflow-x: hidden;
}

.deck {
    position: relative;
    width: 100%;
    height: 100vh;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.6rem 2.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.55s ease, opacity 0.55s ease;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.9) 0%, rgba(239, 251, 255, 0.96) 55%, rgba(253, 247, 236, 0.94) 100%);
    border: 1px solid rgba(158, 216, 232, 0.45);
    overflow-y: auto;
    padding-bottom: 4.5rem;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 3;
}

.slide.prev {
    transform: translateX(-100%);
}

.slide:not(.active) {
    pointer-events: none;
}

.hero-slide {
    justify-content: center;
    background-image: linear-gradient(110deg, rgba(255, 244, 222, 0.88), rgba(227, 250, 255, 0.84)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 127, 80, 0.12) 0,
        rgba(255, 127, 80, 0.12) 2px,
        transparent 2px,
        transparent 24px
    );
    pointer-events: none;
}

.slide-content {
    width: min(1180px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.slide-content.center {
    text-align: center;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-soft);
    font-size: 0.84rem;
    margin-bottom: 0.75rem;
}

.title-main,
.slide-title {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.14;
}

.title-main {
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    font-weight: 800;
    max-width: 850px;
}

.slide-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin-top: 0.45rem;
    margin-bottom: 0.7rem;
}

.subtitle {
    color: var(--text-muted);
    font-size: clamp(1rem, 2.4vw, 1.28rem);
    max-width: 900px;
}

.meta-line {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    margin-bottom: 1.8rem;
}

.meta-line span {
    background: rgba(255, 127, 80, 0.12);
    border: 1px solid rgba(255, 127, 80, 0.35);
    color: #cc5d35;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.88rem;
}

.btn-primary,
.btn-ghost {
    border: none;
    cursor: pointer;
    border-radius: 12px;
    padding: 0.72rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #ff7f50, #ffb347);
    color: var(--text-dark);
    box-shadow: 0 10px 20px rgba(255, 127, 80, 0.28);
}

.btn-primary:hover,
.btn-ghost:hover {
    transform: translateY(-1px);
}

.btn-ghost {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.75);
    color: #0d7ca8;
    border: 1px solid #89d5ea;
}

.btn-link {
    display: inline-block;
    text-decoration: none;
    margin-top: 0.95rem;
}

.final-exam-share {
    margin: 1rem auto 0;
    max-width: 360px;
    border: 1px solid #9ed8e8;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    padding: 0.75rem;
    display: grid;
    gap: 0.42rem;
}

.final-exam-share h3 {
    font-family: 'Montserrat', sans-serif;
    color: #0c6f97;
    font-size: 0.95rem;
}

#finalExamQr {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border: 1px solid #b6e2ee;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.2rem;
}

.final-exam-share label {
    margin-bottom: 0;
    color: #2f6a83;
    font-size: 0.9rem;
    text-align: left;
}

.final-share-link {
    margin-bottom: 0;
    width: 100%;
    border: 1px solid #b6e2ee;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    font-size: 0.92rem;
    color: #2f6a83;
}

#copyFinalExamLinkBtn {
    justify-self: center;
}

.split-grid,
.triple-grid,
.metrics-grid {
    display: grid;
    gap: 0.8rem;
}

.split-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.triple-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.metrics-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.card,
.metric-card,
.detail-item,
.timeline-item {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(237, 252, 255, 0.94));
    border: 1px solid #9ed8e8;
    border-radius: 14px;
    padding: 1rem;
    min-height: 145px;
}

.card h3,
.metric-card h3,
.detail-item h3 {
    font-family: 'Montserrat', sans-serif;
    color: #00719b;
    margin-bottom: 0.38rem;
    font-size: 1.02rem;
}

.card p,
.metric-card p,
.detail-item p,
.timeline-item {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.small-note {
    font-size: 0.83rem;
    margin-top: 0.42rem;
    color: #338db3;
}

.slide-photo {
    width: min(1000px, 100%);
    max-height: 260px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
    margin-top: 0.5rem;
}

.table-layout {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.table-layout.compact {
    margin-bottom: 0.4rem;
}

.storage-slide .storage-table {
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid #7ccce4;
    box-shadow: 0 8px 20px rgba(92, 170, 196, 0.18);
}

.storage-slide .storage-table .row {
    color: #1b5f79;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(240, 251, 255, 0.9);
}

.storage-slide .storage-table .row.header {
    color: #0d5a79;
    background: linear-gradient(90deg, rgba(255, 179, 71, 0.42), rgba(108, 225, 255, 0.42));
}

.storage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 0.75rem;
}

.storage-card {
    min-height: 130px;
    opacity: 0;
    transform: translateY(12px);
}

.storage-speed {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(108, 225, 255, 0.25);
    color: #0a6f95;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.storage-slide.active .storage-card {
    animation: fadeInUp 0.45s ease-out forwards;
}

.storage-slide.active .storage-card:nth-child(1) { animation-delay: 0.05s; }
.storage-slide.active .storage-card:nth-child(2) { animation-delay: 0.12s; }
.storage-slide.active .storage-card:nth-child(3) { animation-delay: 0.19s; }
.storage-slide.active .storage-card:nth-child(4) { animation-delay: 0.26s; }

.row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 0.6rem;
    padding: 0.64rem 0.8rem;
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(137, 213, 234, 0.9);
    font-size: 0.91rem;
    color: var(--text-muted);
}

.row.header {
    background: linear-gradient(90deg, rgba(255, 179, 71, 0.35), rgba(108, 225, 255, 0.3));
    color: #0c678d;
    font-weight: 700;
}

.timeline {
    display: grid;
    gap: 0.6rem;
}

.evo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    gap: 0.7rem;
}

.evo-item {
    min-height: 110px;
    padding: 0.8rem;
    opacity: 0;
    transform: translateY(12px);
}

.evo-year {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(90deg, #ff7f50, #ffb347);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.45rem;
}

.evolution-slide.active .evo-item {
    animation: fadeInUp 0.45s ease-out forwards;
}

.evolution-slide.active .evo-item:nth-child(1) { animation-delay: 0.05s; }
.evolution-slide.active .evo-item:nth-child(2) { animation-delay: 0.12s; }
.evolution-slide.active .evo-item:nth-child(3) { animation-delay: 0.19s; }
.evolution-slide.active .evo-item:nth-child(4) { animation-delay: 0.26s; }
.evolution-slide.active .evo-item:nth-child(5) { animation-delay: 0.33s; }

.detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.navigation {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
}

.slide-counter {
    color: #0b7ba6;
    font-weight: 700;
    font-size: 0.9rem;
}

.presentation-progress {
    position: fixed;
    left: 50%;
    bottom: 0.7rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    z-index: 20;
}

.navigation-dots {
    display: flex;
    gap: 0.35rem;
}

.progress-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0a7098;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid #9ed8e8;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.dot {
    width: 22px;
    height: 8px;
    border-radius: 3px;
    border: 1px solid rgba(0, 132, 184, 0.45);
    background: rgba(0, 132, 184, 0.18);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.dot.done {
    background: rgba(87, 217, 163, 0.95);
    border-color: rgba(87, 217, 163, 1);
}

.dot.active {
    background: #ff7f50;
    border-color: #ff7f50;
    transform: scaleY(1.22);
}

.dot:hover {
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .presentation-progress {
        left: auto;
        right: 0.7rem;
        transform: none;
        align-items: flex-end;
    }

    .navigation-dots {
        max-width: 180px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

.navigation-dots {
    display: flex;
    gap: 0.35rem;
}

.chart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.75rem 0.9rem;
    border: 1px solid #9ed8e8;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
}

.dashboard-slide {
    gap: 0.7rem;
}

.dashboard-slide .slide-title {
    margin-bottom: 0.2rem;
}

.dashboard-slide .subtitle {
    font-size: 0.98rem;
    max-width: 100%;
}

.dashboard-slide .chart-controls {
    padding: 0.55rem 0.75rem;
    gap: 0.7rem;
}

.profile-controls {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.85);
    color: #2f6a83;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
}

.filter-btn.active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(90deg, #ff7f50, #ffb347);
}

.range-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    min-width: min(240px, 100%);
}

.range-wrap strong {
    color: #0077a8;
}

.range-wrap input {
    width: 100%;
    accent-color: #2bc4ff;
}

.charts-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0.7rem;
}

.chart-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(236, 252, 255, 0.94));
    border: 1px solid #9ed8e8;
    border-radius: 14px;
    padding: 0.7rem 0.8rem;
}

.chart-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #00719b;
    margin-bottom: 0.55rem;
    font-size: 1rem;
}

.chart-card canvas {
    width: 100%;
    height: 220px;
}

.dashboard-slide .chart-card canvas {
    height: clamp(170px, 22vh, 220px);
}

.item-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.item-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, #6ce1ff, #ffb347);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(75, 150, 170, 0.28);
}

.mini-meter {
    margin-top: 0.8rem;
    background: #eaf9ff;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.mini-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff7f50, #f6c85f, #6ce1ff);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 0.85rem;
}

.kpi-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(236, 252, 255, 0.95));
    border: 1px solid #9ed8e8;
    border-radius: 14px;
    padding: 1rem;
}

.kpi-label {
    font-weight: 700;
    color: #0b759f;
    font-size: 0.95rem;
}

.kpi-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #ff7f50;
    margin: 0.3rem 0;
}

.kpi-note {
    color: #2f6a83;
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .slide {
        padding: 1.2rem;
        overflow-y: auto;
    }

    .split-grid,
    .triple-grid,
    .metrics-grid,
    .detail-list {
        grid-template-columns: 1fr;
    }

    .evo-grid {
        grid-template-columns: 1fr;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .slide-photo {
        max-height: 210px;
    }

    .navigation {
        gap: 0.7rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }

    .chart-card canvas {
        height: 180px;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .storage-grid {
        grid-template-columns: 1fr;
    }
}

.rw-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.rw-card h3 {
    color: #667eea;
    font-size: 22px;
    margin: 15px 0;
}

.rw-card p {
    color: #666;
    font-size: 15px;
    margin: 8px 0;
}

.rw-card .note {
    background: #f5f7fa;
    padding: 10px;
    border-left: 4px solid #667eea;
    margin-top: 15px;
    color: #667eea;
    font-weight: bold;
}

/* SPECS CONTAINER */
.specs-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.spec-item {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

.spec-item:nth-child(2) {
    animation-delay: 0.1s;
}

.spec-item:nth-child(3) {
    animation-delay: 0.2s;
}

.spec-icon {
    font-size: 50px;
    min-width: 70px;
}

.spec-item h3 {
    color: #667eea;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.spec-item p {
    color: #666;
    font-size: 15px;
    text-align: left;
    margin: 8px 0;
}

.spec-bar {
    width: 100%;
    background: #f5f7fa;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.spec-fill {
    height: 25px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.spec-bar span {
    display: block;
    color: #667eea;
    font-weight: bold;
    margin-top: 8px;
    font-size: 14px;
}

/* BENEFITS */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.benefit-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    border-left: 5px solid #667eea;
}

.benefit-box:nth-child(2) {
    animation-delay: 0.1s;
}

.benefit-box:nth-child(3) {
    animation-delay: 0.2s;
}

.benefit-box:nth-child(4) {
    animation-delay: 0.3s;
}

.benefit-box h3 {
    color: #667eea;
    font-size: 22px;
    margin: 15px 0;
}

.benefit-box p {
    color: #666;
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.6;
}

/* PRINTER GRID */
.printer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    width: 100%;
}

.printer-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.printer-card:nth-child(2) {
    animation-delay: 0.1s;
}

.printer-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.printer-card h3 {
    color: #667eea;
    font-size: 22px;
    margin: 15px 0;
}

.printer-card h4 {
    color: #764ba2;
    font-size: 16px;
    margin-top: 15px;
    text-align: left;
}

.printer-card ul {
    text-align: left;
    list-style: none;
    margin: 10px 0;
}

.printer-card li {
    color: #666;
    padding: 5px 0;
    font-size: 15px;
}

.printer-card p {
    text-align: left;
    color: #666;
    font-size: 15px;
    margin: 10px 0;
    background: #f5f7fa;
    padding: 10px;
    border-radius: 8px;
}

/* SECURITY */
.security-content {
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.security-reasons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    background: #f5f7fa;
    padding: 20px;
    border-radius: 15px;
}

.security-reasons p {
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.protection-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.protection-num {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    opacity: 0.5;
}

.protection-item h4 {
    font-size: 18px;
    margin: 10px 0;
}

.protection-item p {
    font-size: 14px;
}

/* PERIPHERALS */
.peripherals-section {
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out;
}

.section-subtitle {
    color: #667eea;
    font-size: 22px;
    margin: 20px 0;
    font-weight: bold;
}

.peripherals-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.peripheral-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.peripheral-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* TIMELINE */
.history-timeline {
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out;
    max-height: 80vh;
    overflow-y: auto;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: #f5f7fa;
    border-left: 5px solid #667eea;
    border-radius: 10px;
    animation: slideInLeft 0.6s ease-out forwards;
    opacity: 0;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.3s;
}

.timeline-date {
    font-weight: bold;
    color: #667eea;
    font-size: 18px;
    min-width: 100px;
}

.timeline-content h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #666;
    font-size: 15px;
}

/* COMPARISON TABLE */
.comparison-table {
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.comp-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #f0f0f0;
}

.comp-row.header-row {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
}

.comp-cell {
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.comp-row:hover {
    background: #f9f9f9;
}

/* BUTTONS */
.btn-back,
.btn-next {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: absolute;
}

.btn-back {
    top: 20px;
    left: 20px;
    z-index: 20;
}

.btn-next {
    bottom: auto;
}

.btn-back:hover,
.btn-next:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: #f5f7fa;
}

/* NAVIGATION */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    gap: 20px;
}

.slide-counter {
    background: white;
    color: #667eea;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navigation-dots {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* FINAL SLIDE */
.slide-final {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.final-content {
    text-align: center;
    animation: zoomIn 0.8s ease-out;
}

.final-title {
    font-size: 70px;
    color: white;
    text-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
    animation: slideInDown 0.8s ease-out;
}

.final-text {
    font-size: 24px;
    color: white;
    margin: 20px 0;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.celebration-emoji {
    font-size: 80px;
    animation: bounce 1.5s ease-in-out infinite;
    margin: 30px 0;
}

.btn-certificate {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 18px 50px;
    font-size: 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: bold;
    animation: slideInUp 0.8s ease-out 0.6s both;
    margin-top: 30px;
}

.btn-certificate:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ANIMATIONS */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .title-main {
        font-size: 48px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-animated {
        font-size: 50px;
        gap: 10px;
    }
    
    .btn-back {
        padding: 10px 20px;
        font-size: 14px;
    }
}
