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

:root {
  --accent-blue: #2159FF;
  --accent-blue-light: #4F7BFF;
  --accent-green: #24BF7F;
  --bg-light: #F9FAFB;
  --text-dark: #1F2937;
  --text-muted: #6B7280;
  --container-max: 1100px;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E5E7EB;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.navbar .logo {
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--accent-blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-blue-light);
}

.btn-secondary {
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
}

.btn-secondary:hover {
  background: var(--accent-blue);
  color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F7FF 50%, #EAF1FF 100%);
  text-align: center;
  padding: 6rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero .subtitle {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Logo strip */
.logo-strip {
  padding: 1.5rem 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  background: #FFF;
}

.logo-strip .logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  font-weight: 600;
  color: var(--text-muted);
}

.logo-strip .muted {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* How it works */
.how {
  padding: 4rem 0;
}

.how h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

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

.step {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.step-number {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Benefits */
.benefits {
  background: #fff;
  padding: 4rem 0;
}

.benefits h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

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

.card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--text-muted);
}

/* Case study */
.case-study {
  padding: 4rem 0;
  background: #F5F7FF;
}

.case-study h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.kpi-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.kpi {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-green);
}

.quote {
  max-width: 40rem;
  margin: 0 auto;
  font-style: italic;
  color: var(--text-muted);
}

/* Contact */
.contact {
  padding: 4rem 0;
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 36rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.875rem;
}

input,
textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(33, 89, 255, 0.2);
}

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid #E5E7EB;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Utilities */
.btn-primary.sm-hide {
  display: none;
}

@media (min-width: 768px) {
  .btn-primary.sm-hide {
    display: inline-block;
  }
}

.toast-notification {
  position: fixed;
  top: 20px;
  right: -400px; /* initially hidden off-screen */
  background-color: #4CAF50;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: right 0.5s ease-in-out;
}

/* When active (slide in) */
.toast-notification.show {
  right: 20px;
}

.notification {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 15px;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

}

.loader {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}