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

:root {
  --primary-blue: #1a3a5c;
  --primary-yellow: #f5c518;
  --text-dark: #1c1b1b;
  --text-gray: #595959;
  --bg-light: #eae7e5;
  --bg-white: #ffffff;
  --border-color: #d8d3d0;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

h1, h2, h3, h4 {
  font-family: 'Fjalla One', sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background-color: var(--bg-light);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  color: var(--text-dark);
  font-weight: 600;
  padding: 8px 0;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--primary-blue);
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #2d5a8a 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 22px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--primary-yellow);
  color: var(--text-dark);
}

.btn-primary:hover {
  background-color: #e6b800;
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary-blue);
  text-decoration: none;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Styles */
section {
  padding: 80px 0;
}

section h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 48px;
}

.section-light {
  background-color: var(--bg-light);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--primary-blue);
}

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

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-align: center;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary-blue);
}

.pricing-card .price {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0;
}

.pricing-card .price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-gray);
}

.pricing-card p {
  color: var(--text-gray);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-card li:last-child {
  border-bottom: none;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Demos */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.demo-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.demo-card h3 {
  padding: 20px 24px;
  background: var(--bg-light);
  font-size: 18px;
  color: var(--primary-blue);
}

.demo-card iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Page Header */
.page-header {
  background-color: var(--primary-blue);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
}

.page-header p {
  font-size: 18px;
  margin-top: 16px;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: var(--bg-light);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

footer p {
  color: var(--text-gray);
  font-size: 14px;
}

footer .footer-links {
  margin-bottom: 16px;
}

footer .footer-links a {
  margin: 0 16px;
  color: var(--text-dark);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-32 {
  margin-top: 32px;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-light);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  nav ul.active {
    display: flex;
  }

  nav li {
    border-bottom: 1px solid var(--border-color);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 12px 0;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  section {
    padding: 48px 0;
  }

  section h2 {
    font-size: 28px;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .demo-card iframe {
    height: 300px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
