/* =========================================
   1. ФУНДАМЕНТ
   ========================================= */
:root {
    --bg: #050505;
    --card: #0f0f0f;
    --accent: #a855f7;
    --text: #ffffff;
    --text-dim: #a1a1aa;
    --border: rgba(255, 255, 255, 0.08);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; }

/* 2. НАВИГАЦИЯ (LIQUID GLASS) */
nav {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 15px 8%; background: rgba(5, 5, 5, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.logo { font-weight: 900; font-size: 1.4rem; letter-spacing: -1px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
    color: var(--text); text-decoration: none; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    padding: 10px 22px; border-radius: 50px; transition: all 0.4s; opacity: 0.5;
}
.nav-links a.active {
    opacity: 1; color: var(--accent); background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* 3. ГЛАВНАЯ СТРАНИЦА (HERO & ABOUT) */
.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 10%; }
.hero h1 { font-size: clamp(3rem, 10vw, 6.5rem); line-height: 0.95; font-weight: 900; letter-spacing: -3px; margin-bottom: 25px; }
.hero h1 span { background: linear-gradient(to bottom, #fff, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-dim); max-width: 550px; font-size: 1.1rem; margin-bottom: 35px; }
.hero-btns { display: flex; gap: 15px; }

.about-section { padding: 100px 8%; }
.about-content { display: flex; align-items: center; justify-content: space-between; gap: 60px; max-width: 1200px; margin: 0 auto; }
.about-content .text-block { flex: 1.2; text-align: left; }
.about-content h2 { font-size: 2.8rem; text-align: left; margin-bottom: 25px; line-height: 1.1; font-weight: 900; }
.about-content p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 20px; }

.image-placeholder { 
    flex: 0.8; height: 500px; background: #111; border-radius: 30px; 
    position: relative; border: 1px solid var(--border); overflow: hidden; 
}
.image-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 4. ЗАГОЛОВКИ СЕКЦИЙ И ПРЕИМУЩЕСТВА */
.section-title-styled { text-align: center; margin-bottom: 60px; }
.section-title-styled h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: -1px; }

.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1100px; margin: 0 auto; }
.benefit-card { background: var(--card); padding: 40px; border-radius: 28px; border: 1px solid var(--border); transition: 0.3s; }
.benefit-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 15px; color: #fff; }

/* 5. ПОРТФОЛИО ГРИД (3 КОЛОНКИ) */
.content-page { padding: 140px 8% 50px; }
.page-header { text-align: center; margin-bottom: 80px; }
.page-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; text-transform: uppercase; letter-spacing: -1px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; max-width: 1400px; margin: 0 auto; }
.portfolio-item { background: var(--card); border-radius: 24px; border: 1px solid var(--border); aspect-ratio: 3/4; overflow: hidden; position: relative; transition: 0.4s; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(168, 85, 247, 0.5); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; z-index: 2; }
.item-overlay span { font-weight: 900; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

/* 6. ПРАЙС-ЛИСТ */
.price-section-title { text-align: center; width: 100%; margin: 100px auto 60px; display: flex; flex-direction: column; align-items: center; }
.price-section-title h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; text-transform: uppercase; letter-spacing: -1px; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.price-card { 
    background: linear-gradient(145deg, #0f0f0f, #050505); 
    padding: 50px 40px; border-radius: 35px; border: 1px solid var(--border); 
    display: flex; flex-direction: column; transition: var(--transition); 
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01);
}
.price-card:hover { border-color: rgba(168, 85, 247, 0.4); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(168, 85, 247, 0.05); }
.price-card.exclusive { border: 2px solid var(--accent); box-shadow: 0 0 30px rgba(168, 85, 247, 0.1); }
.cost { font-size: 2.5rem; font-weight: 900; margin: 20px 0; color: #fff; letter-spacing: -1px; }
.price-card ul { list-style: none; margin: 20px 0; flex-grow: 1; }
.price-card ul li::before { content: "—"; color: var(--accent); margin-right: 12px; font-weight: bold; }

/* 7. MODERN CTA (С ЖИРНЫМ ШРИФТОМ) */
.modern-cta { padding: 150px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 100px; }
.cta-tag { font-weight: 900; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 5px; color: var(--accent); display: block; margin-bottom: 35px; }
.modern-cta h2 { font-size: clamp(3.5rem, 12vw, 8.5rem); font-weight: 900; letter-spacing: -5px; line-height: 0.85; margin-bottom: 50px; }
.modern-cta h2 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.3); }

