/* ============================================================
   Tradcom International — design system (TechNova-derived)
   Dark premium theme: #0f172a base, indigo→violet accents
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #f1f5f9;
  background: #0f172a;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: #67e8f9; }

::selection { background: rgba(99, 102, 241, .45); color: #fff; }

:focus-visible { outline: 2px solid #67e8f9; outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* ---------------- Navigation ---------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 36, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; color: #fff; text-decoration: none; }

.nav-links { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }

.nav-links a {
  position: relative;
  color: #cbd5e1;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 6px 0;
  transition: color .2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: .85rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn-gradient {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed 55%, #a855f7);
  box-shadow: 0 10px 28px rgba(99, 102, 241, .38);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(124, 58, 237, .45); }

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); transform: translateY(-2px); }

.btn-light {
  color: #3730a3;
  background: #fff;
  box-shadow: 0 10px 26px rgba(2, 6, 23, .35);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(2, 6, 23, .45); }

/* ---------------- Hero slider ---------------- */

.hero-slider { position: relative; }

.hs-stage { position: relative; overflow: hidden; border-radius: 0 0 32px 32px; isolation: isolate; }

.hs-slide { margin: 0; }

.hs-slide img {
  width: 100%;
  height: clamp(560px, 82vh, 860px);
  object-fit: cover;
}

.hs-slide--base { position: relative; z-index: 0; }
.hs-slide--base img { animation: hszoom var(--hs-dur, 19500ms) ease-out infinite; }

.hs-slide:not(.hs-slide--base) {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  animation: hsfade var(--hs-dur, 19500ms) linear infinite;
}
.hs-slide:not(.hs-slide--base) img { width: 100%; height: 100%; animation: hszoom var(--hs-dur, 19500ms) ease-out infinite; }

@keyframes hsfade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  30% { opacity: 1; }
  33.33% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes hszoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hs-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 6, 23, .62) 0%, rgba(2, 6, 23, .28) 42%, rgba(2, 6, 23, .88) 100%);
}

.hs-body {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hs-kicker {
  margin: 0 0 22px;
  padding: .4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, .45);
  background: rgba(8, 47, 73, .35);
  color: #67e8f9;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hs-title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.4rem, 5.4vw, 4.3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.025em;
  color: #fff;
  text-wrap: balance;
}

.hs-sub {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: 1.13rem;
  line-height: 1.65;
  color: #d8dee9;
}

.hs-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

.hs-dots { display: flex; gap: 10px; margin-top: 52px; }

.hs-dot {
  position: relative;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  overflow: hidden;
}

.hs-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #a855f7);
  transform: scaleX(0);
  transform-origin: left;
  animation: hsdot var(--hs-dur, 19500ms) linear infinite;
}

