/* Taj-Tech design system — dark technology / digital transformation theme
   (TOR section 10, 53) matched to the official Taj-Tech 2026 key visual. */

:root {
  --tt-bg: #060b0d;
  --tt-bg-soft: #0a1614;
  --tt-panel: #0d1c1a;
  --tt-border: rgba(45, 212, 191, 0.16);
  --tt-teal: #2dd4bf;
  --tt-teal-soft: #5eead4;
  --tt-green: #22c55e;
  --tt-text: #e6f4f1;
  --tt-text-dim: #9fd9d1;
  --tt-text-muted: #5c7f79;
}

body.tt-body {
  background-color: var(--tt-bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(45, 212, 191, 0.12), transparent 60%),
    radial-gradient(ellipse 700px 500px at -10% 40%, rgba(34, 197, 94, 0.08), transparent 60%);
  color: var(--tt-text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.tt-gradient-text {
  background: linear-gradient(90deg, var(--tt-teal) 0%, var(--tt-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tt-panel {
  background: linear-gradient(180deg, var(--tt-panel) 0%, rgba(13, 28, 26, 0.4) 100%);
  border: 1px solid var(--tt-border);
}

.tt-btn-primary {
  background: linear-gradient(90deg, var(--tt-teal) 0%, var(--tt-green) 100%);
  color: #051210;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 0 0 rgba(45,212,191,0);
}
.tt-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.25);
}

.tt-btn-ghost {
  border: 1px solid var(--tt-border);
  color: var(--tt-text-dim);
  transition: border-color .15s ease, color .15s ease;
}
.tt-btn-ghost:hover {
  border-color: var(--tt-teal);
  color: var(--tt-teal-soft);
}

.tt-badge-pill {
  border: 1px solid var(--tt-border);
  color: var(--tt-teal);
  letter-spacing: .08em;
}

.tt-nav-link {
  color: var(--tt-text-dim);
  transition: color .15s ease;
}
.tt-nav-link:hover, .tt-nav-link.active {
  color: var(--tt-teal);
}

.tt-card {
  background: var(--tt-panel);
  border: 1px solid var(--tt-border);
  transition: border-color .2s ease, transform .2s ease;
}
.tt-card:hover {
  border-color: rgba(45, 212, 191, 0.5);
  transform: translateY(-3px);
}

.tt-network-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(45, 212, 191, 0.35) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, black 10%, transparent 70%);
  pointer-events: none;
}

.tt-skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background-repeat: repeat-x;
  background-position: bottom;
  opacity: .5;
  pointer-events: none;
}

.tt-countdown-box {
  background: var(--tt-panel);
  border: 1px solid var(--tt-border);
  min-width: 84px;
}

.tt-timeline-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, var(--tt-teal), var(--tt-green));
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15);
}

.tt-accordion-item[open] summary .tt-chevron {
  transform: rotate(180deg);
}

::selection {
  background: rgba(45, 212, 191, 0.35);
}

/* ===== Hero redesign additions (banner-matching) ===== */

.tt-org-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .tt-org-line { gap: 14px; margin-bottom: 34px; }
}
.tt-org-badge {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--tt-teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, rgba(45,212,191,.25), transparent 70%);
}
.tt-org-text {
  font-size: 12px;
  line-height: 1.4;
  color: #8fa9a5;
  max-width: 320px;
}

.tt-tagline {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #cfe9e4;
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .tt-tagline { font-size: 13px; letter-spacing: .12em; margin-bottom: 40px; }
}
.tt-tagline strong {
  color: var(--tt-teal);
  font-weight: 700;
}

.tt-globe-wrap {
  position: absolute;
  top: -10%;
  right: -12%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  pointer-events: none;
  overflow: hidden;
  opacity: .85;
}
.tt-globe-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: radial-gradient(rgba(45, 212, 191, 0.55) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 55%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, black 55%, transparent 75%);
}
.tt-globe-wrap::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.25);
  box-shadow: 0 0 120px 40px rgba(34, 197, 94, 0.08) inset;
}

