/* Modern homepage redesign — scoped under .th-modern to avoid touching
   shared header/footer markup and JS hooks used by other pages. */

.th-modern{
  --purple: #3A0361;
  --purple-deep: #26023f;
  --coral: #FF5350;
  --coral-dark: #e8433f;
  --ink: #17131f;
  --gray-700: #4a4557;
  --gray-500: #837e91;
  --gray-200: #e7e4ec;
  --gray-100: #f5f3f8;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(23,19,31,.06), 0 1px 2px rgba(23,19,31,.08);
  --shadow-md: 0 8px 24px rgba(23,19,31,.08), 0 2px 6px rgba(23,19,31,.06);
  --shadow-lg: 0 24px 60px rgba(23,19,31,.14);
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
}
.th-modern h1, .th-modern h2, .th-modern h3, .th-modern h4{
  font-family:'Manrope',system-ui,sans-serif; margin:0; letter-spacing:-0.02em;
}
.th-modern p{line-height:1.7; color:var(--gray-700); margin:0;}
.th-modern a{color:inherit; text-decoration:none;}
.th-modern img{max-width:100%; display:block;}
.th-modern .container{max-width:1200px; margin:0 auto; padding:0 24px;}
.th-modern .eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--coral); margin-bottom:14px;
}
.th-modern .eyebrow::before{content:""; width:20px; height:2px; background:var(--coral); border-radius:2px;}
.th-modern .btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px; border-radius:999px; font-weight:600; font-size:15px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor:pointer; border:none;
}
.th-modern .btn-primary{background:var(--coral); color:#fff; box-shadow:0 10px 24px rgba(255,83,80,.35);}
.th-modern .btn-primary:hover{background:var(--coral-dark); transform:translateY(-2px); box-shadow:0 14px 30px rgba(255,83,80,.42);}
.th-modern .btn-link{color:var(--purple); font-weight:700; font-size:14px; display:inline-flex; align-items:center; gap:6px;}
.th-modern .btn-link svg{transition:transform .18s ease;}
.th-modern .btn-link:hover svg{transform:translateX(4px);}

/* ---------- Hero ---------- */
.th-modern .th-hero{
  position:relative; overflow:hidden;
  background:linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 60%, #1c0330 100%);
  padding:72px 0 84px;
}
.th-modern .th-hero::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(600px 400px at 85% -10%, rgba(255,83,80,.35), transparent 60%),
    radial-gradient(500px 400px at 100% 100%, rgba(255,255,255,.08), transparent 60%);
  pointer-events:none;
}
.th-modern .th-hero-grid{position:relative; display:grid; grid-template-columns:1.15fr .85fr; gap:64px; align-items:center;}
.th-modern .th-hero h1{font-size:clamp(38px,4.6vw,58px); line-height:1.08; color:#fff; font-weight:800;}
.th-modern .th-hero h1 .accent{color:var(--coral);}
.th-modern .th-hero .lede{color:rgba(255,255,255,.78); font-size:17px; max-width:480px; margin-top:20px;}
.th-modern .search-pill{
  margin-top:36px; display:flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  border-radius:999px; padding:8px 8px 8px 22px; max-width:460px;
  backdrop-filter:blur(8px);
}
.th-modern .search-pill input{
  flex:1; background:transparent; border:none; outline:none; color:#fff; font-size:14.5px; font-family:inherit;
}
.th-modern .search-pill input::placeholder{color:rgba(255,255,255,.55);}
.th-modern .search-pill button{
  width:42px; height:42px; border-radius:50%; background:var(--coral); border:none;
  display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0;
  transition:background .18s ease;
}
.th-modern .search-pill button:hover{background:var(--coral-dark);}
.th-modern .hero-cards{display:flex; flex-direction:column; gap:18px;}
.th-modern .hero-card{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius); padding:24px 26px; backdrop-filter:blur(10px);
  transition:transform .2s ease, background .2s ease;
}
.th-modern .hero-card:hover{transform:translateY(-4px); background:rgba(255,255,255,.13);}
.th-modern .hero-card h3{color:#fff; font-size:18px; margin-bottom:8px;}
.th-modern .hero-card p{color:rgba(255,255,255,.7); font-size:14px; margin-bottom:14px;}
.th-modern .hero-card a{color:var(--coral); font-weight:700; font-size:13.5px; display:inline-flex; align-items:center; gap:6px;}

/* ---------- Section shells ---------- */
.th-modern .th-section{padding:68px 0;}
.th-modern .section-head{max-width:640px; margin-bottom:36px;}
.th-modern .section-head h2{font-size:clamp(28px,3vw,38px); font-weight:800; color:var(--ink);}
.th-modern .section-head p{margin-top:12px; font-size:16px;}
.th-modern .section-head.center{margin-left:auto; margin-right:auto; text-align:center;}

/* ---------- Industries (flowing image carousel) ---------- */
.th-modern .th-industries{background:linear-gradient(180deg, #fdf1ef 0%, var(--gray-100) 100%);}
.th-modern .marquee{
  margin-top:32px; overflow:hidden; position:relative;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.th-modern .marquee-track{display:flex; gap:22px; width:max-content; animation:th-scroll-left 32s linear infinite;}
.th-modern .marquee:hover .marquee-track{animation-play-state:paused;}
@keyframes th-scroll-left{from{transform:translateX(0);} to{transform:translateX(-50%);}}
.th-modern .industry-card{
  position:relative; width:230px; height:280px; border-radius:20px; overflow:hidden;
  box-shadow:var(--shadow-md); flex-shrink:0; transition:transform .25s ease;
}
.th-modern .industry-card:hover{transform:translateY(-8px) scale(1.02);}
.th-modern .industry-card img{width:100%; height:100%; object-fit:cover;}
.th-modern .industry-card::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 40%, rgba(23,19,31,.85) 100%);
}
.th-modern .industry-card h4{
  position:absolute; left:18px; right:18px; bottom:18px; z-index:2;
  color:#fff; font-size:17px; font-weight:700;
}
.th-modern .industry-card .tag{
  position:absolute; top:14px; left:14px; z-index:2;
  background:var(--coral); color:#fff; font-size:11px; font-weight:800;
  padding:5px 10px; border-radius:999px; letter-spacing:.03em;
}

/* ---------- Reports ---------- */
.th-modern .th-reports-wrap{background:linear-gradient(180deg, #f4effa 0%, #fff 100%);}
.th-modern .reports{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
.th-modern .report-list{display:flex; flex-direction:column;}
.th-modern .report-row{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 4px; border-bottom:1px solid var(--gray-200);
  transition:padding-left .18s ease;
}
.th-modern .report-row:hover{padding-left:10px;}
.th-modern .report-row h4{font-size:16px; font-weight:600; color:var(--ink);}
.th-modern .report-row .arrow{color:var(--coral); font-size:18px; flex-shrink:0;}
.th-modern .reports-side h2{font-size:30px; font-weight:800; margin-bottom:16px;}
.th-modern .reports-side p{margin-bottom:24px;}

/* ---------- Why choose us ---------- */
.th-modern .why-row{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
  padding:40px 0;
}
.th-modern .why-row:not(:last-child){border-bottom:1px solid var(--gray-200);}
.th-modern .why-row.reverse .why-media{order:2;}
.th-modern .why-row.reverse .why-copy{order:1;}
.th-modern .why-media{border-radius:20px; overflow:hidden; box-shadow:var(--shadow-md); aspect-ratio:4/3;}
.th-modern .why-media img{width:100%; height:100%; object-fit:cover; transition:transform .4s ease;}
.th-modern .why-row:hover .why-media img{transform:scale(1.05);}
.th-modern .why-copy .num{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:10px; color:#fff;
  font-weight:800; font-family:'Manrope'; margin-bottom:16px; font-size:14px;
}
.th-modern .why-copy h3{font-size:23px; margin-bottom:12px; color:var(--ink);}
.th-modern .why-copy p{font-size:15px;}
.th-modern .accent-1{background:var(--coral);}
.th-modern .accent-2{background:var(--purple);}
.th-modern .accent-3{background:#0f9d8a;}
.th-modern .accent-4{background:#e8a13a;}

/* ---------- Stats ---------- */
.th-modern .th-stats{background:linear-gradient(120deg, var(--purple-deep), var(--purple));}
.th-modern .stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center;}
.th-modern .stats-grid .headline{grid-column:1/-1; text-align:center; margin-bottom:8px;}
.th-modern .stats-grid .headline .big{font-size:clamp(40px,5vw,64px); font-weight:800; color:#fff; font-family:'Manrope';}
.th-modern .stats-grid .headline p{color:rgba(255,255,255,.75); font-size:15px; margin-top:6px;}
.th-modern .stat-card{padding:28px 12px; border-radius:var(--radius); background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-top:3px solid var(--card-accent, var(--coral));}
.th-modern .stat-card .big{font-size:32px; font-weight:800; color:#fff; font-family:'Manrope';}
.th-modern .stat-card p{color:rgba(255,255,255,.7); font-size:13.5px; margin-top:6px;}

/* ---------- About ---------- */
.th-modern .about-grid{display:grid; grid-template-columns:1fr .8fr; gap:64px; align-items:center;}
.th-modern .about-media{position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg);}
.th-modern .about-media img{width:100%; height:100%; object-fit:cover;}
.th-modern .play-btn{position:absolute; inset:0; display:flex; align-items:center; justify-content:center;}
.th-modern .play-btn span{
  width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,.92);
  display:flex; align-items:center; justify-content:center; color:var(--coral); font-size:22px;
  box-shadow:0 8px 24px rgba(0,0,0,.25); cursor:pointer; transition:transform .18s ease;
}
.th-modern .play-btn span:hover{transform:scale(1.08);}
.th-modern .about-copy p{margin-bottom:16px; font-size:15px;}

@media(max-width:900px){
  .th-modern .th-hero-grid, .th-modern .reports, .th-modern .about-grid{grid-template-columns:1fr;}
  .th-modern .stats-grid{grid-template-columns:repeat(2,1fr);}
}
