/* =========================
   ROOT / VARIABLES
========================= */
:root {
    --bg-main: #0d1220;
    --bg-secondary: #121a2c;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-strong: rgba(255, 255, 255, 0.08);
  
    --text-main: #f5f7fb;
    --text-secondary: #b8c1d9;
    --text-soft: #8f9ab8;
  
    --border-soft: rgba(255, 255, 255, 0.10);
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.35);
  
    --accent-pink: #fcc0da;
    --accent-cyan: #09cad1;
    --accent-violet: #6118cc;
  
    --gradient-main: linear-gradient(135deg, #6118cc 0%, #09cad1 55%, #fcc0da 100%);
    --gradient-soft: linear-gradient(135deg, rgba(97, 24, 204, 0.35), rgba(9, 202, 209, 0.25), rgba(252, 192, 218, 0.18));
  
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
  
    --container-width: 1180px;
  }
  
  /* =========================
     RESET / BASE
  ========================= */
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
      radial-gradient(circle at top, rgba(97, 24, 204, 0.18), transparent 28%),
      radial-gradient(circle at bottom right, rgba(9, 202, 209, 0.16), transparent 28%),
      var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button,
  input,
  textarea {
    font: inherit;
  }
  
  /* =========================
     LAYOUT HELPERS
  ========================= */
  .site-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
  }
  
  .container {
    width: min(100% - 32px, var(--container-width));
    margin: 0 auto;
  }
  
  .section-title {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
  }
  
  .section-title--center {
    text-align: center;
  }
  
  .section-text {
    margin: 0 0 16px;
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 650px;
  }
  
  .section-text--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-heading {
    margin-bottom: 18px;
  }
  
  .section-heading--center {
    text-align: center;
  }
  
  .section-heading__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  /* =========================
     BACKGROUND DECOR
  ========================= */
  .bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
  }
  
  .bg-orb--one {
    top: 60px;
    left: -60px;
    width: 320px;
    height: 320px;
    background: rgba(97, 24, 204, 0.45);
  }
  
  .bg-orb--two {
    top: 320px;
    right: -80px;
    width: 380px;
    height: 380px;
    background: rgba(9, 202, 209, 0.30);
  }
  
  .bg-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
    pointer-events: none;
    opacity: 0.35;
  }
  
/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  padding: 18px 0 72px;
  min-height: 84vh;
  display: flex;
  align-items: flex-start;
}

/* =========================
   HERO INNER CONTAINER
========================= */
.hero__container {
  position: relative;
  z-index: 2;
  transform: translateY(-100px);
}

/* =========================
   HERO LOGO
========================= */
.hero__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2px;
}

.hero__logo img {
  width: min(100%, 420px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(9, 202, 209, 0.08));
}

/* =========================
   HERO CONTENT
========================= */
.hero__content {
  max-width: 860px;
  margin: 0 auto 18px;
  text-align: center;
}

.hero__title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero__subtitle {
  margin: 0 auto;
  max-width: 700px;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* =========================
   HERO CARDS
========================= */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  opacity: 0.95;
}

.hero-card--software::after {
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-cyan));
}

.hero-card--consulting::after {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
}

.hero-card--infrastructure::after {
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet));
}

.hero-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.hero-card--software:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(97, 24, 204, 0.18);
}

.hero-card--consulting:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(9, 202, 209, 0.18);
}

.hero-card--infrastructure:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(252, 192, 218, 0.16);
}

/* =========================
   HERO CARD TOP
========================= */
.hero-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-card__tag {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* =========================
   HERO CARD MAIN CONTENT
========================= */
.hero-card__main {
  position: relative;
  z-index: 1;
}

.hero-card__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-card__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 95%;
}

/* =========================
   HERO CARD EXTRA CONTENT
========================= */
.hero-card__extra {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.32s ease,
    opacity 0.22s ease,
    margin-top 0.22s ease;
}

.hero-card:hover .hero-card__extra {
  max-height: 180px;
  opacity: 1;
  margin-top: 20px;
}

.hero-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card__list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.hero-card__list li + li {
  margin-top: 10px;
}

.hero-card__list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(9, 202, 209, 0.4);
}

.hero-card--software .hero-card__list li::before {
  background: var(--accent-cyan);
}

