/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /*  font-family: "Inter", sans-serif; */
}

/* body {
  font-family: "Inter", sans-serif;
} */

html {
  font-family: "Inter", sans-serif;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
}

/* COLORS  */
:root {
  --white: #ffffff;
  --accent: #1d4ed8;
  --secondary-accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-active: #4f46e5;
  --accent-light: #eaf0fe;
  --dark: #0d1b2a;
  --gray: #575757;
  --secondary-gray: #757575;
  --border: #e5e7eb;
}

/* Check */
/* h2 {
  color: var(--accent);
} */

/* COMMON STYLES */
.nav-register-btn,
.hero-register-btn {
  border-radius: 10px;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  font-weight: 700;
  line-height: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-register-btn {
  padding: 12px 44px;
  font-size: 16px;
}

.hero-register-btn {
  padding: 25px 63px;
  font-size: 24px;
}

.nav-register-btn:hover,
.hero-register-btn:hover {
  background-color: var(--accent-hover);
}

.hero-register-btn:hover {
  transform: translateY(-2px);
}

.nav-register-btn:active,
.hero-register-btn:active {
  transform: scale(0.97);
}

/* ===== NAVBAR ===== */
nav {
  padding: 0 60px;
  background-color: var(--white);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  position: relative; /* anchor for centering the links */
}

.navbar a img {
  width: 100%;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;

  /* True centering, independent of logo/button widths */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-family: "Arimo", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  transition: color 0.3s ease;
  position: relative;
}

/* Hover color (applies to all links) */
.nav-links a:hover {
  color: var(--accent-active);
}

/* Group Selector - Permanent underline for first nav link & all other links */
.nav-links li:first-child a::after,
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 50%;
  height: 2px;
  background: var(--accent-active);
  transform-origin: left;
  transition: 0.3s;
}

/* First nav link - different font, color, and permanent underline */
.nav-links li:first-child a {
  font-family: "Inter", sans-serif;
  color: var(--accent-active);
}

.nav-links li:first-child a::after {
  transform: scaleX(1);
}

/* When ANY other link is hovered, make first-child's color & underline transparent */
.nav-links:hover li:first-child a:not(:hover) {
  color: var(--dark);
}

.nav-links:hover li:first-child a:not(:hover)::after {
  background: transparent;
  transform: scaleX(0);
}

/* Underline animation on hover — for all links except first-child (already has permanent underline) */
.nav-links a::after {
  transform: scaleX(0);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* ===== HEADER ===== */
header {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(
      to bottom left,
      rgba(0, 0, 0, 0) 42%,
      rgba(0, 0, 0, 0.88) 87%
    ),
    url("./assets/banner.jpg");
  /* background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("./assets/banner.jpg"); */
  /* background-image:
    linear-gradient(rgba(10, 15, 30, 0.75), rgba(10, 15, 30, 0.75)),
    radial-gradient(circle at top, rgba(37, 99, 235, 0.25), transparent 60%),
    url("./assets/banner.jpg"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: grid;
  place-items: center;
  /* justify-content: center;
  align-items: center; */
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18rem;
  padding: 0 20px;
}

.header-text {
  /* margin-bottom: 12rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Font Size (px) X 1.15 = Line-Height (px) */
.header-text h2 {
  color: var(--white);
  font-size: 80px;
  /* font-size: clamp(32px, 6vw, 80px); */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -3px;
  /* letter-spacing: clamp(-3px, -0.2vw, 0px); */
  margin-bottom: 20px;
  max-width: 960px;
}

.header-text h2 em {
  font-style: italic;
  font-weight: 700;
}

/* Tablet */
@media (max-width: 1024px) {
  .header-content {
    gap: 12rem;
  }

  .header-text h2 {
    font-size: 70px;
    line-height: 1.2;
    letter-spacing: -2px;
    max-width: 600px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-content {
    gap: 10rem;
  }

  .header-text h2 {
    font-size: 60px;
    line-height: 1.25;
    letter-spacing: -1px;
    max-width: 100%;
    margin-bottom: 16px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .header-content {
    gap: 8rem;
  }

  .header-text h2 {
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: 0;
  }
}

.header-text p {
  color: var(--white);
  opacity: 0.9;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  max-width: 830px;
}

/* MAIN CONTENT */

/* ===== MEET THE SPEAKERS SECTION ===== */
.speakers {
  padding: 80px 0;
}

/* Heading */
.speaker-title {
  text-align: center;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 56px;
  color: #000102;
}

/* 2 Column * 2 Row Grid Layout */
.speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* In Figma's Stroke panel, this describes the color and opacity of an element's border/outline */

/* Card */
.speaker-card {
  background: var(--white);
  /* padding: 24px; */
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); */
  transition: 0.3s;
}

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

.speaker-card img {
  width: 100%;
  height: 324px;
  object-fit: cover;
  display: block;
}

/* .track {
  display: inline-block;
  margin: 20px 20px 10px;
  padding: 6px 14px;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
} */

.speaker-card-desc {
  padding: 24px;
}

/* .speaker-card span { */
.track {
  display: inline-block;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.3px;
  color: var(--accent-hover);
  /*  padding: 24px 24px 0; */
  margin-bottom: 8px;
}

.speaker-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.375;
  color: var(--dark);
  /*  padding: 0 24px; */
  margin-bottom: 8px;
}

.speaker-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray);
  /* padding: 0 24px 24px; */
}

