@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #4f46e5; /* Indigo 600 */
  --primary-hover: #4338ca; /* Indigo 700 */
  --text-main: #111827; /* Gray 900 */
  --text-muted: #4b5563; /* Gray 600 */
  --bg-main: #ffffff;
  --bg-sidebar: #f9fafb; /* Gray 50 */
  --border-color: #e5e7eb; /* Gray 200 */
  --accent-blue: #eff6ff; /* Blue 50 */
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --sidebar-width: 280px;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
}

/* Header (Mobile mostly) */
.header {
  display: none;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2.5rem;
  text-decoration: none;
}

.logo-container img {
  height: 36px;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.025em;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  display: block;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background-color: var(--border-color);
  color: var(--text-main);
}

.nav-links a.active {
  background-color: var(--accent-blue);
  color: var(--primary-color);
}

.nav-sublinks {
  list-style: none;
  margin-left: 1rem;
  margin-top: 0.25rem;
  border-left: 1px solid var(--border-color);
  padding-left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-sublinks a {
  font-size: 0.875rem;
  padding: 0.35rem 0.75rem;
  font-weight: 400;
}

.buy-now-btn {
  margin-top: auto;
  background-color: var(--primary-color) !important;
  color: #fff !important;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease;
}

.nav-links a.buy-now-btn:hover {
  background-color: var(--primary-hover) !important;
  color: #fff !important;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 4rem 3rem;
  max-width: 900px;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}

hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 3rem 0;
}

ul, ol {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  text-decoration: none;
}

/* Images */
.img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin: 1.5rem 0;
  transition: transform 0.3s ease;
}
.img-responsive:hover {
  transform: translateY(-2px);
}

/* Alerts */
.alert {
  background-color: var(--accent-blue);
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-main);
  font-weight: 500;
}
.alert a {
  font-weight: 600;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--bg-main);
  border: none;
  padding: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: var(--bg-sidebar);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: var(--bg-sidebar);
  border-top: 1px solid transparent;
}

.faq-answer p {
  padding: 1.25rem;
  margin: 0;
}

.faq-question.active + .faq-answer {
  max-height: 500px;
  border-top-color: var(--border-color);
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
  }
  
  .main-content {
    margin-left: 0;
    padding: 2rem 1.5rem;
  }
}