.hero-card--consulting .hero-card__list li::before {
  background: var(--accent-pink);
  box-shadow: 0 0 10px rgba(252, 192, 218, 0.35);
}

.hero-card--infrastructure .hero-card__list li::before {
  background: #8f5cff;
  box-shadow: 0 0 10px rgba(97, 24, 204, 0.35);
}

/* =========================
   HERO RESPONSIVE
========================= */
@media (max-width: 991px) {
  .hero {
    padding: 70px 0 48px;
    min-height: auto;
  }

  .hero__container {
    transform: translateY(0);
  }

  .hero__logo img {
    width: min(100%, 340px);
  }

  .hero-cards {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .hero-card {
    min-height: auto;
  }

  .hero-card__extra {
    max-height: none;
    opacity: 1;
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 56px 0 36px;
  }

  .hero__logo {
    margin-bottom: 6px;
  }

  .hero__logo img {
    width: min(100%, 260px);
  }

  .hero__content {
    margin: 0 auto 18px;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__subtitle {
    font-size: 0.96rem;
  }

  .hero-card {
    padding: 22px 18px;
  }
}
  
  /* =========================
     WHY SECTION
  ========================= */
  .why {
    position: relative;
    padding: 80px 0;
  }
  
  .why__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 28px;
  }
  
  .why__content,
  .why__progress {
    min-width: 0;
  }
  
  /* =========================
     PROGRESS BARS
  ========================= */
  .progress-card {
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
  }
  
  .progress-card + .progress-card {
    margin-top: 16px;
  }
  
  .progress-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-main);
  }
  
  .progress-bar {
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
  }
  
  .progress-bar__fill {
    height: 100%;
    border-radius: 999px;
  }
  
  .progress-bar__fill--one {
    background: linear-gradient(90deg, var(--accent-violet), var(--accent-cyan));
  }
  
  .progress-bar__fill--two {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  }
  
  .progress-bar__fill--three {
    background: linear-gradient(90deg, var(--accent-violet), var(--accent-pink));
  }
  
  .progress-bar__fill--four {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  }
  
  /* =========================
     MINI STATS
  ========================= */
  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .stat-card {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--bg-card-strong);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    text-align: center;
  }
  
  .stat-card__value {
    display: block;
    margin-bottom: 8px;
    font-size: 1.35rem;
    font-weight: 700;
  }
  
  .stat-card__label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
  }
  
  /* =========================
     CONTACT SECTION
  ========================= */
  .contact {
    position: relative;
    padding: 80px 0;
  }
  
  .contact__container {
    position: relative;
    z-index: 2;
  }
  
  .contact__intro {
    max-width: 720px;
    margin-bottom: 34px;
  }
  
  .contact-form {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
  }
  
  .contact-form__group {
    margin-bottom: 18px;
  }
  
  .contact-form__group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-main);
  }
  
  .contact-form__group input,
  .contact-form__group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    outline: none;
  }
  
  .contact-form__group input::placeholder,
  .contact-form__group textarea::placeholder {
    color: var(--text-soft);
  }
  
  .contact-form__group input:focus,
  .contact-form__group textarea:focus {
    border-color: rgba(9, 202, 209, 0.75);
    box-shadow: 0 0 0 4px rgba(9, 202, 209, 0.10);
  }
  
  .contact-form__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 15px 24px;
    border: none;
    border-radius: 999px;
    background: var(--gradient-main);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(97, 24, 204, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .contact-form__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 46px rgba(97, 24, 204, 0.34);
  }

  /* =========================
   CONTACT FORM HELPERS
========================= */
.contact-form__hidden {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-form__status {
  margin-top: 16px;
}

.contact-form__success,
.contact-form__error {
  display: none;
  margin: 0;
  font-size: 0.95rem;
}

.contact-form__success {
  color: #7fffd4;
}

.contact-form__error {
  color: #ff9aa9;
}
  
  /* =========================
     FOOTER
  ========================= */
  .footer {
    padding: 28px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  
  .footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
  }
  
  .footer__brand {
    margin: 0 0 8px;
    font-weight: 700;
    color: var(--text-main);
  }
  
  .footer__meta,
  .footer__copy {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
  }
  
  .footer__right {
    text-align: right;
  }
  
  .footer__link {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent-cyan);
    transition: opacity 0.2s ease;
  }
  
  .footer__link:hover {
    opacity: 0.8;
  }