* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #000;
    color: #fff;
}

/* BACK BUTTON */
.back-btn {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 999;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.back-btn:hover {
    background: rgba(14, 165, 233, 0.15);
    transform: translateX(-4px);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

/* MAIN CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px 60px;
}

/* HERO SECTION */
.hero-section {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 80px;
    position: relative;
    padding: 60px;
    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.1), transparent);
    border-radius: 16px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
}

.hero-content h3 {
    font-size: 24px;
    font-weight: 400;
    color: #38bdf8;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
    letter-spacing: 1px;
}

/* PROJECT SECTION */
.project-section {
    margin-bottom: 80px;
}

.project-section h2 {
    font-size: 48px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card {
    padding: 40px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(34, 211, 238, 0.05));
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.project-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.project-tagline {
    font-size: 18px;
    color: #22d3ee;
    font-weight: 500;
}

/* PROBLEM & SOLUTION */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.problem-box, .solution-box {
    padding: 40px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.problem-box:hover, .solution-box:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.6);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.2);
}

.problem-box h3, .solution-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #22d3ee;
}

.problem-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #b0b0b0;
}

.solution-box ul {
    list-style: none;
    margin: 0;
}

.solution-box li {
    font-size: 16px;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.solution-box li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #0ea5e9;
    font-weight: bold;
}

.solution-box strong {
    color: #22d3ee;
}

/* TECH STACK SECTION */
.tech-section {
    margin-bottom: 80px;
}

.tech-section h2 {
    font-size: 48px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #0ea5e9, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tech-item {
    padding: 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(56, 189, 248, 0.08));
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #22d3ee;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.15));
    border-color: rgba(14, 165, 233, 0.6);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.25);
}

/* VISUALS SECTION */
.visuals-section {
    margin-bottom: 80px;
}

.visuals-section h2 {
    font-size: 48px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visuals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.visual-item {
    text-align: center;
    transition: all 0.3s ease;
}

.visual-item p {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #22d3ee;
}

.visual-image {
    width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.visual-image:hover {
    transform: scale(1.05);
    border-color: rgba(14, 165, 233, 0.6);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.3);
}

/* DEMO SECTION */
.demo-section {
    margin-bottom: 80px;
    padding: 60px;
    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.08), transparent);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.demo-section h2 {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-section p {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 30px;
}

.research-video {
    width: 100%;
    max-height: 600px;
    border-radius: 12px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    background: #000;
}

/* PUBLICATION SECTION */
.publication-section {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.05));
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 16px;
}

.publication-section h2 {
    font-size: 48px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pub-link {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(56, 189, 248, 0.1));
    border: 2px solid rgba(14, 165, 233, 0.4);
    border-radius: 10px;
    color: #22d3ee;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.pub-link:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(56, 189, 248, 0.15));
    border-color: rgba(14, 165, 233, 0.8);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
}

/* SLIDESHOW SECTION */
.slideshow-section {
    margin-bottom: 80px;
    padding: 60px;
    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.08), transparent);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.slideshow-section h2 {
    font-size: 48px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
    background: #000;
    border-radius: 12px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.25);
}

.slide {
    display: none;
    width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background: #000;
}

.slide.fade {
    animation: fadeInSlide 0.8s ease-in-out;
}

@keyframes fadeInSlide {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 400px;
    object-fit: cover;
}

/* NAVIGATION ARROWS */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    margin-top: -25px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.2);
    border: 2px solid rgba(14, 165, 233, 0.4);
    z-index: 10;
    user-select: none;
}

.prev:hover, .next:hover {
    background: rgba(14, 165, 233, 0.4);
    border-color: rgba(14, 165, 233, 0.8);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
    transform: scale(1.1);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.prev::before {
    content: '‹';
}

.next::before {
    content: '›';
}

/* DOTS INDICATOR */
.dots {
    text-align: center;
    padding: 20px 0;
    background: rgba(14, 165, 233, 0.05);
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 8px;
    background-color: rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.5);
    box-shadow: 0 0 5px rgba(14, 165, 233, 0.1);
}

.dot.active {
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    width: 32px;
    border-radius: 6px;
    border-color: rgba(14, 165, 233, 0.8);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6), inset 0 0 10px rgba(14, 165, 233, 0.3);
}

.dot:hover {
    background-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
    transform: scale(1.2);
}

/* AUTO-PLAY INDICATOR */
.slideshow-container::after {
    content: '⏵ Auto-playing';
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 12px;
    color: rgba(34, 211, 238, 0.7);
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    backdrop-filter: blur(5px);
    z-index: 5;
}

.slideshow-container:hover::after {
    content: '⏸ Paused';
    color: rgba(251, 146, 60, 0.7);
    border-color: rgba(251, 146, 60, 0.3);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .container {
        padding: 80px 30px 40px;
    }

    .problem-solution {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 80px 20px 40px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content h3 {
        font-size: 18px;
    }

    .project-section h2,
    .tech-section h2,
    .visuals-section h2,
    .demo-section h2,
    .publication-section h2,
    .slideshow-section h2 {
        font-size: 36px;
    }

    .project-card {
        padding: 30px;
    }

    .project-card h3 {
        font-size: 22px;
    }

    .problem-box, .solution-box {
        padding: 30px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .visuals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .demo-section,
    .publication-section,
    .slideshow-section {
        padding: 40px 20px;
    }

    .prev, .next {
        width: 40px;
        height: 40px;
        margin-top: -20px;
        font-size: 20px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .dot {
        height: 10px;
        width: 10px;
        margin: 0 6px;
    }

    .dot.active {
        width: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 70px 15px 30px;
    }

    .hero-section {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h3 {
        font-size: 16px;
    }

    .project-section h2,
    .tech-section h2,
    .visuals-section h2,
    .demo-section h2,
    .publication-section h2,
    .slideshow-section h2 {
        font-size: 28px;
    }

    .project-card {
        padding: 20px;
    }

    .project-card h3 {
        font-size: 18px;
    }

    .problem-box, .solution-box {
        padding: 20px;
    }

    .problem-box h3, .solution-box h3 {
        font-size: 18px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tech-item {
        padding: 15px;
        font-size: 14px;
    }

    .solution-box li {
        font-size: 14px;
    }

    .demo-section,
    .publication-section,
    .slideshow-section {
        padding: 25px 15px;
    }

    .pub-link {
        padding: 12px 30px;
        font-size: 16px;
    }

    .slide img {
        min-height: 250px;
    }

    .prev, .next {
        width: 35px;
        height: 35px;
        margin-top: -17.5px;
        font-size: 18px;
    }

    .prev {
        left: 8px;
    }

    .next {
        right: 8px;
    }

    .dot {
        height: 8px;
        width: 8px;
        margin: 0 5px;
    }

    .dot.active {
        width: 24px;
    }

    .slideshow-container::after {
        font-size: 11px;
        padding: 4px 8px;
    }
}
