/* ===== CSS Variables & Reset ===== */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1520;
    --bg-card: #141c2b;
    --bg-card-hover: #1a2538;
    --text-primary: #f0f2f5;
    --text-secondary: #8b95a8;
    --text-muted: #5a6478;
    --accent-1: #00d4aa;
    --accent-2: #00b4d8;
    --accent-3: #7c3aed;
    --gradient-1: linear-gradient(135deg, #00d4aa, #00b4d8);
    --gradient-2: linear-gradient(135deg, #00b4d8, #7c3aed);
    --gradient-text: linear-gradient(135deg, #00d4aa, #00b4d8, #7c3aed);
    --border-color: rgba(255, 255, 255, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --nav-height: 72px;
    --font-primary: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-1);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-2);
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-1);
    background: rgba(0, 212, 170, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.section-header h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: #0a0e17;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 170, 0.45);
    color: #0a0e17;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    background: rgba(0, 212, 170, 0.05);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.95);
    box-shadow: var(--shadow-md);
}

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

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

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #0a0e17;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-1);
}

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

.nav-links a {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-1);
    top: -100px;
    right: -100px;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-3);
    bottom: -50px;
    left: -100px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--accent-1);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero h1 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-value {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-1);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

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

.hero-image img {
    max-width: 500px;
    width: 100%;
    border-radius: var(--radius-lg);
    animation: float 6s ease-in-out infinite;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--text-muted);
    font-size: 1.2rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Features ===== */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 170, 0.2);
    background: var(--bg-card-hover);
}

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

.feature-card.featured {
    border-color: rgba(0, 212, 170, 0.15);
    background: rgba(0, 212, 170, 0.03);
}

.feature-card.featured::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 170, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-1);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== Technology ===== */
.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.tech-content .section-tag {
    margin-bottom: 12px;
}

.tech-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.tech-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1rem;
}

.tech-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-step {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.tech-step:hover {
    border-color: rgba(0, 212, 170, 0.2);
    background: var(--bg-card-hover);
}

.step-num {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-1);
    opacity: 0.5;
    min-width: 36px;
}

.step-content h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

/* ===== Gallery ===== */
.gallery {
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.gallery-item {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    cursor: pointer;
}
.gallery-item.gallery-wide { aspect-ratio: 16/10; }
.gallery-item:not(.gallery-wide) { aspect-ratio: 3/4; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
}

/* ===== Specs ===== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.3s;
}

.spec-card:hover {
    border-color: rgba(0, 212, 170, 0.2);
    transform: translateY(-4px);
}

.spec-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-2);
    margin-bottom: 16px;
}

.spec-card h4 {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.spec-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.spec-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-card li span {
    color: var(--text-muted);
}

.spec-card li strong {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
}

/* ===== Use Cases ===== */
.usecases {
    background: var(--bg-secondary);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usecase-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.4s;
}

.usecase-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 170, 0.2);
}

.usecase-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-1);
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.usecase-card:hover .usecase-icon {
    background: var(--gradient-1);
    color: #0a0e17;
}

.usecase-card h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.usecase-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Configurator ===== */
.configurator { padding: 60px 0; background: var(--bg-primary); }
.config-layout { display: grid; grid-template-columns: 1.2fr 1.5fr 1.2fr; gap: 24px; }

.config-components h3 {
    font-family: var(--font-primary); font-size: 0.85rem; font-weight: 600;
    color: var(--text-secondary); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px;
}
.config-components h3.mt-4 { margin-top: 16px; }

.config-card {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 12px; margin-bottom: 10px;
    cursor: pointer; transition: all 0.3s ease; position: relative;
}
.config-card:hover { border-color: rgba(0,212,170,0.25); background: var(--bg-card-hover); }
.config-card.active { border-color: var(--accent-1); background: rgba(0,212,170,0.05); }