.tt-strip {
  border-top: 1px solid var(--tt-border);
  padding-top: 18px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 420px) {
  .tt-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .tt-strip { padding-top: 28px; margin-top: 40px; gap: 22px; }
}
@media (min-width: 768px) {
  .tt-strip { grid-template-columns: repeat(5, 1fr); }
}
.tt-strip-item span {
  word-break: break-word;
}
.tt-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.tt-strip-item svg {
  width: 26px; height: 26px;
  stroke: var(--tt-teal);
}
.tt-strip-item span {
  font-size: 10px;
  letter-spacing: .1em;
  color: #7fa39c;
  text-transform: uppercase;
}

.tt-skyline-svg {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 70px;
  opacity: .55;
  pointer-events: none;
}
@media (min-width: 768px) {
  .tt-skyline-svg { height: 90px; }
}
.tt-glow-line {
  position: absolute;
  left: 0; right: 0; bottom: 78px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tt-teal) 30%, var(--tt-green) 55%, transparent 90%);
  filter: blur(0.5px);
  box-shadow: 0 0 24px 4px rgba(45, 212, 191, 0.35);
  pointer-events: none;
}

/* ===== Locale select with flags ===== */
.tt-locale-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--tt-panel);
  border: 1px solid var(--tt-border);
  color: var(--tt-text-dim);
  border-radius: 999px;
  padding: 7px 30px 7px 14px;
  font-size: 13px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%232dd4bf' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color .15s ease;
}
.tt-locale-select:hover,
.tt-locale-select:focus {
  border-color: var(--tt-teal);
  outline: none;
}
.tt-locale-select option {
  background: var(--tt-bg-soft);
  color: var(--tt-text);
}

/* ===== Admin: locale tabs + rich editor ===== */
.tt-locale-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--tt-border);
}
.tt-locale-tab {
  padding: 8px 4px 12px;
  font-size: 13px;
  letter-spacing: .06em;
  color: #5c7f79;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: none;
  border-top: none; border-left: none; border-right: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tt-locale-tab.is-active {
  color: var(--tt-teal);
  border-bottom-color: var(--tt-teal);
}
.tt-quill-toolbar {
  border-bottom: 1px solid var(--tt-border) !important;
  background: #0a1614;
}
.tt-quill-toolbar .ql-stroke { stroke: #9fd9d1; }
.tt-quill-toolbar .ql-fill { fill: #9fd9d1; }
.tt-quill-toolbar .ql-picker-label { color: #9fd9d1; }
.tt-html-toggle {
  border: 1px solid var(--tt-border);
  color: #9fd9d1;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 6px;
  margin-left: 6px;
}
.tt-rich-editor .ql-editor {
  min-height: 180px;
  color: #e6f4f1;
  font-size: 14px;
}
.tt-rich-editor .ql-editor.ql-blank::before {
  color: #5c7f79;
}

/* ===== Public: rendered rich-text content (from admin rich editor) ===== */
.tt-prose h1, .tt-prose h2, .tt-prose h3 {
  color: #e6f4f1;
  font-weight: 700;
  margin: 1.4em 0 .6em;
}
.tt-prose h2 { font-size: 1.5em; }
.tt-prose h3 { font-size: 1.2em; }
.tt-prose p { margin: 0 0 1em; }
.tt-prose ul, .tt-prose ol { margin: 0 0 1em 1.4em; }
.tt-prose ul { list-style: disc; }
.tt-prose ol { list-style: decimal; }
.tt-prose a { color: var(--tt-teal); text-decoration: underline; }
.tt-prose blockquote {
  border-left: 3px solid var(--tt-teal);
  padding-left: 14px;
  color: #7fa39c;
  margin: 0 0 1em;
}
.tt-prose .ql-indent-1 { padding-left: 2em; }
.tt-prose .ql-indent-2 { padding-left: 4em; }
.tt-prose .ql-indent-3 { padding-left: 6em; }
