:root {
    --primary: #00d9ff;
    --secondary: #ff006e;
    --tertiary: #8338ec;
    --accent: #ffbe0b;
    --dark-bg: #0a0e27;
    --light-bg: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b0b9c3;
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 14, 39, 0.8);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

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

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

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

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(10, 14, 39, 0.95);
        padding: 20px 40px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    .navbar-container {
        padding: 0 20px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 60px;
    padding: 60px 40px;
    overflow: hidden;
}

.stars-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(0, 217, 255, 0.5), rgba(0, 217, 255, 0)),
        radial-gradient(2px 2px at 80% 60%, rgba(255, 0, 110, 0.5), rgba(255, 0, 110, 0)),
        radial-gradient(1px 1px at 50% 50%, rgba(131, 56, 236, 0.3), rgba(131, 56, 236, 0));
    background-size: 300% 300%, 200% 200%, 250% 250%;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: starsMove 120s linear infinite;
}

@keyframes starsMove {
    0% {
        background-position: 0 0, 40px 60px, 130px 270px;
    }
    100% {
        background-position: 300% 300%, 240px 260px, 330px 570px;
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    animation: slideInLeft 1s ease forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.gradient-text-2 {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
    color: var(--dark-bg);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-secondary:hover {
    background: rgba(255, 0, 110, 0.1);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.4);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    animation: slideInRight 1s ease forwards;
}

.hologram {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: hologramPulse 3s ease-in-out infinite;
    box-shadow: 
        inset 0 0 30px var(--primary),
        0 0 30px var(--primary);
}

@keyframes hologramPulse {
    0%, 100% {
        box-shadow: 
            inset 0 0 30px var(--primary),
            0 0 30px var(--primary);
    }
    50% {
        box-shadow: 
            inset 0 0 50px var(--primary),
            0 0 50px var(--primary);
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    animation: orbFloat 6s ease-in-out infinite;
}

.orb-1 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: 20%;
    right: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--tertiary), transparent);
    top: 50%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(20px);
    }
    50% {
        transform: translateY(0) translateX(40px);
    }
    75% {
        transform: translateY(30px) translateX(20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.scroll-arrow {
    width: 2px;
    height: 20px;
    background: var(--primary);
    border-radius: 1px;
    animation: scrollArrow 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes scrollArrow {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Legacy Section */
.legacy {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05), rgba(131, 56, 236, 0.05));
}

.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.legacy-card {
    padding: 2.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.legacy-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

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

.legacy-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Mission Section */
.mission {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05), rgba(255, 190, 11, 0.05));
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-statement {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.point {
    display: flex;
    gap: 1.5rem;
}

.point-icon {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 3px;
}

.point h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.point p {
    color: var(--text-secondary);
}

.tech-grid {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--glass), transparent);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 1px;
    overflow: hidden;
}

.tech-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--tertiary));
    opacity: 0;
    animation: techGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes techGlow {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
}

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

    .tech-grid {
        height: 300px;
    }
}

/* Impact/Timeline Section */
.impact {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.03), rgba(131, 56, 236, 0.03));
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--tertiary));
}

.timeline-item {
    margin-bottom: 3rem;
    padding-left: 60px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-dot {
    position: absolute;
    left: -11px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dark-bg);
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px var(--primary);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    width: 30px;
    height: 30px;
    left: -16px;
}

.timeline-content {
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary);
    transform: translateX(10px);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.phase-status {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Values/Vision Section */
.vision {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05), rgba(255, 190, 11, 0.05));
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 3rem 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.value-card:hover::before {
    opacity: 0.1;
}

.value-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
}

.value-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.03), rgba(131, 56, 236, 0.03));
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 14, 39, 0.5);
}

.footer-content {
    text-align: center;
    color: var(--text-secondary);
}

.footer-content p {
    margin-bottom: 0.5rem;
}

/* Utility Classes */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--tertiary));
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-visual {
        display: none;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
