/* ==========================================================================
   Tehranto.Plus — V4 Minimal, Spacious & Interactive Design Suite (v273)
   1. Spacious Single-Title Homepage Orbital Hero (Top duplicate title removed)
   2. Minimal 6-Box Executive Service Summary Grid (01..06 clean digest cards)
   3. /ai-agents Ambient-Light Uncaged AI Core Bot + 8 Radial Nodes + Spacious Row 2
   4. /ads Orbital Medallion Hero Stage (obj-ads-v3.webp + AI & Moz-SEO pills)
   5. Preserved /web-apps Skyline, /web-design Tumble Deck, /video Curtain,
      /photography Endless Strip, /about Fractal Bloom, #reels & #estimator fixes
   ========================================================================== */

/* -------------------- 1. SPACIOUS SINGLE-TITLE HOMEPAGE ORBITAL HERO -------------------- */
.tp-orbit-hero {
  position: relative;
  padding-top: clamp(24px, 3vw, 42px) !important;
  padding-bottom: clamp(28px, 3.5vw, 44px) !important;
  background:
    radial-gradient(circle at 18% 24%, rgba(36, 176, 206, 0.065), transparent 44%),
    radial-gradient(circle at 84% 20%, rgba(212, 168, 83, 0.06), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%) !important;
  border-bottom: 1px solid rgba(15, 44, 107, 0.08);
  overflow: hidden;
}

.tp-hero-unified-shell {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(10px, 1.4vw, 18px) clamp(12px, 2vw, 24px);
}

@media (min-width: 901px) {
  .tp-orbit-hero .dsh-root {
    max-width: 1280px !important;
    height: clamp(560px, 73vh, 636px) !important;
    margin: 0 auto !important;
  }
  .tp-orbit-hero .dsh-canvas {
    width: 1120px !important;
    height: 584px !important;
  }
  .tp-orbit-hero .dsh-arc-svg {
    width: 1120px !important;
    height: 584px !important;
  }
  .tp-orbit-hero .dsh-pager {
    left: 18px !important;
    top: 186px !important;
    gap: 9px !important;
  }
  body.fa .tp-orbit-hero .dsh-pager {
    left: auto !important;
    right: 18px !important;
  }
  .tp-orbit-hero .dsh-plates {
    left: 58px !important;
    top: 62px !important;
    width: 308px !important;
    height: 308px !important;
  }
  body.fa .tp-orbit-hero .dsh-plates {
    left: auto !important;
    right: 58px !important;
  }
  .tp-orbit-hero .dsh-orbit > img {
    width: 308px !important;
    height: 308px !important;
  }
  .tp-orbit-hero .dsh-head {
    left: 392px !important;
    top: 68px !important;
    width: 348px !important;
    height: 220px !important;
  }
  body.fa .tp-orbit-hero .dsh-head {
    left: auto !important;
    right: 392px !important;
  }
  .tp-orbit-hero .dsh-eye {
    font-size: 13.5px !important;
    margin-bottom: 12px !important;
  }
  .tp-orbit-hero .dsh-slide-title {
    margin: 0 !important;
  }
  .tp-orbit-hero .dsh-t1 {
    font-size: 48px !important;
  }
  .tp-orbit-hero .dsh-t2 {
    font-size: 56px !important;
  }
  body.fa .tp-orbit-hero .dsh-t1 {
    font-size: 42px !important;
  }
  body.fa .tp-orbit-hero .dsh-t2 {
    font-size: 48px !important;
  }
  .tp-orbit-hero .dsh-hero-tagline {
    margin: 16px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
    color: var(--gt-muted) !important;
    max-width: 34ch;
    font-weight: 450;
  }
  body.fa .tp-orbit-hero .dsh-hero-tagline {
    line-height: 1.8 !important;
    font-size: 13.5px !important;
  }
  .tp-orbit-hero .dsh-acts {
    left: 392px !important;
    top: 314px !important;
    width: 348px !important;
    gap: 20px !important;
  }
  body.fa .tp-orbit-hero .dsh-acts {
    left: auto !important;
    right: 392px !important;
  }
  .tp-orbit-hero .dsh-act-link {
    font-size: 13.5px !important;
  }
  .tp-orbit-hero .dsh-act-ico {
    width: 30px !important;
    height: 30px !important;
  }

  /* Expanded, serene Overview / What You Get card */
  .tp-orbit-hero .dsh-card {
    right: 8px !important;
    top: 46px !important;
    width: 352px !important;
    padding: 24px 26px 26px !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(15, 44, 107, 0.1) !important;
    box-shadow: 0 26px 56px -26px rgba(15, 44, 107, 0.2) !important;
  }
  body.fa .tp-orbit-hero .dsh-card {
    right: auto !important;
    left: 8px !important;
  }
  .tp-orbit-hero .dsh-tabs {
    padding: 4px !important;
    margin-bottom: 18px !important;
  }
  .tp-orbit-hero .dsh-tab {
    font-size: 12px !important;
    padding: 7.5px 10px !important;
  }
  .tp-orbit-hero .dsh-ico-tile {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
  }
  .tp-orbit-hero .dsh-step-pill {
    font-size: 11.5px !important;
  }
  .tp-orbit-hero .dsh-card-sub {
    font-size: 11.5px !important;
  }
  .tp-orbit-hero .dsh-card-h {
    font-size: 18px !important;
    margin: 4px 0 10px !important;
    line-height: 1.3 !important;
  }
  .tp-orbit-hero .dsh-desc {
    font-size: 13.4px !important;
    line-height: 1.66 !important;
    min-height: 94px !important;
  }
  body.fa .tp-orbit-hero .dsh-desc {
    line-height: 1.86 !important;
  }
  .tp-orbit-hero .dsh-chip-foot {
    margin-top: 16px !important;
    padding: 7px 13px !important;
    font-size: 11.5px !important;
  }
  .tp-orbit-hero .dsh-del-list {
    gap: 8px !important;
    min-height: 102px !important;
  }
  .tp-orbit-hero .dsh-del-list li {
    font-size: 11.8px !important;
    padding: 6px 12px !important;
  }
  .tp-orbit-hero .dsh-pricing-calm {
    margin-top: 14px !important;
    font-size: 11.5px !important;
  }

  /* Spacious 6-icon bottom dock */
  .tp-orbit-hero .dsh-strip {
    left: 44px !important;
    top: 432px !important;
    width: 696px !important;
    height: 126px !important;
    gap: 8px !important;
  }
  body.fa .tp-orbit-hero .dsh-strip {
    left: auto !important;
    right: 44px !important;
  }
  .tp-orbit-hero .dsh-th-btn {
    width: 98px !important;
    height: 114px !important;
    border-radius: 18px !important;
    padding: 10px 6px 8px !important;
  }
  .tp-orbit-hero .dsh-th-btn img {
    width: 58px !important;
    height: 58px !important;
  }
  .tp-orbit-hero .dsh-th-btn span {
    font-size: 11.5px !important;
  }
}

