:root {
    --bg: #1A1F3A;
    --surface: #1A1F3A;
    --surface-dark: #1A1F3A;
    --primary: #3BB7FF;
    --secondary: #5CE6FF;
    --accent: #A79BFF;
    --neon-cyan: #5CE6FF;
    --primary-blue: #3BB7FF;
    --violet-accent: #A79BFF;
    --dark-base: #1A1F3A;
    --text: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.8);
    --dark-neutral: #1A1F3A;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--dark-base);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(92, 230, 255, 0.2);
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(92, 230, 255, 0.5));
}

/* Menu Toggle Button (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    position: relative;
}

.menu-toggle-line {
    width: 25px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(92, 230, 255, 0.5);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
    display: flex;
    gap: 2rem;
}

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

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

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

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

/* Animated Background Sections */
.animated-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-base);
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Animated Mesh Gradient */
.mesh-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(at 0% 0%, rgba(92, 230, 255, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(59, 183, 255, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(167, 155, 255, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(92, 230, 255, 0.2) 0px, transparent 50%);
    animation: meshMove 20s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes meshMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(5%, 5%) rotate(120deg);
    }
    66% {
        transform: translate(-5%, -5%) rotate(240deg);
    }
}

/* Floating Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 30px var(--neon-cyan);
    animation: particleFloat 15s infinite ease-in-out;
    opacity: 0.6;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

.particle:nth-child(2) {
    left: 80%;
    top: 30%;
    animation-delay: -2s;
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue), 0 0 20px var(--primary-blue);
}

.particle:nth-child(3) {
    left: 50%;
    top: 10%;
    animation-delay: -4s;
    background: var(--violet-accent);
    box-shadow: 0 0 10px var(--violet-accent), 0 0 20px var(--violet-accent);
}

.particle:nth-child(4) {
    left: 20%;
    top: 70%;
    animation-delay: -6s;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

.particle:nth-child(5) {
    left: 70%;
    top: 80%;
    animation-delay: -8s;
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue), 0 0 20px var(--primary-blue);
}

.particle:nth-child(6) {
    left: 40%;
    top: 60%;
    animation-delay: -10s;
    background: var(--violet-accent);
    box-shadow: 0 0 10px var(--violet-accent), 0 0 20px var(--violet-accent);
}

.particle:nth-child(7) {
    left: 90%;
    top: 50%;
    animation-delay: -12s;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

.particle:nth-child(8) {
    left: 5%;
    top: 90%;
    animation-delay: -14s;
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue), 0 0 20px var(--primary-blue);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -50px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, 20px) scale(1.1);
        opacity: 0.8;
    }
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(92, 230, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(92, 230, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.section-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 31, 58, 0.4);
    z-index: 1;
}

.section-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #5CE6FF 0%, #3BB7FF 45%, #A79BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: var(--text);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #5CE6FF 0%, #3BB7FF 45%, #A79BFF 100%);
    color: #000000;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(92, 230, 255, 0.5);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt .parallax-bg::after {
    background: rgba(26, 31, 58, 0.5);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: var(--text);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Cards */
.card {
    background-color: rgba(26, 31, 58, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(92, 230, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(92, 230, 255, 0.4);
    background-color: rgba(26, 31, 58, 0.8);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.card-text {
    opacity: 0.9;
    line-height: 1.8;
    color: var(--text);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: rgba(26, 31, 58, 0.6);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(92, 230, 255, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(92, 230, 255, 0.4);
    background-color: rgba(26, 31, 58, 0.8);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.feature-text {
    opacity: 0.9;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text);
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 4rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-align: center;
    color: var(--text);
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(26, 31, 58, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(92, 230, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(92, 230, 255, 0.4);
    background-color: rgba(26, 31, 58, 0.8);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5CE6FF 0%, #3BB7FF 45%, #A79BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text);
    opacity: 0.9;
    font-weight: 500;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

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

.contact-info-block {
    background-color: rgba(26, 31, 58, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(92, 230, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
}

.contact-info-block:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(92, 230, 255, 0.4);
    background-color: rgba(26, 31, 58, 0.8);
}

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

.contact-info-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 0.75rem;
}

.contact-info-link {
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    word-break: break-all;
}

.contact-info-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(92, 230, 255, 0.5);
}

.contact-content {
    width: 100%;
}

.contact-form {
    background-color: rgba(26, 31, 58, 0.6);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(92, 230, 255, 0.3);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
}

.form-group label .required {
    color: var(--neon-cyan);
    margin-left: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: rgba(26, 31, 58, 0.8);
    border: 1px solid rgba(92, 230, 255, 0.3);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(92, 230, 255, 0.2);
    background-color: rgba(26, 31, 58, 0.9);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(92, 230, 255, 0.2);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.form-message.error {
    display: block;
    background-color: rgba(167, 155, 255, 0.2);
    border: 1px solid var(--violet-accent);
    color: var(--violet-accent);
}

/* Footer */
.footer {
    background-color: var(--dark-base);
    padding: 3rem 0 2rem;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid rgba(92, 230, 255, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo {
    height: 3rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(92, 230, 255, 0.5));
}

.footer-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5CE6FF 0%, #3BB7FF 45%, #A79BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.footer-copyright {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo {
        height: 2rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--dark-base);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(92, 230, 255, 0.2);
        transition: right 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(92, 230, 255, 0.1);
        font-size: 1.1rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        color: var(--neon-cyan);
        padding-left: 1rem;
    }
    
    /* Overlay when menu is open */
    .nav.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .animated-section {
        padding-top: 80px;
    }
    
    .section-content {
        padding-top: 1rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-logo {
        height: 2rem;
    }
    
    .footer-name {
        font-size: 1.2rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }

    .content-grid,
    .stats-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        order: 1;
    }
    
    .contact-info-blocks {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contact-info-block {
        flex: 1;
        min-width: 200px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-icon {
        font-size: 3rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .mesh-gradient {
        filter: blur(40px);
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
    
    .grid-overlay {
        background-size: 30px 30px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 0;
    }
    
    .logo {
        height: 1.8rem;
    }
    
    .nav {
        width: 100%;
        right: -100%;
    }
    
    .hero {
        padding: 4rem 0;
    }

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

    .animated-section {
        padding-top: 70px;
    }
    
    .section {
        padding: 3rem 0;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .contact-wrapper {
        gap: 1.5rem;
    }
    
    .contact-info-blocks {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info-block {
        padding: 1.5rem;
        min-width: 100%;
    }
    
    .contact-info-icon {
        font-size: 2rem;
    }
    
    .contact-info-title {
        font-size: 1rem;
    }
    
    .contact-info-link {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-logo {
        height: 1.5rem;
    }
    
    .footer-name {
        font-size: 1rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
}

