/* CSS Variables */
:root {
    --primary-color: #8e44ad;
    /* Purple from logo approximation */
    --primary-dark: #6c3483;
    --dark-bg: #1a1a1a;
    --dark-surface: #252525;
    --light-text: #f5f5f5;
    --gray-text: #b0b0b0;
    --white: #ffffff;
    --accent: #d373f5;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-main: 'Outfit', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 20px;
    border-radius: 2px;
}

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-bg);
}

.btn-pro {
    background: var(--white);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-pro:hover {
    background: var(--gray-text);
}

/* Header */
.header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.logo-main {
    color: var(--white);
}

.logo-sub {
    font-weight: 300;
    color: var(--gray-text);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-text);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay to make white text readable on image */
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    background: rgba(142, 68, 173, 0.2);
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(142, 68, 173, 0.4);
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    color: var(--gray-text);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    color: var(--primary-color);
}

/* Products Section */
.products {
    padding: 100px 0;
    background: var(--dark-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--dark-surface);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.product-card p {
    color: var(--gray-text);
    margin-bottom: 25px;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-link i {
    transition: transform 0.3s;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #202020;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-list {
    margin: 30px 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--gray-text);
}

.about-list li i {
    color: var(--primary-color);
    background: rgba(142, 68, 173, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.about-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--dark-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.contact-info {
    background: var(--primary-color);
    padding: 50px;
    color: var(--white);
}

.contact-info h2 {
    color: var(--white);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.contact-form-container {
    padding: 50px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 8px;
    color: var(--white);
    margin-bottom: 20px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    background: var(--white);
    color: var(--primary-dark);
    border: none;
    width: 100%;
}

.btn-submit:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #0f0f0f;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo h3 {
    color: var(--white);
    margin: 0;
}

.footer-logo p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.footer-links ul {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .header-container {
        padding: 0 15px;
    }

    .nav-list {
        display: none;
        /* simple hide for now, JS to toggle */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
        color: var(--white);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }
}