/* 101TMS Premium Homepage — Enterprise Global Platform */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --t101-navy: #0a1628;
  --t101-navy-mid: #111d35;
  --t101-navy-light: #1a2744;
  --t101-gold: #c9a227;
  --t101-gold-light: #e8c547;
  --t101-blue: #2563eb;
  --t101-blue-light: #3b82f6;
  --t101-cyan: #06b6d4;
  --t101-text: #1e293b;
  --t101-text-muted: #64748b;
  --t101-bg: #f8fafc;
  --t101-white: #ffffff;
  --t101-radius: 16px;
  --t101-shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --t101-shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
  --t101-font: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.home-premium {
  font-family: var(--t101-font);
  -webkit-font-smoothing: antialiased;
  color: var(--t101-text);
  padding-bottom: 0;
}

body.home-premium img { max-width: 100%; }

/* ── Top announcement bar ── */
.t101-topbar {
  background: var(--t101-navy);
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
  font-size: 13px;
  text-align: center;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  border-bottom: 1px solid rgba(201,162,39,0.2);
}
.t101-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.t101-topbar span { white-space: nowrap; }
.t101-topbar .highlight { color: var(--t101-gold-light); font-weight: 600; }
.t101-topbar .sep { color: rgba(255,255,255,0.25); }

/* ── Navigation override ── */
body.home-premium .fh5co-nav {
  top: 36px !important;
  background: transparent !important;
  padding: 12px 0 !important;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
body.home-premium .fh5co-nav.t101-nav-scrolled {
  background: rgba(10, 22, 40, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  padding: 8px 0 !important;
}
body.home-premium .fh5co-nav a { color: #fff !important; font-weight: 500; font-size: 14px; }
body.home-premium .fh5co-nav ul li.active > a {
  background: rgba(201,162,39,0.2) !important;
  color: var(--t101-gold-light) !important;
  border-radius: 6px;
}
body.home-premium #fh5co-logo a {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
body.home-premium #fh5co-logo span { color: var(--t101-gold) !important; }

/* ── Hero ── */
.t101-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--t101-navy);
  margin-top: 0;
}
.t101-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37,99,235,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(201,162,39,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 90% 70%, rgba(6,182,212,0.15) 0%, transparent 50%),
    linear-gradient(180deg, #0a1628 0%, #111d35 50%, #0d1a30 100%);
}
.t101-hero-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: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
}
.t101-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}
.t101-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--t101-gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.t101-hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--t101-gold);
  border-radius: 50%;
  animation: t101-pulse 2s infinite;
}
@keyframes t101-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.t101-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 820px;
}
.t101-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--t101-gold-light), var(--t101-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.t101-hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 36px;
}
.t101-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.t101-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.t101-btn:hover { transform: translateY(-2px); }
.t101-btn-primary {
  background: linear-gradient(135deg, var(--t101-gold), #b8922a);
  color: var(--t101-navy) !important;
  box-shadow: 0 4px 20px rgba(201,162,39,0.35);
}
.t101-btn-primary:hover { box-shadow: 0 8px 30px rgba(201,162,39,0.45); }
.t101-btn-outline {
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.t101-btn-outline:hover { background: rgba(255,255,255,0.15); }
.t101-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 720px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.t101-stat-num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.t101-stat-num span { color: var(--t101-gold-light); }
.t101-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}
.t101-hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 560px;
  opacity: 0.9;
  pointer-events: none;
}
.t101-hero-visual svg { width: 100%; height: auto; }

/* Hide old slider */
body.home-premium #clean-slider { display: none !important; }

