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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Announcement bar */
.announcement-bar {
  background-color: #2E7D32;
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.announcement-bar a {
  color: white;
  text-decoration: underline;
  font-weight: bold;
}

.announcement-bar a:hover {
  text-decoration: none;
}

/* Header */
header {
  background: #4CAF50;
  padding: 20px 0;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

header .logo {
  font-size: 1.8rem;
  font-weight: 700;
}

header .logo span {
  font-size: 0.7em;
  font-weight: 400;
  opacity: 0.9;
}

header nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

header nav ul li {
  margin: 0 10px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

header nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

header nav ul li a.active {
  background-color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

/* Hero section */
#hero {
  background: linear-gradient(to bottom, #f9f9f9, #f4f4f4);
  padding: 80px 0;
  text-align: center;
}

#hero .container {
  max-width: 960px;
  margin: 0 auto;
}

#hero .hero-content h2 {
  margin: 0;
  font-size: 2.8rem;
  color: #2E7D32;
}

#hero .hero-content .tagline {
  margin: 20px 0 30px;
  font-size: 1.3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Button styles */
.button {
  background: #4CAF50;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.button:hover {
  background: #388E3C;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button:active {
  transform: translateY(0);
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */
section {
  padding: 70px 0;
}

section:nth-child(even) {
  background-color: #f9f9f9;
}

/* Headings */
h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: #2E7D32;
  position: relative;
}

h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #4CAF50;
  margin: 15px auto 0;
}

h3 {
  color: #2E7D32;
  margin: 25px 0 15px;
  font-size: 1.5rem;
}

/* Features section */
.features {
  display: flex;
  justify-content: space-between;
  margin: 50px 0;
}

.features .feature {
  flex: 0 0 30%;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.features .feature:hover {
  transform: translateY(-5px);
}

.features .feature h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

/* Call to action */
.cta {
  text-align: center;
  margin-top: 50px;
}

.cta .button {
  margin: 10px;
}

/* Highlight box */
.highlight {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 5px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1em;
  text-align: center;
  margin: 30px 0;
  word-break: break-all;
}

/* Terms and Privacy sections */
.term-item,
.privacy-item {
  margin-bottom: 40px;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.term-item h3,
.privacy-item h3 {
  color: #2E7D32;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.term-item ul,
.privacy-item ul {
  padding-left: 20px;
  margin: 15px 0;
}

.term-item li,
.privacy-item li {
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #4CAF50;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 50px;
}

footer a {
  color: white;
  text-decoration: underline;
}

footer a:hover {
  text-decoration: none;
}

/* Links */
a {
  color: #2E7D32;
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: #4CAF50;
}

/* Accessibility */
a:focus,
.button:focus {
  outline: 3px solid #81C784;
  outline-offset: 2px;
}

/* Responsive design */
@media (max-width: 900px) {
  .features {
    flex-direction: column;
    align-items: center;
  }

  .features .feature {
    max-width: 100%;
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  header nav ul {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  header nav ul li {
    margin: 5px;
  }

  #hero {
    padding: 50px 0;
  }

  #hero .hero-content h2 {
    font-size: 2.2rem;
  }

  section {
    padding: 50px 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .cta .button {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .announcement-bar {
    padding: 10px;
    font-size: 0.8rem;
  }

  header .logo {
    font-size: 1.5rem;
  }

  #hero .hero-content h2 {
    font-size: 1.8rem;
  }

  #hero .hero-content .tagline {
    font-size: 1.1rem;
  }

  .term-item,
  .privacy-item {
    padding: 15px;
  }
}