/* =========================================================
   TACKLE-D — TERMS & CONDITIONS PAGE
   Accent: #FFC107 · Background: #070707
   Improved design + centered heading
   ========================================================= */

/* =========================================================
   PAGE TOKENS
========================================================= */

.terms-page {
  --t-bg: #070707;
  --t-surface: #101010;
  --t-surface-2: #161616;
  --t-surface-3: #1c1c1c;
  --t-border: #262626;
  --t-border-soft: rgba(255, 255, 255, 0.06);

  --t-text: #f5f0e3;
  --t-text-soft: #b8b0a1;
  --t-text-mute: #7a7466;

  --t-accent: #ffc107;
  --t-accent-hover: #ffca2c;
  --t-accent-soft: rgba(255, 193, 7, 0.10);
  --t-accent-glow: rgba(255, 193, 7, 0.30);

  --t-radius-sm: 8px;
  --t-radius-md: 16px;
  --t-radius-lg: 24px;

  --t-font: "Poppins", "Inter", system-ui, -apple-system, sans-serif;

  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(255, 193, 7, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 45% at 85% 25%, rgba(255, 193, 7, 0.05), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 193, 7, 0.04), transparent 60%),
    linear-gradient(180deg, #070707 0%, #0a0a0a 45%, #070707 100%);
  color: var(--t-text);
  font-family: var(--t-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.terms-page *,
.terms-page *::before,
.terms-page *::after {
  box-sizing: border-box;
}

.terms-page a {
  color: inherit;
  text-decoration: none;
}

.terms-page .container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.terms-page section {
  position: relative;
  padding: clamp(20px, 7vw, 24px) 0;
}


/* =========================================================
   SHARED TYPOGRAPHY
========================================================= */

.terms-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-text-soft);
  font-weight: 600;
}

.terms-eyebrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--t-border);
  color: var(--t-accent);
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 193, 7, 0.04);
}

.terms-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.terms-section-line {
  width: 100%;
  max-width: 640px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--t-border) 50%, transparent);
  margin-top: 18px;
}

.terms-kicker {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--t-accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.terms-page h1,
.terms-page h2,
.terms-page h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--t-text);
}

.terms-page h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 14px 0 22px;
}

.terms-page h2 span {
  color: var(--t-accent);
}

.terms-page p {
  color: var(--t-text-soft);
  line-height: 1.75;
  font-size: 0.98rem;
  margin: 0;
}


/* =========================================================
   01 — TERMS HEADING (centered hero)
========================================================= */

.terms-header-section {
  padding: clamp(120px, 15vw, 140px) 0 clamp(70px, 7vw, 100px) !important;
  border-bottom: 1px solid var(--t-border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.terms-header-section::before {
  content: "";
  position: absolute;
  width: 820px;
  height: 820px;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 193, 7, 0.14) 0%, transparent 65%);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.terms-header-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.terms-heading-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}

.terms-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  background: rgba(255, 193, 7, 0.05);
  border: 1px solid rgba(255, 193, 7, 0.20);
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-text-soft);
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.terms-badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc107, #ffdb4d);
  color: #0b0b0b;
  font-size: 0.65rem;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.35);
}

.terms-main-heading {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--t-text);
  text-wrap: balance;
}

.terms-main-heading span {
  display: inline;
  color: var(--t-accent);
}

.terms-heading-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--t-text-soft);
  max-width: 560px;
  margin: 4px auto 0;
}

.terms-heading-line {
  width: 100%;
  max-width: 200px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, transparent, var(--t-accent), transparent);
  border-radius: 2px;
  position: relative;
}

.terms-heading-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--t-accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--t-accent);
}


/* =========================================================
   02 — SERVICE GUIDELINES
========================================================= */

.terms-guidelines {
  border-bottom: 1px solid var(--t-border);
}

.terms-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-bottom: clamp(50px, 6vw, 80px);
}

.terms-intro-grid > div {
  text-align: left;
}

.terms-intro-grid h2 {
  margin: 14px 0 0;
}

.terms-intro-grid p {
  max-width: 520px;
}

/* --- Team list --- */

.terms-team-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.terms-team-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 32px 30px;
  background: linear-gradient(165deg, #141414 0%, #0b0b0b 100%);
  border: 1px solid var(--t-border);
  border-radius: var(--t-radius-md);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.terms-team-item::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: -70px;
  bottom: -70px;
  border: 1px solid rgba(255, 193, 7, 0.10);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.terms-team-item:hover {
  border-color: rgba(255, 193, 7, 0.40);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -25px rgba(0, 0, 0, 0.9);
}

.terms-team-item:hover::after {
  transform: scale(1.15);
}

.terms-team-number {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--t-accent);
  padding-top: 4px;
}

.terms-team-content span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-text-mute);
  font-weight: 700;
  margin-bottom: 10px;
}

.terms-team-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--t-text);
  letter-spacing: -0.01em;
}

.terms-team-content p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--t-text-soft);
  margin: 0;
}


/* =========================================================
   03 — TERMS & CONDITIONS
========================================================= */

.terms-conditions {
  border-bottom: 1px solid var(--t-border);
}

