/* -------------------------------------------------------------
 * Theme variables (Sleek Dark Mode with Bee Yellow Accents)
 * ------------------------------------------------------------- */
:root {
  --bg-color: #000000;
  --bg-card: #0c0c0e;
  --bg-card-hover: #121215;
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
  --primary-color: #ffffff; /* Sober White */
  --primary-hover: #e5e7eb;
  --primary-rgb: 255, 255, 255;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* -------------------------------------------------------------
 * Header & Navigation
 * ------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-color) 1px solid;
  padding: 1.25rem 0;
}

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

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 36px;
  height: 36px;
  animation: float 4s ease-in-out infinite;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
}

.lang-btn {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  color: var(--primary-color);
}

.lang-separator {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.25);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
  border-radius: 0.75rem;
}

/* -------------------------------------------------------------
 * Hero Section
 * ------------------------------------------------------------- */
.hero {
  padding: 8rem 0 6rem 0;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(var(--primary-rgb), 0.06) 0%, transparent 60%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: #fff;
}

.highlight {
  color: #fff;
  background: linear-gradient(to right, #fff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
}

/* Interactive Chat Mockup */
.hero-image-container {
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(var(--primary-rgb), 0.03);
}

.mockup-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 0.85rem 1.25rem;
  border-bottom: var(--border-color) 1px solid;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #eab308; }
.dot.green { background-color: #22c55e; }

.mockup-title {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mockup-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}

.user-msg {
  justify-content: flex-end;
}

.bubble {
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  max-width: 85%;
}

.user-msg .bubble {
  background-color: var(--text-color);
  color: #000;
  font-weight: 500;
  border-bottom-right-radius: 0.25rem;
}

.bot-msg .bubble {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-bottom-left-radius: 0.25rem;
}
.bot-avatar {
  background-color: rgba(var(--primary-rgb), 0.1);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.bot-avatar-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.card-icon-svg {
  color: var(--text-color);
  width: 28px;
  height: 28px;
  display: block;
}

/* -------------------------------------------------------------
 * Features Section
 * ------------------------------------------------------------- */
.features {
  padding: 8rem 0;
  background-color: #030303;
  border-top: var(--border-color) 1px solid;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 2rem;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(var(--primary-rgb), 0.25);
  transform: translateY(-6px);
}

.card-icon {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------
 * Installation Section
 * ------------------------------------------------------------- */
.install {
  padding: 6rem 0 8rem 0;
  border-top: var(--border-color) 1px solid;
}

.install-box {
  background: radial-gradient(circle at 10% 10%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%), var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.text-left {
  text-align: left;
  margin-left: 0;
}

.install-tabs {
  margin-top: 2rem;
}

.code-block {
  background: #000;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 0.75rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  color: var(--primary-color);
  overflow-x: auto;
  margin-top: 1rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.stat-card {
  border-left: 2px solid var(--primary-color);
  padding-left: 1.5rem;
}

.stat-number {
  display: block;
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* -------------------------------------------------------------
 * Contribute Section
 * ------------------------------------------------------------- */
.contribute {
  padding: 6rem 0;
  border-top: var(--border-color) 1px solid;
  text-align: center;
  background: linear-gradient(180deg, #000 0%, #030303 100%);
}

.contribute-container {
  max-width: 600px;
  margin: 0 auto;
}

.contribute-title {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.contribute-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: transparent;
  color: #fff;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.btn-github:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-github-svg {
  fill: currentColor;
  width: 20px;
  height: 20px;
}

/* -------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------- */
.footer {
  border-top: var(--border-color) 1px solid;
  padding: 4rem 0;
  background-color: #030303;
}

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

.footer-logo {
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-right p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
 * Animations
 * ------------------------------------------------------------- */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* -------------------------------------------------------------
 * Responsive Design
 * ------------------------------------------------------------- */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .install-box {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    gap: 3rem;
  }
  .nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .container {
    padding: 0 1.25rem;
  }
}

/* Tabs & Downloads */
.install-tabs-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--glass-border);
}
.tab-nav-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-radius: 0.35rem;
  transition: all 0.2s ease;
}
.tab-nav-btn:hover {
  color: #fff;
}
.tab-nav-btn.active {
  color: #000;
  background: var(--primary-color);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.download-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  padding: 1.5rem 1rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  text-align: center;
}
.download-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.download-icon {
  width: 32px;
  height: 32px;
  color: #fff;
}
.download-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.download-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