/* ── Metrics strip ── */
.t101-metrics {
  background: var(--t101-white);
  border-bottom: 1px solid #e2e8f0;
  padding: 48px 24px;
}
.t101-metrics-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
}
.t101-metric-item .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--t101-navy);
  line-height: 1;
}
.t101-metric-item .num em {
  font-style: normal;
  color: var(--t101-blue);
}
.t101-metric-item .label {
  font-size: 14px;
  color: var(--t101-text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* ── Section common ── */
.t101-section {
  padding: 80px 24px;
}
.t101-section-alt { background: var(--t101-bg); }
.t101-section-dark {
  background: var(--t101-navy);
  color: #fff;
}
.t101-container {
  max-width: 1280px;
  margin: 0 auto;
}
.t101-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.t101-section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t101-blue);
  margin-bottom: 12px;
}
.t101-section-dark .t101-section-tag { color: var(--t101-gold-light); }
.t101-section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--t101-navy);
}
.t101-section-dark .t101-section-header h2 { color: #fff; }
.t101-section-header p {
  font-size: 17px;
  color: var(--t101-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.t101-section-dark .t101-section-header p { color: rgba(255,255,255,0.65); }

/* ── Ecosystem / Subsites ── */
.t101-eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t101-eco-card {
  position: relative;
  background: var(--t101-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--t101-radius);
  padding: 32px 28px;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.t101-eco-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--t101-shadow-lg);
  border-color: var(--t101-blue);
}
.t101-eco-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--eco-accent, var(--t101-blue));
}
.t101-eco-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: var(--eco-bg, rgba(37,99,235,0.1));
}
.t101-eco-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--t101-navy);
  margin: 0 0 10px;
}
.t101-eco-card p {
  font-size: 14px;
  color: var(--t101-text-muted);
  line-height: 1.65;
  flex: 1;
  margin: 0 0 16px;
}
.t101-eco-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--eco-accent, var(--t101-blue));
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.t101-eco-card:hover .t101-eco-link { gap: 10px; }
.t101-eco-card.featured {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--t101-navy) 0%, var(--t101-navy-light) 100%);
  border-color: rgba(201,162,39,0.3);
}
.t101-eco-card.featured h3 { color: #fff; }
.t101-eco-card.featured p { color: rgba(255,255,255,0.65); }
.t101-eco-card.featured .t101-eco-link { color: var(--t101-gold-light); }

/* ── Platform pillars ── */
.t101-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.t101-pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--t101-radius);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.25s, border-color 0.25s;
}
.t101-pillar:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,162,39,0.3);
}
.t101-pillar-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(6,182,212,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.t101-pillar h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.t101-pillar p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0;
}

/* ── CTA band ── */
.t101-cta-band {
  background: linear-gradient(135deg, var(--t101-navy) 0%, #1a2744 50%, var(--t101-navy-mid) 100%);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.t101-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(201,162,39,0.15), transparent);
}
.t101-cta-band-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.t101-cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.t101-cta-band p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin: 0 0 28px;
}
.t101-cta-band .t101-hero-actions { justify-content: center; margin-bottom: 0; }

/* ── Industries ── */
.t101-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.t101-industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--t101-white);
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--t101-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.t101-industry-tag:hover {
  border-color: var(--t101-blue);
  box-shadow: var(--t101-shadow);
}

/* ── Trust / Global ── */
.t101-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.t101-trust-item {
  text-align: center;
  padding: 24px 16px;
}
.t101-trust-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.t101-trust-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--t101-navy);
  margin: 0 0 8px;
}
.t101-trust-item p {
  font-size: 14px;
  color: var(--t101-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Product cards override ── */
body.home-premium #fh5co-blog .fh5co-heading span {
  color: var(--t101-blue);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 12px;
}
body.home-premium #fh5co-blog .fh5co-heading h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--t101-navy);
  letter-spacing: -0.02em;
}
body.home-premium .fh5co-post {
  height: auto !important;
  min-height: 300px;
  border: 1px solid #e2e8f0;
  border-radius: var(--t101-radius);
  overflow: hidden;
  background: var(--t101-white);
  transition: transform 0.25s, box-shadow 0.25s;
  padding-bottom: 16px;
}
body.home-premium .fh5co-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--t101-shadow-lg);
}
body.home-premium .fh5co-post img {
  height: 160px;
  width: 100%;
  object-fit: cover;
  max-width: 100% !important;
}
body.home-premium .fh5co-post h3 {
  font-size: 16px;
  font-weight: 700;
  padding: 0 16px;
  margin-top: 12px !important;
}
body.home-premium .fh5co-post h3 a {
  color: var(--t101-navy) !important;
  text-decoration: none;
}
body.home-premium .fh5co-post p:last-child {
  padding: 0 16px;
  font-size: 13px;
  color: var(--t101-text-muted);
  -webkit-line-clamp: 3;
}

/* ── Solutions override ── */
body.home-premium #fh5co-services .feature-center {
  height: auto !important;
  min-height: 260px;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--t101-radius) !important;
  background: var(--t101-white);
  padding: 28px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}
