/* Variables */
:root {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #1e293b;
    --accent-color: #8b5cf6;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    margin-left: 16px;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
}

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

/* Header */
.header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 0;
    right: 0;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    bottom: 0;
    left: 50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Services */
.services {
    padding: 100px 0;
    background-color: #0b1120;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: #94a3b8;
}

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

.service-card {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* About */
.about {
    padding: 100px 0;
}

.about-container {
    display: flex;
    justify-content: center;
}

.about-content {
    max-width: 800px;
    text-align: center;
}

.about-list {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-list li {
    position: relative;
    padding-left: 24px;
    font-weight: 500;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Contact */
.contact {
    padding: 100px 0;
}

.contact-box {
    background: linear-gradient(135deg, var(--secondary-color), #0b1120);
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.contact-box h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-box p {
    color: #94a3b8;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--secondary-color);
        padding: 20px;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav.active {
        clip-path: circle(150% at 100% 0);
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .hero-visual {
        display: none; /* Simplify for mobile */
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
