/* Base */
:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #2563eb;
  --brand-600: #1d4ed8;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --card: #ffffff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(37,99,235,0.06), transparent 60%),
              radial-gradient(800px 400px at 10% -10%, rgba(99,102,241,0.06), transparent 60%),
              var(--bg);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #60a5fa, #a78bfa, #34d399); opacity: .8; }
.topbar { background: linear-gradient(90deg, rgba(37,99,235,0.08), rgba(29,78,216,0.08)); border-bottom: 1px solid var(--border); }
.topbar-inner { height: 38px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--text); opacity: .9; position: relative; }
.topbar a { color: var(--brand-600); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #475569; cursor: pointer; font-size: 16px; opacity: .8; }
.topbar .close:hover { opacity: 1; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.nav-toggle { display: none; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.site-nav a { color: var(--text); opacity: .8; text-decoration: none; transition: opacity .2s ease, color .2s ease; position: relative; padding-bottom: 6px; }
.site-nav a:hover { opacity: 1; color: var(--brand-600); }
.site-nav a::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 0; height: 2px; background: linear-gradient(90deg, #60a5fa, #a78bfa, #34d399); border-radius: 2px; transition: width .2s ease; }
.site-nav a:hover::after { width: 60%; }

/* Hero */
.hero {
  padding: 92px 0 64px;
  background: linear-gradient(180deg, #f1f5ff 0%, rgba(241,245,255,0) 100%);
  text-align: center;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
  background: linear-gradient(90deg, #0f172a, #1e293b 20%, #2563eb 60%, #1d4ed8 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: #475569;
  margin: 0 0 28px;
}
.hero-badges { display: flex; gap: 10px; justify-content: center; margin-bottom: 22px; flex-wrap: wrap; }
.hero-badge { border: 1px solid var(--border); background: #ffffff; padding: 6px 10px; border-radius: 999px; font-size: 12px; color: var(--muted); box-shadow: 0 2px 8px rgba(15,23,42,0.06); }
.hero-actions { display: inline-flex; gap: 12px; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: linear-gradient(180deg, #f8fafc, #ffffff); }
.section.alt:nth-of-type(odd) { background: linear-gradient(180deg, #ffffff, #f8fbff); }
.hero { position: relative; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 260px at 75% 0%, rgba(37,99,235,0.12), transparent 60%), radial-gradient(500px 200px at 20% 5%, rgba(99,102,241,0.12), transparent 60%); pointer-events: none; }
.section h2 { font-size: 32px; margin: 0 0 28px; text-align: center; letter-spacing: .2px; }
.section h2 { position: relative; display: inline-block; }
.section h2::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -10px; width: 88px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #60a5fa, #a78bfa, #34d399); opacity: .6; }
.muted { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.cards .card {
  grid-column: span 6;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 20px rgba(2,8,23,0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cards .card { position: relative; }
.cards .card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-top-left-radius: 14px; border-top-right-radius: 14px; background: linear-gradient(90deg, rgba(96,165,250,.8), rgba(167,139,250,.8), rgba(52,211,153,.8)); opacity: .7; }
.cards .card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(2,8,23,0.12); border-color: #d0d8e5; }
.cards .card h3 { margin: 0 0 10px; font-size: 18px; color: #0f172a; }
.cards .card p { margin: 0; color: var(--muted); }

/* Solutions */
.solutions .card { min-height: 148px; }

/* Media cards (Cases) */
.cards .card.media { padding: 0; overflow: hidden; }
.card.media .media { position: relative; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e8f0ff, #f8fbff); border-bottom: 1px solid var(--border); overflow: hidden; }
.card.media .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.card.media .media .placeholder { position: absolute; inset: 0; z-index: 0; background: radial-gradient(400px 200px at 80% 10%, rgba(37,99,235,0.25), transparent 60%), radial-gradient(300px 150px at 10% 20%, rgba(99,102,241,0.2), transparent 60%); }
.card.media .content { padding: 18px 20px; }
.card.media h3 { margin: 0 0 6px; font-size: 18px; color: var(--text); }
.card.media p { margin: 0; color: var(--muted); }
/* logos removed */

/* Section accent backgrounds */
section#services { background: linear-gradient(180deg, #f8fafc, #ffffff); }
section#solutions { background: linear-gradient(180deg, #ffffff, #f5f8ff); }
section#cases { background: linear-gradient(180deg, #f7fbff, #ffffff); }
section#about { background: linear-gradient(180deg, #ffffff, #f9fafb); }

.list-inline { display: flex; gap: 10px; padding: 0; margin: 12px 0 0; list-style: none; flex-wrap: wrap; }
.list-inline li { background: #ffffff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--muted); box-shadow: 0 2px 8px rgba(15,23,42,0.06); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.stat { grid-column: span 3; background: linear-gradient(180deg, #ffffff, #f8fbff); border: 1px solid var(--border); border-radius: 14px; padding: 18px; text-align: center; box-shadow: 0 4px 14px rgba(2,8,23,0.06); }
.stat .num { font-size: 28px; font-weight: 700; color: #0f172a; }
.stat .label { font-size: 13px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #d0d8e5;
  color: var(--text);
  background: #ffffff;
  text-decoration: none;
}
.btn.primary {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-600) 100%);
  border-color: transparent;
  color: #ffffff;
  font-weight: 600;
}
.btn.primary:hover { filter: brightness(1.05); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #ffffff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.footer-right a { color: var(--muted); text-decoration: none; }
.footer-right a:hover { color: var(--text); }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
.reveal[data-reveal="left"] { transform: translateX(-16px); }
.reveal[data-reveal="right"] { transform: translateX(16px); }
.reveal.show[data-reveal] { transform: translateX(0); }

/* Responsive */
@media (max-width: 900px) {
  .cards .card { grid-column: span 12; }
  .stat { grid-column: span 6; }
  .logo-item { grid-column: span 4; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; background: transparent; border: 0; font-size: 22px; }
  .site-nav { position: absolute; top: 64px; left: 0; right: 0; background: #0f162c; border-bottom: 1px solid var(--border); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-top: 1px solid var(--border); }
  .site-nav a { display: block; padding: 12px 20px; }

  .hero { padding: 64px 0 44px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .stat { grid-column: span 12; }
  .logo-item { grid-column: span 6; }
}


