:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --primary: #06b6d4;
    /* Cyan 500 */
    --primary-glow: rgba(6, 182, 212, 0.5);
    --secondary: #6366f1;
    /* Indigo 500 */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Components */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1rem;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.glass-card:hover {
    transform: rotateY(0) rotateX(0);
}

.glass-card img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.hero-visual .glass-card {
    transform: rotateY(-10deg) rotateX(5deg);
}

.hero-visual .glass-card:hover {
    transform: rotateY(0) rotateX(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .glass-card {
        transform: none;
        /* Disable tilt on mobile for better visibility */
        margin-top: 3rem;
    }
}

/* Sections General */
.section-padding {
    padding: 8rem 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

/* =============================================
   BENTO GRID V2 - IMAGE-FIRST DESIGN
   ============================================= */
.bento-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Featured card spans 2 rows */
.bento-card.featured {
    grid-row: span 2;
}

/* Wide card spans 2 columns */
.bento-card.wide {
    grid-column: span 2;
}

/* Image container - hero of the card */
.bento-card-image {
    flex: 1;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.bento-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-card-image img {
    transform: scale(1.02);
}

/* Icon card variant */
.bento-card-image.icon-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(99, 102, 241, 0.15));
}

.card-icon {
    font-size: 5rem;
}

/* Content section - below image */
.bento-card-content {
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
}

.bento-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.bento-card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
    .bento-grid-v2 {
        grid-template-columns: 1fr;
    }

    .bento-card.featured,
    .bento-card.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-card-image {
        min-height: 250px;
    }
}


.bento-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
}

.span-2-col {
    grid-column: span 2;
}

.span-2-row {
    grid-row: span 2;
}

.bento-content {
    padding: 2rem;
    z-index: 2;
}

.bento-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    /* Fixed: constrained width */
    height: 70%;
    z-index: 1;
    overflow: hidden;
    /* Prevent overflow */
}

.bento-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 100%);
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.bento-content-side {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
    gap: 2rem;
}

.side-img {
    flex: 1;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* How It Works */
.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(6, 182, 212, 0.25);
    /* Changed from 0.05 for better contrast */
    line-height: 1;
    margin-bottom: -1rem;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
    /* Subtle glow */
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.step-line {
    flex: 0 0 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin-top: 4rem;
}

/* =============================================
   WORKFLOW GRID - IMAGE-FIRST DESIGN
   ============================================= */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.workflow-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.workflow-image {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.workflow-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.workflow-card:hover .workflow-image img {
    transform: scale(1.03);
}

.workflow-content {
    padding: 1.5rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.9);
}

.workflow-step {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.6;
    display: block;
    margin-bottom: 0.25rem;
}

.workflow-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.workflow-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .workflow-image {
        height: 220px;
    }
}

/* =============================================
   WORKFLOW SHOWCASE - LARGE IMAGE LAYOUT
   ============================================= */
.workflow-showcase {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.workflow-showcase:last-child {
    margin-bottom: 0;
}

.workflow-showcase.reverse {
    grid-template-columns: 0.5fr 1fr;
}

.workflow-showcase.reverse .showcase-text {
    order: 2;
}

.workflow-showcase.reverse .showcase-image {
    order: 1;
}

.showcase-step {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
    display: block;
    margin-bottom: 0.5rem;
}

.showcase-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.showcase-image {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 1rem;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

/* Crop and zoom to center for upload dialog */
.showcase-image.crop-center {
    height: 350px;
}

.showcase-image.crop-center img {
    width: 350%;
    max-width: none;
    transform: translateX(-35%) translateY(-30%);
    object-fit: cover;
}

.workflow-showcase:hover .showcase-image img {
    transform: scale(1.02);
}

/* Keep position when hovering on cropped images */
.workflow-showcase:hover .showcase-image.crop-center img {
    transform: translateX(-35%) translateY(-30%) scale(1.02);
}

/* Responsive Showcase */
@media (max-width: 900px) {

    .workflow-showcase,
    .workflow-showcase.reverse {
        grid-template-columns: 1fr;
    }

    .workflow-showcase.reverse .showcase-text,
    .workflow-showcase.reverse .showcase-image {
        order: unset;
    }

    .showcase-text {
        text-align: center;
    }

    .showcase-step {
        font-size: 2.5rem;
    }

    .showcase-text h3 {
        font-size: 1.75rem;
    }
}

/* =============================================
   SPLIT CONTAINER - Any Source Section
   ============================================= */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: center;
}

.text-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-checklist li {
    font-size: 1.1rem;
    color: var(--text-main);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.feature-checklist li:last-child {
    border-bottom: none;
}

.feature-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.visual-content .glass-card {
    transform: rotateY(-5deg) rotateX(3deg);
    overflow: hidden;
    height: 500px;
}

.visual-content .glass-card img {
    width: 220%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    object-position: center center;
    transform: translateX(-27%) translateY(-18%);
}

/* Responsive Split */
@media (max-width: 900px) {
    .split-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .text-content h2 {
        font-size: 2.5rem;
    }

    .feature-checklist li {
        text-align: left;
    }

    .visual-content .glass-card {
        transform: none;
    }
}


/* Mobile Section */

.mobile-cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-visual {
    position: relative;
    height: 600px;
}

.floating-phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-60%, -50%) rotate(-5deg);
    width: 280px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 8px solid #333;
    z-index: 1;
}

.secondary-phone {
    transform: translate(-30%, -40%) rotate(5deg) scale(0.9);
    z-index: 0;
    opacity: 0.8;
}

