@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #3b82f6;
  /* Blue 500 */
  --primary-hover: #2563eb;
  /* Blue 600 */
  --secondary: #64748b;
  /* Slate 500 */
  --accent: #0ea5e9;
  /* Sky 500 */

  --bg-main: #0f172a;
  /* Slate 900 */
  --bg-gradient-start: #0f172a;
  --bg-gradient-end: #1e293b;

  --surface: rgba(30, 41, 59, 0.7);
  /* Slate 800 + Opacity */
  --surface-border: rgba(148, 163, 184, 0.1);
  --glass: rgba(255, 255, 255, 0.05);

  --text-main: #f8fafc;
  /* Slate 50 */
  --text-muted: #cbd5e1;
  /* Slate 300 */

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 50% -20%, #1e293b 0%, #0f172a 60%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navbar --- */
header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.logo-container img {
  height: 48px;
  width: auto;
}

.navbar ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.navbar a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.navbar a:hover {
  color: var(--primary);
}

/* Special Nav Buttons */
.nav-btn-client,
.nav-btn-pme,
.nav-btn-demo {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  color: white !important;
  transition: transform 0.2s, opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn-client {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.nav-btn-pme {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.nav-btn-demo {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn-client:hover,
.nav-btn-pme:hover,
.nav-btn-demo:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(to right bottom, white 30%, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.4);
}

/* --- Sections & Cards --- */
section {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: white;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid var(--surface-border);
  background: rgba(15, 23, 42, 0.5);
  color: #64748b;
  font-size: 0.875rem;
}

footer a {
  color: #64748b;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--text-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .navbar ul {
    display: none;
  }

  /* Simplified for now, typically would add hamburger */
}