/* ============================================================
   GLOBALYNET — Terms & Conditions Styles
   ============================================================ */

.terms-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.terms-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(0, 126, 167, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(0, 52, 89, 0.4) 0%, transparent 60%);
}

.terms-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.terms-hero-inner {
  position: relative;
  z-index: 2;
}

.terms-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.terms-breadcrumb a {
  font-size: 13px;
  color: var(--sky);
  transition: var(--transition);
}
.terms-breadcrumb a:hover { color: var(--lime); }

.terms-breadcrumb-sep { color: var(--gray-700); font-size: 13px; }
.terms-breadcrumb-current { font-size: 13px; color: var(--gray-500); }

.terms-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.terms-hero-sub {
  font-size: 16px;
  color: var(--gray-500);
  font-weight: 300;
}

.terms-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.terms-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
}

.terms-meta-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}

/* LAYOUT */
.terms-layout {
  padding: 0 0 120px;
}

.terms-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}

/* SIDEBAR */
.terms-sidebar {
  position: sticky;
  top: 88px;
}

.terms-toc {
  background: rgba(0, 52, 89, 0.2);
  border: 1px solid rgba(0, 168, 232, 0.1);
  padding: 28px;
}

.terms-toc-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}

.terms-toc-list { display: flex; flex-direction: column; gap: 4px; }

.terms-toc-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--gray-500);
  transition: var(--transition);
  border-left: 2px solid transparent;
  line-height: 1.4;
}

.terms-toc-link:hover,
.terms-toc-link.active {
  color: var(--sky);
  border-left-color: var(--sky);
  background: rgba(0, 168, 232, 0.06);
  padding-left: 14px;
}

.terms-toc-num {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--lime);
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: 1px;
}

/* CONTENT */
.terms-content {}

.terms-section {
  margin-bottom: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 168, 232, 0.08);
}

.terms-section:first-child { border-top: none; padding-top: 0; }

.terms-section-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 8px;
}

.terms-section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

.terms-section-body {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.8;
  font-weight: 300;
}

.terms-section-body p { margin-bottom: 16px; }
.terms-section-body p:last-child { margin-bottom: 0; }

.terms-section-body strong {
  color: var(--white);
  font-weight: 600;
}

/* Sub-sections */
.terms-subsection { margin-bottom: 32px; }

.terms-subsection-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--sky);
}

.terms-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.terms-list-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
  font-weight: 300;
}

.terms-list-bullet {
  width: 20px;
  height: 20px;
  background: rgba(127, 255, 0, 0.1);
  border: 1px solid rgba(127, 255, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.terms-list-bullet::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}

/* Highlight boxes */
.terms-highlight {
  padding: 24px 28px;
  margin: 24px 0;
  border-left: 3px solid var(--lime);
  background: rgba(127, 255, 0, 0.04);
  border-radius: 0 2px 2px 0;
}

.terms-highlight.info {
  border-left-color: var(--sky);
  background: rgba(0, 168, 232, 0.04);
}

.terms-highlight.warning {
  border-left-color: #ff6b35;
  background: rgba(255, 107, 53, 0.04);
}

.terms-highlight-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 8px;
}

.terms-highlight.info .terms-highlight-title { color: var(--sky); }
.terms-highlight.warning .terms-highlight-title { color: #ff6b35; }

.terms-highlight-body {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
  font-weight: 300;
}

/* Country table */
.terms-countries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin: 20px 0;
}

.terms-country {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0, 52, 89, 0.3);
  border: 1px solid rgba(0, 168, 232, 0.1);
  font-size: 13px;
  color: var(--gray-300);
  transition: var(--transition);
}

.terms-country:hover { border-color: var(--lime); color: var(--white); }

.terms-country-flag { font-size: 16px; }

/* Escalation table */
.terms-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow: hidden;
}

.terms-table th {
  background: rgba(0, 52, 89, 0.6);
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  text-align: left;
  border-bottom: 1px solid rgba(0, 168, 232, 0.2);
}

.terms-table td {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--gray-300);
  border-bottom: 1px solid rgba(0, 168, 232, 0.06);
  line-height: 1.5;
  vertical-align: top;
}

.terms-table tr:last-child td { border-bottom: none; }

.terms-table tr:hover td { background: rgba(0, 52, 89, 0.2); }

.terms-table .level {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sky);
}

/* Contact card */
.terms-contact-card {
  padding: 32px;
  background: rgba(0, 52, 89, 0.3);
  border: 1px solid rgba(0, 168, 232, 0.15);
  margin-top: 16px;
}

.terms-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.terms-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.terms-contact-value {
  font-size: 14px;
  color: var(--gray-300);
}

.terms-contact-value a {
  color: var(--sky);
  text-decoration: underline;
  transition: var(--transition);
}

.terms-contact-value a:hover { color: var(--lime); }

/* Responsive */
@media (max-width: 900px) {
  .terms-inner { grid-template-columns: 1fr; gap: 40px; }
  .terms-sidebar { position: static; }
  .terms-toc { display: none; }
  .terms-contact-grid { grid-template-columns: 1fr; }
  .terms-countries { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .terms-hero-title { font-size: 32px; }
  .terms-section-title { font-size: 22px; }
}
