/* ===== RESET / BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0b0b14;
  --surface: #121222;
  --surface-2: #18182b;
  --primary: #7b5cff;
  --primary-bright: #9366ff;
  --text: #ececf2;
  --text-dim: #a0a0b8;
  --text-muted: #6b6b85;
  --border: rgba(255,255,255,0.08);
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary-bright); text-decoration: none; transition: color .2s; }
a:hover { color: #b89aff; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER / NAV ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(11,11,20,0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 16px; }

.nav-logo { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.nav-logo:hover { color: var(--text); }

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

.nav-links a { color: var(--text-dim); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

.nav-lang-toggle { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 3px; }

.nav-lang-btn { border: none; background: transparent; color: var(--text-dim); font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; cursor: pointer; letter-spacing: 0.02em; }
.nav-lang-btn.active { background: var(--primary); color: #fff; }

/* ===== HERO ===== */
.hero { padding: 120px 0 80px; background: linear-gradient(170deg, #12122a 0%, #0b0b14 60%, #12122a 100%); position: relative; overflow: hidden; }

.hero::before {
  content: ""; position: absolute; top: -40%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(123,92,255,0.12) 0%, transparent 70%); pointer-events: none;
}

.hero-content { max-width: 720px; text-align: center; position: relative; z-index: 1; }

.hero-badge { display: inline-block; background: var(--surface-2); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; color: var(--primary-bright); font-weight: 600; margin-bottom: 28px; letter-spacing: 0.01em; }

.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 28px; }

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; text-align: center; transition: transform .15s, box-shadow .2s, background .2s; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary { background: linear-gradient(135deg, #7b5cff, #9366ff); color: #fff; box-shadow: 0 8px 28px rgba(123,92,255,0.3); }
.btn-primary:hover { background: linear-gradient(135deg, #8d6cff, #aa7cff); color: #fff; box-shadow: 0 12px 32px rgba(123,92,255,0.4); }

.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surface-2); color: var(--text); border-color: rgba(255,255,255,0.12); }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-header h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.section-header p { color: var(--text-dim); font-size: 1.05rem; }

/* ===== FEATURES ===== */
.features { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.feature-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-3px); border-color: rgba(123,92,255,0.35); }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.45; }

/* ===== NUMBERS ===== */
.numbers { background: linear-gradient(170deg, #12122a 0%, #0b0b14 60%); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }

.stat-item { padding: 10px; }
.stat-number { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--primary-bright); letter-spacing: -0.04em; line-height: 1; }
.stat-label { font-size: 0.9rem; color: var(--text-dim); margin-top: 6px; }

/* ===== SERVICES ===== */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .2s; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(123,92,255,0.35); }
.service-icon { font-size: 1.6rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.service-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.45; }

/* ===== ABOUT ===== */
.about { background: var(--surface); }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; text-align: center; margin-top: 40px; }

/* ===== TEAM ===== */
.team { background: linear-gradient(170deg, #12122a 0%, #0b0b14 60%); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; gap: 16px; align-items: flex-start; transition: border-color .2s; }
.team-card:hover { border-color: rgba(123,92,255,0.35); }

.team-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #7b5cff, #9366ff); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; color: #fff; flex-shrink: 0; letter-spacing: -0.02em; }

.team-info h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 2px; }
.team-info p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.35; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s; }
.review-card:hover { transform: translateY(-3px); border-color: rgba(123,92,255,0.35); }
.review-card p { font-size: 0.95rem; color: var(--text-dim); margin-bottom: 14px; line-height: 1.45; font-style: italic; }
.review-author { font-size: 0.85rem; font-weight: 600; color: var(--text); }

/* ===== FAQ ===== */
.faq { background: var(--surface); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 14px; }
.faq-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.faq-item p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.45; }

/* ===== CONTACT ===== */
.contact { background: linear-gradient(170deg, #12122a 0%, #0b0b14 60%); text-align: center; padding: 100px 0; }
.contact-content { max-width: 640px; margin: 0 auto; }
.contact-content h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.contact-content p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 24px; }

/* ===== FOOTER ===== */
.footer { background: #070714; border-top: 1px solid var(--border); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.01em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-dim); font-size: 0.9rem; }
.footer-col a:hover { color: var(--text); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-legal p { color: var(--text-muted); font-size: 0.82rem; }

.footer-social { display: flex; gap: 14px; flex-wrap: wrap; }
.social-link { color: var(--text-dim); font-size: 0.82rem; font-weight: 600; }
.social-link:hover { color: var(--text); }

/* ===== MOBILE ===== */
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(11,11,20,0.98); border-bottom: 1px solid var(--border); flex-direction: column; padding: 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.05rem; }
  .hero { padding: 90px 0 60px; }
  .hero h1 { font-size: 2rem; }
  section { padding: 60px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
