/* CODIA_HYBRID_LAYOUT_KERNEL_START */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* CODIA_HYBRID_LAYOUT_KERNEL_END */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&display=swap');

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --purple: #7034C2;
  --purple-dark: #4a2a6e;
  --purple-btn: #6231D7;
  --card-bg: #090909;
  --text-muted: #6B6B6B;
  --text-light: #AEAEAF;
}

html { scroll-behavior: smooth; }

body {
  background: #000;
  color: #fff;
  font-family: var(--font);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ============================================================
   EDIT MODE
   ============================================================ */

/* Floating Edit FAB */
.edit-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #6231D7;
  border: none;
  color: #fff;
  border-radius: 50px;
  padding: 13px 22px;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 28px rgba(98, 49, 215, 0.55);
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
}
.edit-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(98, 49, 215, 0.7);
}
.edit-fab.active {
  background: #1a9e4f;
  box-shadow: 0 4px 28px rgba(26, 158, 79, 0.5);
}
.edit-fab__icon { font-style: normal; font-size: 15px; }

/* Save toast */
.save-toast {
  position: fixed;
  bottom: 80px;
  right: 28px;
  z-index: 9997;
  background: #1a9e4f;
  color: #fff;
  font-size: 12px;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.save-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Editable element styles in edit mode */
body.edit-mode [data-field] {
  outline: 1px dashed rgba(112, 52, 194, 0.45);
  border-radius: 3px;
  cursor: text;
  transition: outline 0.15s, background 0.15s;
}
body.edit-mode [data-field]:hover {
  outline: 1px solid #7034C2;
  background: rgba(112, 52, 194, 0.07);
}
body.edit-mode [data-field]:focus {
  outline: 2px solid #7034C2;
  background: rgba(112, 52, 194, 0.12);
  border-radius: 3px;
}

/* Edit mode hint bar */
.edit-hint {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #3a0e8f, #6231D7);
  color: #e2d5ff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-align: center;
  padding: 7px 16px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  text-transform: uppercase;
}
.edit-hint.visible { transform: translateY(0); }

/* ============================================================
   PAGE SHELL
   ============================================================ */

.page {
  width: 100%;
  max-width: 1472px;
  margin: 0 auto;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 720px;
  background-image: url('https://static.codia.ai/s/image_2ff80084-5592-4812-a90f-e3a30481dbb7.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  padding: 18px 52px 36px;
}

/* Navbar */
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar__logo-img {
  object-fit: contain;
  flex-shrink: 0;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.navbar__logo-name {
  font-size: 20px;
  font-weight: 700;
  color: #B0AEB4;
  letter-spacing: 2.5px;
  line-height: 1;
}

.navbar__logo-sub {
  font-size: 9px;
  font-weight: 400;
  color: #5a5860;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 2px solid #2d1550;
  border-radius: 28px;
  padding: 14px 32px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: var(--font);
  text-decoration: none;
}
.navbar__cta:hover {
  border-color: #7034C2;
  background: rgba(112, 52, 194, 0.08);
}
.navbar__cta span {
  font-size: 14px;
  font-weight: 700;
  color: #552E78;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.navbar__cta img { object-fit: contain; }

/* Hero content */
.hero__content {
  max-width: 550px;
}

.hero__tag {
  font-size: 13px;
  font-weight: 500;
  color: #3A235E;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.hero__title {
  margin-bottom: 2px;
}

.hero__title-line {
  font-size: 56px;
  font-weight: 800;
  color: #B9B9B9;
  line-height: 1.18;
  letter-spacing: -1px;
  display: block;
}

.hero__subtitle {
  font-size: 64px;
  font-weight: 800;
  color: #7034C2;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero__body {
  margin-bottom: 10px;
}

.hero__body p {
  font-size: 17px;
  line-height: 1.65;
}

.text-dim   { color: #4B4A4A; }

.text-accent {
  color: #573480;
  text-decoration: underline;
  text-decoration-color: rgba(87, 52, 128, 0.35);
  text-underline-offset: 2px;
}

.hero__note {
  font-size: 16px;
  color: #6A696B;
  margin-bottom: 34px;
  margin-top: 6px;
}

/* CTA buttons */
.hero__cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #6231D7;
  border: 1px solid #5C2DC2;
  border-radius: 6px;
  padding: 18px 28px;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: #7241e8;
  transform: translateY(-1px);
}
.btn-primary img { object-fit: contain; flex-shrink: 0; }
.btn-primary span {
  font-size: 13px;
  font-weight: 700;
  color: #BDA9EE;
  letter-spacing: 1px;
  white-space: nowrap;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid #351C57;
  border-radius: 6px;
  padding: 18px 32px;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  border-color: #7034C2;
  transform: translateY(-1px);
}
.btn-secondary img { object-fit: contain; flex-shrink: 0; }
.btn-secondary span {
  font-size: 12px;
  font-weight: 600;
  color: #9C9C9D;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

.services-section {
  position: relative;
  background-image: url('https://static.codia.ai/s/image_97f085f0-568d-4a4e-a228-8c7d845a0779.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #050508;
}

/* Thin separator between hero and services */
.section-sep {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #1a0d35 30%, #1a0d35 70%, transparent 100%);
  opacity: 0.6;
}

.services__header {
  padding: 42px 80px 30px;
}

.services__title {
  font-size: 22px;
  font-weight: 700;
  color: #6730B9;
  letter-spacing: 1px;
}

/* Cards */
.cards-row {
  display: flex;
  gap: 12px;
  padding: 0 28px 40px;
  justify-content: space-between;
}

.card {
  flex: 1;
  min-width: 0;
  background: #090909;
  border: 1px solid #141414;
  border-radius: 8px;
  padding: 42px 28px 40px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s, transform 0.22s;
  cursor: default;
}
.card:hover {
  border-color: #2a1545;
  transform: translateY(-3px);
}

.card__icon {
  object-fit: contain;
  margin-bottom: 28px;
  flex-shrink: 0;
  align-self: flex-start;
}

.card__title {
  font-size: 20px;
  font-weight: 700;
  color: #AEAEAF;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.card__desc {
  font-size: 13px;
  color: #6B6B6B;
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid #181818;
  padding: 32px 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__contacts {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__contact img { object-fit: contain; flex-shrink: 0; }

.footer__contact-text {
  font-size: 20px;
  font-weight: 400;
  color: #9B9B9B;
  letter-spacing: 0.2px;
}

.footer__divider {
  width: 2px;
  height: 44px;
  background: #2a2a2a;
  flex-shrink: 0;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer__social-in {
  font-size: 22px;
  font-weight: 700;
  color: #D0D0D0;
  line-height: 1;
}

.footer__social img { object-fit: contain; }

.footer__copy {
  font-size: 13px;
  color: #393939;
}

/* ============================================================
   RESPONSIVE (basic)
   ============================================================ */

@media (max-width: 1100px) {
  .hero { padding: 16px 32px 32px; }
  .hero__title-line { font-size: 44px; }
  .hero__subtitle { font-size: 52px; }
  .cards-row { gap: 8px; padding: 0 20px 32px; }
  .card { padding: 32px 18px 30px; }
  .card__title { font-size: 16px; }
}

@media (max-width: 820px) {
  .hero { min-height: unset; padding: 16px 20px 32px; }
  .hero__tag { font-size: 11px; }
  .hero__title-line { font-size: 34px; }
  .hero__subtitle { font-size: 38px; }
  .hero__body p { font-size: 14px; }
  .navbar__logo-name { font-size: 15px; }
  .navbar__cta { padding: 10px 20px; }
  .navbar__cta span { font-size: 12px; }

  .cards-row {
    flex-wrap: wrap;
    padding: 0 16px 28px;
  }
  .card { flex: 1 1 calc(50% - 8px); }

  .footer__contacts { flex-wrap: wrap; gap: 14px; }
  .footer__contact-text { font-size: 15px; }
  .footer__main { flex-wrap: wrap; gap: 16px; }
}
