:root {
  --bg: #ffffff;
  --panel: #f8fafc;
  --ink: #1e293b;
  --muted: #64748b;
  --brand: #3b82f6;
  --brand-2: #60a5fa;
  --accent: #10b981;
  --border: #e2e8f0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-2);
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.logo {
  display: inline-grid;
  place-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
  font-weight: 700;
  color: white;
}

.name {
  font-size: 18px;
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.menu a {
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

.menu a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: var(--transition);
}

.menu a:hover::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
}

.btn.primary {
  background: var(--brand);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.btn.ghost:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--brand);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 700;
}

.hero p {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 18px;
  max-width: 90%;
}

.accent {
  background: linear-gradient(135deg, var(--brand-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta {
  display: flex;
  gap: 16px;
  margin: 24px 0 10px;
}

.badges {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  color: var(--muted);
  flex-wrap: wrap;
}

.badges li {
  background: rgba(59, 130, 246, 0.08);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--brand);
  font-weight: 500;
}

.hero-card .card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.hero-card .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.card.small {
  padding: 20px;
}

.card h3 {
  margin: 0 0 16px;
  font-weight: 600;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.gradient-blob {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 70%);
  border-radius: 50%;
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}

.section.alt {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.03), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section h2 {
  font-size: 36px;
  margin: 0 0 12px;
  font-weight: 700;
}

.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tile {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.tile-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.tile h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 600;
}

.bullets {
  color: var(--muted);
  padding-left: 0;
  list-style: none;
}

.bullets li {
  margin: 8px 0;
  position: relative;
  padding-left: 20px;
}

.bullets li::before {
  content: "•";
  color: var(--brand);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.case {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.case:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

.contact {
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.03));
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
}

.lead {
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 20px;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  background: var(--panel);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 30px;
  }
  
  .hero h1 {
    font-size: 42px;
  }
  
  .grid.three {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  
  .grid.two, .grid.three {
    grid-template-columns: 1fr;
  }
  
  .contact-card {
    grid-template-columns: 1fr;
  }
  
  .menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: var(--bg);
    flex-direction: column;
    padding: 30px;
    transition: var(--transition);
    border-left: 1px solid var(--border);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
  }
  
  .menu.active {
    right: 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 80px 0 60px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section h2 {
    font-size: 30px;
  }
  
  .tile, .case, .contact-card {
    padding: 24px;
  }
}
