*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #06060f;
  --text-primary: #f0f0f8;
  --text-secondary: rgba(240, 240, 248, 0.5);
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.16);
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --radius-card: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1;
  overflow-x: hidden;
}

/* ─── AURORA BACKGROUND ──────────────────────────────────── */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 10% 20%,  rgba(59, 91, 219, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 90% 20%,  rgba(49, 168, 194, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 5%,   rgba(139, 58, 210, 0.17) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 15% 80%,  rgba(190, 60, 140, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 75%,  rgba(59, 91, 219, 0.13) 0%, transparent 55%);
}

/* ─── NAV ────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.4s, border-bottom 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(6, 6, 15, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav-logo svg {
  filter: drop-shadow(0 2px 8px rgba(160, 100, 240, 0.4));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--surface);
}

.nav-cta {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  transition: background 0.2s, border-color 0.2s !important;
}

.nav-cta:hover {
  background: var(--surface-hover) !important;
  border-color: var(--border-hover) !important;
}

/* ─── EYEBROW ────────────────────────────────────────────── */

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ─── HEADINGS ───────────────────────────────────────────── */

h1, h2 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  padding-bottom: 0.05em;
  background: linear-gradient(
    115deg,
    #a8c8ff 0%,
    #c3a0f5 28%,
    #f5a0d0 55%,
    #ffb870 78%,
    #a8e8c8 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 { font-size: clamp(48px, 7vw, 92px); }
h2 { font-size: clamp(32px, 4.8vw, 56px); }

.subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.58;
  letter-spacing: -0.01em;
}

/* ─── BUTTONS ────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #6a9fff 0%, #b07cf5 50%, #f087c8 100%);
  color: white;
  transition: opacity 0.2s, transform 0.2s;
  position: relative;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-hover);
  color: var(--text-secondary);
  background: var(--surface);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.28);
  background: var(--surface-hover);
}

/* ─── HERO ───────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 100px 24px 80px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 820px;
}

.logo-mark {
  margin-bottom: 4px;
  filter: drop-shadow(0 12px 40px rgba(160, 100, 240, 0.45)) drop-shadow(0 2px 10px rgba(90, 160, 255, 0.3));
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

/* ─── SCROLL ARROW ───────────────────────────────────────── */

.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: bounce 2.4s ease-in-out infinite;
  transition: border-color 0.2s, background 0.2s;
  z-index: 2;
}

.scroll-arrow:hover {
  border-color: var(--border-hover);
  background: var(--surface);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── SECTIONS ───────────────────────────────────────────── */

.section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.section-inner h2 {
  margin-bottom: 20px;
}

/* ─── SERVICE CARDS ──────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 8px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(255,255,255,0.055) 0%, transparent 60%);
  pointer-events: none;
}

.card:hover {
  background: var(--surface-hover);
  transform: translateY(-5px);
}

.card[data-color="blue"]   { border-color: rgba(52, 120, 246, 0.26); }
.card[data-color="purple"] { border-color: rgba(130, 90, 240, 0.26); }
.card[data-color="teal"]   { border-color: rgba(49, 168, 194, 0.26); }
.card[data-color="pink"]   { border-color: rgba(240, 80, 160, 0.26); }

.card[data-color="blue"]:hover   { border-color: rgba(52, 120, 246, 0.55); }
.card[data-color="purple"]:hover { border-color: rgba(130, 90, 240, 0.55); }
.card[data-color="teal"]:hover   { border-color: rgba(49, 168, 194, 0.55); }
.card[data-color="pink"]:hover   { border-color: rgba(240, 80, 160, 0.55); }

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.card-icon-wrap[data-color="blue"]   { background: rgba(52,120,246,0.14);  color: #7ab4ff; }
.card-icon-wrap[data-color="purple"] { background: rgba(130,90,240,0.14);  color: #b09fff; }
.card-icon-wrap[data-color="teal"]   { background: rgba(49,168,194,0.14);  color: #6fe0f0; }
.card-icon-wrap[data-color="pink"]   { background: rgba(240,80,160,0.14);  color: #f5a0d0; }

.card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* ─── ABOUT ──────────────────────────────────────────────── */

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left !important;
}

.about-inner .eyebrow { margin-bottom: 4px; }

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

.about-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.72;
  font-weight: 300;
}

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

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s, background 0.3s;
}

.value-item:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

.value-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(160, 126, 245, 0.14);
  color: #c3a0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.value-item > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.value-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.value-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── CONTACT ────────────────────────────────────────────── */

.contact-inner {
  max-width: 680px !important;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='rgba(240,240,248,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: #12121f;
  color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240,240,248,0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(160, 126, 245, 0.55);
  background: rgba(255,255,255,0.055);
}

.btn-submit {
  margin-top: 4px;
  font-size: 15px;
  width: fit-content;
}

.form-error {
  font-size: 13px;
  color: #f5a0a0;
  background: rgba(240, 80, 80, 0.08);
  border: 1px solid rgba(240, 80, 80, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  line-height: 1.5;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-success i {
  font-size: 36px;
  color: #6fe0f0;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

/* ─── FOOTER ─────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  margin-bottom: 36px;
}

.email-link:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--text-primary);
}

.footer-copy {
  font-size: 13px;
  color: rgba(240,240,248,0.22);
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center !important;
  }

  .about-text {
    align-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-ghost {
    justify-content: center;
    width: 100%;
  }
}
