@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #070b14;
    --navy-soft: #0f172a;
    --blue-accent: #3b82f6;
    --blue-glow: rgba(59, 130, 246, 0.4);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Grid Pattern & Radial Glow */
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(29, 78, 216, 0.15), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(30, 58, 138, 0.15), transparent 40%),
        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: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(7, 11, 20, 0.8);
    border-bottom: 1px solid var(--glass-border);
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--glass-border);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--blue-accent);
    text-shadow: 0 0 10px var(--blue-glow);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--blue-accent);
    color: #fff;
    border: 1px solid var(--blue-accent);
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 0 20px var(--blue-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--blue-accent);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 15px var(--blue-glow);
    transform: translateY(-2px);
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 600;
}

.section-title span {
    color: var(--blue-accent);
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: 0.4s;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.1);
}

/* About & Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

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

.feature-icon {
    font-size: 2rem;
    color: var(--blue-accent);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: rgba(7, 11, 20, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 40px 0 20px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-content {
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 400px;
    margin: 0 auto;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        border-bottom: 1px solid var(--glass-border);
        transition: 0.3s;
    }
    .nav-links.active {
        right: 0;
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .btn-group {
        flex-direction: column;
    }
}

/* Product & Contact Pages Specifics */
.page-header {
    padding-top: 150px;
    padding-bottom: 50px;
    text-align: center;
}

.category-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.product-item i {
    color: var(--blue-accent);
    font-size: 1.2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--blue-accent);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.contact-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}
