/* =========================================
   ISHTOP — serious dark UI + animations
   Colors: dark green, black, orange, white
   ========================================= */

/* ---------- Fonts (system + clean) ---------- */
:root {
  --bg: #070b09; /* near-black */
  --panel: #0b1410; /* deep green-black */
  --panel-2: #0e1e17; /* slightly lighter */
  --text: #f6f7f7; /* white */
  --muted: #b6c3be; /* muted text */
  --green: #0f5f43; /* dark green */
  --green-2: #0a3f2d; /* deeper green */
  --orange: #ff7a18; /* orange accent */
  --stroke: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --r: 18px;
  --r2: 26px;
  --container: 1180px;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100svh;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(
      1000px 800px at 15% -10%,
      rgba(15, 95, 67, 0.35),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 85% 0%,
      rgba(255, 122, 24, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 50% 110%,
      rgba(15, 95, 67, 0.22),
      transparent 65%
    ),
    var(--bg);
  overflow-x: hidden;
  background-size: cover;
}

/* ---------- Global helpers ---------- */
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* Nice selection */
::selection {
  background: rgba(255, 122, 24, 0.35);
}

/* Smooth motion (accessibility) */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 16px;
  background: rgba(7, 11, 9, 0.62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header__title {
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* small “badge” dot */
.header__title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), #ffb15b);
  box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.12);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Nav list */
.header__list {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--stroke);
  background: linear-gradient(
    180deg,
    rgba(14, 30, 23, 0.65),
    rgba(11, 20, 16, 0.55)
  );
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.header__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.header__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* Primary CTA button */
.header__login {
  border: 1px solid rgba(255, 122, 24, 0.35);
  background: linear-gradient(
    135deg,
    rgba(255, 122, 24, 0.95),
    rgba(255, 122, 24, 0.75)
  );
  color: #1a0f07;
  font-weight: 800;
  letter-spacing: 0.3px;
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  box-shadow: 0 16px 40px rgba(255, 122, 24, 0.22);
}

.header__login:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 22px 55px rgba(255, 122, 24, 0.28);
}

.header__login:active {
  transform: translateY(0px) scale(0.98);
}

/* Secondary CTA */
.header__become {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 95, 67, 0.55);
  background: linear-gradient(
    180deg,
    rgba(15, 95, 67, 0.35),
    rgba(10, 63, 45, 0.25)
  );
  color: var(--text);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.header__become:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 24, 0.45);
  background: linear-gradient(
    180deg,
    rgba(15, 95, 67, 0.42),
    rgba(10, 63, 45, 0.3)
  );
}

/* ---------- Hero (header__box) ---------- */
.header__box {
  width: min(var(--container), calc(100% - 32px));
  margin: 26px auto 0;
  padding: 44px 26px;
  border-radius: var(--r2);
  border: 1px solid var(--stroke);
  background:
    radial-gradient(
      900px 450px at 20% 20%,
      rgba(15, 95, 67, 0.55),
      transparent 60%
    ),
    radial-gradient(
      700px 350px at 90% 10%,
      rgba(255, 122, 24, 0.25),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(14, 30, 23, 0.78), rgba(11, 20, 16, 0.62));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* Animated glow line */
.header__box::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 180deg,
    transparent,
    rgba(255, 122, 24, 0.35),
    transparent,
    rgba(15, 95, 67, 0.35),
    transparent
  );
  filter: blur(18px);
  opacity: 0.55;
  animation: spinGlow 9s linear infinite;
}

@keyframes spinGlow {
  to {
    transform: rotate(360deg);
  }
}

.header__box > * {
  position: relative;
  z-index: 1;
}

.header__h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  max-width: 720px;
  letter-spacing: 0.2px;
  animation: slideUp 0.8s ease both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Section title box ---------- */
.box {
  width: min(var(--container), calc(100% - 32px));
  margin: 18px auto 0;
  padding: 18px 22px;
  border-radius: var(--r);
  border: 1px solid var(--stroke);
  background: linear-gradient(
    180deg,
    rgba(8, 12, 10, 0.65),
    rgba(8, 12, 10, 0.35)
  );
  box-shadow: var(--shadow-soft);
  animation: fadeIn 0.9s ease 0.15s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.h2 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 750;
  color: var(--text);
}

/* ---------- Cards grid (your figure.figure) ---------- */
.figure {
  width: min(var(--container), calc(100% - 32px));
  margin: 22px auto 70px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}

/* Each inner figure becomes a card */
.figure > figure {
  grid-column: span 4;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: linear-gradient(
    180deg,
    rgba(14, 30, 23, 0.62),
    rgba(11, 20, 16, 0.55)
  );
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  animation: cardIn 0.7s ease both;
}

/* Stagger animation */
.figure > figure:nth-child(1) {
  animation-delay: 0.05s;
}
.figure > figure:nth-child(2) {
  animation-delay: 0.12s;
}
.figure > figure:nth-child(3) {
  animation-delay: 0.19s;
}
.figure > figure:nth-child(4) {
  animation-delay: 0.26s;
}
.figure > figure:nth-child(5) {
  animation-delay: 0.33s;
}
.figure > figure:nth-child(6) {
  animation-delay: 0.4s;
}
.figure > figure:nth-child(7) {
  animation-delay: 0.47s;
}
.figure > figure:nth-child(8) {
  animation-delay: 0.54s;
}
.figure > figure:nth-child(9) {
  animation-delay: 0.61s;
}
.figure > figure:nth-child(10) {
  animation-delay: 0.68s;
}
.figure > figure:nth-child(11) {
  animation-delay: 0.75s;
}
.figure > figure:nth-child(12) {
  animation-delay: 0.82s;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.figure > figure:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 24, 0.35);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

