/* ================================================
   RESET & BASE
   ================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #e4e4e7;
  background: #09090b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ================================================
   UTILITIES
   ================================================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fafafa;
  margin-bottom: 12px;
}

.section__sub {
  font-size: 1.05rem;
  color: #a1a1aa;
  max-width: 560px;
}

/* ================================================
   BUTTON
   ================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn--small {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid #3f3f46;
  color: #e4e4e7;
  font-size: 1rem;
  word-break: break-all;
}

.btn--outline:hover {
  border-color: #2563eb;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.08);
}

/* ================================================
   NAV
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #18181b;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fafafa;
  letter-spacing: -0.02em;
}

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15), transparent);
}

.hero__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fafafa;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #a1a1aa;
  max-width: 540px;
  margin-bottom: 40px;
}

/* ================================================
   PROJECTS
   ================================================ */
.projects {
  padding: 120px 0;
}

.projects .section__sub {
  margin-bottom: 56px;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ================================================
   CARD
   ================================================ */
.card {
  background: #111113;
  border: 1px solid #1e1e22;
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.2s;
}

.card:hover {
  border-color: #2563eb;
  transform: translateY(-4px);
}

.card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: #60a5fa;
  margin-bottom: 20px;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fafafa;
  margin-bottom: 10px;
}

.card__desc {
  font-size: 0.925rem;
  color: #a1a1aa;
  line-height: 1.65;
}

/* ================================================
   WHY US
   ================================================ */
.why {
  padding: 80px 0 120px;
}

.why .section__title {
  margin-bottom: 48px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.why__item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fafafa;
  margin-bottom: 8px;
}

.why__item p {
  font-size: 0.925rem;
  color: #a1a1aa;
  line-height: 1.65;
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
  padding: 120px 0;
  border-top: 1px solid #18181b;
}

.contact__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .section__sub {
  margin-bottom: 36px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  padding: 32px 0;
  border-top: 1px solid #18181b;
}

.footer__inner {
  text-align: center;
  font-size: 0.825rem;
  color: #52525b;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 640px) {
  .section__title {
    font-size: 1.6rem;
  }

  .projects__grid,
  .why__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 85vh;
  }
}
