:root {
    --color-midnight: #0a1628;
    --color-slate: #1e293b;
    --color-steel: #475569;
    --color-cloud: #e2e8f0;
    --color-white: #ffffff;
    --color-accent-blue: #3b82f6;
    --color-accent-emerald: #10b981;
    --color-accent-amber: #f59e0b;
    --font-display: 'DM Serif Display', serif;
    --font-body: 'Work Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--color-midnight);
    color: var(--color-cloud);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.1);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--color-cloud);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

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

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tag {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-blue);
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--color-steel);
    max-width: 700px;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--color-accent-blue);
    color: var(--color-white);
    border: 2px solid var(--color-accent-blue);
}

.btn-primary:hover {
    background: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-cloud);
    border: 2px solid var(--color-steel);
}

.btn-secondary:hover {
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Products Section */
.products {
    padding: 8rem 4rem;
    background: linear-gradient(180deg, var(--color-midnight) 0%, var(--color-slate) 100%);
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 6rem;
}

.section-tag {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-emerald);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.product-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.1);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--card-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-card:nth-child(1) {
    --card-accent: var(--color-accent-blue);
}

.product-card:nth-child(2) {
    --card-accent: var(--color-accent-emerald);
}

.product-card:nth-child(3) {
    --card-accent: var(--color-accent-amber);
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--card-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.product-name {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    font-weight: 400;
}

.product-tagline {
    font-size: 1rem;
    color: var(--card-accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.product-description {
    color: var(--color-steel);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--color-cloud);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-features li::before {
    content: '→';
    color: var(--card-accent);
    font-weight: bold;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--card-accent);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.product-link:hover {
    gap: 1rem;
}

/* Stats Section */
.stats {
    padding: 6rem 4rem;
    background: var(--color-slate);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.stat-label {
    color: var(--color-steel);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 300;
}

/* About Section */
.about {
    padding: 8rem 4rem;
    background: var(--color-midnight);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-white);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.about-content p {
    color: var(--color-steel);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-visual {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 16px;
    padding: 4rem;
    border: 1px solid rgba(226, 232, 240, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--color-accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.9;
}

.value-text h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.value-text p {
    color: var(--color-steel);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 8rem 4rem;
    background: linear-gradient(180deg, var(--color-midnight) 0%, var(--color-slate) 100%);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.contact-container p {
    color: var(--color-steel);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--color-midnight);
    padding: 4rem 4rem 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--color-steel);
    line-height: 1.7;
}

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--color-steel);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-steel);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--color-steel);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-white);
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

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

/* Mobile Menu */
.nav-links.mobile-active {
    display: flex;
}

/* Responsive */
@media (max-width: 968px) {
    nav {
        padding: 1.5rem 2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--color-slate);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.mobile-active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hero {
        padding: 6rem 2rem 4rem;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    .products {
        padding: 4rem 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card {
        padding: 2rem;
    }

    .stats {
        padding: 4rem 2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .about {
        padding: 4rem 2rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        padding: 2rem;
    }

    .contact {
        padding: 4rem 2rem;
    }

    .contact-cta {
        flex-direction: column;
    }

    footer {
        padding: 3rem 2rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1.4rem;
    }
}
