:root {
  --bg-base: #08090C;
  --bg-surface: #0E1015;
  --bg-surface-elevated: #141720;
  --bg-card: #11141C;
  --accent: #7C3AED;
  --accent-light: #9061F9;
  --accent-glow: rgba(124, 58, 237, 0.3);
  --accent-cyan: #0EA5E9;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(124, 58, 237, 0.6);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 100% 60%, rgba(14, 165, 233, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 9, 12, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.45));
}

.brand-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.4px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-accent {
  color: #9D72FF;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.2, 0, 0.1, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: #7C3AED;
  color: #FFFFFF;
  border-color: #9061F9;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  background: #6D28D9;
  border-color: #A78BFA;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: #1C212E;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.98rem;
  border-radius: var(--radius-md);
}

/* Hero Section */
.hero-section {
  padding: 65px 0 40px;
  text-align: center;
}

.main-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  max-width: 900px;
  margin: 0 auto 16px;
}

.gradient-text {
  color: #FFFFFF;
  background: linear-gradient(180deg, #FFFFFF 40%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* =========================================================
   REALISTIC SMARTPHONE DEVICE FRAME (CELULAR REAL LANDSCAPE)
   ========================================================= */
.phone-chassis {
  max-width: 820px;
  margin: 35px auto 20px;
  background: #0B0D13;
  border: 10px solid #1E222D;
  border-radius: 36px;
  box-shadow: 0 0 0 2px #333A4A, 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(124, 58, 237, 0.15);
  position: relative;
  overflow: hidden;
  padding: 12px;
}

/* Phone Front Camera / Speaker Notch Hole */
.phone-notch-left {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid #1A1F2C;
  z-index: 10;
}

.phone-screen {
  background: #080A0F;
  border-radius: 24px;
  padding: 16px 20px 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.phone-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

/* Stream Deck Tactile Keycap */
.stream-key {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #11141D;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15),
              inset 0 -2px 4px rgba(0, 0, 0, 0.6),
              0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.1s cubic-bezier(0.2, 0, 0.1, 1);
}

.stream-key::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 60%, transparent 100%);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.stream-key:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.stream-key:active, .stream-key.pressed {
  transform: scale(0.92);
  filter: brightness(1.25);
  box-shadow: 0 0 20px var(--key-glow, #7C3AED), inset 0 2px 5px rgba(0, 0, 0, 0.7);
}

.stream-key-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.stream-key-icon svg {
  width: 100%;
  height: 100%;
}

.stream-key-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  letter-spacing: -0.2px;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  text-align: center;
}

.stream-key-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  color: white;
  text-transform: uppercase;
  z-index: 3;
}

.badge-rec { background: #EF4444; }
.badge-live { background: #10B981; }
.badge-mute { background: #F59E0B; }

/* Downloads Hub Section */
.downloads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0 60px;
}

.download-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.download-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.download-card.highlight {
  border-color: rgba(124, 58, 237, 0.4);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.06) 0%, rgba(14, 16, 21, 0.98) 100%);
}

.card-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.card-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.specs-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.specs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #CBD5E1;
}

.specs-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* QR Code Box */
.qr-container {
  background: #080A0F;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.qr-code-box {
  width: 86px;
  height: 86px;
  background: white;
  border-radius: 6px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-code-box svg {
  width: 100%;
  height: 100%;
}

.qr-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.qr-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 35px 0;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Steps Timeline */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.step-badge {
  width: 44px;
  height: 44px;
  background: #1C212E;
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 auto 16px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 780px;
  margin: 30px auto 50px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
}

.faq-body {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 10px;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-body {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-dim);
  transition: transform 0.15s;
}

/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 35px 0;
  background: #06070A;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

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

/* Responsive */
@media (max-width: 900px) {
  .main-title { font-size: 2.3rem; }
  .downloads-grid, .features-grid, .steps-timeline { grid-template-columns: 1fr; }
  .phone-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .phone-grid { grid-template-columns: repeat(3, 1fr); }
  .main-title { font-size: 1.9rem; }
}
