/* Base styles */
:root {
  --blue: #0B4C8C;
  --red: #D62828;
  --light-blue: #F2F7FD;
  --gray: #F7F7F7;
  --text-color: #1A1A1A;
  --white: #FFFFFF;
  --max-width: 1200px;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background: var(--white);
}

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

/* Announcement bar */
.announcement {
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.announcement a {
  color: var(--red);
  text-decoration: none;
  font-weight: bold;
}

/* Header */
header {
  background: var(--white);
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--blue);
}
nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}
nav a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
nav a:hover {
  background: var(--light-blue);
}
nav a.active {
  border-bottom: 2px solid var(--red);
}
.button-login {
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}
.button-login:hover {
  background: #b51f1f;
}

/* Hero section */
.hero {
  background: var(--blue);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1 1 50%;
  max-width: 600px;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.primary-btn {
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.2s ease;
}
.primary-btn:hover {
  background: #b51f1f;
}
.secondary-link {
  color: var(--white);
  text-decoration: underline;
  font-size: 0.9rem;
}
.trust-strip {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.9;
}
.trust-strip span::before {
  content: '\2022'; /* bullet */
  margin-right: 0.4rem;
  color: var(--red);
}
.hero-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image-placeholder {
  background: var(--light-blue);
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: bold;
}

/* Features section */
.features {
  padding: 4rem 0;
  background: var(--gray);
}
.features h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--blue);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--blue);
}
.feature p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Home section */
.home-section {
  padding: 4rem 0;
}
.home-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--blue);
}
.home-section p {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.home-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.primary-btn.secondary {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.primary-btn.secondary:hover {
  background: var(--red);
  color: var(--white);
}

/* Product menu */
.product-menu {
  padding: 4rem 0;
  background: var(--gray);
}
.product-menu h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--blue);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  text-align: center;
}
.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--blue);
}
.product-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #555;
}
.primary-btn.small {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* Footer */
footer {
  background: var(--blue);
  color: var(--white);
  padding: 2rem 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.footer-col p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .image-placeholder {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .announcement {
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav a {
    padding: 0.5rem;
  }
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    flex: 1 1 100%;
    max-width: none;
    margin-bottom: 2rem;
  }
  .hero-image {
    flex: 1 1 100%;
  }
  .image-placeholder {
    width: 200px;
    height: 200px;
  }
}