@keyframes hsdot {
  0% { transform: scaleX(0); }
  33.33% { transform: scaleX(1); }
  100% { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hs-slide:not(.hs-slide--base), .hs-dot::after { animation: none; }
  .hs-slide:not(.hs-slide--base) { display: none; }
  .hs-slide--base img { animation: none; }
}

/* ---------------- Sections ---------------- */

.section { padding: 104px 0; }

.section--alt {
  background:
    radial-gradient(900px 380px at 85% 0%, rgba(99, 102, 241, .10), transparent 65%),
    #121a32;
  border-top: 1px solid rgba(148, 163, 184, .08);
  border-bottom: 1px solid rgba(148, 163, 184, .08);
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--left { margin-bottom: 40px; }

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #f8fafc;
  text-wrap: balance;
}

.section-head h2::after {
  content: '';
  display: block;
  width: 68px;
  height: 4px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #6366f1, #a855f7);
}

.lede { margin: 16px 0 0; color: #94a3b8; font-size: 1.1rem; line-height: 1.7; }

.eyebrow {
  margin: 0 0 34px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #a5b4fc;
}

/* ---------------- Cards ---------------- */

.cards-grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-6 { grid-template-columns: repeat(3, 1fr); }

.card {
  margin: 0;
  padding: 34px 30px;
  border-radius: 20px;
  background: linear-gradient(180deg, #1c2542, #17203a);
  border: 1px solid #2a2a44;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, .55);
  box-shadow: 0 24px 48px rgba(2, 6, 23, .5);
}

.card h3 { margin: 0 0 12px; font-size: 1.14rem; font-weight: 700; color: #f1f5f9; letter-spacing: -.01em; }
.card p { margin: 0; color: #94a3b8; font-size: .96rem; line-height: 1.7; }

.feature-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 20px;
  background: #17203a;
}

.card-index {
  display: inline-block;
  margin-bottom: 22px;
  padding: .32rem .72rem;
  border-radius: 9px;
  background: rgba(34, 211, 238, .08);
  border: 1px solid rgba(34, 211, 238, .28);
  color: #67e8f9;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------------- Stats panel ---------------- */

.stats-panel {
  padding: 64px 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed 58%, #a855f7);
  box-shadow: 0 30px 70px rgba(79, 70, 229, .35);
}

.stats-panel .eyebrow { color: rgba(255, 255, 255, .8); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.stat { display: flex; flex-direction: column; gap: 6px; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .25); }
.stat:first-child { padding-left: 0; border-left: 0; }

.stat-value { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.stat-label { color: rgba(255, 255, 255, .82); font-size: .95rem; font-weight: 500; }

/* ---------------- Split (about) ---------------- */

.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; }

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid #2a2a44;
  box-shadow: 0 30px 70px rgba(2, 6, 23, .55);
}

.rich-text { color: #94a3b8; font-size: 1.02rem; line-height: 1.8; }
.rich-text p { margin: 0 0 1.1em; }
.rich-text strong { color: #e2e8f0; }
.rich-text ul { padding-left: 1.2em; }
.rich-text li { margin-bottom: .5em; }
.rich-text li::marker { color: #67e8f9; }

/* ---------------- Quote cards ---------------- */

.quote-card::before {
  content: '\201C';
  display: block;
  font-size: 64px;
  line-height: .8;
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quote-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.75; color: #dbe3ee; }
.quote-card figcaption { margin-top: 22px; color: #67e8f9; font-size: .9rem; font-weight: 600; }

/* ---------------- Gallery ---------------- */

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.gallery-item {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #2a2a44;
  background: #17203a;
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-caption {
  padding: 14px 8px 4px;
  color: #cbd5e1;
  font-size: .88rem;
  line-height: 1.5;
  text-align: center;
}

/* ---------------- FAQ ---------------- */

.faq-item {
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid #2a2a44;
  background: #1c2542;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: #67e8f9;
  transition: transform .2s ease;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item p { margin: 0; padding: 0 26px 24px; color: #94a3b8; line-height: 1.75; }

/* ---------------- CTA ---------------- */

.section--cta { padding: 40px 0 104px; }

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 64px;
  border-radius: 28px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed 55%, #a855f7);
  box-shadow: 0 30px 70px rgba(79, 70, 229, .35);
}

.cta-copy h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.cta-copy p { margin: 14px 0 0; color: rgba(255, 255, 255, .88); font-size: 1.06rem; max-width: 56ch; }
.cta-panel .btn { flex: 0 0 auto; }

/* ---------------- Contact ---------------- */

.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }

.contact-line { display: flex; flex-direction: column; gap: 4px; margin: 0 0 22px; }
.contact-line strong { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #a5b4fc; }
.contact-line a { color: #e2e8f0; text-decoration: none; font-size: 1.05rem; }
.contact-line a:hover { color: #67e8f9; }
.contact-line { color: #e2e8f0; font-size: 1.05rem; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.hp-field { position: absolute !important; left: -9999px !important; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid #2a2a44;
  background: #131b33;
  color: #f1f5f9;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #64748b; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .25);
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.contact-form .btn { align-self: flex-start; }

/* ---------------- Footer ---------------- */

.site-footer {
  position: relative;
  background: #0b1224;
  border-top: 1px solid rgba(148, 163, 184, .1);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #6366f1, #a855f7);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 24px 52px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
}

.footer-logo { height: 44px; width: auto; margin-bottom: 22px; }

.footer-about { margin: 0; max-width: 46ch; color: #94a3b8; font-size: .95rem; line-height: 1.75; }

.footer-tagline {
  margin: 18px 0 0;
  color: #67e8f9;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.footer-col h4 {
  margin: 4px 0 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #94a3b8;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: #cbd5e1;
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s ease;
}

.footer-col a:hover { color: #67e8f9; }
.footer-col span { display: block; padding: 6px 0; color: #cbd5e1; font-size: .95rem; }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid rgba(148, 163, 184, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: .85rem;
}

.footer-credit { letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }

/* ---------------- Misc blocks ---------------- */

.hero-single { padding: 120px 0; text-align: center; background: #121a32; }
.hero-single h1 { margin: 0 0 18px; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.hero-single .lede { max-width: 640px; margin: 0 auto 32px; }

.team-card { text-align: center; }
.team-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 2px solid rgba(99, 102, 241, .5); }
.team-role { color: #67e8f9 !important; font-weight: 600; }

.pricing-card .price { margin: 6px 0 18px; font-size: 2.4rem; font-weight: 800; color: #f8fafc; }
.pricing-card .price span { font-size: .95rem; font-weight: 500; color: #94a3b8; }
.pricing-card ul { list-style: none; margin: 0 0 24px; padding: 0; }
.pricing-card li { padding: 8px 0; color: #94a3b8; border-bottom: 1px dashed rgba(148, 163, 184, .15); }

.logo-cloud { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; opacity: .65; }
.logo-cloud img { height: 40px; filter: grayscale(1) brightness(1.6); }

.section iframe { width: 100%; aspect-ratio: 16 / 9; border: 1px solid #2a2a44; border-radius: 18px; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-6 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding-left: 0; border-left: 0; }
  .split { gap: 48px; }
  .cta-panel { padding: 48px; }
}

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .split, .contact-wrap { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 44px; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .nav-inner { height: auto; padding: 14px 24px; flex-wrap: wrap; }
  .nav-links { gap: 20px; }
}

@media (max-width: 640px) {
  .cards-3, .cards-4, .cards-6 { grid-template-columns: 1fr; }
  .stats-panel { padding: 44px 32px; }
  .cta-panel { padding: 40px 28px; }
  .hs-slide img, .hs-stage { border-radius: 0; }
  .hs-stage { border-radius: 0 0 20px 20px; }
  .hs-sub { font-size: 1rem; }
  .section-head { margin-bottom: 40px; }
}
