/* ============================================
   BYPRESS — Plain CSS Stylesheet
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef0f6;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  color: #1e2755;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4a5b98;
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: #4a5b98;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta-item {
  display: flex;
}

.nav__links a.nav__cta,
.nav__mobile a.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: #1e2755;
  color: #fff !important;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav__links a.nav__cta:hover,
.nav__mobile a.nav__cta:hover {
  background: #2d3d6e !important;
  color: #fff !important;
}

.nav__links a.nav__cta::after,
.nav__links a.nav__cta:hover::after {
  display: none !important;
  width: 0;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #1e2755;
}

.nav__toggle-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #1e2755;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.24s ease, opacity 0.18s ease;
}

.nav__toggle.is-active .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #eef0f6;
  padding: 16px 40px 20px;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 28px rgba(30,39,85,0.12);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}

.nav.nav--open .nav__mobile,
.nav__mobile.is-open {
  display: flex;
}

.nav__mobile a {
  color: #1e2755;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__mobile a:hover {
  color: #4a5b98;
}

.nav__mobile .nav__cta {
  align-self: flex-start;
  margin-top: 6px;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 76px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(30,39,85,0.93) 0%, rgba(30,39,85,0.80) 55%, rgba(45,61,110,0.50) 100%);
}

.hero__deco {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  pointer-events: none;
  overflow: hidden;
}

.hero__deco-diamond {
  position: absolute;
  border-radius: 4px;
  transform: rotate(45deg);
}

.hero__deco-diamond--lg {
  width: 320px;
  height: 320px;
  background: rgba(74, 91, 152, 0.18);
  right: -60px;
  top: 15%;
}

.hero__deco-diamond--md {
  width: 192px;
  height: 192px;
  background: rgba(128, 144, 200, 0.14);
  right: 180px;
  top: 10%;
}

.hero__deco-diamond--sm {
  width: 128px;
  height: 128px;
  border: 2px solid rgba(255,255,255,0.18);
  background: transparent;
  right: 120px;
  bottom: 25%;
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}

.hero__inner {
  max-width: 720px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.90);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero__label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8090c8;
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title-accent {
  color: #8090c8;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.80);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, gap 0.2s, border-color 0.2s;
}

.btn--primary {
  background: #4a5b98;
  color: #fff;
}

.btn--primary:hover {
  background: #3a4b88;
  gap: 12px;
}

.btn--outline-white {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.30);
  backdrop-filter: blur(4px);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.50);
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero__stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  line-height: 0;
}

.hero__wave svg {
  display: block;
  width: 100%;
}

/* ============================================
   SERVICES
   ============================================ */

.services {
  padding: 96px 0;
  background: #fff;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8ebf5;
  color: #2d3d6e;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.section__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4a5b98;
  flex-shrink: 0;
}

.section__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #1e2755;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 17px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eef0f6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  color: inherit;
}

.service-card:hover {
  box-shadow: 0 16px 40px rgba(30,39,85,0.12);
  transform: translateY(-2px);
}

.service-card:focus-visible {
  outline: 3px solid rgba(74,91,152,0.35);
  outline-offset: 4px;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e2755, #4a5b98, #8090c8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__image {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.06);
}

.service-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,39,85,0.70) 0%, transparent 60%);
}

.service-card__image-badge {
  position: absolute;
  bottom: 16px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__image-title {
  color: #fff;
}

.service-card__image-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.70);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 2px;
}

.service-card__image-name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.service-card__body {
  padding: 24px;
}

.service-card__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.service-card__tag {
  font-size: 12px;
  color: #2d3d6e;
  background: #e8ebf5;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 500;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4a5b98;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s, gap 0.2s;
}

.service-card__link:hover {
  color: #1e2755;
  gap: 10px;
}

.service-card__link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   WHY BYPRESS
   ============================================ */

.why {
  padding: 96px 0;
  background: #f4f6fb;
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why__image-wrap {
  position: relative;
}

.why__image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(30,39,85,0.18);
  position: relative;
}