@media (max-width: 900px) {
  .tp-orbit-hero {
    padding-top: 86px !important;
  }
  .tp-orbit-hero .dsh-head {
    height: auto !important;
  }
  .tp-orbit-hero .dsh-hero-tagline {
    margin: 10px auto 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gt-muted);
    max-width: 36ch;
  }
}

/* -------------------- 2. HOMEPAGE ROW 2: MINIMAL 6-BOX EXECUTIVE SUMMARY GRID -------------------- */
.tfx-six-band {
  padding-block: clamp(4.6rem, 7.6vw, 6.8rem);
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 44, 107, 0.07);
}
.tfx-six-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.tfx-sum-card {
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.1);
  border-radius: 26px;
  padding: clamp(24px, 2.5vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 14px 36px -26px rgba(15, 44, 107, 0.12);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.tfx-sum-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 108, 132, 0.34);
  box-shadow: 0 22px 48px -24px rgba(15, 44, 107, 0.16);
}
.tfx-sum-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.tfx-sum-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gt-teal);
}
body.fa .tfx-sum-kicker {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.8rem;
}
.tfx-sum-price {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f3f7fc;
  border: 1px solid rgba(15, 44, 107, 0.08);
  color: var(--gt-navy);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.tfx-sum-card h3 {
  margin: 14px 0 8px;
  font-size: 1.26rem;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.02em;
  color: var(--gt-navy);
}
body.fa .tfx-sum-card h3 {
  letter-spacing: 0;
  line-height: 1.44;
  font-size: 1.18rem;
}
.tfx-sum-desc {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.62;
  color: var(--gt-muted);
}
body.fa .tfx-sum-desc {
  line-height: 1.84;
}
.tfx-sum-bullets {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(15, 44, 107, 0.075);
  display: grid;
  gap: 8px;
}
.tfx-sum-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f3358;
  line-height: 1.4;
}
.tfx-sum-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gt-cyan);
  flex-shrink: 0;
}
.tfx-sum-foot {
  padding-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tfx-sum-explore {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gt-navy);
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}
.tfx-sum-explore:hover {
  background: #173d8e;
  transform: translateY(-1px);
}

