/* ========== IMPORTS & ROOT VARIABLES ========== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    /* Cyber AI Neon & Glass Palette */
    --primary: #00D2FF;
    --primary-gradient: linear-gradient(135deg, #00D2FF 0%, #0072FF 50%, #7000FF 100%);
    --cyan-glow-gradient: linear-gradient(135deg, #00F0FF 0%, #0072FF 100%);
    --accent-purple: #8B5CF6;
    --accent-emerald: #10B981;
    --accent-rose: #F43F5E;
    
    /* Backgrounds (Futuristic Cyber Dark & Deep Space) */
    --bg-darkest: #050811;
    --bg-main: #080D1A;
    --bg-surface: #0E1626;
    --bg-surface-elevated: #131E33;
    
    /* Glassmorphism Tokens */
    --glass-bg: rgba(14, 22, 38, 0.65);
    --glass-bg-card: rgba(18, 28, 48, 0.55);
    --glass-bg-hover: rgba(26, 40, 68, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-top: rgba(255, 255, 255, 0.18);
    --glass-border-glow: rgba(0, 210, 255, 0.35);
    --glass-blur: blur(16px);
    --glass-blur-heavy: blur(24px);
    
    /* Typography Colors */
    --text-pure: #FFFFFF;
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --text-subtle: #64748B;
    --text-cyan: #38BDF8;
    
    /* Shadows & Glows */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glass-hover: 0 16px 40px 0 rgba(0, 210, 255, 0.2);
    --glow-cyan: 0 0 25px rgba(0, 210, 255, 0.4);
    --glow-blue: 0 0 30px rgba(0, 114, 255, 0.35);
    --glow-purple: 0 0 25px rgba(112, 0, 255, 0.35);
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 84px;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-darkest);
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 210, 255, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 20%, rgba(112, 0, 255, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 80%, rgba(0, 114, 255, 0.06) 0px, transparent 60%);
    background-attachment: fixed;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-pure);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { margin-bottom: 1rem; color: var(--text-muted); }

.mono-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.text-gradient {
    background: var(--cyan-glow-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #00D2FF 0%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ========== LAYOUT ========== */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-glass-bg {
    background: rgba(14, 22, 38, 0.35);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    align-items: center;
}

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

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

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 4rem 0; }
}

/* ========== GLASSMORPHISM COMPONENTS ========== */

/* Glass Cards */
.glass-card {
    background: var(--glass-bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border-top);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-glass);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-glow);
    box-shadow: var(--shadow-glass-hover);
}

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

/* Glass Badges */
.glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.glass-pill .status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* Card Icons */
.glass-icon-box {
    width: 3.75rem;
    height: 3.75rem;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.25);
    backdrop-filter: blur(10px);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
    transition: all 0.3s ease;
}

.glass-card:hover .glass-icon-box {
    background: var(--cyan-glow-gradient);
    color: #FFFFFF;
    box-shadow: var(--glow-cyan);
    transform: scale(1.08) rotate(3deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    gap: 0.65rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 114, 255, 0.45);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.6);
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--glass-blur);
    color: var(--text-pure);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    transform: translateY(-2px);
}

/* Navbar */
.header {
    height: var(--header-height);
    background: rgba(8, 13, 26, 0.75);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.04);
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #94A3B8;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.25s ease;
}

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

.nav-link.active {
    color: var(--text-pure);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cyan-glow-gradient);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: var(--text-pure);
}

/* Hero Section */
.hero {
    padding: 5rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%; right: 5%; width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 620px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 210, 255, 0.15);
}

.hero-image-wrapper img {
    border-radius: calc(var(--radius-lg) - 0.5rem);
    width: 100%;
}

/* Telemetry Mini Glass Badge */
.telemetry-glass {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: rgba(14, 22, 38, 0.85);
    border: 1px solid rgba(0, 210, 255, 0.3);
    backdrop-filter: var(--glass-blur-heavy);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow-cyan);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

/* Steps / Workflow */
.step-glass-card {
    background: var(--glass-bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
}

.step-glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-glow);
    box-shadow: var(--shadow-glass-hover);
}

.step-number-cyber {
    width: 3.25rem;
    height: 3.25rem;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.35);
    backdrop-filter: blur(8px);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
    transition: all 0.3s ease;
}

.step-glass-card:hover .step-number-cyber {
    background: var(--cyan-glow-gradient);
    color: #FFFFFF;
    box-shadow: var(--glow-cyan);
    transform: scale(1.1);
}

/* Interactive Device Status Box */
.device-status-glass {
    background: rgba(18, 28, 48, 0.7);
    border: 1px solid var(--glass-border-glow);
    backdrop-filter: var(--glass-blur-heavy);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-glass), 0 0 35px rgba(0, 210, 255, 0.15);
}

.stat-item-glass {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

/* CTA Section */
.cta-glass-banner {
    background: linear-gradient(135deg, rgba(14, 22, 38, 0.85) 0%, rgba(8, 13, 26, 0.95) 100%);
    border: 1px solid rgba(0, 210, 255, 0.3);
    backdrop-filter: var(--glass-blur-heavy);
    border-radius: var(--radius-lg);
    padding: 5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 210, 255, 0.15);
}

.cta-glass-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.2), transparent 60%);
    pointer-events: none;
}

/* Glass Form Inputs */
.form-group {
    margin-bottom: 1.5rem;
}

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

.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.25rem;
    color: var(--text-pure);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.25), 0 0 15px rgba(0, 210, 255, 0.15);
}

.glass-input::placeholder {
    color: var(--text-subtle);
}

/* Footer */
.footer {
    background: var(--bg-darkest);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2.5rem;
    position: relative;
}

.footer-top {
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-pure);
}

.footer-col ul li {
    margin-bottom: 0.85rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.social-glass-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-glass-icon:hover {
    background: var(--primary);
    color: var(--bg-darkest);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(8, 13, 26, 0.98);
        backdrop-filter: var(--glass-blur-heavy);
        flex-direction: column;
        padding: 2rem 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        gap: 1.5rem;
        align-items: flex-start;
    }
    .nav-links.active { display: flex; }
    .nav-links .btn { width: 100%; text-align: center; }
    .telemetry-glass { position: static; margin-top: 1.5rem; }
    .cta-glass-banner { padding: 3rem 1.5rem; }
}

