/* =============================================
   botville.app – Stylesheet
   ============================================= */

:root {
  --primary: #0066cc;
  --primary-dark: #004d99;
  --primary-light: #00d4ff;
  --secondary: #1a1a2e;
  --text: #2d2d2d;
  --text-light: #555;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #e2e6ea;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.1);
  --radius: 10px;
  --transition: 0.25s ease;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Language Bar --- */
.lang-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: var(--secondary);
  padding: 6px 0;
  font-size: 0.8rem;
}

.lang-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.78rem;
  font-family: inherit;
  transition: all var(--transition);
}

.lang-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.lang-btn.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 32px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(26,26,46,0.95);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  box-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.nav-logo img { height: 30px; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.nav-links a:hover { color: #fff; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --- Hero --- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  padding: 140px 24px 80px;
  position: relative;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background var(--transition);
}

.hero-btn:hover { background: var(--primary-dark); }

/* --- Sections --- */
section { padding: 80px 0; }

.section-header {
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* --- Apps Grid (single column, centered) --- */
.apps-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
}

.app-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition);
  border-left: 4px solid var(--card-accent, var(--primary));
}

.app-card:hover {
  box-shadow: var(--shadow-hover);
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.app-icon-img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.app-card-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.3;
  flex: 1;
}

.app-price-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.app-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 12px;
}

/* --- Feature Checklist --- */
.app-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.app-features li {
  padding: 3px 0 3px 22px;
  position: relative;
  font-size: 0.88rem;
  color: var(--text-light);
}

.app-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

.app-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.app-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.store-buttons {
  display: flex;
  gap: 8px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  transition: opacity var(--transition);
}

.store-btn:hover { opacity: 0.85; }
.store-btn.apple { background: #000; }
.store-btn.google { background: #414141; }

.store-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --- Coming Soon --- */
#coming-soon { background: var(--bg-alt); }

.coming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}

.coming-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.coming-icon-img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
}

.coming-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}

.coming-card p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.55;
}

.coming-badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--bg-alt);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 4px;
  margin-top: 10px;
}

/* --- About Section --- */
#about { background: var(--bg-alt); }

.about-text {
  max-width: 600px;
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 24px;
}

.about-text a {
  color: var(--primary);
  font-weight: 500;
}

.about-text a:hover { text-decoration: underline; }

.about-links {
  display: flex;
  gap: 16px;
}

.about-link-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  transition: all var(--transition);
}

.about-link-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Footer --- */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
  font-size: 0.85rem;
}

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

.footer-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

/* --- Privacy Banner --- */
.privacy-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--secondary);
  color: #fff;
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.privacy-banner.show {
  max-height: 200px;
  padding: 16px 0;
}

.privacy-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.privacy-banner p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  flex: 1;
}

.privacy-banner a {
  color: var(--primary-light);
  text-decoration: underline;
}

.privacy-btn {
  padding: 8px 22px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background var(--transition);
}

.privacy-btn:hover { background: var(--primary-dark); }

/* --- Legal Pages --- */
.legal-page {
  padding-top: 100px;
  padding-bottom: 60px;
  min-height: 100vh;
}

.legal-page .container { max-width: 750px; }

.legal-page h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.legal-subtitle {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 32px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.legal-page ul { padding-left: 18px; margin-bottom: 12px; }
.legal-page ul li { list-style: disc; margin-bottom: 4px; }

.legal-page a { color: var(--primary); }
.legal-page a:hover { text-decoration: underline; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.legal-nav {
  background: var(--secondary);
  padding: 10px 0;
  box-shadow: 0 1px 10px rgba(0,0,0,0.2);
  top: 0 !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .lang-bar .container { justify-content: center; }

  .navbar { top: 32px; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 70%; max-width: 280px;
    height: 100vh;
    background: var(--secondary);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 16px;
    transition: right var(--transition);
    box-shadow: -4px 0 16px rgba(0,0,0,0.25);
  }

  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1rem; color: rgba(255,255,255,0.9); }
  .menu-toggle { display: flex; }

  .hero {
    min-height: auto;
    padding: 120px 24px 60px;
  }

  section { padding: 60px 0; }

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

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .privacy-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .store-buttons { flex-direction: column; }
  .store-btn { justify-content: center; }

  .about-links { flex-direction: column; }
}

@media (max-width: 480px) {
  .coming-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
}