/* -------------------- 3. /AI-AGENTS AMBIENT-LIGHT UNCAGED CONSTELLATION HERO -------------------- */
.tfx-ai-constellation {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px 4px;
}
.tfx-ai-rings-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.tfx-ai-side {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}
.tfx-ai-side--left .tfx-ai-pill:nth-child(1),
.tfx-ai-side--left .tfx-ai-pill:nth-child(4) {
  transform: translateX(10px);
}
.tfx-ai-side--right .tfx-ai-pill:nth-child(1),
.tfx-ai-side--right .tfx-ai-pill:nth-child(4) {
  transform: translateX(-10px);
}
body.fa .tfx-ai-side--left .tfx-ai-pill:nth-child(1),
body.fa .tfx-ai-side--left .tfx-ai-pill:nth-child(4),
body.fa .tfx-ai-side--right .tfx-ai-pill:nth-child(1),
body.fa .tfx-ai-side--right .tfx-ai-pill:nth-child(4) {
  transform: none;
}
.tfx-ai-pill {
  padding: 11px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 44, 107, 0.1);
  box-shadow: 0 12px 28px -18px rgba(15, 44, 107, 0.18);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--gt-navy);
  line-height: 1.32;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: default;
}
.tfx-ai-pill:hover {
  background: #ffffff;
  border-color: rgba(36, 176, 206, 0.55);
  box-shadow: 0 16px 32px -16px rgba(20, 131, 158, 0.28);
}
.tfx-ai-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gt-cyan);
  box-shadow: 0 0 0 3px rgba(36, 176, 206, 0.16);
  flex-shrink: 0;
}
.tfx-ai-side--right .tfx-ai-pill-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

/* Central Uncaged Floating AI Agent Character (No surrounding box!) */
.tfx-ai-center-free {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-inline: 10px;
}
.tfx-core-bot {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 32px 32px 36px 36px;
  background: radial-gradient(circle at 32% 22%, #314f88 0%, #0b1938 60%, #050c1d 100%);
  border: 2.5px solid #dfc07c;
  box-shadow:
    0 24px 48px -14px rgba(15, 44, 107, 0.34),
    0 0 0 10px rgba(36, 176, 206, 0.08),
    inset 0 3px 8px rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
}
.tfx-core-bot::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 18px;
  right: 18px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.03));
  pointer-events: none;
}
.tfx-core-bot:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 30px 56px -14px rgba(15, 44, 107, 0.4),
    0 0 0 14px rgba(36, 176, 206, 0.12),
    inset 0 3px 8px rgba(255, 255, 255, 0.32);
}
.tfx-core-bot.is-nodding {
  transform: translateY(4px) scale(0.95, 0.9);
}
.tfx-core-eye {
  width: 11px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #aef8ff 0%, #52e3ff 100%);
  box-shadow: 0 0 14px rgba(82, 227, 255, 0.95);
  transform: translate3d(var(--eye-x, 0px), var(--eye-y, 0px), 0);
  transition: height 0.11s ease;
  will-change: transform;
}
.tfx-core-bot.is-blinking .tfx-core-eye {
  height: 2.5px;
}
.tfx-core-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gt-navy);
  opacity: 0.84;
  text-align: center;
  white-space: nowrap;
}

/* Spacious Row 2 Explorer Band on /ai-agents */
.tfx-explorer-band {
  padding-block: clamp(5rem, 8.2vw, 7.2rem);
  background: #f6f9fd;
  border-bottom: 1px solid rgba(15, 44, 107, 0.07);
}
.tfx-explorer-band .ga-stage {
  margin-top: 0 !important;
  background: #ffffff;
  padding: clamp(26px, 3.6vw, 42px);
  border-radius: 30px;
  box-shadow: 0 20px 50px -30px rgba(15, 44, 107, 0.14);
}
.tfx-explorer-band .ga-flow-grid {
  gap: 18px;
}
.tfx-explorer-band .ga-flow-step {
  background: #f8fafd;
  padding: 24px 22px;
  gap: 10px;
  border-radius: 22px;
}
.tfx-explorer-band .ga-stage-foot {
  margin-top: 24px;
  padding-top: 18px;
}

