:root {
    --primary: #4f46e5;
    /* Indigo vibrant */
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #06b6d4;
    /* Cyan */
    --accent: #f43f5e;
    /* Rose for highlights */
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.3);
    --bg-dark: #0f172a;
    --bg-gradient: radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(244, 63, 94, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.1) 0px, transparent 50%);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: #94a3b8;
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #020617;
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text);
    overflow: hidden;
}

h1,
h2,
h3,
h4,
.badge-tech {
    font-family: 'Outfit', sans-serif;
}

.presentation-container {
    height: 100vh;
    width: 100vw;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scrollbar-width: none;
}

.presentation-container::-webkit-scrollbar {
    display: none;
}

.slide {
    min-height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem 4rem 4rem;
    /* Increased top padding */
    overflow-y: auto;
    /* Allow internal scroll if needed */
}

.content {
    width: 100%;
    max-width: 1100px;
    z-index: 2;
}

.centered {
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5) blur(2px);
    /* Brightened from 0.3 */
    transition: transform 10s ease-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, #0f172a 90%);
    /* Changed base color to slate */
}

.badge-tech {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    color: #fff;
    box-shadow: 0 10px 30px var(--primary-glow);
    text-transform: uppercase;
}

.glow-text {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 80px var(--primary-glow);
    letter-spacing: -3px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem;
    margin-top: 1.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.border-primary {
    border-left: 5px solid var(--primary);
}

.border-emerald {
    border-left: 5px solid var(--emerald);
}

.border-accent {
    border-left: 5px solid var(--accent);
}

.comparison-table {
    width: 100%;
    margin-top: 3rem;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.comp-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.comp-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.comp-row.head {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.comp-col {
    padding: 1.8rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-col.highlight {
    background: rgba(79, 70, 229, 0.1);
    color: var(--secondary);
    font-weight: 700;
    border-left: 1px solid rgba(79, 70, 229, 0.2);
    border-right: 1px solid rgba(79, 70, 229, 0.2);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    width: 100%;
}

.tech-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

.tech-card:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.tech-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
    text-shadow: 0 0 20px var(--primary-glow);
}

.report-preview {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 2.5rem;
    max-width: 900px;
    margin: 1.5rem auto;
    /* Reduced margin to fit better */
    box-shadow: var(--card-shadow), 0 0 100px rgba(79, 70, 229, 0.1);
}

.report-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.stat .val {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit';
}

.chart-mockup {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 180px;
    /* Reduced height */
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: none;
}

.bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 60px;
    height: 100%;
    justify-content: flex-end;
}

.bar {
    width: 100%;
    border-radius: 12px 12px 4px 4px;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.evidence-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.evidence-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.evidence-item i {
    font-size: 1.4rem;
    color: var(--primary);
}

.dual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .dual-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.5;
}

.custom-list li strong {
    color: var(--text);
    white-space: nowrap;
}

/* AI Mockup Animation */
.ai-mockup {
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.8);
}

.ai-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
    animation: scan 3s infinite ease-in-out;
}

@keyframes scan {

    0%,
    100% {
        top: 0;
    }

    50% {
        top: 100%;
    }
}

.ai-points .pt {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

.evidence-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    text-align: left;
}

.evidence-list li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.evidence-list i {
    color: var(--primary);
    margin-right: 10px;
}

@keyframes grow {
    from {
        height: 0;
    }
}

/* Animations */
.animate-up,
.animate-left,
.animate-right,
.animate-scale {
    opacity: 0;
    transform: translateY(30px);
}

.active-slide .animate-up {
    animation: slideUp 0.8s forwards;
}

.active-slide .animate-left {
    transform: translateX(-50px);
    animation: slideLeft 0.8s forwards;
}

.active-slide .animate-right {
    transform: translateX(50px);
    animation: slideRight 0.8s forwards;
}

.active-slide .animate-scale {
    animation: zoomIn 0.8s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.delay-1 {
    animation-delay: 0.2s !important;
}

.delay-2 {
    animation-delay: 0.4s !important;
}

.delay-3 {
    animation-delay: 0.6s !important;
}

.nav-dots {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary);
}

.controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.controls button {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.controls button:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

@media print {
    .presentation-container {
        overflow: visible;
        height: auto;
    }

    .slide {
        height: 100vh;
        page-break-after: always;
        scroll-snap-align: none;
    }

    .controls,
    .nav-dots {
        display: none;
    }

    .animate-up,
    .animate-left,
    .animate-right,
    .animate-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .glow-text {
        font-size: 3rem;
    }

    .slide {
        padding: 4rem 1.5rem 2rem 1.5rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .roi-val {
        font-size: 2rem !important;
    }

    .stat .val {
        font-size: 1.4rem;
    }

    .dual-grid {
        grid-template-columns: 1fr;
    }

    .comp-col:nth-child(2) {
        display: none;
    }
}