/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --black: #0A0A0A;
    --charcoal: #1A1A1A;
    --dark-grey: #2B2E34;
    --light-grey: #B5B5B5;
    --cyan: #00E5FF;
    --purple-start: #7B2EFF;
    --purple-end: #C83BFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--light-grey);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   Animated Background Canvas
   ============================================ */
#animatedBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-gradient-purple {
    background: linear-gradient(135deg, var(--purple-start), var(--purple-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient-purple {
    border-image: linear-gradient(135deg, var(--purple-start), var(--purple-end)) 1;
}

.glow-cyan {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.glow-cyan-strong {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
}

.glow-purple {
    box-shadow: 0 0 20px rgba(123, 46, 255, 0.3);
}

.glass {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-strong {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-light {
    background: rgba(26, 26, 26, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-border-cyan {
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.glass-border-purple {
    border: 1px solid rgba(123, 46, 255, 0.3);
}

.cyber-grid {
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.cyber-grid-small {
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.scan-line {
    position: relative;
    overflow: hidden;
}

.scan-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hologram {
    position: relative;
    animation: hologram-flicker 0.15s infinite;
}

@keyframes hologram-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.header-contact-btn {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1001;
    padding: 12px 24px;
    font-size: 0.95rem;
    white-space: nowrap;
    text-decoration: none;
    max-width: fit-content;
}

.header-contact-btn:hover {
    transform: translateY(-2px);
}

.logo {
    height: 275px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.3));
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.5));
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--light-grey);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-start), var(--purple-end));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--cyan);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--cyan);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    position: relative;
}

.hero-card {
    max-width: 800px;
    width: 100%;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/logos-transparent/logo_512_transparent.png');
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
    filter: blur(0.5px);
}

.hero-logo-badge {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 46, 255, 0.2), rgba(200, 59, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px solid rgba(123, 46, 255, 0.3);
}

.logo-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--light-grey);
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.pill {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--light-grey);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-start), var(--purple-end));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123, 46, 255, 0.4);
}

.btn-secondary {
    background: rgba(26, 26, 26, 0.6);
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 100px 20px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--cyan);
}

.service-description {
    color: var(--light-grey);
    line-height: 1.6;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    padding: 100px 20px;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    display: none;
}

.gallery-title {
    font-size: 1.2rem;
    color: var(--cyan);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 100px 20px;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    padding: 40px;
    border-radius: 15px;
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 15px;
    color: var(--light-grey);
}

.contact-item strong {
    color: var(--cyan);
    display: inline-block;
    min-width: 100px;
}

.contact-link {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--purple-end);
}

.lead-time-message {
    color: var(--light-grey);
    font-style: italic;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-wrapper {
    padding: 40px;
    border-radius: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--light-grey);
    font-weight: 500;
}

.required {
    color: var(--cyan);
}

.form-input {
    padding: 12px 15px;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light-grey);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.form-input::placeholder {
    color: rgba(181, 181, 181, 0.5);
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.form-message.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff0000;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--cyan);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header-content {
        flex-wrap: nowrap;
        gap: 10px;
        align-items: center;
    }

    .header-contact-btn {
        position: relative;
        right: auto;
        top: auto;
        padding: 8px 16px;
        font-size: 0.75rem;
        flex-shrink: 0;
        width: auto !important;
        max-width: fit-content;
        min-width: fit-content;
    }

    .logo {
        height: 125px;
        flex-shrink: 1;
        min-width: 0;
        max-width: 100%;
    }

    .logo-wrapper {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-card {
        padding: 40px 20px;
    }

    .hero-logo-badge {
        width: 150px;
        height: 150px;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .header-contact-btn {
        width: auto !important;
    }
}