/* -------------------- 4. /ADS FULL-CIRCLE INTERACTIVE TOP-DOWN COMPASS -------------------- */
.tfx-compass-dial {
  position: relative;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, #26437a 0%, #0b1b3d 62%, #050d21 100%);
  border: 3px solid #dfc07c;
  box-shadow:
    0 26px 52px -14px rgba(15, 44, 107, 0.36),
    0 0 0 11px rgba(212, 168, 83, 0.1),
    inset 0 2px 10px rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
}
.tfx-compass-dial:hover {
  transform: translateY(-3px) scale(1.035);
  box-shadow:
    0 32px 58px -14px rgba(15, 44, 107, 0.42),
    0 0 0 15px rgba(36, 176, 206, 0.12),
    inset 0 2px 10px rgba(255, 255, 255, 0.3);
}
.tfx-compass-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.tfx-ads-constellation .tfx-ai-side--left .tfx-ai-pill-dot {
  background: #0ea5b7;
  box-shadow: 0 0 0 3px rgba(14, 165, 183, 0.16);
}
.tfx-ads-constellation .tfx-ai-side--right .tfx-ai-pill-dot {
  background: #d4a853;
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2);
}

/* Clean Button-Only Client Websites Grid inside /web-design Hero */
.tfx-web-hero-btns.website-projects-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 4px !important;
}
.tfx-web-hero-btns .website-project-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  background: #f7fafe !important;
  border: 1px solid rgba(15, 44, 107, 0.1) !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}
.tfx-web-hero-btns .website-project-link:hover {
  background: #ffffff !important;
  border-color: rgba(20, 131, 158, 0.45) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px -16px rgba(15, 44, 107, 0.24) !important;
}
.tfx-web-btn-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tfx-web-btn-meta .website-project-name {
  font-size: 0.88rem !important;
  font-weight: 750 !important;
  color: var(--gt-navy) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tfx-web-btn-meta .website-project-industry {
  font-size: 0.72rem !important;
  color: var(--gt-muted) !important;
}
.tfx-web-hero-btns .website-project-visit {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 5px 11px !important;
  border-radius: 999px !important;
  background: var(--gt-navy) !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.tfx-web-hero-btns .website-project-link:hover .website-project-visit {
  background: var(--gt-teal) !important;
}
@media (max-width: 640px) {
  .tfx-web-hero-btns.website-projects-grid {
    grid-template-columns: 1fr !important;
  }
}

/* -------------------- 5. #REELS & #ESTIMATOR SURGICAL FIXES -------------------- */
.gt-clean-showcase.reels,
section.reels#reels {
  background:
    radial-gradient(circle at 16% 18%, rgba(43, 184, 212, 0.16), transparent 42%),
    radial-gradient(circle at 84% 82%, rgba(20, 131, 158, 0.14), transparent 45%),
    linear-gradient(180deg, #0b2254 0%, #071739 100%) !important;
  color: #ffffff !important;
  padding-block: clamp(4.6rem, 7.5vw, 6.6rem) !important;
}
section.reels#reels h2 { color: #ffffff !important; }
section.reels#reels h2 em { color: #7dd3e6 !important; }
section.reels#reels .section-label { color: #7dd3e6 !important; }
section.reels#reels .section-label::before { background: #7dd3e6 !important; }
section.reels#reels .reels-head p { color: rgba(255, 255, 255, 0.8) !important; }
section.reels#reels .reels-head a.ig-link { color: #7dd3e6 !important; border-bottom-color: rgba(125, 211, 230, 0.48) !important; }
section.reels#reels .reels-tag { color: #7dd3e6 !important; }
section.reels#reels .reel-btn { border-color: rgba(255, 255, 255, 0.34) !important; color: #ffffff !important; background: rgba(255, 255, 255, 0.06) !important; }
section.reels#reels .reel-btn:hover:not(:disabled) { background: #2bb8d4 !important; border-color: #2bb8d4 !important; color: #091d47 !important; }
@media (min-width: 901px) {
  section.reels#reels .reels-track[data-instagram-automatic="true"] .reel-card {
    min-width: 64px !important;
    flex: 1.15 1 0 !important;
  }
  section.reels#reels .reels-track[data-instagram-automatic="true"] .reel-card.is-featured,
  section.reels#reels .reels-track[data-instagram-automatic="true"] .reel-card:hover,
  section.reels#reels .reels-track[data-instagram-automatic="true"] .reel-card:focus-within {
    flex: 3.65 1 0 !important;
  }
}

