:root{
  --bg: #dcdde1;
  --card: #f2f3f4;
  --text: #0f1724;
  --muted: #5f6b77;
  --accent: #0b76ff;
  --radius: 12px;
  --glass: rgba(255,255,255,0.7);
  --shadow: rgba(12,31,59,0.06);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html.dark{
  --bg: #1e1f25;
  --card: #2c2d33;
  --text: #f2f2f2;
  --muted: #a4aab0;
  --accent: #0b76ff;
  --glass: rgba(40,42,50,0.7);
  --shadow: rgba(0,0,0,0.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  font-size:16px;
}

.container{max-width:1080px;margin:0 auto;padding:28px;}

.site-header{
  background:transparent;
  position:sticky;top:0;z-index:40;
  backdrop-filter: blur(6px);
  border-bottom:1px solid rgba(255,255,255,0.03);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.logo{display:flex;align-items:center;gap:10px;font-weight:700}
.logo-img{
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}
.brand{font-weight:800}

.site-nav{display:flex;align-items:center;gap:12px}
.site-nav a{margin-left:6px;text-decoration:none;color:var(--muted);font-weight:600}
.site-nav a:hover{color:var(--text)}

.hero{padding:48px 0;}
.hero-inner{display:flex;gap:30px;align-items:center}
.hero-copy{flex:0 0 35%}
.hero-art{flex:1;display:flex;justify-content:flex-end;min-width:0}
.hero h1{font-size:34px;margin:0 0 12px}
.tagline{color:var(--muted);margin-bottom:18px}
.hero-cta .btn{margin-right:12px}

.device-card{border-radius:14px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 30px var(--shadow);transform:translateY(0);transition:transform 0.4s ease, box-shadow 0.4s;overflow:hidden;background:var(--card);position:relative;margin-left:auto;min-width:600px;max-width:1400px}
.device-card:hover{transform:translateY(-6px)}

.hero-image{max-width:100%;min-width:600px;height:auto;display:block;border-radius:14px}

.features{padding:36px 0}
.features h2{margin-top:0}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-top:24px}
.feature-grid-expanded{margin-top:0;animation:slideDown 0.4s ease-out}
.feature-card{
  background:var(--card);
  padding:24px;
  border-radius:16px;
  border:1px solid rgba(11,118,255,0.1);
  box-shadow:0 8px 24px var(--shadow);
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position:relative;
  overflow:hidden;
}
.feature-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg, var(--accent), rgba(11,118,255,0.5));
  transform:scaleX(0);
  transition:transform 0.3s ease;
}
.feature-card:hover::before{
  transform:scaleX(1);
}
.feature-card:hover{
  transform:translateY(-8px);
  box-shadow:0 16px 48px rgba(11,118,255,0.15);
  border-color:rgba(11,118,255,0.3);
}
.feature-card .icon{
  background:linear-gradient(135deg, rgba(11,118,255,0.15), rgba(11,118,255,0.05));
  width:64px;
  height:64px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  border:1px solid rgba(11,118,255,0.2);
  transition:all 0.3s ease;
}
.feature-card:hover .icon{
  background:linear-gradient(135deg, rgba(11,118,255,0.25), rgba(11,118,255,0.1));
  transform:scale(1.05);
  box-shadow:0 4px 12px rgba(11,118,255,0.2);
}
.feature-card h3{
  font-size:1.25rem;
  margin:0 0 12px 0;
  color:var(--text);
  font-weight:700;
}
.feature-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:0.95rem;
}
.feature-expand-container{
  text-align:center;
  margin-top:32px;
}
.feature-expand-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 24px;
  background:transparent;
  border:2px solid var(--accent);
  color:var(--accent);
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
  transition:all 0.3s ease;
  font-size:1rem;
}
.feature-expand-btn:hover{
  background:var(--accent);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(11,118,255,0.3);
}
.feature-expand-btn .expand-icon{
  transition:transform 0.3s ease;
}
.feature-expand-btn.expanded .expand-icon{
  transform:rotate(180deg);
}
@keyframes slideDown{
  from{
    opacity:0;
    transform:translateY(-20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.pricing{padding:44px 0}
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:18px}
.price-card{background:var(--card);padding:20px;border-radius:14px;text-align:center;box-shadow:0 6px 20px var(--shadow)}
.price-card.featured{border:2px solid rgba(11,118,255,0.12);transform:scale(1.02)}
.price-badge{font-weight:700;color:var(--accent);margin-bottom:8px}
.discount-badge{font-weight:700;color:#9b59b6;margin-bottom:8px;font-size:14px}
.price-amount{font-size:28px;font-weight:800;margin:6px 0;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.price-amount .old-price{font-size:20px;color:#e74c3c;text-decoration:line-through;font-weight:600}
.price-amount .new-price{font-size:28px;font-weight:800;color:var(--text)}
.price-amount .price-period{font-size:14px;color:var(--muted);font-weight:600}
.price-card ul{list-style:none;padding:0;margin:12px 0 18px;color:var(--muted)}
.btn{display:inline-block;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:700;cursor:pointer;border:0}
.btn.primary{background:var(--accent);color:#fff;box-shadow:0 10px 30px rgba(11,118,255,0.14)}
.btn.ghost{background:transparent;border:1px solid rgba(11,118,255,0.12);color:var(--accent)}

.ethics-note{margin-top:14px;color:var(--muted);font-size:14px}

.site-footer{padding:22px 0;text-align:center;color:var(--muted);font-size:14px}

.updates-hero {
  padding: 18px 0;
}

.timeline {
  position: relative;
  margin: 48px 0;
  padding-left: 36px;
  border-left: 3px solid var(--muted);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.update {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: 0 6px 24px var(--shadow);
  animation: floatUp 0.5s ease both;
}

.update-mark {
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #fff;
  flex-shrink: 0;
}
.update-mark svg {
  width: 20px;
  height: 20px;
}

.update-body {
  display: flex;
  flex-direction: column;
}
.update-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.update-body p {
  margin: 0;
  color: var(--muted);
}
.update .muted {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 8px;
}

.update.upcoming {
  opacity: 0.95;
}
.update.upcoming .update-mark {
  background: linear-gradient(180deg,#f0f5ff,#ffffff);
  color: var(--accent);
}
.update.upcoming .update-mark svg path {
  stroke: var(--accent);
}

.theme-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-left: 12px;
}
.theme-toggle input {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  position: relative;
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.02);
  transition: background 0.25s ease;
}
.theme-toggle input::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--card);
  border-radius: 50%;
  transition: transform 0.25s ease, background 0.25s ease;
}
.theme-toggle input:checked {
  background: var(--accent);
}
.theme-toggle input:checked::before {
  transform: translateX(18px);
}
.theme-toggle .switch-label {
  font-weight: 700;
  color: var(--muted);
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .timeline {
    padding-left: 24px;
  }
  .update {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 36px;
  }
  .update-mark {
    left: -28px;
  }
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-art {
    width: 100%;
    justify-content: center;
  }
  .device-card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .hero-image {
    width: 100%;
    min-width: 100%;
    height: auto;
  }
  .site-nav {
    gap: 8px;
  }
}
