/* LILMEM Support Site */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #000;
  --bg-card: #111;
  --bg-card2: #1a1a1a;
  --border: #2a2a2a;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --accent: #0a84ff;
  --accent-light: #409cff;
  --radius: 18px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.header-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.icon-placeholder-sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: cover;
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--text);
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 80px 24px 72px;
  max-width: 700px;
  margin: 0 auto;
}

.app-icon-wrapper {
  display: inline-block;
  margin-bottom: 32px;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 60px;
  object-fit: cover;
}

.icon-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(145deg, #1c1c2e 0%, #2d2d5e 50%, #0a2a4a 100%);
  border: 1px solid rgba(10, 132, 255, 0.2);
  box-shadow: 0 20px 60px rgba(10, 132, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.25);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.15s;
}

.store-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #000;
}

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

/* ── Sections ── */
section {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

section h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

section > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
  text-align: left;
}

.feature-card:hover {
  border-color: rgba(10, 132, 255, 0.3);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Watch Screenshots ── */
.screenshots-section {
  text-align: center;
}

.watch-gallery {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.watch-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.watch-screen {
  width: 210px;
  height: 250px;
  border: 2px solid var(--border);
  border-radius: 48px;
  object-fit: cover;
  display: block;
  transition: border-color 0.2s;
}

.watch-screen:hover {
  border-color: rgba(10, 132, 255, 0.4);
}

.watch-caption {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 40px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  user-select: none;
  gap: 16px;
}

.faq-q:hover {
  background: var(--bg-card2);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: transform 0.25s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ── Contact ── */
.contact-section {
  text-align: center;
}

.contact-card {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 56px;
  max-width: 520px;
  width: 100%;
}

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Hamburger ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0 16px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
  }

  header.nav-open nav {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 56px 20px 56px;
  }

  .contact-card {
    padding: 36px 28px;
  }
}
