/* Enterprise Agentic Skills — Premium Dark */
:root {
  --bg: #0a0a0b;
  --surface: #111114;
  --surface-raised: #18181c;
  --border: #25252b;
  --border-light: #1e1e24;
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-subtle: rgba(59,130,246,0.08);
  --accent-border: rgba(59,130,246,0.18);
  --accent-glow: rgba(59,130,246,0.12);
  --green: #34d399;
  --green-subtle: rgba(52,211,153,0.1);
  --radius: 6px;
  --radius-lg: 10px;
  --max-w: 960px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { font-size: 17px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* Subtle grain overlay */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Nav — glass */
nav {
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1.2rem; height: 56px;
}
.nav-logo { font-weight: 700; font-size: 1rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.nav-logo span { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; gap: 1.4rem; list-style: none; font-size: 0.875rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; transition: color 0.15s; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius); text-decoration: none; font-size: 0.825rem; font-weight: 600;
  transition: all 0.15s; white-space: nowrap;
}
.nav-cta:hover { background: var(--surface-raised); border-color: var(--accent); color: var(--accent); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.3rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.2s; border-radius: 1px; }

/* Container */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* Hero */
.hero { padding: 5rem 0 3.5rem; text-align: center; position: relative; }
.hero::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero h1 { 
  font-size: 2.6rem; line-height: 1.12; 
  margin-bottom: 1rem; letter-spacing: -0.04em; font-weight: 800;
  position: relative; z-index: 1;
  background: linear-gradient(135deg, #f4f4f5 0%, #a1a1aa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle { 
  font-size: 1.05rem; color: var(--text-muted); max-width: 580px; 
  margin: 0 auto 2rem; line-height: 1.6; position: relative; z-index: 1;
}
.hero-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn {
  display: inline-block; padding: 0.7rem 1.6rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.925rem; text-decoration: none; transition: all 0.2s;
  letter-spacing: -0.01em;
}
.btn-primary { 
  background: var(--accent); color: #fff; 
  box-shadow: 0 0 20px var(--accent-glow), 0 2px 4px rgba(0,0,0,0.3);
}
.btn-primary:hover { background: #2563eb; box-shadow: 0 0 30px var(--accent-glow), 0 4px 12px rgba(0,0,0,0.4); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surface-raised); border-color: var(--text-muted); }
.cta-microcopy { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.9rem; max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.55; position: relative; z-index: 1; }

/* Section labels */
.section-label { 
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 0.5rem;
}

/* Sections */
section { padding: 5rem 0; }
section.alt { 
  background: var(--surface); 
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border);
}
.section-title { font-size: 1.6rem; margin-bottom: 0.5rem; letter-spacing: -0.03em; font-weight: 700; }
.section-subtitle { color: var(--text-muted); margin-bottom: 2.5rem; max-width: 560px; font-size: 0.95rem; }

/* Cards grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.6rem; transition: border-color 0.2s, background 0.2s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.card:hover { border-color: var(--border-light); background: var(--surface-raised); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; font-weight: 700; letter-spacing: -0.01em; }
.card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.55; }
.card a { color: var(--accent); font-weight: 600; font-size: 0.875rem; text-decoration: none; }
.card a:hover { color: var(--accent-hover); }

/* Platform card */
.platform-card { 
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.6rem; text-align: center; transition: border-color 0.2s, background 0.2s;
}
.platform-card:hover { border-color: var(--accent-border); background: var(--surface-raised); }
.platform-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.platform-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.platform-card a { color: var(--accent); font-weight: 600; font-size: 0.875rem; text-decoration: none; }

/* Service page layout */
.page-header { padding: 1.5rem 0 0.5rem; }
.page-header h1 { font-size: 2rem; letter-spacing: -0.04em; margin-bottom: 0.4rem; font-weight: 800; }
.page-header .page-desc { font-size: 1rem; color: var(--text-muted); max-width: 650px; line-height: 1.6; }
.breadcrumbs { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.7rem; padding-top: 1.2rem; }
.breadcrumbs a { color: var(--accent); text-decoration: none; font-weight: 500; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Content blocks */
.content-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.content-block { 
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); 
  padding: 1.8rem;
}
.content-block h2 { font-size: 1.25rem; margin-bottom: 0.7rem; font-weight: 700; letter-spacing: -0.02em; }
.content-block h3 { font-size: 1rem; margin: 1.2rem 0 0.4rem; font-weight: 700; }
.content-block p, .content-block li { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.45rem; line-height: 1.6; }
.content-block ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.content-block ol { padding-left: 1.2rem; margin-bottom: 1rem; color: var(--text-secondary); font-size: 0.9rem; }
.content-block a { color: var(--accent); font-weight: 500; }

/* Feature list */
.feature-list { list-style: none; padding: 0; }
.feature-list li { 
  padding: 0.4rem 0; display: flex; align-items: flex-start; gap: 0.55rem;
  border-bottom: 1px solid var(--border-light);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { 
  content: ''; display: inline-block; width: 5px; height: 5px; 
  background: var(--accent); border-radius: 50%; flex-shrink: 0; margin-top: 0.6rem;
}

/* CTA section */
.cta-section { 
  background: var(--surface); border: 1px solid var(--border); 
  border-radius: var(--radius-lg); padding: 2.2rem 2rem; text-align: center; margin: 2.5rem 0;
}
.cta-section h2 { font-size: 1.35rem; margin-bottom: 0.5rem; font-weight: 700; letter-spacing: -0.02em; }
.cta-section p { color: var(--text-muted); margin-bottom: 1.3rem; max-width: 520px; margin-left: auto; margin-right: auto; font-size: 0.95rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.team-card { 
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); 
  padding: 1.6rem;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.15rem; font-weight: 700; }
.team-role { color: var(--accent); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.8rem; }
.team-card p { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 0.35rem; line-height: 1.55; }
.team-card a { color: var(--accent); font-weight: 500; font-size: 0.85rem; }

/* Coverage table */
.coverage-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.85rem; }
.coverage-table th, .coverage-table td { padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--border); text-align: left; }
.coverage-table th { font-weight: 700; background: var(--accent-subtle); font-size: 0.78rem; color: var(--accent); }
.coverage-table tr:hover td { background: var(--accent-subtle); }

/* Blog tables */
.blog-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.85rem; }
.blog-table th, .blog-table td { padding: 0.55rem 0.7rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.blog-table th { background: var(--accent-subtle); font-weight: 700; font-size: 0.8rem; color: var(--accent); }
.blog-table tr:nth-child(even) td { background: rgba(255,255,255,0.015); }

/* Blog content */
.blog-content { max-width: 780px; margin: 0 auto; }
.blog-content h1 { font-size: 2rem; margin: 1.5rem 0 0.5rem; letter-spacing: -0.04em; font-weight: 800; }
.blog-content h2 { font-size: 1.4rem; margin: 2rem 0 0.6rem; font-weight: 700; letter-spacing: -0.02em; padding-top: 0.5rem; }
.blog-content h3 { font-size: 1.1rem; margin: 1.5rem 0 0.4rem; font-weight: 700; }
.blog-content p { margin-bottom: 1rem; color: var(--text-secondary); line-height: 1.7; }
.blog-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.blog-content ul, .blog-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; color: var(--text-secondary); }
.blog-content li { margin-bottom: 0.4rem; line-height: 1.6; }
.blog-content strong { color: var(--text); }
.blog-content code { background: var(--surface-raised); padding: 0.15rem 0.4rem; border-radius: 3px; font-size: 0.9em; color: var(--accent-hover); }
.blog-content a { color: var(--accent); font-weight: 500; }
.blog-meta { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.blog-meta strong { color: var(--text); }

/* Contact form */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.25rem; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: 0.9rem; color: var(--text); background: var(--bg);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle);
}
.form-group textarea { min-height: 100px; resize: vertical; }

/* Footer */
footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 2.5rem 0; text-align: center; font-size: 0.8rem; color: var(--text-muted);
}
footer a { color: var(--text-secondary); text-decoration: none; font-weight: 500; }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.8rem; }

/* Mobile */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero { padding: 3.5rem 0 2.5rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero .subtitle { font-size: 0.95rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,11,0.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 1rem 1.2rem; gap: 0.7rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: inline-block; text-align: center; margin-top: 0.3rem; }
  .card-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 0; }
  .cta-section { padding: 1.8rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}