.tp-estimator-section .tp-two-path-guide {
  margin: 1.15rem 0 1.45rem !important;
}
.tp-estimator-section .tp-estimator-layout {
  align-items: start !important;
  margin-top: 0 !important;
}
.tp-estimator-section .tp-estimator-controls,
.tp-estimator-section .tp-estimator-rail,
.tp-estimator-section .tp-estimator-controls > .tp-est-block:first-child,
.tp-estimator-section .tp-estimator-rail > .tp-estimator-summary {
  margin-top: 0 !important;
}
@media (min-width: 901px) {
  .tp-estimator-section .tp-estimator-rail { top: 84px !important; }
}
@media (min-width: 641px) {
  .tp-estimator-controls .tp-est-opt[class*="is-deal-"] .tp-est-opt-name,
  .tp-estimator-controls .tp-est-opt[class*="is-tier-"] .tp-est-opt-name {
    padding-inline-end: 1.45rem !important;
  }
  .tp-estimator-controls .tp-est-opt[class*="is-deal-"] .tp-est-opt-name :is(.lang-en, .keep-en) {
    font-size: 0.8rem !important;
    letter-spacing: -0.018em !important;
    white-space: nowrap !important;
  }
}

/* -------------------- 6. PRESERVED INNER PAGE INTERACTIVE VISUALS -------------------- */
.tfx-aurora {
  position: absolute;
  inset: -20% -10%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 46% 38% at 22% 28%, rgba(36, 176, 206, 0.095), transparent 70%),
    radial-gradient(ellipse 42% 36% at 78% 24%, rgba(212, 168, 83, 0.08), transparent 70%),
    radial-gradient(ellipse 50% 42% at 52% 82%, rgba(15, 44, 107, 0.055), transparent 72%);
  filter: blur(22px);
  animation: tfxAuroraDrift 16s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes tfxAuroraDrift {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  100% { transform: translate3d(1.8%, 1.4%, 0) scale(1.04); }
}

.tfx-var-word {
  display: inline-block;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
body:not(.fa) .tfx-var-word.is-near {
  transform: translateY(-2px) scale(1.035);
}

.tfx-hero-split {
  position: relative;
  padding: clamp(3.4rem, 5.8vw, 5rem) 0 clamp(3.2rem, 5.2vw, 4.6rem);
  background:
    radial-gradient(circle at 14% 20%, rgba(36, 176, 206, 0.065), transparent 42%),
    radial-gradient(circle at 86% 24%, rgba(212, 168, 83, 0.06), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  border-bottom: 1px solid rgba(15, 44, 107, 0.08);
  overflow: hidden;
}
.tfx-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.tfx-hero-copy { text-align: start; }
.tfx-hero-copy .gt-h1 {
  margin-inline: 0;
  max-width: 18ch;
  font-size: clamp(2.15rem, 4.1vw, 3.4rem);
}
body.fa .tfx-hero-copy .gt-h1 {
  max-width: 22ch;
  font-size: clamp(1.82rem, 3.3vw, 2.72rem);
}
.tfx-hero-copy .gt-lead {
  margin-inline: 0;
  max-width: 50ch;
}
.tfx-hero-copy .gt-actions { justify-content: flex-start; }
.tfx-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tfx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gt-navy);
  box-shadow: 0 6px 16px -10px rgba(15, 44, 107, 0.16);
}
.tfx-hero-badge b { color: var(--gt-teal); }

