/* Variables */
:root {
    --primary-green: #107C10;
    --dark-green: #0E7A0D;
    --accent-blue: #00BCF2;
    --dark-navy: #0A0E1A;
    --darker-navy: #050711;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #FFFFFF;
    --text-secondary: #B8BCC8;
    --glow-green: 0 0 30px rgba(16, 124, 16, 0.5);
    --glow-blue: 0 0 30px rgba(0, 188, 242, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--darker-navy);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

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

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--darker-navy) 0%, var(--dark-navy) 50%, #0B1929 100%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(16, 124, 16, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 124, 16, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

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

.floating-shape {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(40px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 30%;
    animation-delay: 10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-50px, 50px) scale(0.9); }
    75% { transform: translate(30px, 30px) scale(1.05); }
}

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

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-text .accent {
    color: var(--primary-green);
    text-shadow: var(--glow-green);
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
    display: inline-block;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.glitch {
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--primary-green);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--accent-blue);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); }
    25% { clip-path: inset(0 0 50% 0); }
    50% { clip-path: inset(0 0 30% 0); }
    75% { clip-path: inset(0 0 80% 0); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(0 0 0 0); }
    25% { clip-path: inset(100% 0 0 0); }
    50% { clip-path: inset(50% 0 0 0); }
    75% { clip-path: inset(20% 0 0 0); }
}

.hero-subtitle {
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Platform Badge */
.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    margin-bottom: 20px;
    cursor: help;
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.platform-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(16, 124, 16, 0.2);
}

.badge-icon {
    color: var(--primary-green);
    font-size: 14px;
    font-weight: bold;
}

.badge-text {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
    text-shadow: var(--glow-green);
}

.stat-suffix {
    font-size: 32px;
    color: var(--primary-green);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(16, 124, 16, 0.3);
}

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

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(16, 124, 16, 0.4);
}

.button-arrow {
    transition: transform 0.3s;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--text-primary), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    margin-bottom: 20px;
}

.icon-hex {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-card:hover .icon-hex {
    animation-duration: 2s;
}

.icon-hex svg {
    width: 30px;
    height: 30px;
    color: white;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(16, 124, 16, 0.2);
    border: 1px solid var(--primary-green);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Technology Section */
.technology {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.tech-item {
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.tech-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    border-radius: 20px;
    position: relative;
    animation: float-tech 3s infinite ease-in-out;
}

.tech-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 32px;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    text-align: center;
    line-height: 1;
}

.tech-logo.azure::before {
    content: 'Az';
}

.tech-logo.graph::before {
    content: 'G';
    font-size: 40px;
}

.tech-logo.security::before {
    content: '🛡';
    font-size: 36px;
}

.tech-logo.cloud::before {
    content: '☁';
    font-size: 40px;
}

@keyframes float-tech {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tech-name {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.tech-stats {
    max-width: 600px;
    margin: 0 auto;
}

.tech-stat {
    margin-bottom: 30px;
}

.stat-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-blue));
    border-radius: 10px;
    animation: fillBar 2s ease-out;
}

@keyframes fillBar {
    from { width: 0; }
}

.stat-info {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    position: relative;
}

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

.contact-title {
    font-family: 'Orbitron', monospace;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.contact-feature svg {
    color: var(--primary-green);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
}

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

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.08);
}

.form-label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s;
}

.form-input:focus + .form-label,
.form-input:valid + .form-label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: var(--dark-navy);
    padding: 0 5px;
    color: var(--primary-green);
}

select.form-input {
    cursor: pointer;
}

.submit-button {
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 124, 16, 0.3);
}

.button-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    display: none;
}

.submit-button.loading .button-loading {
    display: block;
}

.submit-button.loading span {
    visibility: hidden;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 10px;
}

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

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: 10px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 5px 0;
}

.footer-security {
    color: var(--primary-green);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Disclaimer */
.footer-disclaimer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
    font-size: 12px;
    line-height: 1.6;
    color: #7A7E8A;
    max-width: 800px;
    margin: 0 auto 15px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.footer-link {
    color: #7A7E8A;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
    opacity: 0.8;
}

.footer-link:hover {
    color: var(--primary-green);
    opacity: 1;
}

.footer-links .separator {
    color: #4A4E5A;
    font-size: 12px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

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

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 100px 40px 40px;
    transition: right 0.3s ease;
    z-index: 1001;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-link {
    display: block;
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(20px);
    animation: slideInMenu 0.3s ease forwards;
}

.mobile-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu.active .nav-link:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInMenu {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
}