/* CSS Variables - Colors Only */
:root {
  --primary-color: #0a6847;
  --secondary-color: #f4c430;
  --accent-color: #f4c430;
  --light-bg: #f9f9f9;
  --dark-text: #333333;
  --light-text: #666666;
  --white: #ffffff;
  --border-color: #dddddd;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* General Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-text);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--light-text);
}

/* Lists */
ul, ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

ul li {
  list-style-type: disc;
}

ol li {
  list-style-type: decimal;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Full width sections */
.full-width-section {
  width: 100%;
}

.full-width-section > .container {
  padding: 40px 20px;
}

/* Header Styles */
header {
  width: 100%;
  background-color: var(--primary-color);
  box-shadow: var(--shadow);
  position: relative;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

header img {
  max-height: 35px;
  width: auto;
}

/* Navigation - Single for all devices */
.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  font-size: 1.1rem;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

/* Hamburger Menu */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

/* Breadcrumb Styles */
.breadcrumb-section {
  background-color: #f8f9fa;
  padding: 15px 0;
  border-top: 1px solid var(--border-color);
}

.breadcrumb {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 10px;
  color: var(--light-text);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.breadcrumb .current {
  color: var(--light-text);
  font-weight: 500;
}

/* Page Title Class */
.page-title {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
}

.page-title h1 {
  margin-bottom: 0.5rem;
}

.page-title p {
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 0;
}

/* Content Container */
.content-container {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.content-container h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-container h2:first-child {
  margin-top: 0;
}

/* Hero Section */
.hero {
  background-color: #e8f5e9;
  text-align: center;
  padding: 80px 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--dark-text);
}

.cta-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 16px 32px;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #e0b225;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Loading Animation */
.loader {
  display: none;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-box {
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-box i {
  color: var(--secondary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-box p {
  font-size: 1.1rem;
  color: var(--light-text);
}

/* Software Details Section */
.software-details {
  background-color: var(--light-bg);
}

.software-details h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-align: center;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.detail-item i {
  color: var(--secondary-color);
  margin-right: 15px;
  font-size: 1.2rem;
  min-width: 25px;
  text-align: center;
}

.detail-item strong {
  margin-right: 8px;
  color: var(--primary-color);
}

.description {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* Video Section */
.video-section {
  background-color: #f4f4f4;
  text-align: center;
}

.video-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: auto;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Reviews and Testimonials */
.reviews, .testimonials {
  background-color: #e8f5e9;
  text-align: center;
}

.reviews h2, .testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.review-container, .testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.review-box, .testimonial-box {
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  width: 100%;
  max-width: 350px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.review-box:hover, .testimonial-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.review-box h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.review-box p, .testimonial-box p {
  font-style: italic;
  color: var(--light-text);
}

.testimonial-box p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-bg);
}

.faq-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  text-align: center;
}

.faq-item {
  background: var(--white);
  padding: 0;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* FAQ Accordion */
.accordion-item button {
  width: 100%;
  padding: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  text-align: left;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-item button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.accordion-item button::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transition: transform 0.3s;
}

.accordion-item button.active::after {
  transform: rotate(180deg);
}

.accordion-item .content {
  padding: 0 20px;
  background-color: var(--white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.accordion-item .content.active {
  padding: 20px;
  max-height: 500px;
}

/* System Links Section */
.system-links {
  background-color: #f4f4f4;
  text-align: center;
}

.system-links h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.platform-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s;
  font-size: 1.1rem;
  min-width: 180px;
  justify-content: center;
}

.platform-btn:hover {
  background-color: #e0b225;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.platform-btn i {
  font-size: 1.3rem;
}

/* CTA Banner */
.cta-banner {
  background-color: var(--secondary-color);
  text-align: center;
  color: var(--primary-color);
}

.cta-content {
  font-size: 1.5rem;
  font-weight: bold;
}

.cta-link {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.cta-link:hover {
  text-decoration: underline;
  transform: translateX(5px);
}

.cta-link i {
  transition: transform 0.3s;
}

.cta-link:hover i {
  transform: translateX(5px);
}

/* Social Media Links */
.social-links {
  background-color: var(--primary-color);
  text-align: center;
  padding: 40px 0;
}

.social-container {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1.8rem;
  transition: all 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.social-link:hover {
  color: var(--secondary-color);
  transform: translateY(-5px);
}

/* Notice Boxes */
.notice {
  background-color: #e8f4fd;
  border-left: 4px solid #2196F3;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.notice strong {
  color: #1976D2;
}

/* Legal Document Styling */
.content-container h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 30px 0;
}

footer p {
    color: var(--white);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-link:hover {
  text-decoration: underline;
  color: var(--white);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu a:hover {
    background-color: rgba(255,255,255,0.1);
  }

  .hamburger-btn {
    display: block;
  }
  
  .header-container {
    height: 70px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .video-container {
    padding-bottom: 75%;
  }
  
  .platform-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .platform-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .content-container {
    padding: 20px;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .header-container {
    height: 60px;
  }
  
  header img {
    max-height: 35px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .cta-button, .platform-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .breadcrumb {
    flex-wrap: wrap;
  }
}