/* LlamaBox — Main Stylesheet */
/* Theme: White background, modern fonts, friendly & professional */

/* === GLOBAL === */
:root {
  --primary: #111827;
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --header-height: 70px;
}

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

body {
  font-family: var(--font-main);
  background: #ffffff;
  color: var(--primary);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

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

/* === HEADER & NAV === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* === HERO === */
.hero {
  margin-top: var(--header-height);
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray-600);
  margin-bottom: 30px;
}

.hero .cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  text-decoration: none;
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
}

/* === SECTIONS === */
section {
  padding: 60px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
}

section .section-desc {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* === COMPARISON TABLE === */
.comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.comparison-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.comparison-card.featured {
  border: 2px solid var(--accent);
  background: #f0f7ff;
  position: relative;
}

.comparison-card.featured::before {
  content: "Recommended";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.comparison-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.comparison-card .price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 20px;
}

.comparison-card ul {
  list-style: none;
}

.comparison-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}

.comparison-card ul li:last-child {
  border-bottom: none;
}

.comparison-card ul li::before {
  content: "✓ ";
  color: var(--success);
  font-weight: 700;
}

/* === FEATURES GRID === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
}

.feature-card {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* === SPECS TABLE === */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.specs-table th,
.specs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.specs-table th {
  background: var(--gray-100);
  font-weight: 700;
  font-size: 0.9rem;
}

.specs-table tr:hover {
  background: var(--gray-100);
}

/* === FAQ === */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  background: var(--gray-100);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.2s;
}

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

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

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

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

footer a {
  color: var(--accent-light);
}

footer a:hover {
  color: #ffffff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.125rem;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--gray-200);
    padding: 20px;
    gap: 15px;
  }

  nav ul.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-inner {
    position: relative;
  }
}
