:root {
  --bg-dark: #050508;
  --bg-light: #ffffff;
  --accent: #c19bff;
  --accent-soft: #e3d4ff;
  --text-main: #0f0f10;
  --text-muted: #bfbfc7;
  --radius-lg: 999px;
  --radius-md: 9999px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: var(--bg-dark);
  color: var(--bg-light);
  line-height: 1.5;
}

/* Layout helpers */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.logo-text {
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-apply {
  padding-inline: 1.4rem;
}

#apply-btn {
    color: black;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 15px;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  box-shadow: 0 10px 25px rgba(193, 155, 255, 0.4);
}

.btn-dark {
  background: #000;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: #000;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Hero */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 20% -40% -40%;
  background: var(--accent);
  border-radius: 45% 55% 45% 55%;
  transform: rotate(-7deg);
  z-index: -1;
}

/* .hero {position:relative;background:var(--bg-dark);color:#fff;overflow:hidden;}
.hero::before{content:"";position:absolute;inset:25% -45% -55%;background:var(--accent);border-radius:60% 50% 45% 80%;transform:rotate(-10deg);}
.hero::after{content:"";position:absolute;inset:58% -40% -40%;background:#000;border-radius:70% 40% 60% 50%;transform:rotate(-4deg);} */


.hero-inner {
  padding-block: min(14vh, 8rem);
}

.hero-copy {
  max-width: 520px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw + 1.2rem, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
}

.hero p {
  max-width: 420px;
  font-size: 1rem;
  margin-bottom: 1.6rem;
}

.accent {
  color: var(--accent);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Feature split */
.feature-split {
  background: var(--bg-light);
  color: var(--text-main);
}

.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding-block: 4rem;
}

.feature-copy h2 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.feature-copy p {
  max-width: 380px;
  color: #555;
  margin-bottom: 1.5rem;
}

.feature-media img {
  width: 100%;
  border-radius: 1.5rem;
  display: block;
}

/* Services */
.services {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 35% -50% -45%;
  background: var(--accent-soft);
  border-radius: 50% 50% 55% 45%;
  transform: rotate(8deg);
  z-index: -1;
}

.services-title {
  text-align: center;
  padding-top: 4rem;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  margin-bottom: 2.5rem;
  color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 4.5rem;
}

.service-card {
  padding: 1.8rem 1.6rem 2.1rem;
  background: rgba(5, 5, 10, 0.9);
  border-radius: 1.6rem;
  backdrop-filter: blur(10px);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

/* Apply section */
.apply {
  background: var(--bg-light);
  color: var(--text-main);
  padding-block: 3.5rem 4rem;
}

.apply-inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.apply-inner h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.apply-inner p {
  color: #555;
  margin-bottom: 2rem;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.apply-form input,
.apply-form textarea {
  flex: 1;
  border-radius: 0.9rem;
  border: 1px solid #ddd;
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.apply-form textarea {
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #7f7f8b;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  border-radius: 999px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-inner {
    padding-block: 0.8rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #000;
    display: none;
    flex-direction: column;
    padding: 0.75rem 1.2rem 1.1rem;
  }

  .nav a {
    padding-block: 0.35rem;
  }

  .nav.open {
    display: flex;
  }

  .hero-inner {
    padding-block: 4.5rem;
  }

  .hero-bg {
    inset: 35% -40% -40%;
  }

  .feature-inner {
    grid-template-columns: 1fr;
    padding-block: 3rem;
  }

  .feature-media {
    order: -1;
  }

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

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

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.75rem, 480px);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .services-title {
    padding-top: 3rem;
  }
}
