
/* =========================
   HOME - HERO
   ========================= */

.hero {
  padding: 7rem 0 6.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 610px;
}

.hero-content h1 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: var(--line-height-tight);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  margin-bottom: 1rem;
  max-width: 680px;
  line-height: 1.45;
}

.hero-description {
  color: var(--color-text-soft);
  margin-bottom: 2.25rem;
  font-size: var(--font-size-md);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-highlights {
  display: grid;
  gap: 0.45rem;
  color: var(--color-text-soft);
  font-size: var(--font-size-sm);
}

.hero-highlights li {
  position: relative;
  padding-left: 1.1rem;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 12px rgba(0, 229, 139, 0.55);
}

/* HERO VISUAL */

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(15, 21, 19, 0.9), rgba(9, 12, 11, 0.96));
  box-shadow: var(--shadow-lg);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 139, 0.35),
    transparent 35%,
    transparent 65%,
    rgba(0, 229, 139, 0.18)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* =========================
   HOME - SKILLS
   ========================= */

.skills-preview {
  padding-top: 5rem;
}

/* =========================
   HOME - PROJECTS
   ========================= */

.featured-projects {
  padding-top: 5.5rem;
}

.featured-projects .section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
}

/* =========================
   HOME - ABOUT PREVIEW
   ========================= */

.about-preview {
  padding-top: 5.5rem;
}

.about-preview-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.about-text {
  max-width: 740px;
}

.about-text h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.about-text p {
  margin-bottom: 1.15rem;
  color: var(--color-text-soft);
  font-size: var(--font-size-md);
  line-height: 1.8;
}

.about-text .btn {
  margin-top: 0.4rem;
}

.about-stats {
  display: grid;
  gap: 1rem;
}

.stat-card {
  background: linear-gradient(180deg, rgba(16, 25, 23, 0.92) 0%, rgba(11, 18, 16, 1) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 139, 0.28);
  box-shadow: var(--shadow-green);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  color: var(--color-white);
}

.stat-card span {
  color: var(--color-text-soft);
  font-size: var(--font-size-sm);
}

/* =========================
   HOME - CTA
   ========================= */

.cta {
  padding-top: 5rem;
}




/* =========================
   HOME - DECORATIVE SIDES
   ========================= */

.page-home::before,
.page-home::after {
  opacity: 1;
}

.page-home::before {
  left: 0;
  width: 300px;
  background:
    radial-gradient(circle at 0% 20%, rgba(0, 229, 139, 0.10), transparent 28%),
    radial-gradient(circle at 20% 50%, rgba(0, 229, 139, 0.05), transparent 40%),
    linear-gradient(90deg, rgba(0, 229, 139, 0.025), transparent 75%);
  filter: blur(6px);
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 35%,
    rgba(0, 0, 0, 0.15) 65%,
    transparent 100%
  );
}

.page-home::after {
  right: 0;
  width: 340px;
  background:
    radial-gradient(circle at 100% 16%, rgba(0, 229, 139, 0.14), transparent 18%),
    radial-gradient(circle at 82% 34%, rgba(0, 229, 139, 0.08), transparent 28%),
    repeating-linear-gradient(
      155deg,
      transparent 0px,
      transparent 26px,
      rgba(0, 229, 139, 0.05) 27px,
      transparent 28px,
      transparent 54px
    ),
    linear-gradient(270deg, rgba(0, 229, 139, 0.04), transparent 70%);
  mask-image: linear-gradient(
    to left,
    black 0%,
    rgba(0, 0, 0, 0.94) 16%,
    rgba(0, 0, 0, 0.62) 42%,
    transparent 100%
  );
}