/* Custom Properties */
:root {
    --bg-dark: #050508;
    --bg-panel: rgba(18, 18, 25, 0.4);
    --neon-cyan: #00f3ff;
    --neon-purple: #bb00ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-base {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 15% 50%, rgba(0, 243, 255, 0.08), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(187, 0, 255, 0.08), transparent 25%);
    z-index: -3;
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -2;
    opacity: 0.5;
}

.orb-1 {
    width: 400px; height: 400px;
    background: var(--neon-cyan);
    top: -100px; left: -100px;
    animation: floatOrb 10s infinite ease-in-out alternate;
}

.orb-2 {
    width: 300px; height: 300px;
    background: var(--neon-purple);
    top: 40%; right: -50px;
    animation: floatOrb 12s infinite ease-in-out alternate-reverse;
}

.orb-3 {
    width: 350px; height: 350px;
    background: var(--neon-cyan);
    bottom: -100px; left: 20%;
    opacity: 0.3;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 4rem; font-weight: 800; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

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

.text-neon {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.text-purple {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(187, 0, 255, 0.4);
}

.gradient-text {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

/* Utility / Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

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

.glass-effect {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
}

.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(45deg, var(--neon-cyan), transparent 60%, var(--neon-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.btn-primary.glow-button:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Nav */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1280px;
    z-index: 100;
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--bg-dark);
    border-radius: 50%;
}

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

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

.blink {
    animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

/* Device Mockup */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.device-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    transform-style: preserve-3d;
}

.device-mockup {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    padding: 12px;
    background: rgba(20, 20, 30, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
                0 0 40px rgba(0, 243, 255, 0.1);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.device-mockup:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.screen-glare {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.device-base {
    width: 110%;
    height: 12px;
    background: linear-gradient(90deg, #1a1a24, #2a2a35, #1a1a24);
    border-radius: 0 0 16px 16px;
    margin-left: -5%;
    transform: rotateY(-15deg) rotateX(5deg) translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* Floating Elements */
.float-animation {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-card {
    position: absolute;
    padding: 1rem;
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.float-card-1 {
    top: -20px;
    right: -30px;
    background: rgba(18, 18, 25, 0.8);
}

.float-card-2 {
    bottom: 20px;
    left: -40px;
    background: rgba(18, 18, 25, 0.8);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.metric {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.trend.up {
    color: #00ff88;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.status-flex {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(187, 0, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(187, 0, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(187, 0, 255, 0); }
}

/* Services */
.section-header {
    margin-bottom: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.glass-card {
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
}

.hover-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3);
}

.card-icon-wrapper {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Stats */
.stats-box {
    display: flex;
    justify-content: space-around;
    padding: 3rem;
    align-items: center;
}

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

.stat-number {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number span {
    font-size: 2rem;
    color: var(--text-secondary);
}

.stat-label {
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.divider {
    width: 1px;
    height: 60px;
    background: var(--border-glass);
}

/* CTA Section */
.cta-subtitle {
    margin: 1rem auto 2.5rem;
    max-width: 600px;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links h4 {
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

/* Animations Reveal */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout, .grid-3 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .stats-box {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .divider { display: none; }
    
    .stat-item { width: 40%; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero { padding-top: 8rem; }
    
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
