/* ===========================
        HERO SECTION
=========================== */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f7fbff 0%, #eef7ff 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg-color);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 10px 18px;
  border-radius: 999px;
  background: #eaf5ff;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(3.5rem, 6vw, 5.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--heading-color);
  max-width: 820px;
}

.hero p {
  max-width: 620px;
  font-size: 1.18rem;
  line-height: 1.9;
  color: var(--text-color);
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 20px;
}

.hero-stats h3 {
  font-size: 2rem;
  color: var(--primary-color);
}

.hero-stats span {
  color: var(--text-color);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 560px;
  border-radius: 24px;
  object-fit: cover;
  filter: drop-shadow(0 35px 60px rgba(0, 0, 0, 0.18));
  transition: transform 0.3s ease;
  cursor: pointer;
  border: 8px solid rgba(255, 255, 255, 0.75);
  animation: heroImageFloat 6s ease-in-out infinite;
}

.hero-image img:hover {
  transform: translateY(-10px) scale(1.03);
}

#hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.15);
  filter: blur(140px);
  top: -200px;
  right: -120px;
  z-index: -1;
}

#hero::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  filter: blur(120px);
  bottom: -180px;
  left: -120px;
  z-index: -1;
}

.hero-image {
  position: relative;
}

.floating-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 18px 26px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  animation: floatCard 4s ease-in-out infinite;
}

.floating-card h4 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.floating-card span {
  color: var(--text-color);
  font-size: 0.9rem;
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes heroImageFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

/*=========================================
    HERO DECORATION
=========================================*/

.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-decoration::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: 100px;
  right: 120px;
  background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
  background-size: 18px 18px;
  opacity: 0.18;
  transform: rotate(-15deg);
}

.hero-decoration::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  left: 40px;
  bottom: 80px;
  border: 2px dashed rgba(14, 165, 233, 0.18);
  border-radius: 50%;
}

.hero-content,
.hero-image {
  position: relative;
  z-index: 2;
}

/* ===========================
        ABOUT SECTION
=========================== */

#about {
  padding: 120px 0;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  display: block;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-content h2 {
  color: var(--heading-color);
}

.about-content p,
.about-content li {
  color: var(--text-color);
}

.section-badge {
  display: inline-flex;
  width: max-content;
  padding: 10px 18px;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.about h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.2;
  color: var(--heading-color);
}

.about p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-color);
}

.about-list {
  display: grid;
  gap: 16px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--heading-color);
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
  transition: transform 0.35s ease;
}

.about-image img:hover {
  transform: translateY(-8px);
}

.experience-badge {
  position: absolute;
  bottom: 35px;
  right: -25px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 18px 26px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  animation: floatCard 4s ease-in-out infinite;
}

.experience-badge h4 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.experience-badge span {
  color: var(--text-color);
  font-size: 0.95rem;
}

#about {
  position: relative;
  overflow: hidden;
}

#about::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.08);
  filter: blur(120px);
  top: -120px;
  left: -120px;
  z-index: -1;
}

#about::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.06);
  filter: blur(100px);
  bottom: -100px;
  right: -80px;
  z-index: -1;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 10px 20px;
  border-radius: 999px;
  background: #eaf5ff;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/*=========================================
  DARK HERO
=========================================*/
body.dark-mode #hero {
  background: #0f172a;
}

body.dark-mode .hero-badge {
  background: #1e293b;
  color: #7dd3fc;
}

body.dark-mode .hero h1 {
  color: var(--heading-color);
}

body.dark-mode .hero p {
  color: var(--text-color);
}

body.dark-mode .hero-stats span {
  color: var(--text-color);
}

body.dark-mode .experience-badge {
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .experience-badge span {
  color: var(--text-color);
}

body.dark-mode .about-badge {
  background: rgba(14, 165, 233, 0.12);
}

body.dark-mode #about::before {
  background: rgba(14, 165, 233, 0.12);
}

body.dark-mode #about::after {
  background: rgba(37, 99, 235, 0.1);
}

/* ===========================
        FEATURES SECTION
=========================== */
#features {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-header h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin: 20px 0;
  color: var(--heading-color);
}

.section-header p {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1.08rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: var(--surface-color);
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: 24px;
  padding: 35px 30px;
  transition: var(--transition);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  transition: 0.6s;
}

.feature-card:hover::before {
  left: 100%;
}
.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 25px 60px rgba(14, 165, 233, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 20px;
  background: rgba(14, 165, 233, 0.12);
  margin-bottom: 25px;
  transition: 0.35s;
}
.feature-card:hover .feature-icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.35);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--heading-color);
}

.feature-card p {
  color: var(--text-color);
  line-height: 1.8;
}