.mobile-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item span {
    color: var(--primary);
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .span-2-col,
    .span-2-row {
        grid-column: span 1;
        grid-row: span 1;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-line {
        display: none;
    }

    .mobile-cta-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mobile-visual {
        height: 400px;
        order: -1;
    }

    .feature-item {
        justify-content: center;
    }

    .bento-content-side {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

/* SCROLLYTELLING STYLES */
.scrolly-section {
    position: relative;
    padding-bottom: 10vh;
    /* Ensure space at bottom */
}

.scrolly-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.scrolly-container.reverse-layout {
    flex-direction: row-reverse;
}

/* Sticky Wrapper */
.sticky-visual-wrapper {
    position: sticky;
    top: 20vh;
    height: 60vh;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 700px;
    perspective: 1000px;
}

.landscape-stack {
    width: 120%;
    /* Wider for web screens */
    margin-left: -10%;
}

.scrolly-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: #0f172a;
    /* Avoid transparency see-through */
    border: 1px solid var(--glass-border);
}

.scrolly-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.scrolly-img:not(.active) {
    transform: scale(0.95) translateY(20px);
    z-index: 1;
}

/* Scrollable Text */
.scrolly-text-content {
    width: 45%;
    padding: 10vh 0;
}

.step-card-scroll {
    min-height: 80vh;
    /* Ensures ample scroll distance */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.step-card-scroll.active {
    opacity: 1;
}

.step-card-scroll h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.step-card-scroll p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Responsive Scrolly */
@media (max-width: 900px) {

    .scrolly-container,
    .scrolly-container.reverse-layout {
        flex-direction: column;
    }

    .sticky-visual-wrapper {
        position: relative;
        /* Unstick on mobile to simplify */
        top: 0;
        width: 100%;
        height: 60vh;
        /* Keep good height for visual */
        min-height: 400px;
        margin-bottom: 2rem;
    }

    .scrolly-text-content {
        width: 100%;
        padding: 0;
    }

    .step-card-scroll {
        min-height: 50vh;
        padding: 2rem 0;
        border-bottom: 1px solid var(--glass-border);
        opacity: 0.5;
        /* Always visible on mobile */
    }

    .step-card-scroll.active {
        opacity: 1;
    }
}

/* --- FORCED UPDATE: VISUAL POLISH --- */

/* Fix Bento Grid Contrast */
.hover-overlay {
    background: rgba(15, 23, 42, 0.98) !important;
    /* Force darker background */
    backdrop-filter: blur(10px);
}

/* Lightbox Styles */
#lightbox {
    position: fixed;
    z-index: 10000;
    /* High Z-index */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}

#lightbox.active {
    opacity: 1;
    pointer-events: all;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

#lightbox.active img {
    transform: scale(1);
}

.scrolly-img {
    cursor: zoom-in;
}

/* =============================================
   HORIZONTAL SCROLL SHOWCASE (GPU-ACCELERATED)
   ============================================= */
.horizontal-scroll-track {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-darker);
    padding: 2rem 0 3rem;
}

.horizontal-scroll-track::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-track::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-radius: 4px;
}

.horizontal-scroll-track::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.horizontal-scroll-strip {
    display: flex;
    gap: 2rem;
    padding: 0 calc((100vw - 1280px) / 2 + 2rem);
    width: max-content;
    will-change: transform;
    /* GPU hint */
}

.h-slide {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
    /* GPU hint */
}

.h-slide:hover {
    transform: translateY(-8px) scale(1.02);
}

.h-slide-image {
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    /* Override glass-card 3D tilt */
    backface-visibility: hidden;
    /* GPU optimization */
}

.h-slide-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.h-slide-text {
    text-align: center;
    padding: 0 1rem;
}

.h-slide-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(6, 182, 212, 0.4);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.h-slide-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.h-slide-text p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .horizontal-scroll-strip {
        padding: 0 1rem;
    }

    .h-slide {
        width: 300px;
    }

    .h-slide-image {
        height: 350px;
    }
}

/* Accessibility: Reduce motion */
@media (prefers-reduced-motion: reduce) {

    .h-slide,
    .h-slide:hover {
        transition: none;
        transform: none;
    }
}

/* =============================================
   ABOUT AIABS SECTION
   ============================================= */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.team-card {
    padding: 2rem;
    text-align: center;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.team-role {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced About Section */
.motto {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary);
    opacity: 0.9;
}

.about-fullform {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.fullform-label {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.fullform-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.domains-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.domain-tag {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.domain-tag:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.about-product {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.about-product strong {
    color: var(--primary);
}

/* AGI Vision Card */
.agi-vision {
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    border: 1px solid var(--primary);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(99, 102, 241, 0.05));
}

.agi-vision h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.agi-vision p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.agi-vision strong {
    color: var(--primary);
}

.agi-secondary {
    margin-top: 1rem;
    font-size: 1rem;
}

/* =============================================
   PLAYBACK CONTROLS & SENSOR SPIKES
   ============================================= */
.playback-controls-mock {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--glass-border);
    border-radius: 0 0 20px 20px;
}

.play-btn {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

/* =============================================
   RESPONSIVE ADJUSTMENTS
   ============================================= */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .workflow-showcase,
    .workflow-showcase.reverse {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .workflow-showcase.reverse .showcase-text {
        order: 0;
    }
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.timeline-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
}

.timeline-progress {
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

.sensor-spike {
    position: absolute;
    top: -45px;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

.sensor-spike::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* =============================================
   NAVIGATION
   ============================================= */
.main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
}

.logo img {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 500;
}

.nav-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Mobile Menu Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .main-nav {
        padding: 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
        gap: 3rem;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
        color: #fff;
    }

    .nav-links.active {
        right: 0;
    }

    /* Fix Hero Logo Size on Mobile */
    .hero-visual {
        max-width: 80%;
        margin: 0 auto;
    }
}