* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-color);
    line-height: 1.6;
    overflow: hidden;
}

.presentation-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.presentation-header {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 3rem;
    box-shadow: var(--shadow);
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.presentation-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.slide-counter {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

#currentSlide {
    color: var(--accent-color);
    font-weight: 600;
}

/* Slides Container */
.slides-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.slide {
    background: var(--background);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 4rem;
    max-width: 1200px;
    width: 100%;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    display: none;
    animation: fadeIn 0.5s ease;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide Content */
.slide h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 1rem;
}

.slide h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.slide h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.slide p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.slide ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.slide ul li {
    font-size: 1.1rem;
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
}

.slide ul li::before {
    content: "▸";
    position: absolute;
    left: 0.5rem;
    color: var(--accent-color);
    font-weight: bold;
}

.slide ul ul {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
}

.slide ul ul li {
    font-size: 1rem;
    color: var(--text-light);
}

.slide ul ul li::before {
    content: "◦";
}

/* Pricing Boxes */
.pricing-box {
    background: var(--background-alt);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.pricing-box h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s infinite ease-in-out;
}

.highlight-box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, 30px) rotate(180deg);
    }
}

.highlight-box > * {
    position: relative;
    z-index: 1;
}

.highlight-box h1,
.highlight-box h2,
.highlight-box h3 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Cover Slide */
.cover-slide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.cover-slide::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s infinite ease-in-out;
}

.cover-slide::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s infinite ease-in-out reverse;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.cover-slide > * {
    position: relative;
    z-index: 1;
}

.cover-icon {
    margin: 0 auto 2rem;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cover-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cover-slide h1 {
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: none !important;
    padding: 0 !important;
}

.cover-divider {
    width: 100px;
    height: 4px;
    background: white;
    margin: 2rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.cover-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cover-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cover-feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cover-feature-item svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Thanks Slide */
.thanks-slide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thanks-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: shimmer 15s infinite ease-in-out;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.thanks-slide > * {
    position: relative;
    z-index: 1;
}

.thanks-icon {
    margin-bottom: 2rem;
    animation: heartbeat 2s infinite ease-in-out;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

.thanks-icon svg {
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.thanks-slide h1 {
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: none !important;
    padding: 0 !important;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thanks-divider {
    width: 150px;
    height: 4px;
    background: white;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.thanks-slide p {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Module Image Placeholder */
.module-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.module-image-placeholder:hover {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.module-image-placeholder svg {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.module-image-placeholder span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

/* Navigation Controls */
.navigation-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
}

.nav-btn {
    background: var(--background);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.nav-btn:hover:not(:disabled) {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn svg {
    pointer-events: none;
}

.fullscreen-btn {
    margin-left: 1rem;
}

/* Slide Dots */
.slide-dots {
    display: flex;
    gap: 0.5rem;
    padding: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: var(--text-light);
    transform: scale(1.2);
}

.dot.active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 5px;
}

/* Progress Bar */
.progress-bar {
    height: 4px;
    background: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #667eea);
    transition: width 0.3s ease;
    width: 0%;
}

/* Scrollbar Styling */
.slide::-webkit-scrollbar {
    width: 8px;
}

.slide::-webkit-scrollbar-track {
    background: var(--background-alt);
    border-radius: 4px;
}

.slide::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}

.slide::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .presentation-header {
        padding: 1rem 1.5rem;
    }

    .presentation-title {
        font-size: 1.2rem;
    }

    .slide {
        padding: 2rem;
    }

    .slide h1 {
        font-size: 1.8rem;
    }

    .slide h2 {
        font-size: 1.5rem;
    }

    .slide h3 {
        font-size: 1.3rem;
    }

    .slide p,
    .slide ul li {
        font-size: 1rem;
    }

    .navigation-controls {
        gap: 0.5rem;
        padding: 1rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    .slide-dots {
        display: none;
    }
}

/* Fullscreen Mode */
body.fullscreen-mode {
    cursor: none;
}

body.fullscreen-mode.show-controls {
    cursor: default;
}

body.fullscreen-mode .presentation-header {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

body.fullscreen-mode.show-controls .presentation-header {
    transform: translateY(0);
}

body.fullscreen-mode .navigation-controls {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

body.fullscreen-mode.show-controls .navigation-controls {
    transform: translateY(0);
}

body.fullscreen-mode .progress-bar {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.fullscreen-mode.show-controls .progress-bar {
    opacity: 1;
}

body.fullscreen-mode .slide-counter {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.fullscreen-mode.show-controls .slide-counter {
    opacity: 1;
}

/* Fullscreen slide adjustments */
body.fullscreen-mode .slides-container {
    padding: 4rem 2rem;
}

body.fullscreen-mode .slide {
    max-width: 1400px;
    max-height: calc(100vh - 8rem);
}

/* Print Styles */
@media print {
    .presentation-header,
    .navigation-controls,
    .progress-bar {
        display: none;
    }

    .slide {
        display: block !important;
        page-break-after: always;
        box-shadow: none;
        max-height: none;
    }

    body {
        background: white;
    }
}
