﻿/* Custom Font Import */
@font-face {
    font-family: 'Cyber_02';
    src: url('../MyFonts/Cyber_02.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

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

:root {
    --primary-cyan: #3fc9ee;
    --primary-violet: #7f6bfb;
    --dark-charcoal: #0a0a0f;
    --dark-layer: #111118;
    --pure-white: #ffffff;
    --gradient-main: linear-gradient(135deg, #3fc9ee 0%, #7f6bfb 100%);
    --gradient-reverse: linear-gradient(135deg, #7f6bfb 0%, #3fc9ee 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-charcoal);
    color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

    body.menu-open {
        overflow: hidden;
    }

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

@media (min-width: 1200px) {
    .container {
        padding: 0 60px;
    }
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(63, 201, 238, 0.1);
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        background: rgba(10, 10, 15, 0.95);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

@media (min-width: 768px) {
    .nav-container {
        padding: 0 40px;
        height: 80px;
    }
}

.nav-logo {
    font-family: 'Cyber_02', 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 20px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 20px rgba(63, 201, 238, 0.3));
    transition: filter 0.3s ease;
}

    .nav-logo:hover {
        filter: drop-shadow(0 0 30px rgba(63, 201, 238, 0.5));
    }

@media (min-width: 768px) {
    .nav-logo {
        font-size: 24px;
    }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-line {
    width: 24px;
    height: 2px;
    background: var(--primary-cyan);
    transition: all 0.3s ease;
}

.nav-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.menu-text {
    font-size: 10px;
    color: var(--primary-cyan);
    font-weight: 600;
    letter-spacing: 1px;
}

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

@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

        .nav-menu.active {
            opacity: 1;
            pointer-events: all;
        }
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

@media (max-width: 767px) {
    .nav-link {
        font-size: 20px;
    }
}

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

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

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

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(63, 201, 238, 0.15) 0%, rgba(10, 10, 15, 1) 70%);
    padding-top: 70px;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 80px;
    }
}

#waveCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 20px;
}

.hero-title {
    font-family: 'Cyber_02', 'Poppins', sans-serif;
    font-size: clamp(40px, 10vw, 90px);
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 40px rgba(63, 201, 238, 0.5));
    line-height: 1.1;
    letter-spacing: 3px;
}

.hero-motto {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: clamp(15px, 3.5vw, 20px);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        margin-bottom: 50px;
    }
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero-cta {
        gap: 20px;
    }
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: clamp(13px, 3vw, 15px);
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    text-align: center;
}

