* { box-sizing: border-box; margin: 0; }
:root {
  --ink: #17122e; --paper: #fff7ea; --amber: #ffd166; --coral: #ff8859;
  --teal: #35d0ba; --violet: #8c6bb0; --cardbg: rgba(30, 24, 60, 0.72);
}
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, #17122e 0%, #2c3a68 34%, #6b4d8a 62%, #b9675f 84%, #e8935c 100%);
  color: var(--paper); min-height: 100vh; overflow-x: hidden;
}
a { color: var(--amber); text-decoration: none; }

.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; background: rgba(15, 12, 34, 0.82); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 209, 102, 0.25); flex-wrap: wrap;
}
.logo { font-weight: 800; font-size: 20px; letter-spacing: 1px; color: var(--amber); }
.nav nav { margin-left: auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.nav nav a { color: #f3e9d8; font-size: 14px; }

.cta {
  display: inline-block; background: linear-gradient(135deg, #ff9c4a, #ff5964);
  color: #221026; font-weight: 800; border-radius: 14px; padding: 14px 30px;
  box-shadow: 0 8px 28px rgba(255, 110, 70, 0.45); transition: transform 0.15s, box-shadow 0.15s;
}
.cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 34px rgba(255, 110, 70, 0.6); }
.cta.small { padding: 9px 16px; font-size: 14px; border-radius: 10px; }

.hero { position: relative; min-height: 78vh; display: flex; align-items: center; }
#hero-preview { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-copy { position: relative; padding: 24px 30px; max-width: 640px; margin-left: 6vw; }
.hero-copy h1 {
  font-size: clamp(44px, 9vw, 92px); line-height: 1.02; letter-spacing: 2px;
  background: linear-gradient(92deg, #ffd166 10%, #ff8859 55%, #ff5964 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px rgba(255, 120, 60, 0.35));
}
.tagline { margin: 14px 0 22px; font-size: clamp(15px, 2.4vw, 20px); color: #ffeedc; max-width: 34ch; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
main { position: relative; z-index: 5; }
.band { max-width: 1060px; margin: 0 auto; padding: 56px 22px; }
.band h2 { font-size: clamp(26px, 4.5vw, 40px); margin-bottom: 22px; color: var(--amber); }
.band h3 { color: var(--teal); margin: 14px 0 8px; font-size: 17px; }
.band p, .band li { color: #f3e9d8; font-size: 15px; line-height: 1.65; }

#features { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; padding: 0; }
#features li {
  background: var(--cardbg); border: 1px solid rgba(255, 209, 102, 0.22);
  border-left: 4px solid var(--coral); border-radius: 12px; padding: 14px 16px;
}
#features b { color: var(--amber); }

#gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
#gallery img {
  width: 100%; height: auto; border-radius: 14px; display: block;
  border: 1px solid rgba(255, 209, 102, 0.3); box-shadow: 0 10px 30px rgba(0, 0, 10, 0.35);
}
.cap { margin-top: 10px; opacity: 0.75; font-size: 13px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.controls ul { padding-left: 18px; }
.keys li { margin-bottom: 7px; }
.keys b { color: var(--amber); }
.controls ul b { color: var(--amber); }

footer {
  position: relative; z-index: 5; display: flex; gap: 16px; align-items: center; justify-content: center;
  flex-wrap: wrap; padding: 30px 20px 40px; border-top: 1px solid rgba(255, 209, 102, 0.2);
  background: rgba(15, 12, 34, 0.6); font-size: 13px; color: #d9cbb8;
}
@media (max-width: 640px) {
  .hero { min-height: 66vh; }
  .hero-copy { margin-left: 4px; margin-right: 4px; }
  .grid2 { grid-template-columns: 1fr; gap: 6px; }
  .band { padding: 40px 16px; }
  .nav nav { gap: 8px; }
}