/* Image area */
.figure img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.03);
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.figure > figure:hover img {
  transform: scale(1.07);
  filter: saturate(1.05) contrast(1.08);
}

/* Caption container */
.figcaption {
  padding: 16px 16px 18px;
  border-top: 1px solid var(--stroke);
  position: relative;
}

/* Accent bar */
.figcaption::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 122, 24, 0));
}

.figure__list {
  display: grid;
  gap: 10px;
}

/* Title link */
.figure__item:first-child .figure__link {
  display: inline-flex;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 16px;
  color: var(--text);
}

/* Secondary text item (your "shunda shunda") */
.figure__item2 {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* Links list */
.figure__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(246, 247, 247, 0.88);
  font-weight: 650;
  font-size: 14px;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.figure__link::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(15, 95, 67, 0.9);
  box-shadow: 0 0 0 6px rgba(15, 95, 67, 0.12);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.figure__link:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.figure__link:hover::before {
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.12);
}
/* =========================
   Footer
   ========================= */

.footer {
  margin-top: 50px;
  border-top: 1px solid var(--stroke);
  background:
    radial-gradient(
      900px 400px at 20% 20%,
      rgba(15, 95, 67, 0.35),
      transparent 60%
    ),
    radial-gradient(
      700px 350px at 85% 20%,
      rgba(255, 122, 24, 0.18),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(11, 20, 16, 0.85), rgba(7, 11, 9, 0.95));
  position: relative;
  overflow: hidden;
}

/* animated subtle glow */
.footer::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 180deg,
    transparent,
    rgba(255, 122, 24, 0.22),
    transparent,
    rgba(15, 95, 67, 0.22),
    transparent
  );
  filter: blur(22px);
  opacity: 0.35;
  animation: footerGlow 10s linear infinite;
}

@keyframes footerGlow {
  to {
    transform: rotate(360deg);
  }
}

.footer__container {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 26px;
  display: grid;
  gap: 22px;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.6fr;
}

/* Brand block */
.footer__brand {
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--stroke);
  background: linear-gradient(
    180deg,
    rgba(14, 30, 23, 0.55),
    rgba(11, 20, 16, 0.4)
  );
  box-shadow: var(--shadow-soft);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), #ffb15b);
  box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.12);
}

.footer__name {
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: lowercase;
  font-size: 18px;
}

.footer__desc {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer__desc--sm {
  font-size: 13px;
  margin-bottom: 12px;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(246, 247, 247, 0.9);
  font-weight: 700;
  font-size: 12px;
}

.footer__badge--accent {
  border-color: rgba(255, 122, 24, 0.35);
  background: rgba(255, 122, 24, 0.1);
}

/* Columns */
.footer__col {
  padding: 10px 6px;
}

.footer__title {
  font-size: 14px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 12px;
  color: rgba(246, 247, 247, 0.95);
  position: relative;
}

.footer__title::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 122, 24, 0));
}

.footer__list {
  display: grid;
  gap: 10px;
}

.footer__link {
  color: rgba(246, 247, 247, 0.82);
  font-weight: 650;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.footer__link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 95, 67, 0.9);
  box-shadow: 0 0 0 6px rgba(15, 95, 67, 0.1);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.footer__link:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.footer__link:hover::before {
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.1);
}

/* Newsletter */
.footer__newsletter {
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--stroke);
  background: linear-gradient(
    180deg,
    rgba(14, 30, 23, 0.55),
    rgba(11, 20, 16, 0.4)
  );
  box-shadow: var(--shadow-soft);
}

.footer__form {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer__input {
  flex: 1;
  min-width: 0;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.footer__input::placeholder {
  color: rgba(182, 195, 190, 0.75);
}

.footer__input:focus {
  border-color: rgba(255, 122, 24, 0.45);
  box-shadow: 0 0 0 6px rgba(255, 122, 24, 0.1);
  transform: translateY(-1px);
}

.footer__btn {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 24, 0.35);
  background: linear-gradient(
    135deg,
    rgba(255, 122, 24, 0.95),
    rgba(255, 122, 24, 0.75)
  );
  color: #1a0f07;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  box-shadow: 0 14px 34px rgba(255, 122, 24, 0.18);
  white-space: nowrap;
}

.footer__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 20px 48px rgba(255, 122, 24, 0.24);
}

.footer__btn:active {
  transform: translateY(0) scale(0.98);
}

.footer__note {
  margin-top: 10px;
  color: rgba(182, 195, 190, 0.8);
  font-size: 12px;
  line-height: 1.5;
}

/* Bottom row */
.footer__bottom {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copy {
  color: rgba(182, 195, 190, 0.9);
  font-size: 13px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: rgba(246, 247, 247, 0.9);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.footer__icon:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 24, 0.35);
  background: rgba(255, 122, 24, 0.1);
  color: var(--orange);
}

/* Responsive */
@media (max-width: 980px) {
  .footer__container {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
  .footer__newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .footer__container {
    grid-template-columns: 1fr;
  }
  .footer__form {
    flex-direction: column;
  }
  .footer__btn {
    width: 100%;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .figure > figure {
    grid-column: span 6;
  }
  .header__list {
    display: none;
  } /* keep it clean on tablet */
}

@media (max-width: 620px) {
  .figure > figure {
    grid-column: span 12;
  }
  .header {
    padding: 14px 12px;
  }
  .header__nav {
    gap: 10px;
  }
  .header__login,
  .header__become {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Optional: Scroll reveal (no HTML changes) ----------
   If you want reveal-on-scroll (more premium), add the small JS below.
*/