@media (min-width: 768px) {
    .btn {
        padding: 16px 40px;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--pure-white);
    box-shadow: 0 10px 30px rgba(63, 201, 238, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(63, 201, 238, 0.5);
    }

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

    .btn-secondary:hover {
        background: var(--gradient-main);
        color: var(--pure-white);
        border-color: transparent;
        transform: translateY(-3px);
    }

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

    .btn-tertiary:hover {
        background: var(--gradient-reverse);
        color: var(--pure-white);
        border-color: transparent;
        transform: translateY(-3px);
    }

/* ===================================
   PRODUCTS SECTION
   =================================== */

.products {
    padding: 80px 0;
    background: rgba(10, 10, 15, 1);
}

@media (min-width: 768px) {
    .products {
        padding: 120px 0;
    }
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 700;
    text-align: center;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

@media (min-width: 768px) {
    .section-title {
        margin-bottom: 80px;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-card {
    background: linear-gradient(135deg, rgba(17, 17, 24, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
    border: 1px solid rgba(63, 201, 238, 0.2);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

@media (min-width: 768px) {
    .product-card {
        padding: 30px;
    }
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(63, 201, 238, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 60px rgba(63, 201, 238, 0.4);
}

    .product-card:hover::before {
        opacity: 1;
    }

.product-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .product-status {
        padding: 8px 16px;
        font-size: 12px;
        margin-bottom: 20px;
    }
}

.product-status.beta {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #3b82f6;
}

.product-status.beta-ready {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.product-status.dev {
    background: rgba(251, 146, 60, 0.2);
    border: 1px solid rgba(251, 146, 60, 0.5);
    color: #fb923c;
}

.product-status.research {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #a855f7;
}

.product-visual {
    height: 180px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: rgba(10, 10, 15, 0.6);
}

@media (min-width: 768px) {
    .product-visual {
        height: 200px;
        margin-bottom: 25px;
    }
}

.product-canvas {
    width: 100%;
    height: 100%;
}

.product-name {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-cyan);
}

.product-tagline {
    font-size: clamp(13px, 3vw, 14px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(63, 201, 238, 0.1);
}

.card-cta {
    color: var(--primary-cyan);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.product-card:hover .card-cta {
    transform: translateX(5px);
    color: var(--primary-violet);
}

/* ===================================
   CUSTOM DEVELOPMENT SECTION
   =================================== */

.custom-dev {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 1) 0%, rgba(17, 17, 24, 1) 50%, rgba(10, 10, 15, 1) 100%);
}

@media (min-width: 768px) {
    .custom-dev {
        padding: 120px 0;
    }
}

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

@media (min-width: 1024px) {
    .custom-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.custom-text {
    max-width: 100%;
}

.custom-description {
    font-size: clamp(15px, 3vw, 18px);
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .custom-description {
        margin-bottom: 40px;
    }
}

.custom-features {
    list-style: none;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .custom-features {
        margin-bottom: 40px;
    }
}

.custom-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: clamp(14px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .custom-features li {
        padding: 15px 0;
        padding-left: 35px;
    }
}

.custom-features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-size: 14px;
}

.custom-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.custom-visual-card {
    background: linear-gradient(135deg, rgba(17, 17, 24, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
    border: 1px solid rgba(63, 201, 238, 0.2);
    border-radius: 20px;
    padding: 20px;
    order: -1;
}

@media (min-width: 1024px) {
    .custom-visual-card {
        order: 0;
    }
}

.custom-visual {
    height: 350px;
    position: relative;
}

@media (min-width: 768px) {
    .custom-visual {
        height: 450px;
    }
}

#nodesCanvas {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: rgba(10, 10, 15, 0.4);
}

/* ===================================
   RESEARCH SECTION
   =================================== */

.research {
    padding: 80px 0;
    background: radial-gradient(ellipse at center, rgba(127, 107, 251, 0.08) 0%, rgba(10, 10, 15, 1) 60%);
}

@media (min-width: 768px) {
    .research {
        padding: 120px 0;
    }
}

.research-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .research-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.research-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.research-card {
    background: linear-gradient(135deg, rgba(17, 17, 24, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
    border: 1px solid rgba(127, 107, 251, 0.2);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

    .research-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(127, 107, 251, 0.1) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .research-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary-violet);
        box-shadow: 0 20px 60px rgba(127, 107, 251, 0.4);
    }

        .research-card:hover::before {
            opacity: 1;
        }

.research-icon {
    height: 120px;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: rgba(10, 10, 15, 0.6);
}

.research-canvas {
    width: 100%;
    height: 100%;
}

.research-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-violet);
}

.research-description {
    font-size: clamp(14px, 3vw, 15px);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.research-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(127, 107, 251, 0.1);
}

.research-card:hover .card-cta {
    transform: translateX(5px);
    color: var(--primary-cyan);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about {
    padding: 80px 0;
    background: radial-gradient(ellipse at center, rgba(127, 107, 251, 0.08) 0%, rgba(10, 10, 15, 1) 60%);
}

@media (min-width: 768px) {
    .about {
        padding: 120px 0;
    }
}

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

#particlesCanvas {
    position: absolute;
    top: -100px;
    left: -100px;
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    z-index: 1;
    pointer-events: none;
}

.about-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

    .about-text p {
        font-size: clamp(15px, 4vw, 18px);
        line-height: 2;
        margin-bottom: 25px;
        color: rgba(255, 255, 255, 0.85);
    }

@media (min-width: 768px) {
    .about-text p {
        margin-bottom: 30px;
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
    padding: 80px 0;
    background: rgba(10, 10, 15, 1);
}

@media (min-width: 768px) {
    .contact {
        padding: 120px 0;
    }
}

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

@media (min-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.5fr;
        gap: 80px;
    }
}

.contact-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 4vw, 28px);
    margin-bottom: 20px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    font-size: clamp(14px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-cyan);
    font-weight: 600;
}

.contact-value {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 25px;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 18px;
        background: rgba(17, 17, 24, 0.6);
        border: 2px solid rgba(63, 201, 238, 0.3);
        border-radius: 12px;
        color: var(--pure-white);
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

@media (min-width: 768px) {
    .form-group input,
    .form-group textarea {
        padding: 20px;
        font-size: 16px;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 30px rgba(63, 201, 238, 0.3);
    background: rgba(17, 17, 24, 0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    padding: 60px 0 30px;
    background: rgba(10, 10, 15, 0.98);
    border-top: 1px solid rgba(63, 201, 238, 0.2);
}

@media (min-width: 768px) {
    .footer {
        padding: 80px 0 40px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 60px;
        margin-bottom: 60px;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.5fr 2fr;
    }
}

.footer-brand .logo {
    font-family: 'Cyber_02', 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 24px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 30px rgba(63, 201, 238, 0.3));
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .footer-brand .logo {
        font-size: 28px;
        margin-bottom: 15px;
    }
}

.tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    letter-spacing: 1px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 480px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 768px) {
    .footer-links {
        gap: 40px;
    }
}

.footer-column h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    margin-bottom: 20px;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 12px;
    }

        .footer-column ul li a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s ease;
        }

            .footer-column ul li a:hover {
                color: var(--primary-cyan);
                padding-left: 5px;
            }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(63, 201, 238, 0.1);
}

@media (min-width: 768px) {
    .footer-bottom {
        padding-top: 40px;
    }
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}
