/* ═══════════════════════════════════════════
   TEAMSHARE — Shared Stylesheet v2
   ═══════════════════════════════════════════ */

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

:root {
  --brand:        #0f55a0;
  --brand-hover:  #0d4a8c;
  --brand-light:  #1a7ac4;
  --black:        #1d1d1f;
  --gray:         #6e6e73;
  --light-bg:     #f5f5f7;
  --white:        #ffffff;
  --border:       #d2d2d7;
  --red:          #ff3b30;
  --nav-h:        60px;
  --max:          1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.08;
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(26px, 3.8vw, 48px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.12;
  margin-bottom: 18px;
}
h3 {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600; letter-spacing: -0.018em; line-height: 1.25;
  margin-bottom: 10px;
}
h4 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
p  { font-size: 17px; line-height: 1.65; color: var(--gray); margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }
a  { color: var(--brand); }

.text-center { text-align: center; }
.text-white  { color: #fff; }

/* ── CONTAINERS ── */
.container        { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 740px;     margin: 0 auto; padding: 0 32px; }

/* ── SECTIONS ── */
section { padding: 96px 0; }
.section-white { background: var(--white); }
.section-gray  { background: var(--light-bg); }
.section-dark  { background: var(--black); }
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: #fff; }
.section-dark p  { color: rgba(255,255,255,0.58); }

.section-label {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 14px;
}
.section-dark .section-label { color: #6ac4f5; }

/* ── NAV ── */
nav#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.09);
  transition: background .3s;
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 34px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 0 13px; height: var(--nav-h); line-height: var(--nav-h);
  font-size: 14px; color: var(--black); text-decoration: none;
  opacity: .78; white-space: nowrap; transition: opacity .2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { opacity: 1; }
.nav-links > li > a.active {
  color: var(--brand);
  font-weight: 600;
  opacity: 1;
}
/* Linie subtire sub link-ul activ */
.nav-links > li > a.active::before {
  content: '';
  position: absolute;
  bottom: 0; left: 13px; right: 13px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px 2px 0 0;
}
.nav-links > li > a { position: relative; }
.nav-links > li.has-sub > a::after { content: " ▾"; font-size: 9px; }

/* Dropdown */
.nav-dropdown {
  display: none; position: absolute; top: calc(var(--nav-h) + 1px); left: 0;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 14px;
  min-width: 230px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  animation: dd-in .18s ease;
}
@keyframes dd-in { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.nav-links > li.has-sub:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 11px 18px; font-size: 14px;
  color: var(--black); text-decoration: none; opacity: .8;
  border-bottom: 1px solid var(--border); transition: background .15s, opacity .15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--light-bg); opacity: 1; }
.nav-dropdown .dd-sub {
  font-size: 12px; color: var(--gray); padding: 6px 18px 10px;
  border-bottom: none; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; opacity: 1; cursor: default;
}
.nav-dropdown .dd-sub:hover { background: transparent; }

.nav-cta-wrap > a.nav-cta {
  height: auto !important; line-height: normal !important;
  align-self: center; padding: 7px 16px;
}
.nav-cta {
  display: inline-block; margin-left: 10px;
  background: var(--brand); color: #fff !important;
  padding: 9px 18px; border-radius: 980px;
  font-size: 13px !important; font-weight: 500 !important;
  text-decoration: none; opacity: 1 !important;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--brand-hover) !important; transform: scale(1.02); }

/* Hamburger */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); border-radius: 2px; transition: all .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
  z-index: 999; padding: 16px 24px 40px;
  overflow-y: auto; flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block; padding: 15px 0;
  font-size: 18px; font-weight: 500; color: var(--black);
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-nav a.m-sub {
  font-size: 15px; font-weight: 400;
  color: var(--gray); padding-left: 20px;
}
.mobile-nav a.m-cta {
  display: inline-block; margin-top: 24px;
  background: var(--brand); color: #fff;
  padding: 14px 28px; border-radius: 980px;
  font-size: 16px; font-weight: 500; text-align: center;
  border-bottom: none;
}

/* ── HERO ── */
.hero {
  min-height: 86vh; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  text-align: center; padding: 100px 32px 64px;
  padding-top: calc(var(--nav-h) + 56px);
  background: linear-gradient(180deg, #fff 0%, var(--light-bg) 100%);
}
.hero-dark {
  background: linear-gradient(160deg, #141416 0%, #1e2a3a 100%);
}
.hero-dark h1 { color: #fff; }
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 18px;
}
.hero-dark .hero-eyebrow { color: #6ac4f5; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-dark h1 em { color: #6ac4f5; }
.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px); color: var(--gray);
  max-width: 620px; line-height: 1.55; margin: 0 auto 40px;
}
.hero-dark .hero-sub { color: rgba(255,255,255,.55); }
.hero-slim { min-height: 50vh; }
.hero-breadcrumb {
  font-size: 13px; color: var(--gray); margin-bottom: 18px;
}
.hero-breadcrumb a { color: var(--brand); text-decoration: none; }
.hero-breadcrumb a:hover { text-decoration: underline; }
.hero-breadcrumb span { margin: 0 6px; }

/* ── BUTTONS ── */
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block; text-decoration: none; border-radius: 980px;
  font-size: 16px; font-weight: 400; padding: 14px 28px;
  transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); transform: scale(1.02); }
