/* Base styles and variables */
:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary-color: #10b981;
  --dark-text: #1e293b;
  --light-text: #64748b;
  --border-color: #e2e8f0;
  --light-background: #f8fafc;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
}

/* Reset and global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--light-background);
  transform: translateY(-2px);
}

/* Header and Navigation */
header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar {
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: white;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
}

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

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-text);
}

.logo .highlight {
  color: var(--primary-color);
}

.nav-links ul {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

#openMenu, #closeMenu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--light-text);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mockup {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto;
}

/* Features Section */
.feature-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-category {
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 24px;
}

.feature-category h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.feature-list {
  margin-top: 15px;
}

.feature-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.feature-list i {
  color: var(--secondary-color);
  margin-right: 10px;
}

/* Why SoloFinance Section */
.why-solofinance {
  background-color: var(--light-background);
}

.why-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.why-text {
  flex: 1;
}

.why-text p {
  margin-bottom: 30px;
  line-height: 1.7;
}

.advantages h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.advantages ul {
  list-style: none;
}

.advantages li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.advantages i {
  width: 30px;
  height: 30px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.why-image {
  flex: 1;
}

.why-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width: 100%;
}

/* Perfect For Section */
.professionals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.professional {
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.professional-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.professional-icon i {
  font-size: 30px;
}

.professional h3 {
  font-size: 1.2rem;
}

/* System Requirements Section */
.requirements-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.requirement {
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
  min-width: 200px;
}

.requirement i {
  font-size: 24px;
  color: var(--primary-color);
  margin-right: 15px;
}

/* Footer */
footer {
  background-color: #1e293b;
  color: white;
  padding: 70px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo a {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: inline-block;
}

.footer-logo p {
  color: #94a3b8;
  margin-top: 15px;
}

.footer-links h3, .footer-legal h3, .footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3:after, .footer-legal h3:after, .footer-contact h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a, .footer-legal a, .footer-contact a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
  color: white;
}

.footer-contact p {
  color: #94a3b8;
  line-height: 1.7;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
  color: #94a3b8;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: white;
  padding: 150px 0 80px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Legal Page */
.legal-content {
  padding: 70px 0;
}

.legal-content h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.legal-content p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.legal-content hr {
  margin: 40px 0;
  border: none;
  border-top: 1px solid var(--border-color);
}

.important-links h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.important-links ul {
  list-style: disc;
  padding-left: 20px;
}

.important-links li {
  margin-bottom: 15px;
}

.important-links li a {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.important-links li a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* About Page */
.about-content {
  padding: 70px 0;
}

.about-section {
  margin-bottom: 60px;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width: 100%;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.difference-item {
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.difference-item:hover {
  transform: translateY(-5px);
}

.difference-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.difference-icon i {
  font-size: 24px;
}

.difference-item h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Guide Page */
.guide-content {
  padding: 70px 0;
}

.guide-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.guide-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.guide-section {
  margin-bottom: 70px;
}

.guide-section h2 {
  font-size: 2;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.guide-steps {
  max-width: 800px;
  margin: 0 auto;
}

.guide-step {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-tutorial {
  margin-bottom: 50px;
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.feature-tutorial h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.tutorial-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.tutorial-text {
  flex: 1;
}

.tutorial-text ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 15px;
}

.tutorial-text li {
  margin-bottom: 10px;
}

.tutorial-image {
  flex: 1;
}

.tutorial-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 100%;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background-color: var(--light-background);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

.help-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.help-option {
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: block;
  color: var(--dark-text);
}

.help-option:hover {
  transform: translateY(-5px);
  background-color: var(--primary-color);
  color: white;
}

.help-option i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.help-option:hover i {
  color: white;
}

.help-option h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* Download Page */
.download-page {
  padding: 70px 0;
}

.download-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.download-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.download-options-large {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.download-option-card {
  background-color: var(--light-background);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 300px;
  max-width: 450px;
}

.download-icon {
  font-size: 60px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.download-option-card h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.download-option-card p {
  margin-bottom: 25px;
  color: var(--light-text);
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.download-info {
  font-size: 0.9rem;
  color: var(--light-text);
}

.download-info p {
  margin-bottom: 5px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero .container,
  .why-content,
  .about-flex,
  .tutorial-content {
    flex-direction: column;
  }
  
  .hero-content,
  .hero-image,
  .why-text,
  .why-image,
  .about-text,
  .about-image,
  .tutorial-text,
  .tutorial-image {
    flex: none;
    width: 100%;
  }
  
  .hero-image,
  .why-image,
  .tutorial-image {
    margin-top: 40px;
    order: 2;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero-content h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    position: relative;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links ul {
    flex-direction: column;
    gap: 20px;
  }
  
  #openMenu {
    display: block;
  }
  
  #closeMenu {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
  }
  
  .page-header {
    padding: 120px 0 60px;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .section-header h2,
  .about-section h2,
  .guide-section h2 {
    font-size: 1.6rem;
  }
  
  .feature-category,
  .professional,
  .requirement,
  .difference-item {
    padding: 20px;
  }
  
  .feature-tutorial {
    padding: 20px;
  }
  
  .download-option-card {
    padding: 30px 20px;
    min-width: 100%;
  }
  
  .tab-button {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .tab-content {
    padding: 20px 15px;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
  }
}

/* Fix for header and footer includes */
#header-placeholder, #footer-placeholder {
  width: 100%;
}

/* Ensure navbar is visible when fixed */
.navbar.scrolled {
  padding: 15px 0;
  background-color: white;
  box-shadow: var(--shadow);
}

/* Fix for mobile navigation */
.nav-links {
  transition: right 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 30px 30px;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav-links.active {
    right: 0;
  }
}

/* Fix for tab functionality */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Fix for FAQ accordion */
.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* Fix for images */
.tutorial-image img,
.about-image img,
.why-image img,
.hero-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Fix for buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  text-align: center;
}

/* Fix for footer on mobile */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links h3:after, 
  .footer-legal h3:after, 
  .footer-contact h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Fix for download buttons */
.download-buttons .btn-primary,
.download-buttons .btn-secondary {
  width: 100%;
}



/* Legal page specific styling */
.legal-content {
  padding: 70px 0;
  max-width: 1000px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--dark-text);
}

.legal-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--dark-text);
  font-size: 1rem;
}

.legal-content hr {
  margin: 40px 0;
  border: none;
  height: 1px;
  background-color: var(--border-color);
}

.important-links {
  background-color: var(--light-background);
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
}

.important-links h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.important-links ul {
  list-style: none;
  padding-left: 0;
}

.important-links li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.important-links li:before {
  content: '\f0c1';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.important-links a {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.important-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Disclaimer styling */
.disclaimer-item {
  background-color: var(--light-background);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.disclaimer-item h4 {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
  font-weight: 600;
}

.disclaimer-item h4 i {
  margin-right: 12px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.disclaimer-item p {
  margin-bottom: 0;
  color: var(--dark-text);
  line-height: 1.7;
}

.terms-section {
  margin-bottom: 50px;
}

.terms-section h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: var(--dark-text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-background);
}

.terms-section ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 25px;
}

.terms-section ul li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.terms-acceptance {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-top: 40px;
}

.terms-acceptance p:first-child {
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.terms-acceptance p:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: var(--light-text);
  font-size: 0.9rem;
}

/* Fix for mobile view */
@media (max-width: 768px) {
  .legal-content {
    padding: 50px 0;
  }
  
  .legal-content h2 {
    font-size: 1.8rem;
  }
  
  .important-links, 
  .disclaimer-item {
    padding: 20px;
  }
  
  .terms-section h3 {
    font-size: 1.4rem;
  }
  
  .disclaimer-item h4 {
    font-size: 1.1rem;
  }
}

/* Fix for very small screens */
@media (max-width: 480px) {
  .legal-content h2 {
    font-size: 1.6rem;
  }
  
  .important-links, 
  .disclaimer-item,
  .terms-acceptance {
    padding: 15px;
  }
  
  .terms-section h3 {
    font-size: 1.3rem;
  }
  
  .disclaimer-item h4 {
    font-size: 1rem;
  }
  
  .legal-content p,
  .disclaimer-item p,
  .terms-section ul li {
    font-size: 0.95rem;
  }
}

/* Fix for header spacing on legal page */
.page-header + .legal-content {
  margin-top: -20px;
}

/* Ensure container width is consistent */
.legal-content .container {
  max-width: 1000px;
}



/* System Requirements Section on Download Page */
.system-requirements-section {
  margin-bottom: 70px;
}

.system-requirements-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.requirement-item {
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.requirement-item:hover {
  transform: translateY(-5px);
}

.requirement-item i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.requirement-item h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--dark-text);
}

.requirement-item p {
  color: var(--light-text);
  line-height: 1.6;
}

/* Installation Guide Section */
.installation-guide {
  margin-bottom: 70px;
}

.installation-guide h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.installation-tabs {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.tab-button {
  padding: 15px 25px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--light-text);
  transition: var(--transition);
  flex: 1;
  text-align: center;
}

.tab-button:hover {
  color: var(--primary-color);
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

.tab-content {
  padding: 30px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--dark-text);
}

.tab-pane ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.tab-pane ol li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.tab-pane pre {
  background-color: #f1f5f9;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.tab-pane code {
  font-family: monospace;
  color: #334155;
}

/* Release Notes Section */
.release-notes {
  margin-bottom: 50px;
}

.release-notes h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.release {
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.release h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--primary-color);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.release ul {
  list-style: disc;
  padding-left: 20px;
}

.release ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.view-all-releases {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.view-all-releases:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Responsive adjustments for download page */
@media (max-width: 768px) {
  .system-requirements-section h2,
  .installation-guide h2,
  .release-notes h2 {
    font-size: 1.8rem;
  }
  
  .requirement-item {
    padding: 20px;
  }
  
  .installation-tabs {
    border-radius: 8px;
  }
  
  .tab-button {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .tab-content {
    padding: 20px;
  }
  
  .release {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .system-requirements-section h2,
  .installation-guide h2,
  .release-notes h2 {
    font-size: 1.6rem;
  }
  
  .tab-buttons {
    flex-direction: column;
    border-bottom: none;
  }
  
  .tab-button {
    border-bottom: 1px solid var(--border-color);
  }
  
  .tab-button.active {
    border-bottom: 1px solid var(--primary-color);
    background-color: var(--light-background);
  }
  
  .tab-content {
    padding: 15px;
  }
  
  .requirement-item i {
    font-size: 30px;
  }
}
