/* =====================================================
   Color System (from Kobweb)
===================================================== */
:root {
  --primary: rgb(255, 53, 26);
  --header-bg: rgb(244, 244, 244);
  --card: rgb(243, 243, 243);
  --divider: rgb(237, 237, 237);
  --text-main: #1e1e1e;
  --text-muted: #6a6a6a;
}

/* =====================================================
   Base & Scaffold (Compose-equivalent)
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", system-ui, sans-serif;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--text-main);
}

/* Spacer() + wrapContentSize(TopCenter) */
.scaffold-content {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;   /* CenterHorizontally */
  align-items: flex-start;   /* Top */
}

/* Shared container */
.container {
  width: 90%;
  max-width: 1200px;
}

/* =====================================================
   Header
===================================================== */
.header {
  width: 100%;
  background: var(--header-bg);
  border-bottom: 1px solid var(--divider);
  display: flex;
  justify-content: center;
}

.header-inner {
  height: 64px;
  width: 90%;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .header-inner {
    width: 80%;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.brand img {
  width: 32px;
  height: 32px;
}

.brand span {
  font-size: 24px;
}

.brand-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
}

.brand-link:hover {
  opacity: 0.85;
}

.nav {
  margin-left: auto;
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    gap: 24px;
  }
}

.nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
}

.nav a.active,
.nav a:hover {
  color: var(--primary);
}





/* ===============================
   Mobile Navigation
================================ */
.menu-btn {
  margin-left: auto;
  width: 40px;
  height: 40px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

/* Hamburger icon */
.menu-btn::before {
  content: "☰";
  display: block;
  text-align: center;
  line-height: 40px;
}

/* When menu is open → show cross */
.menu-btn.active::before {
  content: "✕";
}

/* Hide on desktop */
@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: center;          /* CENTER horizontally */
  background: #fff;
  border-bottom: 1px solid var(--divider);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  width: 100%;
  text-align: center;           /* CENTER text */
  padding: 16px 0;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  border-top: 1px solid var(--divider);
}

.mobile-nav a.active,
.mobile-nav a:hover {
  color: var(--primary);
}

/* Desktop nav */
.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    gap: 24px;
  }
}

/* Active state */
.mobile-nav.active {
  display: flex;
}












/* =====================================================
   Intro Page (index.html)
===================================================== */
.intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 120px 0;
  gap: 60px;
}

.intro-text h1 {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 500;
}

.intro-text p {
  margin-top: 20px;
  max-width: 420px;
  font-size: 18px;
  color: var(--text-muted);
}

.link-cta {
  display: inline-block;
  margin-top: 28px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

.link-cta:hover {
  text-decoration: underline;
}

/* Visual */
.intro-visual {
  display: flex;
  justify-content: center;
}

.logo-card {
  width: 260px;
  height: 260px;
  background: var(--card);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-card img {
  width: 150px;
  height: 150px;
}

.logo-card .tag {
  position: absolute;
  bottom: 16px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}

/* =====================================================
   Apps Page (Kobweb-style vertical list)
===================================================== */
.apps {
  padding: 40px 0 160px;
}

.apps-header h1 {
  font-size: 30px;
  font-weight: 500;
}

/* Vertical list */
.apps-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* App row */
.app-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;

  padding: 24px;
  border-radius: 16px;

  background: #f3f3f3;
  border: 1px solid var(--divider);

  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

/* Icon */
.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

/* Content */
.app-content {
  flex: 1;
}

.app-title {
  font-size: 20px;
  font-weight: 500;
}

.app-version {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-muted);
}

/* =====================================================
   App Action Buttons (Compose / Kobweb equivalent)
===================================================== */
.app-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
}

/* Button */

.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: "Roboto", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;

  text-decoration: none;
  color: #000;

  border: 1px solid var(--primary);
  border-radius: 20px;
  background: transparent;

  padding: 4px 24px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* spacing between buttons (Desktop) */
.app-btn + .app-btn {
  margin-left: 20px;
}

/* Hover */
.app-btn:hover {
  background-color: rgba(255, 53, 26, 0.8);
  color: #fff;
  border-color: var(--primary);
}

/* =====================================================
   Mobile (Breakpoint < MD)
===================================================== */
@media (max-width: 767px) {
  .intro {
    grid-template-columns: 1fr;
    padding: 80px 0;
    text-align: center;
  }

  .intro-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .app-icon {
    width: 48px;
    height: 48px;
  }

  .app-btn {
    padding: 4px 8px;
  }

  .app-btn + .app-btn {
    margin-left: 8px;
  }
}

/* =====================================================
   Footer
===================================================== */
.footer {
  margin-top: 2rem;
  border-top: 1px solid var(--divider);
  padding: 1rem 4rem;
  width: 100%;
  text-align: center;
  font-size: 14px;
}











