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

:root {
  --bg: #050505;
  --bg-secondary: #0a0a0a;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --text: #f5f5f7;
  --text-mid: #a1a1a6;
  --text-dim: #86868b;
  --text-faint: #424245;
  --white: #ffffff;
  --radius: 16px;
  --accent: #2de2e6;
  --accent-glow: rgba(45, 226, 230, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ── Background Glow FX ── */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
  animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: #00f2fe;
  top: -100px;
  left: -100px;
  opacity: 0.15;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #4facfe;
  bottom: 0px;
  right: -50px;
  animation-delay: -5s;
  opacity: 0.12;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: #02aab0;
  top: 40%;
  left: 30%;
  opacity: 0.08;
  animation-duration: 15s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 40px) scale(1.1);
  }
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 6vw;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.3s ease;
  letter-spacing: -0.2px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--white);
  color: var(--bg);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: var(--glass-bg);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 10px 24px;
  font-size: 0.85rem;
  background: var(--white);
  color: var(--bg);
  border-radius: 8px;
}

.btn-nav:hover {
  background: #d4d4d4;
  transform: scale(1.03);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1rem;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav.scrolled {
  padding: 14px 0;
  background: rgba(5, 5, 5, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #fff, #a1a1a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
  position: relative;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 1px;
}

.burger span:first-child {
  top: 0;
}

.burger span:last-child {
  bottom: 0;
}

.burger.active span:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.burger.active span:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 140px;
  position: relative;
}

.hero-inner {
  max-width: 1000px;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #fff 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* ── Sections ── */
.section {
  padding: 140px 0;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 600px;
  margin-bottom: 72px;
}

.label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.2px;
}

.section-sub {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-top: 20px;
  line-height: 1.7;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 48px 40px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-card:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--white);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── Approach ── */
.approach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.approach-left h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}

.approach-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}

.approach-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.approach-item {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.approach-item:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(8px);
}

.ap-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.approach-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  color: var(--white);
}

.approach-item p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Internship ── */
.intern-grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 80px;
  align-items: stretch;
}

.intern-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.im-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

.im-item:hover {
  border-color: var(--border-hover);
}

.im-label {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.im-value {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--white);
}

.intern-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.intern-info p {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.intern-info .btn {
  margin-top: 16px;
}

/* ── Why ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.03);
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  color: var(--white);
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── CTA ── */
.cta {
  padding: 180px 0;
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(45, 226, 230, 0.08) 0%, transparent 60%);
}

.cta .label {
  margin-bottom: 16px;
  display: inline-block;
}

.cta h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-desc {
  color: var(--text-mid);
  font-size: 1.15rem;
  margin-bottom: 48px;
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
}

/* ── Footer ── */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.footer-contact a {
  color: var(--text-mid);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.95rem;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.services-grid .fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.approach-right .fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.approach-right .fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.why-grid .fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.why-grid .fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.why-grid .fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .approach-layout,
  .intern-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(5, 5, 5, 0.95);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 32px;
    backdrop-filter: blur(20px);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .burger {
    display: block;
    z-index: 101;
  }

  .hero {
    padding: 140px 0 100px;
    min-height: auto;
    text-align: center;
  }

  .hero-inner {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .approach-item {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .ap-marker {
    margin-top: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 100px 0;
  }

  .cta {
    padding: 120px 0;
  }
}