.why__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.why__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,39,85,0.25) 0%, transparent 60%);
}

.why__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid #eef0f6;
  max-width: 185px;
}

.why__badge-value {
  font-size: 40px;
  font-weight: 700;
  color: #1e2755;
  line-height: 1;
  margin-bottom: 6px;
}

.why__badge-label {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.why__deco {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 96px;
  height: 96px;
  background: rgba(128, 144, 200, 0.18);
  border-radius: 4px;
  transform: rotate(45deg);
  z-index: -1;
}

.why__desc {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 32px;
}

.why__pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why__pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why__pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e8ebf5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why__pillar-icon svg {
  width: 18px;
  height: 18px;
  stroke: #4a5b98;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why__pillar-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e2755;
  margin-bottom: 4px;
}

.why__pillar-text {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  position: relative;
  padding: 80px 0;
  background: #1e2755;
  overflow: hidden;
}

.cta-banner__deco {
  position: absolute;
  border-radius: 4px;
  transform: rotate(45deg);
  pointer-events: none;
}

.cta-banner__deco--tr {
  width: 256px;
  height: 256px;
  background: rgba(74,91,152,0.28);
  top: -64px;
  right: -64px;
}

.cta-banner__deco--bl {
  width: 320px;
  height: 320px;
  background: rgba(45,61,110,0.50);
  bottom: -96px;
  left: -96px;
}

.cta-banner__deco--mid {
  width: 128px;
  height: 128px;
  border: 1px solid rgba(255,255,255,0.10);
  background: transparent;
  top: 50%;
  right: 25%;
  transform: rotate(45deg) translateY(-50%);
}

.cta-banner__inner {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-banner__title-accent {
  color: #8090c8;
}

.cta-banner__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.70);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  padding: 96px 0;
  background: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__info {
  padding-top: 8px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact__detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #555;
  font-size: 15px;
  transition: color 0.2s;
}

a.contact__detail-item:hover {
  color: #1e2755;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e8ebf5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: #4a5b98;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__detail-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4a5b98;
  margin-bottom: 2px;
}

.contact__detail-value {
  font-size: 15px;
  font-weight: 500;
  color: #1e2755;
}

/* Form */
.contact__form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #eef0f6;
  box-shadow: 0 4px 24px rgba(30,39,85,0.08);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e2755;
}

.contact__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d4d9ee;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #fafbfe;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.contact__input::placeholder {
  color: #aab0c8;
}

.contact__input:focus {
  border-color: #5b6fa8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74, 91, 152, 0.12);
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__submit {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  background: #2c3e67;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, gap 0.2s;
}

.contact__submit:hover {
  background: #1e2a4a;
  gap: 12px;
}

.contact__submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.contact__status {
  min-height: 20px;
  margin-top: -8px;
  font-size: 13px;
  line-height: 1.5;
}

.contact__status:empty {
  display: none;
}

.contact__status--success {
  color: #2d6e4e;
}

.contact__status--error {
  color: #b42318;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #0f0f1b;
  color: #fff;
}

.footer__main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__logo {
  height: 150px;
  width: auto;
  margin-bottom: 20px;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer__contact-item:hover {
  color: #fff;
}

.footer__contact-item svg {
  width: 15px;
  height: 15px;
  stroke: #8090c8;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer__social:hover {
  background: #4a5b98;
}

.footer__social svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255,255,255,0.70);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 20px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  transition: color 0.2s;
}

.footer__col-links a:hover {
  color: #fff;
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer__copy-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .why__grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .why__badge {
    right: 16px;
    bottom: -20px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav__mobile {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .hero__deco {
    display: none;
  }

  .hero__content {
    padding: 60px 24px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .section__inner,
  .footer__main,
  .footer__bottom,
  .cta-banner__inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__stats {
    gap: 28px;
  }

  .why__grid {
    gap: 48px;
  }

  .why__image img {
    height: 300px;
  }

  .contact__form-wrap {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .cta-banner__buttons {
    flex-direction: column;
    align-items: center;
  }
}