.cta-action p { 
    color: #fff; font-size: 1.4rem; max-width: 700px; margin: 0 auto 50px; 
    line-height: 1.4; font-weight: 900; letter-spacing: 2px; 
    text-transform: uppercase; opacity: 0.9; text-shadow: 0 0 20px rgba(168, 85, 247, 0.3); 
}

/* 8. МАНИФЕСТ (ИСПРАВЛЕННЫЙ ОТСТУП) */
.manifesto { 
    padding: 120px 8% 80px; /* Увеличил отступ сверху, чтобы блоки не слипались */
    display: flex; justify-content: center; 
}
.manifesto-box { 
    background: linear-gradient(135deg, #0a0a0a, #000); padding: 85px 50px; 
    border-radius: 45px; text-align: center; border: 1px solid var(--accent); 
    max-width: 950px; width: 100%; display: flex; flex-direction: column; align-items: center; 
}
.manifesto-box h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 25px; }
.manifesto-box p { color: var(--text-dim); font-size: 1.15rem; max-width: 720px; margin-bottom: 50px; line-height: 1.6; }

/* 9. ЮРИДИЧЕСКИЙ БЛОК (Z-INDEX 9999) */
.legal-footer { padding: 40px 0 60px; text-align: center; display: flex; justify-content: center; gap: 20px; }
.legal-btn { background: none; border: none; color: var(--text-dim); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; opacity: 0.5; transition: 0.3s; }
.legal-btn:hover { opacity: 1; color: var(--accent); }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); display: none; justify-content: center; align-items: center; z-index: 9999; }
.modal-content { background: var(--card); width: 90%; max-width: 550px; border-radius: 35px; padding: 50px 40px; border: 1px solid var(--border); position: relative; max-height: 85vh; overflow-y: auto; text-align: left; }
.modal-close { position: absolute; top: 25px; right: 25px; color: #fff; font-size: 2.2rem; border: none; background: none; cursor: pointer; line-height: 1; opacity: 0.5; transition: 0.3s; }

/* 10. КНОПКИ (ВОССТАНОВЛЕНИЕ ДИЗАЙНА) */
.tag, .alert { font-weight: 900; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 15px; display: inline-block; }
.alert { background: var(--accent); color: #fff; padding: 5px 15px; border-radius: 6px; }

.btn-main { 
    display: inline-block; background: var(--accent); color: white; padding: 18px 45px; 
    border-radius: 16px; text-decoration: none; font-weight: 700; transition: var(--transition); 
    border: none; box-shadow: 0 4px 15px rgba(168, 85, 247, 0.1); 
}
.btn-outline { 
    display: inline-block; 
    border: 2px solid rgba(255, 255, 255, 0.1); /* Вернул рамку */
    color: white; 
    padding: 18px 45px; 
    border-radius: 16px; 
    text-decoration: none; 
    font-weight: 700; 
    transition: var(--transition);
}
.btn-main:hover { box-shadow: 0 10px 40px rgba(168, 85, 247, 0.4); transform: translateY(-4px); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-4px); }

/* АДАПТИВНОСТЬ */
@media (max-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } .about-content { flex-direction: column; text-align: center; } }
@media (max-width: 768px) { nav { padding: 15px 5%; } .nav-links { display: none; } .portfolio-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 3.5rem; } .modern-cta h2 { font-size: 3.5rem; letter-spacing: -1px; } }

footer { height: 100px; }