.terms-content-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.terms-clause {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 36px 38px;
  background: linear-gradient(165deg, #141414 0%, #0b0b0b 100%);
  border: 1px solid var(--t-border);
  border-radius: var(--t-radius-md);
  transition: border-color 0.35s ease, transform 0.35s ease;
  overflow: hidden;
}

.terms-clause::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--t-accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.terms-clause:hover {
  border-color: rgba(255, 193, 7, 0.35);
  transform: translateX(4px);
}

.terms-clause:hover::before {
  opacity: 1;
}

.clause-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--t-accent);
  line-height: 1;
  letter-spacing: -0.03em;
  opacity: 0.9;
  font-family: "Poppins", sans-serif;
}

.clause-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clause-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t-text-mute);
  font-weight: 700;
}

.clause-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--t-text);
  letter-spacing: -0.015em;
}

.clause-content p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--t-text-soft);
  margin: 0;
}

/* --- Payment list --- */

.payment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.payment-list > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
}

.payment-list > div > span {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--t-accent);
  line-height: 1.6;
}

.payment-list > div > p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--t-text-soft);
  margin: 0;
}


/* =========================================================
   04 — CONTACT
========================================================= */

.terms-contact {
  border-bottom: 1px solid var(--t-border);
}

.terms-contact-panel {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(36px, 4.5vw, 56px);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 193, 7, 0.10), transparent 60%),
    linear-gradient(160deg, #141414 0%, #0a0a0a 100%);
  border: 1px solid rgba(255, 193, 7, 0.20);
  border-radius: var(--t-radius-lg);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 193, 7, 0.08);
  position: relative;
  overflow: hidden;
}

.terms-contact-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.10), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.terms-contact-copy {
  position: relative;
  z-index: 1;
}

.terms-contact-copy h2 {
  margin: 12px 0 18px;
}

.terms-contact-copy p {
  max-width: 520px;
}

.terms-contact-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc107 0%, #ffdb4d 100%);
  color: #0b0b0b;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    0 20px 45px rgba(255, 193, 7, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terms-contact-button span {
  color: #0b0b0b;
}

.terms-contact-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 26px 60px rgba(255, 193, 7, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}


/* =========================================================
   05 — FINAL CTA
========================================================= */

.terms-final {
  position: relative;
  padding: clamp(50px, 11vw, 40px) 0 !important;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.terms-final-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 75% 80% at 50% 100%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 100%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.terms-final::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  max-width: 120vw;
  max-height: 120vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 193, 7, 0.14) 0%,
    rgba(255, 193, 7, 0.05) 30%,
    transparent 60%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.terms-final-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.terms-final-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--t-accent);
  font-weight: 700;
  margin-bottom: 22px;
}

.terms-final-inner h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.terms-final-inner h2 span {
  color: var(--t-accent);
}

.terms-final-inner p {
  max-width: 540px;
  margin: 0 auto 36px;
  color: var(--t-text-soft);
}

.terms-final-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 16px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc107 0%, #ffdb4d 100%);
  color: #0b0b0b;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    0 20px 45px rgba(255, 193, 7, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terms-final-button span {
  color: #0b0b0b;
}

.terms-final-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 26px 60px rgba(255, 193, 7, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.terms-final-services {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--t-border-soft);
  width: 100%;
  max-width: 720px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t-text-mute);
  font-weight: 700;
}

.terms-final-services i {
  color: var(--t-accent);
  font-style: normal;
  opacity: 0.7;
}


/* =========================================================
   BUTTON LABEL COLOR LOCK
========================================================= */

.terms-contact-button,
.terms-contact-button:link,
.terms-contact-button:visited,
.terms-contact-button:hover,
.terms-contact-button:active,
.terms-contact-button:focus,
.terms-final-button,
.terms-final-button:link,
.terms-final-button:visited,
.terms-final-button:hover,
.terms-final-button:active,
.terms-final-button:focus {
  color: #0b0b0b;
}

.terms-contact-button span,
.terms-final-button span {
  color: #0b0b0b;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

  .terms-intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .terms-team-list {
    grid-template-columns: 1fr;
  }

  .terms-clause {
    grid-template-columns: 70px 1fr;
    padding: 30px 28px;
  }

  .terms-contact-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .terms-contact-copy {
    text-align: center;
  }

  .terms-contact-copy p {
    margin: 0 auto;
  }

  .terms-contact-button {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {

  .terms-header-section {
    padding: 130px 0 60px !important;
  }

  .terms-main-heading {
    font-size: clamp(2rem, 7.5vw, 3rem);
    letter-spacing: -0.04em;
  }

  .terms-heading-sub {
    font-size: 0.92rem;
  }

  .terms-page h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .terms-clause {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 24px;
  }

  .clause-number {
    font-size: 1.4rem;
  }

  .terms-team-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 24px;
  }

  .terms-contact-panel {
    padding: 30px 24px;
  }

  .terms-contact-button,
  .terms-final-button {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {

  .terms-page .container {
    padding: 0 16px;
  }

  .terms-page section {
    padding: 55px 0;
  }

  .terms-final-services {
    gap: 10px;
    font-size: 0.6rem;
  }

  .payment-list > div {
    grid-template-columns: 20px 1fr;
    gap: 10px;
  }
}