/* Tablet */
@media (max-width: 1024px) {
  .speaker-grid {
    padding: 0 20px;
  }

  .section-title {
    font-size: 40px;
  }

  .speaker-card img {
    height: 260px;
  }

  .speaker-card h3 {
    font-size: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .speaker-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .section-title {
    font-size: 34px;
    margin-bottom: 40px;
  }

  .speaker-card img {
    height: 280px;
    object-fit: fill;
  }
}

/* ===== PRICING SECTION ===== */
.pricing {
  padding: 40px 0;
}

/* Heading */
.pricing-title {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--dark);
}

.pricing-subtitle {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 48px;
  color: var(--gray);
}

/* 3 Column Grid Layout */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 370px);
  justify-content: center;
  gap: 24px;
}

/* Card */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: 0.3s;
}

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

#team {
  background: #f8f9fb;
}

/* Featured Card */
.featured {
  background: var(--dark);
  border: 1px solid var(--dark);
  transform: scale(1.05);
}

/* Text */
.pricing-card span,
.pricing-card.featured span {
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.46;
  letter-spacing: 0.3px;
  color: #888888;
  margin-bottom: 8px;
}
.pricing-card span,
.pricing-card p {
  color: #888888;
}

.pricing-card.featured span {
  color: #93c5fd;
}

.pricing-card h3,
.pricing-card.featured h3 {
  font-size: 44px;
  font-weight: 700;
}

.pricing-card h3 {
  color: var(--dark);
}

.pricing-card.featured h3 {
  color: var(--white);
}

.pricing-card p,
.pricing-card.featured p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.46;
  /* margin-bottom: 20px; */
}

.pricing-card.featured p {
  color: var(--white);
  opacity: 0.5;
}

/* .divider,
.featured-divider {
  margin-top: 20px;
} */

.divider {
  color: #e5e7eb;
  margin-top: 20px;
}

.featured-divider {
  color: var(--white);
  opacity: 0.1;
}

/* Features */
.pricing-card ul {
  list-style: disc;
  padding: 20px;
}

.pricing-card li,
.pricing-card.featured li {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 10px;
}

.pricing-card li {
  color: #333333;
}

.pricing-card.featured li {
  color: var(--white);
  opacity: 0.8;
}

.pricing-card li::marker {
  color: var(--accent-hover);
}

.pricing-card.featured li::marker {
  color: #60a5fa;
}

/* Common Buttons */
.btn-outline,
.btn-primary,
.team-btn-outline {
  /* display: block; */
  /* text-align: center; */
  padding: 11px 0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
}

.btn-outline:hover,
.btn-primary:hover,
.team-btn-outline:hover {
  transform: scale(1.01) translateY(3px);
  transition: transform 0.3s ease-in-out;
}

.btn-outline {
  border: 1px solid var(--accent-hover);
  color: var(--accent-hover);
  background: transparent;
}

.btn-primary {
  background: var(--accent-hover);
  color: var(--white);
  border: none;
  outline: none;
}

