*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple: #5b4ef8;
  --purple-dark: #4338e0;
  --purple-light: #7c6ff7;
  --purple-bg: #eeeefe;
  --dark: #0f1117;
  --dark-2: #1a1d2e;
  --gray-text: #6b7280;
  --gray-light: #f3f4f8;
  --white: #ffffff;
  --radius: 14px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── HERO ────────────────────────────────── */
.hero {
  margin-top: 64px;
  background: linear-gradient(135deg, #5b4ef8 0%, #3730b8 55%, #4f8ef7 100%);
  min-height: 540px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 40px 120px;
}

/* subtle silhouette overlay */
.hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=900&q=60') center/cover no-repeat;
  opacity: .13;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .82rem;
  color: white;
  margin-bottom: 28px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  fill: #f6c90e;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: white;
  line-height: 1.18;
  letter-spacing: -.5px;
  max-width: 640px;
  margin-bottom: 22px;
}

.hero p {
  color: rgba(255, 255, 255, .85);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: var(--purple);
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s, box-shadow .15s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, .65);
  border-radius: 10px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s, background .2s;
}

.btn-outline-white:hover {
  border-color: white;
  background: rgba(255, 255, 255, .1);
}

/* ── HERO SEARCH ─────────────────────────── */
.hero-search {
  width: 100%;
  max-width: 600px;
  margin-top: 8px;
}

.hero-search-inner {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  gap: 10px;
}

.hero-search-inner svg {
  width: 18px;
  height: 18px;
  color: #888;
  flex-shrink: 0;
}

.hero-search-inner input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: .95rem;
  color: #111;
  background: transparent;
}

.hero-search-inner input::placeholder {
  color: #aaa;
}

.hero-search-btn {
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 40px;
  padding: 10px 24px;
  font-size: .9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}

.hero-search-btn:hover {
  background: var(--purple-dark);
}

.hero-search-hints {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hero-search-hints>span {
  font-size: .82rem;
  color: rgba(255, 255, 255, .7);
}

.hero-search-hints>button {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  color: white;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .8rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
}

.hero-search-hints>button:hover {
  background: rgba(255, 255, 255, .25);
}

/* wave divider */
.wave {
  display: block;
  width: 100%;
  margin-top: -2px;
}

/* ── STATS ───────────────────────────────── */
.stats {
  background: var(--gray-light);
  padding: 0 40px 60px;
}

.stats-grid {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

.stat-icon {
  width: 44px;
  height: 44px;
  background: var(--purple-bg);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--purple);
}

.stat-icon svg {
  width: 20px;
  height: 20px;
}

.stat-card h3 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 4px;
}

.stat-card p {
  font-size: .85rem;
  color: var(--gray-text);
}

/* ── FEATURED INTERNSHIPS ────────────────── */
.section {
  padding: 80px 40px;
  background: var(--gray-light);
}

.section-header {
  max-width: 1280px;
  margin: 0 auto 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.4px;
}

.section-header p {
  font-size: .9rem;
  color: var(--gray-text);
  margin-top: 4px;
}

.view-all {
  color: var(--purple);
  font-size: .9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.cards-grid {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.job-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  min-height: 288px;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

.company-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #6b7280;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  margin-bottom: 18px;
  overflow: hidden;
}

.company-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.badge-purple {
  background: #ffffff;
}

.badge-cyan {
  background: #ffffff;
}

.badge-pink {
  background: #ffffff;
}

.badge-green {
  background: #ffffff;
}

.badge-orange {
  background: #ffffff;
}

.job-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.job-card .company-name {
  font-size: .85rem;
  color: var(--gray-text);
  margin-bottom: 12px;
}

.job-card .desc {
  font-size: .85rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.6em * 2);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tag {
  background: #f3f4f8;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: .78rem;
  color: #444;
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .8rem;
  color: var(--gray-text);
  flex-wrap: nowrap;
  margin-top: auto;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mode-hybrid {
  color: #6366f1;
  font-weight: 600;
}

.mode-remote {
  color: #10b981;
  font-weight: 600;
}

.mode-onsite {
  color: #f97316;
  font-weight: 600;
}

.salary {
  margin-left: auto;
  font-weight: 700;
  color: var(--purple);
  font-size: .82rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── TRUSTED COMPANIES ───────────────────── */
.trusted {
  background: var(--gray-light);
  padding: 0 40px 70px;
}

.trusted-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .75rem;
  color: #9ca3af;
  margin-bottom: 24px;
}

.company-row {
  max-width: 900px;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.company-pill {
  background: white;
  border-radius: 10px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .07);
}

.company-pill .c-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .85rem;
  color: #6b7280;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.company-pill .c-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* ── HOW IT WORKS ────────────────────────── */
.how {
  background: var(--gray-light);
  padding: 80px 40px;
  text-align: center;
}

.how h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.how>p {
  color: var(--gray-text);
  font-size: .95rem;
  max-width: 520px;
  margin: 0 auto 56px;
}

.steps {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-num {
  width: 54px;
  height: 54px;
  background: var(--purple);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 18px;
}

.steps h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.steps p {
  font-size: .875rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ── FEATURES ────────────────────────────── */
.features {
  padding: 80px 40px;
  background: white;
}

.features-inner {
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.features-left h2 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 14px;
}

.features-left>p {
  color: var(--gray-text);
  font-size: .93rem;
  line-height: 1.65;
  margin-bottom: 34px;
}

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.fi-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--purple-bg);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--purple);
}

.fi-icon svg {
  width: 18px;
  height: 18px;
}

.feature-item h4 {
  font-size: .97rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: .85rem;
  color: var(--gray-text);
  line-height: 1.55;
}

.features-right {
  position: relative;
}

.feat-img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  height: 360px;
}

.join-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
  max-width: 340px;
}

.join-card img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.join-text p {
  font-size: .82rem;
  font-weight: 700;
}

.join-text span {
  font-size: .78rem;
  color: var(--gray-text);
}

.join-cta {
  margin-left: auto;
  color: var(--purple);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}

.btn-purple-lg {
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .15s;
  margin-top: 32px;
}

.btn-purple-lg:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

/* ── CTA BANNER ──────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #5b4ef8 0%, #4338e0 60%, #6366f1 100%);
  padding: 72px 40px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-white {
  background: white;
  color: var(--purple);
  border: 2px solid white;
  border-radius: 10px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
}

.btn-cta-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 10px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s;
}

.btn-cta-outline:hover {
  border-color: white;
}

/* ── SVG ICONS ───────────────────────────── */
.ic {
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .hero {
    margin-top: 64px;
    padding: 64px 14px 80px;
    min-height: 100vh;
  }

  .hero-search {
    max-width: 100%;
    margin-top: 14px;
  }

  .hero-search-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
  }

  .hero-search-inner input {
    min-width: 0;
    width: 100%;
  }

  .hero-search-btn {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.88rem;
    white-space: normal;
  }

  .hero-search-hints {
    gap: 6px;
    margin-top: 10px;
  }

  .hero-search-hints>button {
    padding: 4px 10px;
    font-size: 0.75rem;
  }
}