/* ════════════════════════════════════════════════════
   VIEW: LANDING
════════════════════════════════════════════════════ */
#view-landing {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  transform: translateX(0);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
  opacity: 1;
}
#view-landing.slide-out {
  transform: translateX(60px);
  opacity: 0;
  pointer-events: none;
}

.landing-scroll {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 40px 24px 60px;
}
.landing-scroll::-webkit-scrollbar { width: 4px; }
.landing-scroll::-webkit-scrollbar-track { background: transparent; }
.landing-scroll::-webkit-scrollbar-thumb { background: rgba(224,116,34,0.2); border-radius: 4px; }

.inner { width: 100%; max-width: 700px; display: flex; flex-direction: column; align-items: center; }

/* hero */
.hero {
  width: 100%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  margin-bottom: 44px;
  opacity: 0; animation: riseUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}

.hero-logo {
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
}
.hero-logo img {
  height: 72px; width: auto;
  display: block; margin: 0 auto;
  transition: filter 0.35s, transform 0.25s;
  filter: drop-shadow(0 4px 20px rgba(224,116,34,0.35));
}
[data-theme="dark"] .hero-logo .logo-dark { filter: brightness(1.1) drop-shadow(0 4px 20px rgba(224,116,34,0.4)); }
.hero-logo:hover img { transform: scale(1.04); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(224,116,34,0.1); border: 1px solid rgba(224,116,34,0.25);
  border-radius: 50px; padding: 5px 14px; font-size: 12px; font-weight: 600;
  color: var(--teal-light); margin-bottom: 20px;
}
[data-theme="light"] .hero-badge { color: var(--teal-dark); }
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 6px rgba(224,116,34,0.8); animation: blink 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(26px, 4.5vw, 40px); font-weight: 900; line-height: 1.3;
  color: var(--text); margin-bottom: 14px;
}
[data-theme="dark"] .hero-title { text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.hero-title .teal { color: var(--teal-light); }
[data-theme="light"] .hero-title .teal { color: var(--teal); }
.hero-sub { font-size: 15px; font-weight: 400; color: var(--text-muted); line-height: 1.7; max-width: 480px; margin: 0 auto; }

/* section label */
.section-label {
  display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 14px;
  opacity: 0; animation: riseUp 0.6s ease 0.4s forwards;
}
.section-label span { font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.06em; white-space: nowrap; }
.section-label::before, .section-label::after { content: ''; flex: 1; height: 1px; background: var(--divider); }

/* cards grid */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-bottom: 10px; }

.q-card {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); cursor: pointer; text-align: left; width: 100%;
  position: relative; overflow: hidden;
  transition: all var(--tr); opacity: 0;
}
[data-theme="light"] .q-card { box-shadow: 0 2px 12px rgba(224,116,34,0.05); backdrop-filter: blur(8px); }
.q-card::before {
  content: ''; position: absolute; left: 0; top: 15%; bottom: 15%;
  width: 2px; background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  opacity: 0; border-radius: 2px; transition: opacity 0.22s;
}
.q-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(224,116,34,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.22s;
}
.q-card:hover { background: rgba(224,116,34,0.07); border-color: rgba(224,116,34,0.3); transform: translateX(-3px); box-shadow: 0 6px 24px var(--shadow-card), 0 0 0 1px rgba(224,116,34,0.1); }
[data-theme="light"] .q-card:hover { background: rgba(224,116,34,0.06); box-shadow: 0 6px 24px rgba(224,116,34,0.1), 0 0 0 1px rgba(224,116,34,0.15); }
.q-card:hover::before { opacity: 1; }
.q-card:hover::after  { opacity: 1; }
.q-card:active { transform: scale(0.98); }

.q-card:nth-child(1) { animation: floatIn 0.65s cubic-bezier(0.16,1,0.3,1) 0.50s forwards; }
.q-card:nth-child(2) { animation: floatIn 0.65s cubic-bezier(0.16,1,0.3,1) 0.60s forwards; }
.q-card:nth-child(3) { animation: floatIn 0.65s cubic-bezier(0.16,1,0.3,1) 0.70s forwards; }
.q-card:nth-child(4) { animation: floatIn 0.65s cubic-bezier(0.16,1,0.3,1) 0.80s forwards; }

.q-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(224,116,34,0.35); border: 1px solid rgba(224,116,34,0.55); flex-shrink: 0; transition: all 0.22s; }
.q-card:hover .q-dot { background: var(--teal); transform: scale(1.5); box-shadow: 0 0 7px rgba(224,116,34,0.7); }
.q-icon { font-size: 20px; flex-shrink: 0; line-height: 1; transition: transform 0.22s; }
.q-card:hover .q-icon { transform: scale(1.12); }
.q-text { flex: 1; font-size: 13.5px; font-weight: 600; font-family: 'Cairo', sans-serif; color: var(--text-dim); line-height: 1.5; transition: color 0.22s; position: relative; z-index: 1; }
.q-card:hover .q-text { color: var(--text); }
.q-arrow { font-size: 10px; color: var(--text-muted); flex-shrink: 0; opacity: 0.5; transition: color 0.22s, transform 0.22s; position: relative; z-index: 1; }
.q-card:hover .q-arrow { color: var(--teal); transform: translateX(-3px); opacity: 1; }

/* cta card */
.cta-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: rgba(224,116,34,0.07); border: 1px solid rgba(224,116,34,0.2);
  border-radius: var(--radius); cursor: pointer; text-align: left; width: 100%;
  position: relative; overflow: hidden;
  transition: all var(--tr); opacity: 0;
  animation: floatIn 0.65s cubic-bezier(0.16,1,0.3,1) 0.90s forwards;
}
[data-theme="light"] .cta-card { background: rgba(224,116,34,0.06); box-shadow: 0 2px 12px rgba(224,116,34,0.08); }
.cta-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(224,116,34,0.1) 0%, transparent 60%); opacity: 0; transition: opacity 0.25s; }
.cta-card:hover { background: rgba(224,116,34,0.13); border-color: rgba(224,116,34,0.45); transform: translateX(-3px); box-shadow: 0 8px 32px rgba(224,116,34,0.18), 0 0 0 1px rgba(224,116,34,0.18); }
.cta-card:hover::before { opacity: 1; }
.cta-card:active { transform: scale(0.99); }
.cta-icon { font-size: 22px; flex-shrink: 0; line-height: 1; transition: transform 0.25s; }
.cta-card:hover .cta-icon { transform: scale(1.15) rotate(-5deg); }
.cta-text { flex: 1; font-size: 13.5px; font-weight: 700; color: var(--teal-light); line-height: 1.5; position: relative; z-index: 1; }
[data-theme="light"] .cta-text { color: var(--teal); }

/* landing input */
.landing-input {
  width: 100%; margin-top: 28px; opacity: 0;
  animation: riseUp 0.75s cubic-bezier(0.16,1,0.3,1) 1.0s forwards;
}

/* footer */
.page-footer {
  text-align: center; padding: 16px 24px 24px;
  font-size: 11.5px; color: var(--footer-color);
}
.page-footer a { color: rgba(224,116,34,0.55); text-decoration: none; transition: color 0.2s; }
.page-footer a:hover { color: var(--teal); }
