:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #00e5ff;
    --accent-glow: rgba(0, 229, 255, 0.4);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* --- Navigation --- */
.side-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--card-bg);
    z-index: 1000;
    transition: var(--transition);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.side-nav.active {
    left: 0;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 60px;
    color: var(--accent);
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    padding-left: 10px;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 10px;
}

.nav-footer {
    margin-top: auto;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* --- Brand Logo --- */
.brand-logo {
    position: fixed;
    top: 30px;
    left: 40px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    z-index: 1001;
    letter-spacing: 3px;
    transition: var(--transition);
}

.brand-logo:hover {
    color: var(--accent);
}

/* --- Menu Toggle --- */
.menu-toggle {
    position: fixed;
    top: 30px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px var(--accent-glow);
}

.bar {
    width: 20px;
    height: 2px;
    background: var(--bg-color);
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) grayscale(0.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 13, 13, 0.9) 20%, transparent 100%);
}

.hero-content {
    padding-left: 10%;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.reveal-text {
    overflow: hidden;
}

.accent {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.7rem;
    letter-spacing: 3px;
}

.hero-scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    background: var(--glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.section-header.reveal {
    transition-delay: 0.1s;
}

.service-card:nth-child(1).reveal {
    transition-delay: 0.2s;
}

.service-card:nth-child(2).reveal {
    transition-delay: 0.3s;
}

.service-card:nth-child(3).reveal {
    transition-delay: 0.4s;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

.service-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--accent-glow);
    filter: blur(40px);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
}

/* --- About Section --- */
.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.about-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.glass-card h3 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.glass-card ul {
    list-style: none;
}

.glass-card li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.glass-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}

/* --- Contact Section --- */
.contact-card {
    background: var(--card-bg);
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.contact-info {
    flex: 1;
    background: linear-gradient(135deg, #1a1a1a, #000);
    padding: 60px;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-form {
    flex: 1.5;
    padding: 60px;
}

.form-group {
    margin-bottom: 25px;
}

input,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 15px;
    color: #fff;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.full-width {
    width: 100%;
}

/* --- Footer --- */
.main-footer {
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .brand-logo {
        left: 20px;
        top: 20px;
        font-size: 1.4rem;
    }

    .menu-toggle {
        right: 20px;
        top: 20px;
    }

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

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

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

    .about-flex {
        gap: 40px;
    }
}