/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --deep-ocean: #0a1628;
    --vibrant-cyan: #00d4ff;
    --soft-teal: #4dd0e1;
    --pure-white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-overlay: rgba(10, 22, 40, 0.7);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 20px;
    --container-max: 1200px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--deep-ocean);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.6) 0%,
        rgba(0, 212, 255, 0.3) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--pure-white);
    padding: 20px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        var(--pure-white) 0%,
        var(--soft-teal) 50%,
        var(--vibrant-cyan) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(0, 212, 255, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--vibrant-cyan), var(--soft-teal));
    color: var(--pure-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--pure-white);
    border-radius: 20px;
    position: relative;
    opacity: 0.7;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--pure-white);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pure-white);
    text-decoration: none;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--pure-white);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vibrant-cyan);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--vibrant-cyan);
}

/* ===========================
   Sections
   =========================== */
.section {
    padding: var(--section-padding);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--deep-ocean), var(--vibrant-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: -30px auto 60px;
    line-height: 1.8;
}

/* ===========================
   About Section
   =========================== */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--deep-ocean);
    margin-bottom: 30px;
    line-height: 1.6;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    background: var(--pure-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--vibrant-cyan), var(--soft-teal));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(0, 212, 255, 0.3));
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-ocean);
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* ===========================
   Interactions Section
   =========================== */
.interactions-section {
    background: linear-gradient(135deg, var(--deep-ocean) 0%, #1a2845 100%);
    color: var(--pure-white);
}

.interactions-section .section-title {
    background: linear-gradient(135deg, var(--pure-white), var(--soft-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.interactions-section .section-intro {
    color: rgba(255, 255, 255, 0.8);
}

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

.interaction-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.interaction-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.03);
    border-color: var(--vibrant-cyan);
}

.interaction-item h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--soft-teal);
}

.interaction-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ===========================
   Use Cases Section
   =========================== */
.use-cases-section {
    background: var(--light-gray);
}

.use-cases-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.use-case {
    background: var(--pure-white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.use-case:hover {
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
    transform: translateY(-5px);
}

.use-case h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-ocean);
    margin-bottom: 20px;
}

.use-case p {
    color: #666;
    line-height: 1.8;
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    background: linear-gradient(135deg, var(--vibrant-cyan) 0%, var(--soft-teal) 100%);
    color: var(--pure-white);
    text-align: center;
}

.contact-section .section-title {
    background: var(--pure-white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.contact-info {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
}

.contact-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-affiliation {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-email {
    display: inline-block;
    color: var(--pure-white);
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.contact-email:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--deep-ocean);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
    }
    to {
        text-shadow: 0 0 80px rgba(0, 212, 255, 0.6);
    }
}

@keyframes scrollDown {
    0%, 100% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 24px;
        opacity: 0.5;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .nav-menu {
        display: none; /* Consider mobile menu implementation */
    }

    .about-content {
        flex-direction: column;
    }

    .features-grid,
    .interactions-grid,
    .use-cases-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.05em;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }
}
