:root {
    --bg-center: #0a131f; 
    --bg-outer: #05070a;  
    --cyan: #22d3ee;
    --text: #ffffff;
    --dim: #94a3b8;
    --border-soft: rgba(255, 255, 255, 0.08);
}

/* --- Base Setup --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at center, var(--bg-center) 0%, var(--bg-outer) 100%);
    background-attachment: fixed;
    color: var(--text);
    overflow: hidden; /* Desktop snap scroll handle karega */
}

/* --- Snap Scroll Container --- */
.scroll-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.snap-section {
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    padding: 0 8%;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.02) 0%, transparent 80%);
}

/* --- Typography (Image 1 Style) --- */
h1 { font-size: clamp(2.8rem, 6.5vw, 4.8rem); font-weight: 900; line-height: 1.05; letter-spacing: -2.5px; margin: 25px 0; }
h2 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 20px; line-height: 1.1; }
.label-cyan { color: var(--cyan); font-size: 0.75rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; }
.sub-h { color: var(--cyan); font-weight: 600; font-size: 1.1rem; margin-bottom: 10px; }
p { color: var(--dim); font-size: 1.15rem; line-height: 1.6; max-width: 580px; }

/* --- Navigation --- */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 35px 8%;
    display: flex; justify-content: space-between; align-items: center; z-index: 1001;
}
.logo { font-weight: 900; font-size: 1.6rem; letter-spacing: -1px; }
.nav-links a { margin-left: 35px; text-decoration: none; color: var(--dim); font-size: 0.9rem; font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--cyan); }

/* --- Pill Buttons --- */
.btn-pill-outline {
    display: inline-block; margin-top: 35px;
    padding: 16px 36px; border: 1px solid rgba(34, 211, 238, 0.4);
    color: var(--cyan); text-decoration: none; border-radius: 50px;
    font-weight: 700; font-size: 0.95rem; transition: 0.3s;
}
.btn-pill-outline:hover { background: rgba(34, 211, 238, 0.1); border-color: var(--cyan); box-shadow: 0 0 20px rgba(34, 211, 238, 0.2); }

.btn-pill-cyan {
    background: transparent; border: 1.5px solid var(--cyan); color: var(--cyan);
    padding: 18px 30px; border-radius: 50px; width: 100%;
    font-weight: 800; cursor: pointer; transition: 0.3s;
}
.btn-pill-cyan:hover { background: var(--cyan); color: #000; }

/* --- Layouts --- */
.content-wrapper { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; width: 100%; align-items: center; }
.content-wrapper.reverse { direction: rtl; }
.content-wrapper.reverse .text-side { direction: ltr; }

.triple-grid {
    display: grid; grid-template-columns: 0.8fr 1.2fr 0.8fr;
    gap: 40px; width: 100%; align-items: center;
}
.centered-content { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Visual Components */
.img-placeholder {
    width: 100%; 
    background: rgba(255, 255, 255, 0.02);
    /* Cyan glow border */
    border: 1px solid rgba(34, 211, 238, 0.3); 
    border-radius: 24px;
    display: flex; 
    align-items: flex-start; 
    padding: 1px;
    /* Side Glow Effect */
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
    background-size: cover;
    background-position: center;
}

.main-box { height: 450px; }
.small-card { height: 380px; }
.short-hr { width: 50px; border: none; height: 2px; background: var(--cyan); margin: 20px 0; }

/* Eval Section */
.eval-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; width: 100%; }
.eval-card { 
    background: rgba(10, 15, 26, 0.4); 
    padding: 60px; 
    border-radius: 30px; 
    /* Cyan glow border for Eval Card too */
    border: 1px solid rgba(34, 211, 238, 0.3); 
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.1);
    backdrop-filter: blur(10px); 
    text-align: center;
}
/* --- Mobile Navigation Logic --- */
.menu-icon { display: none; flex-direction: column; gap: 7px; cursor: pointer; z-index: 2000; }
.menu-icon span { width: 30px; height: 2px; background: var(--cyan); transition: 0.4s; }
.mobile-menu {
    position: fixed; top: -100%; left: 0; width: 100%; height: 100%;
    background: var(--bg-outer); display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 40px; transition: 0.6s ease; z-index: 1000;
}
.mobile-menu.active { top: 0; }
.mobile-menu a { font-size: 2rem; color: white; text-decoration: none; font-weight: 900; }

.site-footer { position: absolute; bottom: 30px; width: 84%; border-top: 1px solid var(--border-soft); padding-top: 25px; }
.footer-bottom { display: flex; justify-content: space-between; color: #334155; font-size: 0.85rem; font-weight: 700; }

/* --- RESPONSIVE OPTIMIZATION --- */
@media (max-width: 1024px) {
    body { overflow-y: auto; }
    .scroll-container { height: auto; scroll-snap-type: none; }
    
    .snap-section { 
        min-height: auto; 
        height: auto; 
        padding: 40px 6%; /* Regular sections padding */
        display: block; 
    }

    /* Sirf Hero (pehle) section ki top padding zyada taaki navbar ke niche na dabe */
    .snap-section:first-of-type {
        padding-top: 130px; 
    }

    .content-wrapper, .content-wrapper.reverse, .eval-grid, .triple-grid { 
        display: flex; flex-direction: column; text-align: center; gap: 30px;
    }

    .img-placeholder, .main-box, .small-card { 
        height: 280px !important; 
        margin-top: 10px;
    }

    .text-side { order: 1; display: flex; flex-direction: column; align-items: center; }
    .image-side { order: 2; width: 100%; }

    .menu-icon { display: flex; }
    .nav-links { display: none; }
    .site-footer { position: static; margin-top: 50px; width: 100%; }

    h1 { font-size: 2.5rem; letter-spacing: -1.5px; }
    h2 { font-size: 1.9rem; }
    p { font-size: 1rem; }

    .menu-icon.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .menu-icon.active span:nth-child(2) { opacity: 0; }
    .menu-icon.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }
}

/* --- Desktop Architecture Styles --- */
.architecture-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: center;
}

.diagram-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.diagram-container img {
    width: 100%;
    height: auto;
    max-width: 850px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(34, 211, 238, 0.12));
}

/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 1024px) {
    .architecture-grid {
        display: flex !important; /* Grid ko flex mein badlo */
        flex-direction: column !important; /* Ek ke niche ek layout */
        text-align: center;
        gap: 40px;
    }

    .diagram-container {
        justify-content: center; /* Mobile par image center mein */
    }

    .diagram-container img {
        max-width: 100%; /* Mobile screen ki poori width le */
        filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.2));
    }

    .text-side {
        display: flex;
        flex-direction: column;
        align-items: center; /* Text aur line center mein */
    }
}

/* --- Video Section Styles --- */
.video-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.video-text-content h2 {
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cyan-text {
    color: var(--cyan);
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.video-features {
    list-style: none;
    margin-top: 25px;
}

.video-features li {
    margin-bottom: 12px;
    color: var(--dim);
    font-size: 0.95rem;
}

.video-features span {
    color: var(--cyan);
    margin-right: 10px;
}

/* Video Frame and Glow */
.video-container-box {
    position: relative;
    width: 100%;
}

.video-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    border: 1px solid var(--border-soft);
    z-index: 2;
}

.video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Mobile View Fix */
@media (max-width: 1024px) {
    .video-layout-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .video-features {
        display: none; /* Mobile pe clean rakhne ke liye */
    }
}