/* Dual Live Showcase Band (Needo + Websites Tumble Deck) */
.tfx-tech-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}
.tfx-tech-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.1);
  border-radius: 28px;
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  box-shadow: 0 18px 44px -28px rgba(15, 44, 107, 0.14);
}
.tfx-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tfx-panel-head h3 {
  margin: 4px 0 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--gt-navy);
}
.tfx-pillar-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gt-teal);
}
body.fa .tfx-pillar-kicker { letter-spacing: 0; text-transform: none; font-size: 0.8rem; }
.tfx-app-mini-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tfx-app-mini {
  padding: 14px 15px;
  border-radius: 18px;
  background: #f6f9fd;
  border: 1px solid rgba(15, 44, 107, 0.09);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.tfx-app-mini strong { font-size: 0.92rem; color: var(--gt-navy); display: block; }
.tfx-app-mini p { margin: 0; font-size: 0.8rem; line-height: 1.5; color: var(--gt-muted); }
.tfx-app-mini a { font-size: 0.8rem; font-weight: 700; color: var(--gt-teal); text-decoration: none; }

/* Tumble Deck Showcase */
.tfx-tumble-wrap { position: relative; display: flex; flex-direction: column; gap: 14px; }
.tfx-tumble-stage { position: relative; height: 318px; perspective: 1200px; margin-top: 4px; user-select: none; }
.tfx-tech-showcase-grid .tfx-tumble-stage { height: 356px; }
.tfx-tumble-card {
  position: absolute;
  left: 50%;
  top: 10px;
  width: min(92%, 440px);
  height: 278px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.15);
  box-shadow: 0 24px 50px -22px rgba(10, 26, 64, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform-origin: 50% 85%;
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, border-color 0.3s ease;
}
.tfx-tech-showcase-grid .tfx-tumble-card { width: min(94%, 486px); height: 318px; }
.tfx-tumble-card[data-pos="0"] { z-index: 10; opacity: 1; transform: translate3d(-50%, 0, 0) rotateZ(0deg) scale(1); border-color: rgba(20, 131, 158, 0.45); }
.tfx-tumble-card[data-pos="1"] { z-index: 8; opacity: 0.92; transform: translate3d(calc(-50% + 26px), 12px, -40px) rotateZ(3.2deg) scale(0.94); }
.tfx-tumble-card[data-pos="2"] { z-index: 6; opacity: 0.78; transform: translate3d(calc(-50% - 26px), 20px, -80px) rotateZ(-3.4deg) scale(0.89); }
.tfx-tumble-card[data-pos="3"] { z-index: 4; opacity: 0.52; transform: translate3d(calc(-50% + 42px), 28px, -120px) rotateZ(5.5deg) scale(0.84); }
.tfx-tumble-card[data-pos="hidden"] { z-index: 1; opacity: 0; pointer-events: none; transform: translate3d(-50%, 36px, -160px) rotateZ(-6deg) scale(0.8); }

.tfx-browser-bar {
  height: 34px; padding: 0 12px;
  background: linear-gradient(180deg, #f8fafd 0%, #eef3fa 100%);
  border-bottom: 1px solid rgba(15, 44, 107, 0.09);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  direction: ltr; flex-shrink: 0;
}
.tfx-browser-dots { display: inline-flex; gap: 5px; }
.tfx-browser-dots i { width: 7.5px; height: 7.5px; border-radius: 50%; display: block; }
.tfx-browser-dots i:nth-child(1) { background: #f87171; }
.tfx-browser-dots i:nth-child(2) { background: #fbbf24; }
.tfx-browser-dots i:nth-child(3) { background: #34d399; }
.tfx-browser-url { font-size: 0.7rem; font-weight: 600; color: #334155; background: #ffffff; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(15, 44, 107, 0.08); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tfx-browser-cwv { font-size: 0.66rem; font-weight: 800; color: #0b6b53; background: #dff7ef; padding: 2px 7px; border-radius: 999px; }
.tfx-tumble-shot { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #0d1f44; }
.tfx-tumble-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.6s ease; }
.tfx-tumble-card[data-pos="0"]:hover .tfx-tumble-shot img { transform: scale(1.035); }
.tfx-tumble-caption { position: absolute; inset: auto 0 0 0; padding: 26px 14px 11px; background: linear-gradient(180deg, rgba(8, 22, 54, 0) 0%, rgba(8, 22, 54, 0.9) 100%); color: #ffffff; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.tfx-tumble-caption strong { display: block; font-size: 0.92rem; font-weight: 700; }
.tfx-tumble-caption span { font-size: 0.73rem; color: #9be7f8; font-weight: 600; }
.tfx-tumble-visit { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; background: #ffffff; color: var(--gt-navy) !important; font-size: 0.74rem; font-weight: 700; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.tfx-tumble-visit:hover { background: #7dd3e6; }
.tfx-tumble-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tfx-tumble-nav { display: inline-flex; align-items: center; gap: 6px; }
.tfx-tumble-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(15, 44, 107, 0.16); background: #ffffff; color: var(--gt-navy); font-size: 0.9rem; font-weight: 700; cursor: pointer; display: inline-grid; place-items: center; }
.tfx-tumble-arrow:hover { background: var(--gt-navy); color: #ffffff; }
.tfx-tumble-dots { display: inline-flex; gap: 5px; align-items: center; }
.tfx-tumble-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(15, 44, 107, 0.2); cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.tfx-tumble-dot.is-active { width: 22px; background: var(--gt-teal); }
.tfx-extra-sites { display: flex; flex-wrap: wrap; gap: 6px; }
.tfx-extra-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #f4f7fc; border: 1px solid rgba(15, 44, 107, 0.1); color: var(--gt-navy) !important; font-size: 0.74rem; font-weight: 600; text-decoration: none; }
.tfx-extra-chip:hover { border-color: var(--gt-teal); background: #eef9fc; }

/* Contribution Skyline (/web-apps) */
.tfx-dim-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.tfx-dim-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9be7f8; }
body.fa .tfx-dim-tag { letter-spacing: 0; text-transform: none; }
.tfx-skyline-card {
  background: linear-gradient(160deg, #0a1d45 0%, #0f2c6b 62%, #0d4a66 100%);
  border: 1px solid rgba(125, 211, 230, 0.3);
  border-radius: 28px;
  padding: 22px;
  color: #ffffff;
  box-shadow: 0 26px 56px -24px rgba(10, 29, 69, 0.4);
}
.tfx-skyline-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.tfx-skyline-kpi { padding: 11px 12px; border-radius: 15px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.13); }
.tfx-skyline-kpi strong { display: block; font-size: 1.15rem; font-weight: 800; color: #7ef3ff; direction: ltr; }
.tfx-skyline-kpi span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.78); }
.tfx-skyline-grid { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 5px; padding: 14px; border-radius: 18px; background: rgba(5, 14, 34, 0.46); border: 1px solid rgba(125, 211, 230, 0.18); direction: ltr; }
.tfx-sky-cell { aspect-ratio: 1 / 1; border-radius: 4px; background: rgba(148, 163, 184, 0.16); transition: transform 0.18s ease; cursor: pointer; }
.tfx-sky-cell[data-lv="1"] { background: #155e75; box-shadow: 0 -2px 0 rgba(125, 211, 230, 0.35); }
.tfx-sky-cell[data-lv="2"] { background: #0ea5b7; box-shadow: 0 -3px 0 rgba(125, 211, 230, 0.5); }
.tfx-sky-cell[data-lv="3"] { background: #2dd4bf; box-shadow: 0 -4px 0 rgba(167, 243, 208, 0.65); }
.tfx-sky-cell[data-lv="4"] { background: #f5c469; box-shadow: 0 -5px 0 rgba(254, 240, 138, 0.8), 0 0 10px rgba(245, 196, 105, 0.45); }
.tfx-sky-cell:hover { transform: translateY(-3px) scale(1.18); z-index: 3; }
.tfx-skyline-readout { margin-top: 10px; font-size: 0.75rem; color: #bae6fd; }

/* Curtain Split Cinema Hero (/video) */
.tfx-curtain-stage {
  position: relative;
  padding: clamp(3rem, 5.2vw, 4.4rem) 0 clamp(2.8rem, 4.5vw, 3.8rem);
  background:
    radial-gradient(circle at 50% 18%, rgba(36, 176, 206, 0.08), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  border-bottom: 1px solid rgba(15, 44, 107, 0.08);
  overflow: hidden;
}
.tfx-curtain-layout {
  max-width: 1280px; margin: 0 auto; padding-inline: clamp(16px, 3vw, 32px);
  display: grid; grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1.16fr) minmax(170px, 0.42fr);
  gap: clamp(16px, 2.4vw, 28px); align-items: center;
}
.tfx-curtain-wing { display: grid; gap: 12px; perspective: 900px; }
.tfx-curtain-frame { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 4.7; background: #091b40; border: 1px solid rgba(15, 44, 107, 0.14); box-shadow: 0 20px 42px -20px rgba(9, 27, 64, 0.32); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.tfx-curtain-wing--left .tfx-curtain-frame:nth-child(1) { transform: rotate(-4deg) translateX(6px); }
.tfx-curtain-wing--left .tfx-curtain-frame:nth-child(2) { transform: rotate(2.5deg) translateX(18px); width: 88%; }
.tfx-curtain-wing--right .tfx-curtain-frame:nth-child(1) { transform: rotate(4deg) translateX(-6px); }
.tfx-curtain-wing--right .tfx-curtain-frame:nth-child(2) { transform: rotate(-2.5deg) translateX(-18px); width: 88%; justify-self: end; }
.tfx-curtain-frame:hover { transform: rotate(0deg) scale(1.03) !important; z-index: 4; }
.tfx-curtain-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tfx-curtain-tag { position: absolute; inset: auto 10px 10px 10px; padding: 5px 10px; border-radius: 999px; background: rgba(9, 27, 64, 0.82); backdrop-filter: blur(8px); color: #ffffff; font-size: 0.7rem; font-weight: 700; text-align: center; }
.tfx-curtain-center { text-align: center; position: relative; z-index: 5; }

/* Endless Draggable Photo Mosaic (/photography) */
.tfx-endless-band { padding: 26px 0 38px; background: var(--gt-ice); border-top: 1px solid rgba(15, 44, 107, 0.06); border-bottom: 1px solid rgba(15, 44, 107, 0.08); overflow: hidden; }
.tfx-endless-head { max-width: var(--gt-wrap); margin: 0 auto 14px; padding-inline: clamp(20px, 4vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.8rem; font-weight: 700; color: var(--gt-teal); }
.tfx-endless-viewport { overflow: hidden; cursor: grab; user-select: none; direction: ltr; }
.tfx-endless-viewport.is-dragging { cursor: grabbing; }
.tfx-endless-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.tfx-endless-item { width: 228px; height: 164px; border-radius: 18px; overflow: hidden; flex-shrink: 0; border: 1px solid rgba(15, 44, 107, 0.1); background: #e2e8f0; box-shadow: 0 10px 24px -16px rgba(15, 44, 107, 0.22); }
.tfx-endless-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* Fractal Bloom Canvas (/about) */
.tfx-bloom-box { position: relative; height: 380px; border-radius: 30px; background: linear-gradient(150deg, #091a40 0%, #0f2c6b 60%, #104968 100%); border: 1px solid rgba(125, 211, 230, 0.3); overflow: hidden; box-shadow: 0 28px 60px -26px rgba(9, 26, 64, 0.42); }
.tfx-bloom-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tfx-bloom-cards { position: absolute; inset: auto 18px 18px 18px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 12px; z-index: 2; }
.tfx-bloom-glass { padding: 14px 16px; border-radius: 18px; background: rgba(9, 25, 58, 0.76); border: 1px solid rgba(125, 211, 230, 0.28); backdrop-filter: blur(12px); color: #ffffff; }
.tfx-bloom-glass strong { display: block; font-size: 0.94rem; color: #fde68a; margin-bottom: 4px; }
.tfx-bloom-glass span { font-size: 0.77rem; line-height: 1.48; color: rgba(255, 255, 255, 0.86); display: block; }

/* High-contrast white text on dark signature Ads card */
.pcard.t-signature .tp-ads-setup-note,
.pcard.t-signature .tp-ads-card-list li {
  color: rgba(255, 255, 255, 0.92) !important;
}
.pcard.t-signature .tp-ads-setup-note del {
  color: #fca5a5 !important;
  opacity: 0.92;
}
.pcard.t-signature .tp-ads-card-list li::before {
  color: #5eead4 !important;
}

/* Mobile Orbital Hero clean CSS-Grid flow (zero overlap with tagline, EN & FA RTL) */
@media (max-width: 900px) {
  .tp-orbit-hero {
    padding-top: 16px !important;
    padding-bottom: 26px !important;
  }
  .tp-orbit-hero .dsh-plates,
  .tp-orbit-hero .dsh-head,
  .tp-orbit-hero .dsh-acts,
  .tp-orbit-hero .dsh-strip,
  .tp-orbit-hero .dsh-card,
  body.fa .tp-orbit-hero .dsh-plates,
  body.fa .tp-orbit-hero .dsh-head,
  body.fa .tp-orbit-hero .dsh-acts,
  body.fa .tp-orbit-hero .dsh-strip,
  body.fa .tp-orbit-hero .dsh-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
  }
  .tp-orbit-hero .dsh-head {
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 2px !important;
    text-align: center !important;
  }
  .tp-orbit-hero .dsh-hd {
    position: relative !important;
    inset: auto !important;
    grid-area: 1 / 1;
  }
  .tp-orbit-hero .dsh-hero-tagline {
    margin: 10px auto 0 !important;
    max-width: 34ch;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: var(--gt-muted) !important;
  }
  body.fa .tp-orbit-hero .dsh-hero-tagline {
    line-height: 1.78 !important;
    font-size: 13px !important;
  }
  .tp-orbit-hero .dsh-acts {
    margin-top: 4px !important;
    gap: 14px !important;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .tfx-six-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tfx-tech-showcase-grid, .tfx-hero-grid { grid-template-columns: 1fr; }
  .tfx-curtain-layout { grid-template-columns: 1fr; }
  .tfx-curtain-wing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tfx-curtain-wing--right { display: none; }
  .tfx-curtain-wing .tfx-curtain-frame { transform: none !important; width: 100% !important; aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .tfx-six-grid { grid-template-columns: 1fr; }
  .tfx-ai-constellation { grid-template-columns: 1fr; min-height: auto; gap: 16px; }
  .tfx-ai-rings-svg { display: none; }
  .tfx-ai-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tfx-ai-side .tfx-ai-pill { transform: none !important; font-size: 0.75rem; padding: 9px 11px; }
  .tfx-ai-center-free { order: -1; margin-bottom: 4px; }
  .tfx-ads-pills-grid, .tfx-app-mini-cards, .tfx-bloom-cards { grid-template-columns: 1fr; }
  .tfx-tumble-stage { height: 274px; }
  .tfx-tumble-card { width: 94%; height: 242px; }
  .tfx-endless-item { width: 180px; height: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .tfx-aurora { animation: none !important; }
}
