/* Global Reset & Variables */
:root {
    --bg-color: #050510;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-accent: #00f2ff;
    --secondary-accent: #bc13fe;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Animated mesh gradient background */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 255, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.btn-primary:hover {
    background: var(--primary-accent);
    color: var(--bg-color);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.6);
    transform: translateY(-3px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--heading-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-accent);
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.4);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--heading-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Particle Background Canvas (handled by JS) */
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

/* Products Section */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.product-card:hover::before {
    transform: translateX(100%);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-accent);
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.product-card.ai-hub h3 {
    color: var(--secondary-accent);
}

.product-card.ai-hub .icon-box {
    color: var(--secondary-accent);
}

.product-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.feature-list {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '•';
    color: var(--primary-accent);
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.ai-hub .feature-list li::before {
    color: var(--secondary-accent);
}

/* Info Banner */
.info-banner {
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.1), rgba(188, 19, 254, 0.1));
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
    text-align: center;
    padding: 6rem 0;
}

.info-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: #02020a;
    border-top: var(--glass-border);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-links a:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none; /* Mobile menu implementation left as exercise/future improvement for brevity */
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }
}
