body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  color: #1d1d1f;
  background: #f5f5f7;
}

.bg-card-secondary {
  background-color: #f1f3f5;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.bg-card-secondary:hover {
  background-color: #e9ecef;
  transform: translateY(-5px);
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em; /* Swiss Tightness */
}

/* Global Button Style (Apple Pill) */
.btn {
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  min-height: 90vh;
  /* Deep Midnight Gradient */
  background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero canvas#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

@media (min-width: 992px) {
  .hero h1 {
    font-size: 5rem;
  }
}

.hero p.lead {
  font-size: 1.5rem;
  color: #a1a1a6; /* Apple Grey Text */
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-primary); /* Fallback */
}

.section-padding {
  padding: 80px 0;
}

/* Service Images */
.service-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: hue-rotate(
139deg);
}

.service-img:hover {
  transform: scale(1.02);
}

/* Domain Card Images */
.domain-img {
  filter: hue-rotate(
139deg);
  transition: filter 0.3s ease;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.tag {
  display: inline-block;
  background: #f1f3f5;
  padding: 6px 12px;
  border-radius: 20px;
  margin: 4px;
  font-size: 14px;
}

.cta {
  background: var(--color-bg-primary);
  color: var(--color-primary-dark);
}

footer {
  background: #111;
  color: #aaa;
}

/* Sub-page Hero */
.page-hero {
  padding: 140px 0 80px;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
  color: #fff;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

@media (min-width: 992px) {
  .page-hero h1 {
    font-size: 3.5rem;
  }
}

/* Footer Links */
.footer-link {
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #fff !important;
}