.btn-secondary {
  background: transparent; color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-secondary:hover { background: rgba(15,85,160,.07); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.split  { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: 20px; padding: 36px 30px;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0,0,0,.10); }
.card-dark {
  background: #252527; border-radius: 20px; padding: 36px 30px;
  transition: transform .3s;
}
.card-dark:hover { transform: translateY(-4px); }
.card-dark h3 { color: #fff; }
.card-dark p  { color: rgba(255,255,255,.52); }
.card-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}

/* ── PILLARS ── */
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; border-radius: 24px; overflow: hidden; margin-top: 48px;
}
.pillar { background: var(--light-bg); padding: 40px 32px; transition: background .25s; }
.pillar:hover { background: #e9e9ec; }
.pillar-num {
  font-size: 60px; font-weight: 700; color: var(--brand);
  letter-spacing: -.05em; line-height: 1; margin-bottom: 14px;
}

/* ── PROCESS STEPS ── */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 60px 1fr; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num { font-size: 32px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.step h3  { color: var(--black); }

/* ── LISTS ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 16px; color: var(--gray);
}
.check-list li::before { content: "✓"; color: var(--brand); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.section-dark .check-list li { color: rgba(255,255,255,.68); }
.section-dark .check-list li::before { color: #6ac4f5; }

.cross-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.cross-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 16px; color: var(--gray);
}
.cross-list li::before { content: "✕"; color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── TAGS ── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  display: inline-block; padding: 6px 14px; border-radius: 980px;
  background: var(--light-bg); font-size: 13px; color: var(--gray);
  border: 1px solid var(--border);
}
.tag-brand { background: rgba(15,85,160,.08); color: var(--brand); border-color: rgba(15,85,160,.2); }

/* ── HIGHLIGHT ── */
.highlight {
  background: linear-gradient(135deg, rgba(15,85,160,.07), rgba(26,122,196,.07));
  border: 1px solid rgba(15,85,160,.18);
  border-radius: 18px; padding: 32px 28px; margin-top: 28px;
}
.highlight p { color: var(--black); font-size: 18px; font-weight: 500; line-height: 1.5; margin: 0; }
.section-dark .highlight { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.section-dark .highlight p { color: #fff; }

/* ── BIG QUOTE ── */
.big-quote {
  font-size: clamp(20px, 3vw, 38px); font-weight: 600;
  letter-spacing: -.02em; line-height: 1.28;
  color: #fff; max-width: 780px; margin: 0 auto;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--black); text-align: center; padding: 96px 32px;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band > .container-narrow > p { color: rgba(255,255,255,.52); margin-bottom: 34px; }
.cta-band-light {
  background: var(--light-bg); text-align: center; padding: 96px 32px;
}
.cta-band-light h2 { color: var(--black); }
.cta-band-light p  { color: var(--gray); margin-bottom: 34px; }

/* ── DIVIDER ── */
hr.divider { height: 1px; background: var(--border); border: none; margin: 56px 0; }

/* ── TWO-COL LABEL ── */
.col-label {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 16px; display: block;
}
.col-label-yes { color: var(--brand); }
.col-label-no  { color: var(--red); }

/* ── PARTNER PAGE ── */
.partner-intro {
  padding-top: calc(var(--nav-h) + 56px); padding-bottom: 56px;
  background: var(--light-bg);
}
.partner-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 980px;
  background: rgba(15,85,160,.08); border: 1px solid rgba(15,85,160,.18);
  font-size: 13px; color: var(--brand); font-weight: 600; margin-bottom: 20px;
}

/* ── FOOTER ── */
footer {
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 14px; color: var(--gray); margin-top: 10px; line-height: 1.6;
}
.footer-col h4 {
  font-size: 12px; font-weight: 700; color: var(--black);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--gray);
  text-decoration: none; margin-bottom: 8px; transition: color .2s;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding-top: 22px;
}
.footer-bottom p { font-size: 12px; color: var(--gray); margin: 0; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 13px; color: var(--gray); text-decoration: none; transition: color .2s; }
.footer-social a:hover { color: var(--brand); }

/* ── LEGAL PAGES ── */
.legal-content {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 96px;
}
.legal-content h2 { font-size: 28px; margin-top: 40px; margin-bottom: 14px; }
.legal-content h3 { font-size: 20px; margin-top: 28px; margin-bottom: 10px; }
.legal-content p, .legal-content li { font-size: 16px; line-height: 1.75; color: var(--gray); }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 8px; }

/* ── SITEMAP ── */
.sitemap-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.sitemap-col h3 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 14px; }
.sitemap-col a {
  display: block; font-size: 15px; color: var(--gray);
  text-decoration: none; padding: 5px 0; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.sitemap-col a:last-child { border-bottom: none; }
.sitemap-col a:hover { color: var(--brand); }
.sitemap-col a.sub { padding-left: 16px; font-size: 14px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-burger { display: flex; }
  .grid-2,.grid-3,.grid-4,.split,.pillar-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  section { padding: 72px 0; }
  .hero { padding: 60px 24px 32px; padding-top: calc(var(--nav-h) + 20px); min-height: auto; }
  .container, .container-narrow { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .cta-band, .cta-band-light { padding: 72px 20px; }
}
@media (max-width: 480px) {
  .step { grid-template-columns: 44px 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Canvas: hide on mobile ── */
@media (max-width: 768px) {
  #tsCanvas { display: none !important; }
  .clients-grid { grid-template-columns: repeat(3, 1fr) \!important; }
  .stats-grid  { grid-template-columns: 1fr 1fr \!important; max-width: 100%; overflow: hidden; }
}
@media (max-width: 480px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr) \!important; }
}

@media (max-width: 768px) {
  .hero .split { text-align: left; }
  .hero .split > div:last-child:has(#tsCanvas) { display: none; }
}

@media (max-width: 600px) {
  #tsDesktopCanvas { display: none !important; }
  #tsMobileCanvas  { display: block !important; width: 100%; max-width: 360px; height: auto; }
}
