/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a1a; color: #e8e8f0; line-height: 1.6; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  background: linear-gradient(135deg, #f0f0ff 0%, #9090c0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 16px;
}
.section-desc { color: #8888a0; max-width: 640px; margin: 0 auto; font-size: 17px; line-height: 1.7; }

/* ========== HEADER ========== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(10, 10, 26, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s;
}
.header--scrolled { background: rgba(10, 10, 26, 0.95); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 24px; max-width: 1200px; margin: 0 auto;
}
.logo {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, #41BC4E, #2d8a37);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav__link {
  font-size: 14px; font-weight: 500; color: #a0a0b8;
  transition: 0.2s; position: relative;
}
.nav__link:hover { color: #f0f0ff; }
.nav__link--cta {
  background: linear-gradient(135deg, #41BC4E, #2d8a37);
  color: #fff !important; padding: 8px 20px; border-radius: 8px;
  -webkit-text-fill-color: #fff;
}
.nav__link--cta:hover { opacity: 0.9; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.burger span { width: 24px; height: 2px; background: #e8e8f0; border-radius: 2px; transition: 0.3s; }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/img/hero-bg.jpg.webp');
  background-size: cover; background-position: center;
}
.hero__bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 50% 50%, rgba(65, 188, 78, 0.1) 0%, transparent 60%),
              linear-gradient(to bottom, rgba(10,10,26,0.25) 0%, rgba(10,10,26,0.55) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 800px; }
.hero__label {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: #41BC4E; margin-bottom: 20px;
  border: 1px solid rgba(65, 188, 78, 0.3); padding: 6px 16px; border-radius: 100px;
}
.hero__title {
  font-size: clamp(32px, 6vw, 58px); font-weight: 800; line-height: 1.12;
  margin-bottom: 20px; letter-spacing: -1px;
}
.hero__subtitle {
  font-size: 18px; color: #8888a0; max-width: 560px; line-height: 1.7; margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; margin-bottom: 60px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-size: 15px; font-weight: 600; border-radius: 10px;
  border: none; cursor: pointer; transition: 0.25s; text-decoration: none;
  font-family: inherit;
}
.btn--primary {
  background: linear-gradient(135deg, #41BC4E, #2d8a37); color: #fff;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(65, 188, 78, 0.3); }
.btn--ghost {
  background: transparent; color: #e8e8f0; border: 1px solid rgba(255,255,255,0.15);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.4); }
.btn--full { width: 100%; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { }
.stat__num {
  display: block; font-size: 28px; font-weight: 800; color: #f0f0ff; margin-bottom: 4px;
}
.stat__label { font-size: 14px; color: #8888a0; }

/* ========== ABOUT ========== */
.about { padding: 100px 0; }
.about__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.about__card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 32px; transition: 0.3s;
}
.about__card:hover { background: rgba(255,255,255,0.05); border-color: rgba(65, 188, 78, 0.25); transform: translateY(-2px); }
.about__icon { font-size: 32px; margin-bottom: 16px; }
.about__card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.about__card p { font-size: 15px; color: #8888a0; line-height: 1.7; }

/* ========== SERVICES ========== */
.services { padding: 100px 0; background: rgba(255,255,255,0.02); }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.service-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 32px; transition: 0.3s; position: relative;
}
.service-card:hover { background: rgba(255,255,255,0.05); transform: translateY(-2px); }
.service-card__num {
  font-family: 'JetBrains Mono', monospace; font-size: 40px; font-weight: 800;
  color: rgba(65, 188, 78, 0.2); line-height: 1; margin-bottom: 12px;
}
.service-card__title { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.service-card__desc { font-size: 15px; color: #8888a0; line-height: 1.7; }

/* ========== STEPS ========== */
.steps { padding: 100px 0; }
.steps__timeline { max-width: 700px; margin: 0 auto; }
.step { display: flex; gap: 24px; margin-bottom: 0; position: relative; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ''; position: absolute; left: 16px; top: 40px; bottom: 0;
  width: 2px; background: rgba(65, 188, 78, 0.2);
}
.step:last-child::before { display: none; }
.step__dot {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #41BC4E, #2d8a37); display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(65, 188, 78, 0.2);
}
.step__dot::after { content: ''; width: 8px; height: 8px; background: #fff; border-radius: 50%; }
.step__content { padding-top: 4px; }
.step__num { font-size: 12px; font-weight: 600; color: #41BC4E; text-transform: uppercase; letter-spacing: 1px; }
.step__content h3 { font-size: 18px; font-weight: 600; margin: 4px 0 8px; }
.step__content p { font-size: 15px; color: #8888a0; line-height: 1.7; }

/* ========== PROJECTS ========== */
.projects { padding: 100px 0; background: rgba(255,255,255,0.02); }
.projects__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.project-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden; transition: 0.3s;
}
.project-card:hover { transform: translateY(-3px); border-color: rgba(65, 188, 78, 0.25); }
.project-card__image { height: 200px; display: flex; align-items: center; justify-content: center; }
.project-card__placeholder { text-align: center; }
.project-card__icon { font-size: 48px; opacity: 0.6; }
.project-card__body { padding: 24px; }
.project-card__tags { display: flex; gap: 8px; margin-bottom: 12px; }
.tag {
  font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 6px;
  background: rgba(65, 188, 78, 0.1); color: #41BC4E;
}
.project-card__body h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.project-card__body p { font-size: 14px; color: #8888a0; line-height: 1.6; }

/* ========== FAQ ========== */
.faq { padding: 100px 0; }
.faq__list { max-width: 720px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.06); padding: 8px 0;
}
.faq__question {
  font-size: 16px; font-weight: 500; padding: 16px 0; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  color: #e0e0f0; transition: 0.2s; user-select: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+'; font-size: 20px; color: #41BC4E; transition: 0.3s;
  font-family: 'JetBrains Mono', monospace;
}
details[open] .faq__question::after { transform: rotate(135deg); }
.faq__answer {
  padding: 0 0 16px; font-size: 15px; color: #8888a0; line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact { padding: 100px 0; background: rgba(255,255,255,0.02); }
.contact__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.contact__title { text-align: left; }
.contact__desc { text-align: left; margin: 0 0 40px; }
.contact__details { display: flex; flex-direction: column; gap: 16px; }
.contact__item { display: flex; align-items: center; gap: 12px; }
.contact__icon { font-size: 20px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.04); border-radius: 10px; }
.contact__link { font-size: 16px; color: #c0c0d0; transition: 0.2s; }
.contact__link:hover { color: #41BC4E; }

.contact__form {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 32px;
}
.form__group { margin-bottom: 16px; }
.form__input {
  width: 100%; padding: 14px 16px; font-size: 15px; font-family: inherit;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; color: #e8e8f0; outline: none; transition: 0.2s;
}
.form__input:focus { border-color: #41BC4E; background: rgba(255,255,255,0.07); }
.form__input::placeholder { color: #666680; }
.form__select { appearance: none; cursor: pointer; }
.form__textarea { resize: vertical; min-height: 80px; }
.form__policy { font-size: 12px; color: #666680; margin-top: 12px; text-align: center; }
.form__success {
  text-align: center; padding: 24px; color: #4ade80; font-weight: 500;
  display: none;
}

/* ========== FOOTER ========== */
.footer { padding: 60px 0 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}
.footer__text { font-size: 14px; color: #8888a0; margin-top: 12px; max-width: 300px; }
.footer__partner { font-size: 13px; color: #666680; margin-top: 8px; }
.footer__links, .footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__contacts a { font-size: 14px; color: #8888a0; transition: 0.2s; }
.footer__links a:hover, .footer__contacts a:hover { color: #f0f0ff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 20px 0; }
.footer__bottom p { font-size: 13px; color: #555570; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .header__inner { height: 56px; }
  .nav { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; width: 100%;
    background: rgba(10, 10, 26, 0.98); padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav--open { display: flex; }
  .burger { display: flex; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero__stats { gap: 24px; }
  .stat__num { font-size: 22px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .about__grid, .services__grid, .projects__grid { grid-template-columns: 1fr; }
  .step { gap: 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
