:root {
    --bg-color: #030303;
    --accent: #0071ff;
    --accent-glow: rgba(0, 113, 255, 0.4);
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(255, 255, 255, 0.02);
    --curve: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg-color);
}

body {
    background: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    background: rgba(3, 3, 3, 0.7);
}

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

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

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

.nav__list {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav__link {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s var(--curve);
}

.nav__link:hover {
    color: var(--text-main);
}

.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    background: #030303;
}

.hero__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.hero__blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--accent);
    filter: blur(180px);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

.hero__title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 0.9;
    margin-bottom: 24px;
}

.hero__title span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 550px;
    margin-bottom: 48px;
    font-weight: 300;
}

.hero__actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn {
    padding: 18px 42px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s var(--curve);
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn--primary:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--accent-glow);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-main);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--text-main);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

.features {
    padding: 160px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--card-bg);
    padding: 60px 40px;
    border: 1px solid var(--border);
    transition: all 0.6s var(--curve);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.feature-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -2px;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 20px;
    padding-bottom: 160px;
}

.gallery__item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.8s var(--curve);
}

.gallery__item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.gallery__item:nth-child(1) { grid-column: span 8; }
.gallery__item:nth-child(2) { grid-column: span 4; }
.gallery__item:nth-child(3) { grid-column: span 4; }
.gallery__item:nth-child(4) { grid-column: span 8; }

.contact {
    padding: 160px 0;
    border-top: 1px solid var(--border);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start;
}

.contact__info h2 {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 24px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form__group input, .form__group textarea {
    width: 100%;
    padding: 20px;
    background: #0a0a0a;
    border: 1px solid var(--border);
    color: white;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form__group input:focus, .form__group textarea:focus {
    border-color: var(--accent);
}

.form__group textarea {
    height: 180px;
    resize: none;
}

.footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    background: #000;
}

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

.footer__copy {
    color: var(--text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 12px;
}

.footer__socials {
    display: flex;
    gap: 32px;
}

.footer__link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

@media (max-width: 992px) {
    .features, .contact__wrapper {
        grid-template-columns: 1fr;
    }
    .gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery__item {
        grid-column: span 1 !important;
        height: 300px;
    }
    .hero__title { font-size: 4rem; }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--curve);
    z-index: 2000;
}

.modal--active {
    opacity: 1;
    visibility: visible;
}

.modal__content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 60px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: translateY(30px);
    transition: all 0.5s var(--curve);
}

.modal--active .modal__content {
    transform: translateY(0);
}

.modal__icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    box-shadow: 0 0 30px var(--accent-glow);
}

.modal__title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal__text {
    color: var(--text-dim);
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal__close {
    width: 100%;
}