/* ====== RESET & GLOBAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  /* gradient “gernetVeil” */
  --g1: #2B0C0E;
  --g2: #7A2D35;
  --g3: #C46565;
}

body {
  font-family: 'Inter', sans-serif;
  /* Full-page colour gradient with smooth transition */
  background: linear-gradient(
    90deg,
    var(--g1) 0%,
    var(--g2) 50%,
    var(--g3) 100%
  );
  background-attachment: fixed;
  color: #ffffff;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  padding: 160px 20px 120px;
  text-align: center;
  z-index: 1;
}

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

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: #bbbbbb;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* BUTTONS */
 .hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
 }

  .btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    border: 2px solid #1f2233; /* gernetVeil */
    color: #1f2233;
  }

  .btn:hover {
    background-color: #1f2233;
    color: #1f2233;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 101, 101, 0.3);
  }

  .btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(196, 101, 101, 0.1); /* efek kilau merah lembut */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
  }

  .btn:hover::after {
    width: 200%;
    height: 200%;
  }

/* SECTION STYLES */
section {
  padding: 100px 20px;
}

.section-title {
  font-size: 2.25rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
}

.section-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #cccccc;
  text-align: center;
  line-height: 1.8;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-box {
  background-color: #0a0c1a;
  border: 1px solid #1f2233;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 255, 209, 0.1);
  border-color: #00ffd1;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 1rem;
  color: #bbbbbb;
  line-height: 1.7;
}

/* EQUATION */
.equation-container {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: linear-gradient(135deg, #f7f7f7, #e0e0e0);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(3px);
  text-align: center;
}

.equation-img {
  max-width: 100%;
  height: auto;
  filter: brightness(1.05);
}

/* FOOTER */
.footer {
  background-color: #05060f;
  padding: 60px 20px;
  border-top: 1px solid #1f2233;
  text-align: center;
}

.footer-text {
  font-size: 0.95rem;
  color: #777777;
}

.footer-sub {
  font-weight: 600;
  color: #c46565;
}

/* ANIMATIONS */
@keyframes shimmerText {
  0% { text-shadow: 0 0 0px var(--yellow); }
  50% { text-shadow: 0 0 12px var(--yellow); }
  100% { text-shadow: 0 0 0px var(--yellow); }
}

@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(40px); }
  80%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; }
}

.mist-layer {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, rgba(255,255,255,0.03), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