body.home-premium #fh5co-services .feature-center:hover {
  transform: translateY(-4px);
  box-shadow: var(--t101-shadow-lg);
  border-color: var(--t101-blue) !important;
}
body.home-premium #fh5co-services .feature-center .icon {
  color: var(--t101-blue);
}
body.home-premium #fh5co-services .feature-center h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--t101-navy);
}
body.home-premium #fh5co-services .feature-center p {
  font-size: 13px;
  color: var(--t101-text-muted);
}
body.home-premium #fh5co-services .feature-center a {
  color: var(--t101-blue) !important;
  font-weight: 600;
}

/* ── News override ── */
body.home-premium .fh5co-date {
  color: var(--t101-blue);
  font-weight: 600;
  font-size: 13px;
}
body.home-premium #fh5co-blog .fh5co-heading h2 a {
  color: var(--t101-navy) !important;
  font-size: 1.25rem;
  font-weight: 700;
  transition: color 0.2s;
}
body.home-premium #fh5co-blog .fh5co-heading h2 a:hover {
  color: var(--t101-blue) !important;
}

/* ── Why choose us ── */
.t101-why-section {
  background: var(--t101-bg);
  padding: 80px 24px;
}
.t101-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.t101-why-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--t101-white);
  border-radius: var(--t101-radius);
  border: 1px solid #e2e8f0;
  transition: transform 0.25s, box-shadow 0.25s;
}
.t101-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--t101-shadow);
}
.t101-why-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.t101-why-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--t101-navy);
  margin: 0 0 8px;
}
.t101-why-card p {
  font-size: 14px;
  color: var(--t101-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Buttons override ── */
body.home-premium .btn-primary {
  background: linear-gradient(135deg, var(--t101-blue), #1d4ed8) !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 12px 36px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
body.home-premium .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

/* ── AI diagnosis section override ── */
body.home-premium #ai-diagnosis {
  background: linear-gradient(135deg, var(--t101-navy) 0%, #162447 100%) !important;
}
body.home-premium #ai-diagnosis h2 span { color: var(--t101-gold-light) !important; }

/* ── Footer override ── */
body.home-premium #fh5co-footer {
  background: var(--t101-navy) !important;
}
body.home-premium #fh5co-started {
  background: var(--t101-bg);
}
body.home-premium #fh5co-started .fh5co-heading span {
  color: var(--t101-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ── Float bar ── */
body.home-premium #trial-float-bar {
  background: linear-gradient(135deg, var(--t101-navy), var(--t101-navy-light)) !important;
  border-top: 1px solid rgba(201,162,39,0.3);
}
body.home-premium #trial-float-bar a:first-of-type {
  background: var(--t101-gold) !important;
  color: var(--t101-navy) !important;
  border-radius: 10px !important;
}

/* ── Old orange CTA hide ── */
body.home-premium .t101-hide-legacy { display: none !important; }

/* ── Fade-in animation ── */
.t101-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.t101-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.t101-why-section .t101-section-header h2 { color: var(--t101-navy); }
.t101-why-section .t101-section-tag { color: var(--t101-blue); }
@media (max-width: 1024px) {
  .t101-hero-visual { display: none; }
  .t101-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .t101-metrics-inner { grid-template-columns: repeat(3, 1fr); }
  .t101-eco-grid { grid-template-columns: repeat(2, 1fr); }
  .t101-pillars { grid-template-columns: repeat(2, 1fr); }
  .t101-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .t101-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .t101-topbar-inner { gap: 12px; font-size: 12px; }
  .t101-hero-content { padding: 100px 20px 60px; }
  .t101-hero h1 { font-size: 2rem; }
  .t101-section { padding: 56px 20px; }
  .t101-metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .t101-eco-grid { grid-template-columns: 1fr; }
  .t101-pillars { grid-template-columns: 1fr; }
  .t101-trust-grid { grid-template-columns: 1fr; }
  .t101-why-grid { grid-template-columns: 1fr; }
  .t101-hero-actions { flex-direction: column; }
  .t101-btn { justify-content: center; width: 100%; }
  body.home-premium .fh5co-nav { top: 32px !important; }
}
@media (max-width: 480px) {
  .t101-hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .t101-metric-item .num { font-size: 1.8rem; }
}