/* =====================================================
   Release Notes Page
===================================================== */
.release-notes {
  padding: 0px 0 160px;
}

/* List */
.release-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Single version block */
.release-item {
  padding: 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--divider);
}

/* Version */
.release-version {
  font-size: 16px;
  font-weight: 500;
}

/* Notes */
.release-notes-text {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}


.release-notes-text li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-muted);
}

.release-notes-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
  font-weight: 600;
}




/* =====================================================
   Translate Page – Modern
===================================================== */
.translate {
  padding: 24px 0 160px;
}

/* Header */
.translate-header {
  max-width: 480px;
}

.translate-header h1 {
  font-size: 30px;
  font-weight: 500;
}

.translate-desc {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* App list */
.translate-apps.modern {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* App card */
.translate-app {
  padding: 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--divider);

  display: flex;
  align-items: center;
  justify-content: space-between;

  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.translate-app:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* App name */
.translate-app span {
  font-size: 16px;
  font-weight: 500;
}

/* Translate button */
.translate-btn {
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;

  background: transparent;
  color: #000;

  border: 1px solid #000;
  border-radius: 999px;

  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.translate-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Credits */
.translate-credits {
  margin-top: 80px;
}

.translate-credits h2 {
  font-size: 20px;
  font-weight: 500;
}

.translate-credits ul {
  margin-top: 16px;
  padding-left: 18px;
}

.translate-credits li {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Mobile */
@media (max-width: 767px) {
  .translate-header {
    max-width: 100%;
  }

  .translate-app {
    padding: 16px;
  }
}
/* App info (icon + name) */
.translate-app-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* App icon */
.translate-app-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.translate-credits {
  margin-top: 80px;
}

.translate-credits h2 {
  font-size: 20px;
  font-weight: 500;
}

#translate-credits-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* App block */
.credit-app {
  border-left: 3px solid var(--divider);
  padding-left: 16px;
}

.credit-app-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

/* Language row */
.credit-language {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.credit-language-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.credit-names {
  font-size: 14px;
  color: var(--text-muted);
}












/* =====================================================
   Contact Page (Exact Match)
===================================================== */
.contact {
  padding: 120px 0 160px;
  text-align: center;
}

.contact h1 {
  font-size: 30px;
  font-weight: 500;
}

.contact p {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-muted);
}

/* Plain email text (NOT clickable) */
.contact-email-text {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
}

/* Open in app button */
.open-in-app-btn {
  display: inline-block;
  margin-top: 24px;

  padding: 8px 20px;
  border-radius: 6px;

  font-size: 14px;
  font-weight: 500;

  background: transparent;
  color: #000;
  border: 1px solid var(--primary);

  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.open-in-app-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}




/* =====================================================
   User Guide – Advanced
===================================================== */
.user-guide {
  padding: 24px 0 160px;
}

.user-guide-header h1 {
  font-size: 30px;
  font-weight: 500;
}

/* Question list */
.guide-questions {
  margin-top: 32px;
  border-left: 3px solid var(--divider);
  padding-left: 16px;
}

.guide-questions ul {
  list-style: disc;
  padding-left: 16px;
}

.guide-questions li {
  margin-bottom: 8px;
}

.guide-questions a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 15px;
}

.guide-questions a:hover {
  text-decoration: underline;
}

/* Answer section */
.guide-content {
  margin-top: 48px;
  max-width: 720px;
}

.guide-item {
  margin-bottom: 48px;
}

.guide-item h2 {
  font-size: 18px;
  font-weight: 500;
}

.guide-item p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Screenshot */
.guide-image {
  margin-top: 16px;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--divider);
}

/* =====================================================
   User Guide – Green Highlight Blocks
===================================================== */
.guide-green {
  background: #f1fbf5;          /* light green */
  border-left: 4px solid #09ba68; /* your GREEN */
  padding: 20px 24px;
  border-radius: 8px;
}

.guide-green h2 {
  margin-bottom: 12px;
}

/* Ordered steps */
.guide-green ol {
  margin-top: 12px;
  padding-left: 18px;
}

.guide-green li {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-muted);
}

/* Paragraph inside green block */
.guide-green p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}






/* =====================================================
   Privacy Policy Page
===================================================== */
.privacy {
  padding: 24px 0 160px;
}

.privacy-header {
  max-width: 720px;
}

.privacy-header h1 {
  font-size: 30px;
  font-weight: 500;
}

#privacy-updated {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.privacy-content {
  margin-top: 48px;
  max-width: 720px;
}

.privacy-section {
  margin-bottom: 36px;
}

.privacy-section h2 {
  font-size: 18px;
  font-weight: 500;
}

.privacy-section p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.privacy-section a {
  color: var(--primary);
  text-decoration: underline;
}

