:root {
  --blue: #0b5fa5;
  --blue-dark: #083e6b;
  --green: #4caf50;
  --green-light: #66bb6a;
  --green-dark: #2e7d32;
  --bg: #ffffff;
  --panel: #f6f8fa;
  --border: #e2e8f0;
  --text: #1f2937;
  --muted: #6b7280;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 56px;
}

/* Navigation */
.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--blue-dark);
  font-weight: 600;
}

.nav a:hover {
  background: var(--panel);
}

/* Fix top menu Request Demo button to match main green buttons */
.nav a.btn-primary {
  color: #ffffff;
  background: var(--green);
  border: 1px solid var(--green-dark);
}

.nav a.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.05rem;
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
  border: 1px solid var(--green-dark);
}

.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary:focus {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.hero h1 {
  font-size: 2.3rem;
  margin: 0 0 1rem;
  color: var(--blue-dark);
  line-height: 1.4;
}

.hero p {
  font-size: 1.05rem;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.5;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section h2 {
  font-size: 2rem;
  margin: 0 0 1.2rem;
  color: var(--blue-dark);
}

.section p {
  color: var(--muted);
  max-width: 900px;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

@media(min-width: 900px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.card h3 {
  margin: 0;
  color: var(--blue-dark);
}

.card ul {
  margin: 0.25rem 0 0 1rem;
  color: var(--muted);
}

.card li {
  margin: 0.4rem 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
}

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


  /* Login Layout */
  main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 76px);
    background: linear-gradient(180deg, #f8fbff, #ffffff);
  }

  /* Login Card */
  .login-form {
    background: #ffffff;
    padding: 2.5rem 3rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
  }

  .login-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  }

  .login-form h2 {
    margin: 0 0 1rem;
    color: var(--blue-dark);
    text-align: center;
    font-size: 1.8rem;
  }

  /* Labels */
  .login-form label {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text);
    display: block;
  }

  /* Inputs */
  .login-form input {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
  }

  .login-form input:hover {
    border-color: var(--blue);
  }

  .login-form input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
  }

  /* Button */
  .login-form .btn-primary {
    margin-top: 1.2rem;
    width: 100%;
    font-size: 1.05rem;
    padding: 0.75rem;
  }

  /* Mobile */
  @media (max-width: 500px) {
    .login-form {
      padding: 2rem;
    }
  }
