:root {
    --bg: #0a0a0a;
    --bg-card: #111111;
    --text: #e8e4de;
    --text-muted: #7a756e;
    --accent: #c9a96e;
    --accent-dim: #8a7343;
    --border: #1e1e1e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
.noise { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"); pointer-events: none; z-index: 100; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { padding: 40px 0 20px; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; letter-spacing: 0.5px; color: var(--text); }
.logo span { color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 24px; }
nav { display: flex; align-items: center; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 14px; margin-left: 32px; transition: color 0.3s; letter-spacing: 0.5px; text-transform: uppercase; }
nav a:hover { color: var(--accent); }
.client-login { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border: 1px solid var(--accent-dim); color: var(--accent); text-decoration: none; font-size: 13px; letter-spacing: 0.5px; transition: all 0.3s; }
.client-login:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.client-login svg { width: 16px; height: 16px; fill: currentColor; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 301; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 300; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-menu.active { display: flex; }
.mobile-menu a { color: var(--text); text-decoration: none; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mobile-login { margin-top: 16px; padding: 14px 32px; border: 1px solid var(--accent-dim); color: var(--accent); font-size: 16px; }

/* Hero */
.hero { padding: 120px 0 100px; position: relative; }
.hero-label { font-size: 12px; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: 24px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.1; margin-bottom: 32px; max-width: 700px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 18px; color: var(--text-muted); max-width: 500px; line-height: 1.7; margin-bottom: 48px; }
.hero-cta { display: inline-flex; align-items: center; gap: 12px; padding: 16px 36px; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s; }
.hero-cta:hover { background: var(--text); transform: translateY(-2px); }
.hero-line { position: absolute; right: 0; top: 80px; width: 35%; height: 1px; background: linear-gradient(to right, transparent, var(--accent-dim)); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { background: var(--bg); padding: 48px 32px; text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }

/* Services */
.services { padding: 100px 0; }
.section-label { font-size: 12px; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: 16px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 600; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); padding: 40px; transition: all 0.4s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--accent); transition: height 0.4s; }
.service-card:hover::before { height: 100%; }
.service-card:hover { border-color: var(--accent-dim); transform: translateY(-4px); }
.service-num { font-family: 'Playfair Display', serif; font-size: 48px; color: var(--border); font-weight: 700; margin-bottom: 16px; line-height: 1; }
.service-card h3 { font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* About */
.about { padding: 80px 0 100px; border-top: 1px solid var(--border); }
.about-text { max-width: 720px; }
.about-text p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.about-text p:first-of-type { font-size: 18px; color: var(--text); }
.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tech-tag { padding: 6px 16px; border: 1px solid var(--border); font-size: 12px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* Contact */
.contact { padding: 80px 0 100px; border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info a { display: block; color: var(--text); text-decoration: none; font-size: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); transition: color 0.3s; }
.contact-info a:hover { color: var(--accent); }
.contact-info a span { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 4px; }

/* Footer */
footer { padding: 40px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
footer p { font-size: 13px; color: var(--text-muted); }

/* Modals */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 200; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.modal { background: var(--bg-card); border: 1px solid var(--border); padding: 48px 40px; width: 100%; max-width: 400px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; transition: color 0.3s; line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 8px; }
.modal p { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.modal label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 8px; }
.modal input { width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border); color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px; margin-bottom: 20px; outline: none; transition: border-color 0.3s; }
.modal input:focus { border-color: var(--accent-dim); }
.modal-btn { width: 100%; padding: 14px; background: var(--accent); color: var(--bg); border: none; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.modal-btn:hover { background: var(--text); }
.modal-error { color: #c0392b; font-size: 13px; margin-top: 12px; display: none; text-align: center; }

/* Proxy list */
.proxy-section-title { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; margin-top: 8px; }
.proxy-section-title.ru { color: var(--accent); }
.proxy-section-title.other { color: var(--text-muted); margin-top: 24px; }
.proxy-link { display: block; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); color: var(--accent); text-decoration: none; font-size: 13px; transition: border-color 0.3s; margin-bottom: 8px; }
.proxy-link:hover { border-color: var(--accent); }
.proxy-link.ru { border-color: var(--accent-dim); }
.proxy-link.ru:hover { background: var(--accent-dim); }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-label, .hero h1, .hero-desc, .hero-cta { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.hero h1 { animation-delay: 0.1s; }
.hero-desc { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    nav { display: none; }
    .client-login { display: none; }
    .hamburger { display: block; }
    .hero { padding: 80px 0 60px; }
    .modal { margin: 16px; padding: 32px 24px; }
}