.team-btn-outline {
  border: 1px solid var(--dark);
  color: var(--dark);
  background: transparent;
}

/* .featured .btn-primary {
  background: #2563eb;
  color: var(--white);
} */

/* Tablet */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
    gap: 28px;
  }

  .featured {
    transform: none;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 32px;
  }

  .section-title {
    font-size: 40px;
  }

  .section-subtitle {
    font-size: 16px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* color: var(--white);
  border: 1px solid #ffffff; */
  /* background: #1e293b;
  color: #fff; */
  color: var(--accent-hover);
  border: 1px solid var(--accent-hover);
  text-decoration: none;
  cursor: pointer;
  /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); */
  transition: color 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-hover);
  color: var(--white);
  border: none;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.8));
  transform: translateY(-4px) scale(1.04);
  transition: transform 0.3s ease-in-out;
}

.footer hr {
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  margin: 72px 0 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-bottom p,
.footer-links a {
  color: var(--white);
  opacity: 0.4;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #60a5fa;
  opacity: 1;
}

/* Desktop */
@media (max-width: 1024px) {
  .footer {
    padding: 56px 20px 32px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ===== DEVELOPER NETWORKING HUB SECTION ===== */
.networking {
  padding: 80px 0px;
}

.networking__container {
  max-width: 1160px;
  margin: 0 auto;
}

.networking__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.networking__eyebrow {
  display: inline-block;
  color: var(--accent-hover);
  background: var(--accent-light);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.networking__title {
  font-size: clamp(2rem, 4.1vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
  line-height: 1.25;
}

.networking__subtitle {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* Cards */
.networking__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 8px 24px rgba(16, 24, 43, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.14);
  border-color: var(--accent-hover);
}

.hub-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.hub-card:hover .hub-card__icon {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.hub-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-hover);
  transition: stroke 0.25s ease;
}

.hub-card:hover .hub-card__icon svg {
  stroke: var(--white);
}

.hub-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #10182b;
  margin: 0 0 8px;
}

.hub-card__stat {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-hover);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hub-card__desc {
  font-size: 0.95rem;
  color: #5a6478;
  line-height: 1.6;
  margin: 0;
}

/* Stats Row */
.networking__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(16, 24, 43, 0.06);
  padding: 44px 32px;
}

.stat {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 44px;
  background: var(--border);
}

.stat__number {
  display: block;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--accent-hover);
  margin-bottom: 6px;
}

.stat__label {
  display: block;
  font-size: 0.88rem;
  color: #5a6478;
  font-weight: 600;
}

/* Tablet */
@media (max-width: 1024px) {
  .networking__cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }

  .networking__stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
    margin: 0 20px;
  }

  .stat:nth-child(2)::after {
    display: none;
  }

  .stat:not(:last-child)::after {
    display: none;
  }

  .stat:nth-child(odd)::after {
    display: block;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .networking {
    padding: 64px 20px;
  }

  .networking__header {
    margin-bottom: 40px;
  }

  .networking__cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

  .hub-card {
    padding: 28px 24px;
  }

  .networking__stats {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
    margin: 0 20px;
  }

  .stat:not(:last-child)::after {
    display: none;
  }
}

/* ===========================
   Developer Networking Hub - ChatGPT
=========================== */
/* .networking {
  padding: 80px 0;
  background: #f8fafc;
} */

.networking-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.networking-header h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 16px;
}

.networking-header p {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
}

/* Cards */
.networking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.network-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: 0.3s;
}

.network-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--accent-hover);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  margin-bottom: 24px;
}

.network-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #111827;
}

.network-card span {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 16px;
}

.network-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
}

/* Statistics */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 20px;
  border: 1px solid var(--border);
}

.stats h3 {
  font-size: 36px;
  color: var(--accent-hover);
  margin-bottom: 8px;
}

.stats p {
  font-size: 15px;
  color: #6b7280;
}

/* .stats h3 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

/* Tablet */
@media (max-width: 992px) {
  .networking-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .networking-header h2 {
    font-size: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .networking {
    padding: 60px 0;
  }

  .networking-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .networking-header {
    margin-bottom: 40px;
  }

  .networking-header h2 {
    font-size: 32px;
  }

  .network-card,
  .stats {
    padding: 24px;
  }

  .icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
}
