/* --- Global Reset & Variable Constants --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-deep: #030814;
    --bg-surface: #0a1124;
    --bg-card: #0f1a36;
    --primary: #1e62ec;
    --primary-glow: #00e5ff;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* --- Component Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.section-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-glow);
    display: inline-block;
    margin-bottom: 8px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 16px auto;
    border-radius: 2px;
}

/* --- Interactive Elements & Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0c4ed1);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(30, 98, 236, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(30, 98, 236, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

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

/* --- 1. Navigation Header --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background-color: rgba(3, 8, 20, 0.8);
    backdrop-filter: blur(12px);
    border-b: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* Base style handles actual uploaded images or custom logo elements safely */
#logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-fallback-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-glow));
    border-radius: 6px;
    padding: 6px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

.nav-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    border-color: var(--primary);
    background-color: rgba(30, 98, 236, 0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

/* --- 2. Hero Section --- */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: 25%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30,98,236,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content .tagline {
    font-size: 0.8rem;
    background-color: rgba(30, 98, 236, 0.15);
    color: var(--primary-glow);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(30, 98, 236, 0.3);
    display: inline-block;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Placeholder box animates via raw CSS variables safely */
.tech-box {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, var(--bg-surface), #060b18);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.tech-box-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.pulse-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-glow);
    border-radius: 50%;
    animation: pulseAnimation 2s infinite ease-out;
}

@keyframes pulseAnimation {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* --- 3. About Section --- */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
}

.section-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- 4. Product Showcase Section --- */
.product-section {
    padding: 100px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.product-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.glow-backdrop {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, transparent 65%);
    top: 10%;
    left: 10%;
    pointer-events: none;
}

#product-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

.product-fallback-graphic {
    width: 340px;
    height: 340px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.product-details h2 {
    font-size: 2.5rem;
    margin-top: 4px;
    margin-bottom: 16px;
}

.product-intro {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.spec-tag {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.product-details h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.connectivity-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.conn-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.conn-item span {
    width: 8px;
    height: 8px;
    background-color: var(--primary-glow);
    border-radius: 50%;
}

/* --- 5. Services & 6. Features Grid Panels --- */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
}

.features-section {
    padding: 100px 0;
}

.services-section h2, .features-section h2 {
    margin-top: 4px;
    margin-bottom: 48px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(30, 98, 236, 0.4);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* --- 7. Contact Section --- */
.contact-section {
    padding: 100px 0;
}

.contact-box {
    background: linear-gradient(135deg, var(--bg-surface) 0%, #050b18 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 64px 32px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.contact-box h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.contact-box p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 32px auto;
}

/* --- 8. Footer Area --- */
.footer {
    background-color: #02050c;
    padding: 64px 0 32px 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-about h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
