﻿/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #0a0a0f; color: #e4e4e7; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; transition: all .3s;
  background: rgba(10,10,15,.6); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav.scrolled { background: rgba(10,10,15,.95); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); font-weight: 800; font-size: 18px; color: #fff;
}
.logo-text { font-size: 18px; font-weight: 700; }
.logo-text .accent { color: #8b5cf6; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #a1a1aa; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.btn-nav {
  padding: 8px 20px !important; border-radius: 8px; font-weight: 600 !important;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff !important;
  transition: transform .2s, box-shadow .2s;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(99,102,241,.4); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* === HERO === */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .3;
}
.hero-orb-1 { width: 500px; height: 500px; background: #6366f1; top: -100px; right: -100px; animation: float 8s ease-in-out infinite; }
.hero-orb-2 { width: 400px; height: 400px; background: #8b5cf6; bottom: -50px; left: -100px; animation: float 10s ease-in-out infinite reverse; }
.hero-orb-3 { width: 300px; height: 300px; background: #ec4899; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: float 12s ease-in-out infinite; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}
.hero-content { position: relative; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  border-radius: 100px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
  font-size: 13px; color: #a1a1aa; margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -.02em; }
.gradient-text {
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 18px; color: #a1a1aa; max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
  border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all .2s; border: none;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,.5); }
.btn-glass {
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }

/* === STATS === */
.hero-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.stat-card {
  text-align: center; padding: 20px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  min-width: 140px;
}
.stat-icon { margin-bottom: 8px; color: #8b5cf6; }
.stat-number { font-size: 32px; font-weight: 800; color: #fff; }
.stat-plus { font-size: 20px; color: #8b5cf6; font-weight: 700; }
.stat-label { display: block; font-size: 13px; color: #71717a; margin-top: 4px; }

/* === SCROLL INDICATOR === */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: #52525b; animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* === SECTION === */
.section { padding: 100px 0; }
.section-dark { background: #111118; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; padding: 4px 14px; border-radius: 100px;
  background: rgba(139,92,246,.15); color: #a78bfa; font-size: 13px; font-weight: 600;
  margin-bottom: 16px; letter-spacing: .5px; text-transform: uppercase;
}
.section-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-header p { color: #71717a; font-size: 16px; max-width: 500px; margin: 0 auto; }
.section-header.light p { color: #a1a1aa; }

/* === SERVICES GRID === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  position: relative; padding: 32px; border-radius: 20px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: all .3s; overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.3); }
.service-card.featured {
  border-color: rgba(139,92,246,.4);
  background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(139,92,246,.05));
}
.card-glow {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.5), transparent);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover .card-glow { opacity: 1; }
.service-badge {
  position: absolute; top: 16px; right: 16px; padding: 4px 12px;
  border-radius: 100px; background: rgba(139,92,246,.2); color: #a78bfa;
  font-size: 11px; font-weight: 600;
}
.service-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 20px;
}
.icon-blue { background: rgba(59,130,246,.15); color: #60a5fa; }
.icon-indigo { background: rgba(99,102,241,.15); color: #818cf8; }
.icon-emerald { background: rgba(16,185,129,.15); color: #34d399; }
.icon-amber { background: rgba(245,158,11,.15); color: #fbbf24; }
.icon-purple { background: rgba(168,85,247,.15); color: #c084fc; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: #a1a1aa; font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.service-features { display: flex; flex-direction: column; gap: 8px; }
.service-features li {
  font-size: 13px; color: #71717a; padding-left: 16px; position: relative;
}
.service-features li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: #8b5cf6;
}

/* === FEATURES === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.feature {
  padding: 32px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: all .3s;
}
.feature:hover { border-color: rgba(139,92,246,.3); transform: translateY(-2px); }
.feature-icon { margin-bottom: 16px; color: #8b5cf6; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: #a1a1aa; font-size: 14px; line-height: 1.7; }

/* === PROCESS STEPS === */
.process-steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.step { text-align: center; padding: 24px; max-width: 220px; }
.step-icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(139,92,246,.15); color: #8b5cf6; margin: 0 auto 16px;
}
.step-num { font-size: 12px; font-weight: 700; color: #8b5cf6; margin-bottom: 8px; letter-spacing: 2px; }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { color: #71717a; font-size: 13px; }
.step-connector { display: flex; align-items: center; padding-top: 40px; color: #3f3f46; }

/* === CTA SECTION === */
.section-cta { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .2; }
.cta-orb-1 { width: 400px; height: 400px; background: #6366f1; top: -100px; left: -100px; }
.cta-orb-2 { width: 300px; height: 300px; background: #ec4899; bottom: -100px; right: -100px; }
.cta-content { position: relative; text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.cta-content > p { color: #a1a1aa; margin-bottom: 32px; }
.cta-contacts { display: flex; gap: 16px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.cta-contact {
  display: flex; align-items: center; gap: 12px; padding: 12px 24px;
  border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  transition: all .2s;
}
.cta-contact:hover { background: rgba(255,255,255,.1); border-color: rgba(139,92,246,.4); }
.cta-contact-icon { color: #8b5cf6; }
.cta-contact span { font-weight: 600; font-size: 15px; }

/* === CONTACT FORM === */
.contact-form {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 32px; text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #d4d4d8; }
.required { color: #ef4444; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #fff; font-size: 14px; font-family: inherit; transition: border-color .2s;
  outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #52525b; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #8b5cf6; }
.form-group select { cursor: pointer; appearance: none; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: #52525b; text-align: center; margin-top: 12px; }

/* === FOOTER === */
.footer { border-top: 1px solid rgba(255,255,255,.06); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: #71717a; font-size: 14px; margin-top: 16px; line-height: 1.7; }
.footer-social { margin-top: 16px; }
.social-link {
  display: inline-flex; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.06); align-items: center; justify-content: center;
  color: #71717a; transition: all .2s;
}
.social-link:hover { background: rgba(139,92,246,.2); color: #8b5cf6; }
.footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-links li { font-size: 14px; color: #71717a; transition: color .2s; display: flex; align-items: center; }
.footer-links a:hover { color: #a78bfa; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: #52525b; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: rgba(10,10,15,.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 80px 32px 32px; gap: 24px;
    transition: right .3s; border-left: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.active { right: 0; }
  .menu-toggle { display: flex; z-index: 101; }
  .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .hero-stats { gap: 16px; }
  .stat-card { min-width: 100px; padding: 16px; }
  .stat-number { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); padding: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-contacts { flex-direction: column; align-items: center; }
}

/* === ANIMATIONS === */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }