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

:root {
    --primary: #5d5dff;
    --primary-light: #8080ff;
    --secondary: #ff3366;
    --bg-dark: #0a0a0c;
    --bg-card: #16161a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #00f2fe;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Questrial', sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.cta-button:hover {
    background: transparent;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(93, 93, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 160px 0 80px;
    /* Increased top padding to clear fixed menu */
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(93, 93, 255, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    animation: pulse 10s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    z-index: -1;
    animation: pulse 8s infinite alternate-reverse;
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1.4s ease-out;
}

/* Sections General */
section {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

/* Cards & Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

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

/* Specialized Sections Content */
.factory-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 3rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Footer style */
footer {
    padding: 5rem 0 2rem;
    background: #050507;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info .logo {
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.group-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}