.config-card-check {
    position: absolute; top: 8px; right: 8px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--bg-primary); border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.55rem; color: transparent; transition: all 0.3s;
}
.config-card.active .config-card-check {
    background: var(--accent-1); border-color: var(--accent-1); color: #0a0e17;
}

.config-card img {
    width: 54px; height: 54px; object-fit: cover;
    border-radius: var(--radius-sm); flex-shrink: 0;
}
.config-card-info h4 {
    font-family: var(--font-primary); font-size: 0.9rem; font-weight: 600;
    margin-bottom: 2px; display: flex; align-items: center; gap: 6px;
}
.config-card-info p { color: var(--text-secondary); font-size: 0.75rem; line-height: 1.4; }

.config-badge {
    font-size: 0.55rem; padding: 2px 6px; border-radius: 8px;
    text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700;
}
.config-badge.essential { background: rgba(0,212,170,0.15); color: var(--accent-1); }
.config-badge.addon { background: rgba(0,180,216,0.15); color: var(--accent-2); }

/* Preview Panel */
.config-preview-visual {
    position: relative; background: var(--bg-secondary);
    border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    min-height: 300px; overflow: hidden;
}
.config-preview-glow {
    position: absolute; width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.12), transparent 70%);
    filter: blur(40px); pointer-events: none;
}

.config-assembly { position: relative; width: 220px; height: 220px; }
.config-layer {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
    opacity: 0; transform: scale(0.9); transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.config-layer.active { opacity: 1; transform: scale(1); }

.config-summary {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 20px;
    display: flex; flex-direction: column;
}
.config-summary h3 {
    font-family: var(--font-primary); font-size: 0.8rem; font-weight: 600;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}

.config-package {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-primary); font-size: 1.15rem; font-weight: 700;
    color: var(--accent-1); margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.config-package i { font-size: 1rem; }

.config-features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex-grow: 1; }
.config-features li {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; color: var(--text-muted);
    opacity: 0; max-height: 0; overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, color 0.3s;
}
.config-features li.active {
    opacity: 1; max-height: 30px; color: var(--text-secondary);
}
.config-features li i { color: var(--accent-1); font-size: 0.75rem; }

.config-cta { padding: 12px; font-size: 0.95rem; }

@media (max-width: 992px) {
    .config-layout { grid-template-columns: 1fr 1fr; }
    .config-summary { grid-column: span 2; }
}
@media (max-width: 768px) {
    .config-layout { grid-template-columns: 1fr; }
    .config-summary { grid-column: span 1; }
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-1);
    top: -100px;
    left: 30%;
}

.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-3);
    bottom: -80px;
    right: 20%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 32px;
}

/* ===== Contact ===== */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: rgba(0, 212, 170, 0.2);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 170, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    margin-bottom: 12px;
}

.contact-card h4 {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 16px 0 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--accent-1);
    color: #0a0e17;
    border-color: var(--accent-1);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-1);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--accent-1);
    font-weight: 500;
}

/* ===== Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {

    .features-grid,
    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.gallery-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-desc {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 350px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .tech-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.gallery-wide {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {

    .features-grid,
    .usecases-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}

/* ===== Visitor Dashboard (Admin) ===== */
#visitor-dashboard {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vd-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.vd-panel {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 480px;
    max-width: 90vw;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.vd-header h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--accent-1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.vd-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.vd-close:hover {
    color: var(--text-primary);
}

.vd-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.vd-stat {
    text-align: center;
    background: var(--bg-primary);
    padding: 16px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.vd-num {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-1);
}

.vd-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vd-chart-title {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.vd-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    padding: 8px 0;
}

.vd-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.vd-bar {
    width: 100%;
    background: var(--gradient-1);
    border-radius: 4px 4px 0 0;
    position: relative;
    min-height: 4px;
    transition: height 0.5s ease;
}

.vd-bar-val {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--accent-1);
    font-weight: 600;
}

.vd-bar-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.vd-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.vd-hint kbd {
    background: var(--bg-primary);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-size: 0.7rem;
}