/* ============================================
   THEME: General Business — Professional, Versatile, Modern
   Target: SMEs, agencies, general B2B prospects
   ============================================ */

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

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --fg: #f4f4f5;
  --fg-muted: #8a8a8e;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.1);
  --accent-line: rgba(245, 158, 11, 0.25);
  --border: rgba(244, 244, 245, 0.07);
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 60px;
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.tns-logo { height: 28px; width: auto; color: var(--fg); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--fg-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; min-height: 44px; display: flex; align-items: center; }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--accent); color: var(--bg);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  padding: 10px 22px; border-radius: 100px; text-decoration: none;
  transition: opacity 0.2s; min-height: 44px; display: flex; align-items: center;
}
.nav-cta:hover { opacity: 0.85; color: var(--bg); }

/* Mobile nav */
.nav-toggle-input { display: none; }
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-mobile { display: none; }

/* HERO */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 120px 60px 80px; position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  background: var(--accent-dim); border: 1px solid var(--accent-line);
  color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-head); font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 800; line-height: 1.05; letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px; color: var(--fg-muted); max-width: 480px;
  margin-bottom: 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--accent); color: var(--bg);
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 14px 32px; border-radius: 100px; text-decoration: none; border: none; cursor: pointer;
  min-height: 44px; display: flex; align-items: center;
}
.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--fg-muted);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 14px 24px; border-radius: 100px; text-decoration: none; border: 1px solid var(--border);
  min-height: 44px; display: flex; align-items: center;
}
.btn-secondary:hover { color: var(--fg); border-color: var(--fg-muted); }

/* Mock Dashboard */
.hero-visual { display: flex; justify-content: flex-end; align-items: center; position: relative; z-index: 1; }
.dash-mock { width: 420px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
.mock-topbar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--bg-3); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mock-dots span:first-child { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:last-child { background: #28c840; }
.mock-title { font-size: 11px; color: var(--fg-muted); font-weight: 500; margin-left: auto; margin-right: auto; }
.mock-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mock-row { display: flex; gap: 10px; }
.mock-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.stat-card { flex: 1; }
.mock-label { display: block; font-size: 10px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.mock-value { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.mock-value.highlight { color: var(--accent); }
.chart-card { flex: 1; }
.mock-bars { display: flex; align-items: flex-end; gap: 4px; height: 48px; margin-top: 4px; }
.bar { flex: 1; background: var(--bg); border-radius: 3px 3px 0 0; min-height: 6px; }
.bar.active { background: var(--accent); }
.task-card { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.task-item { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--fg-muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-muted); flex-shrink: 0; }
.dot.running { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

/* SERVICES */
.services { padding: 100px 60px; background: var(--bg-2); border-top: 1px solid var(--border); }
.section-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-title { font-family: var(--font-head); font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -1px; max-width: 560px; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px 32px; transition: all 0.2s;
}
.service-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.service-card.service-highlighted { border-color: var(--accent); background: var(--accent-dim); box-shadow: 0 0 20px rgba(245,158,11,0.15); }
.service-icon {
  width: 48px; height: 48px; background: var(--accent-dim); border: 1px solid var(--accent-line);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 20px;
}
.service-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* SOCIAL PROOF */
.social-proof { padding: 80px 60px; border-top: 1px solid var(--border); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.proof-card {
  padding: 24px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; text-align: center;
}
.proof-card .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-dim); border: 2px solid var(--accent-line); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.proof-card .name { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.proof-card .role { font-size: 12px; color: var(--fg-muted); }

/* CASE STUDY */
.case-study { padding: 100px 60px; border-top: 1px solid var(--border); }
.case-card { background: var(--bg-2); border: 1px solid var(--accent-line); border-radius: 20px; padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.case-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.case-title { font-family: var(--font-head); font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.case-desc { font-size: 16px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 32px; }
.case-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-value { display: block; font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--accent); }
.stat-label { display: block; font-size: 12px; color: var(--fg-muted); margin-top: 4px; }
.case-quote { padding: 32px; background: var(--bg-3); border-radius: 16px; border: 1px solid var(--border); }
.case-quote p { font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.case-quote cite { font-size: 13px; color: var(--fg-muted); font-style: normal; }

/* CTA */
.cta-section {
  padding: 120px 60px; border-top: 1px solid var(--border);
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-head); font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; line-height: 1.1; letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.cta-section p { font-size: 18px; color: var(--fg-muted); margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-primary {
  display: inline-block;
  background: var(--accent); color: var(--bg);
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  padding: 18px 48px; border-radius: 100px; text-decoration: none; min-height: 44px;
}

/* FOOTER */
.footer { padding: 48px 60px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-left { display: flex; flex-direction: column; gap: 8px; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.footer-contact { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-contact a { color: var(--fg-muted); text-decoration: none; font-size: 13px; }
.footer-contact a:hover { color: var(--fg); }
.footer-sep { color: var(--fg-muted); opacity: 0.4; font-size: 13px; }
.footer-powered { font-size: 12px; color: var(--fg-muted); }
.footer-powered a { color: var(--fg-muted); text-decoration: none; }
.footer-powered a:hover { color: var(--fg); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .case-card { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-toggle-input:checked ~ .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-mobile {
    display: flex; flex-direction: column;
    position: fixed; top: 65px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px; gap: 4px;
  }
  .nav-mobile-link { color: var(--fg-muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
  .nav-mobile-link:hover { color: var(--fg); }
  .nav-mobile-cta { background: var(--accent); color: var(--bg); font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 14px 24px; border-radius: 100px; text-decoration: none; text-align: center; margin-top: 8px; min-height: 44px; display: flex; align-items: center; justify-content: center; }

  .hero { grid-template-columns: 1fr; padding: 100px 20px 60px; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-lede { max-width: 100%; margin-left: auto; margin-right: auto; }

  .services, .social-proof, .case-study, .cta-section { padding: 60px 20px; }
  .services-grid, .proof-grid { grid-template-columns: 1fr; }
  .section-title { max-width: 100%; }
  .case-card { padding: 40px 28px; }
  .case-stats { gap: 24px; }
  .footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}