/* Font imports */
@font-face {
  font-family: "SofiaPro Black";
  src: url("./fonts/SofiaPro-Black.otf");
}

@font-face {
  font-family: "SofiaPro Bold";
  src: url("./fonts/SofiaPro-Bold.otf");
}

@font-face {
  font-family: "SofiaPro Medium";
  src: url("./fonts/SofiaPro-Medium.otf");
}

@font-face {
  font-family: "SofiaPro SemiBold";
  src: url("./fonts/SofiaPro-SemiBold.otf");
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "SofiaPro Medium", sans-serif;
  font-size: 17px;
  color: white;
  background-color: #1a1a2e;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
header {
  background-color: #0f0f1a;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 150px;
  height: 60px;
  position: relative;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #406b8c;
}

/* Main content styles */
main {
  padding-top: 100px;
  display: flex;
  min-height: calc(100vh - 100px);
}

main .container {
  display: flex;
  gap: 30px;
}

/* Sidebar styles */
.sidebar {
  width: 250px;
  background-color: #16213e;
  padding: 20px;
  border-radius: 8px;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sidebar h3 {
  font-family: "SofiaPro Bold", sans-serif;
  margin-bottom: 20px;
  font-size: 20px;
  color: #2563eb;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.sidebar a:hover {
  background-color: #2a2a5a;
}

.sidebar a.active {
  background-color: #2563eb;
  color: white;
}

/* Content styles */
.content {
  flex: 1;
}

section {
  margin-bottom: 60px;
  padding: 20px;
  background-color: #16213e;
  border-radius: 8px;
}

section:target {
  scroll-margin-top: 120px;
}

h1 {
  font-family: "SofiaPro Bold", sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
  color: #2563eb;
}

h2 {
  font-family: "SofiaPro SemiBold", sans-serif;
  font-size: 24px;
  margin: 30px 0 15px;
  color: #4d8bf5;
}

h3 {
  font-family: "SofiaPro SemiBold", sans-serif;
  font-size: 20px;
  margin: 20px 0 10px;
}

p {
  margin-bottom: 15px;
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

strong {
  font-weight: bold;
  color: #4d8bf5;
}

/* Download options */
.download-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.download-button {
  width: 180px;
  transition: transform 0.3s ease;
}

.download-button:hover {
  transform: scale(1.05);
}

.download-button img {
  width: 100%;
  height: auto;
}

/* Warning box */
.warning-box {
  background-color: rgba(255, 87, 51, 0.2);
  border-left: 4px solid #ff5733;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.warning-box h3 {
  color: #ff5733;
  margin-top: 0;
}

/* FAQ styles */
.faq-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #2a2a5a;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h2 {
  margin-top: 0;
}

/* Footer styles */
footer {
  background-color: #0f0f1a;
  padding: 30px 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-links a {
  color: white;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #406b8c;
}

footer p {
  font-size: 14px;
  margin: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  main .container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    position: static;
    margin-bottom: 20px;
  }
  
  .content {
    width: 100%;
  }
  
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 22px;
  }
}
