:root {
    --bg: #0f0f17;
    --bg-alt: #16162a;
    --card: #1a1a2e;
    --text: #e8e8f0;
    --muted: #9a9ab0;
    --accent: #e94560;
    --accent-hover: #ff5c77;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 23, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #22223a;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
}

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

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

.nav-list a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-list a:hover {
    color: var(--accent);
}

.burger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at top, #1a1a3e 0%, var(--bg) 60%);
    padding-top: 64px;
}

.hero-tag {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.accent {
    color: var(--accent);
}

.hero-text {
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 32px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: none;
    border: 1px solid #33334f;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: none;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* About */
.about {
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about p {
    color: var(--muted);
    margin-bottom: 16px;
}

.skills {
    list-style: none;
    display: grid;
    gap: 12px;
}

.skills li {
    background: var(--card);
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

/* Services */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #22223a;
    transition: transform 0.2s, border-color 0.2s;
}

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

.card h3 {
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
    margin-bottom: 20px;
}

.price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Works */
.works {
    background: var(--bg-alt);
}

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

.work-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    min-height: 220px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

.work-card img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}

.work-card:hover img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 23, 0.92) 0%, rgba(15, 15, 23, 0.35) 55%, rgba(15, 15, 23, 0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.3s;
}

.work-card:hover .work-overlay {
    background: linear-gradient(to top, rgba(233, 69, 96, 0.9) 0%, rgba(15, 15, 23, 0.3) 100%);
}

.work-overlay span {
    font-weight: 600;
}

/* Contacts */
.contacts-text {
    color: var(--muted);
    margin-bottom: 32px;
}

.contacts-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Footer */
.footer {
    background: #0a0a12;
    padding: 24px 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: var(--bg);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid #22223a;
    }

    .nav-list.open {
        display: flex;
    }

    .burger {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 70px 0;
    }
}
