/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ntq-blue: #00AEEF;
    --ntq-dark-blue: #0066CC;
    --ntq-yellow: #FFF2CC;
    --dark-bg: #1e3a5f;
    --darker-bg: #2c5282;
    --light-bg: #f0f4f8;
    --text-light: #ffffff;
    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --accent-cyan: #00e5ff;
    --accent-purple: #9c27b0;
    --accent-green: #4caf50;
    --accent-red: #f44336;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    color: var(--text-dark);
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.slide {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 30px 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #e3f2fd 100%);
    overflow: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 174, 239, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(156, 39, 176, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* ===== FLOATING PARTICLES ===== */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(20px); }
    50% { transform: translateY(-60px) translateX(-10px); }
    75% { transform: translateY(-30px) translateX(-20px); }
}

/* ===== CONTENT CONTAINER ===== */
.content {
    position: relative;
    z-index: 10;
    max-width: 1300px;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: calc(100vh - 120px);
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--ntq-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ntq-blue);
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.tagline {
    font-size: 1.6rem;
    color: var(--ntq-blue);
    font-weight: 400;
    margin-bottom: 18px;
    animation: slideInLeft 0.8s ease-out 0.5s both;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 20px;
}

/* ===== CARDS ===== */
.card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 174, 239, 0.3);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--ntq-blue);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.25);
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--ntq-blue);
}

.card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.card.stagger-1 { animation-delay: 0.1s; }
.card.stagger-2 { animation-delay: 0.2s; }
.card.stagger-3 { animation-delay: 0.3s; }
.card.stagger-4 { animation-delay: 0.4s; }
.card.stagger-5 { animation-delay: 0.5s; }
.card.stagger-6 { animation-delay: 0.6s; }

/* ===== STATS ===== */
.stat-box {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 2px solid var(--ntq-blue);
    animation: zoomIn 0.6s ease-out both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ntq-blue);
    display: block;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ===== LISTS ===== */
.feature-list {
    list-style: none;
    margin-top: 12px;
}

.feature-list li {
    font-size: 0.85rem;
    color: var(--text-gray);
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
    animation: slideInLeft 0.6s ease-out both;
    line-height: 1.4;
}

.feature-list li:nth-child(1) { animation-delay: 0.2s; }
.feature-list li:nth-child(2) { animation-delay: 0.3s; }
.feature-list li:nth-child(3) { animation-delay: 0.4s; }
.feature-list li:nth-child(4) { animation-delay: 0.5s; }
.feature-list li:nth-child(5) { animation-delay: 0.6s; }
.feature-list li:nth-child(6) { animation-delay: 0.7s; }

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--ntq-blue);
    font-size: 1.2rem;
    font-weight: bold;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
    background: rgba(255, 255, 255, 0.95);
    border-left: 4px solid var(--ntq-blue);
    padding: 16px;
    margin: 16px 0;
    border-radius: 8px;
    animation: slideInRight 0.8s ease-out 0.5s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.highlight-box p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
}

/* ===== LOGO ===== */
.logo {
    position: absolute;
    top: 25px;
    left: 40px;
    z-index: 100;
    animation: fadeIn 1s ease-out;
}

.logo img {
    height: 45px;
    width: auto;
}

/* ===== SLIDE NUMBER ===== */
.slide-number {
    position: absolute;
    bottom: 30px;
    right: 50px;
    font-size: 0.9rem;
    color: var(--text-gray);
    z-index: 100;
    animation: fadeIn 1s ease-out 0.8s both;
    font-weight: 600;
}

/* ===== TABLE ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    animation: fadeIn 0.8s ease-out 0.5s both;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

th, td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 174, 239, 0.2);
}

th {
    background: var(--ntq-blue);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

td {
    color: var(--text-gray);
    font-size: 0.8rem;
}

tbody tr:hover {
    background: rgba(0, 174, 239, 0.1);
}

/* ===== GLOW EFFECT ===== */
.glow {
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1600px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .slide { padding: 35px 50px; }
}

@media (max-width: 1200px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
}

/* ===== NO SCROLLBAR - FIT TO SCREEN ===== */
.slide {
    overflow: hidden;
}

.content {
    max-height: calc(100vh - 120px);
}

/* Additional spacing adjustments for dense content */
.content > * {
    margin-top: 0;
}

.content h2 + .subtitle {
    margin-top: 0;
}

.content .grid-2,
.content .grid-3,
.content .grid-4 {
    margin-top: 16px;
}

.content table {
    margin: 12px 0;
}
