*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #120d22;
  --surface:      #1c1735;
  --surface2:     #261e46;
  --border:       rgba(162, 148, 220, 0.14);
  --teams:        #6264A7;
  --teams-light:  #a8a9da;
  --teams-glow:   rgba(98, 100, 167, 0.4);
  --text:         #ede9f8;
  --text-muted:   #9b92be;
  --green:        #4ade80;
  --radius:       14px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── Nav ─────────────────────────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 13, 34, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.nav-logo img { border-radius: 7px; }

.nav-download {
  background: var(--teams);
  color: #fff;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s;
}

.nav-download:hover { opacity: 0.85; }

/* ─── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 12px 40px rgba(98,100,167,0.35);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ede9f8 0%, var(--teams-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7375ba 0%, #6264A7 50%, #5254a0 100%);
  color: #fff;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 24px var(--teams-glow);
  transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 10px 32px var(--teams-glow);
}

.btn-primary:active { transform: scale(0.97); }

.version-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Mockup ──────────────────────────────────────────────────────────────── */

.mockup-wrap {
  display: flex;
  justify-content: center;
}

.mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(162,148,220,0.1);
}

.mockup-bar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  gap: 7px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.mockup-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-header {
  margin-bottom: 4px;
}

.mockup-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.mockup-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.mockup-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
}

.mockup-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mockup-times {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-time-field {
  flex: 1;
}

.mockup-field-label {
  font-size: 9px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mockup-time-val {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.mockup-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-slider-track {
  flex: 1;
  height: 4px;
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
}

.mockup-slider-fill {
  width: 20%;
  height: 100%;
  background: var(--teams);
  border-radius: 2px;
}

.mockup-interval-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--teams-light);
  white-space: nowrap;
}

.mockup-interval-val span {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
}

.mockup-btn {
  background: linear-gradient(135deg, #7375ba 0%, #6264A7 100%);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 9px;
  font-size: 13px;
  font-weight: 700;
}

.mockup-status {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 13px;
}

.mockup-status.running {
  border-color: rgba(74, 222, 128, 0.25);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.mockup-status-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.mockup-status-sub {
  font-size: 10px;
  color: var(--text-muted);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── Features ────────────────────────────────────────────────────────────── */

.features {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(28,23,53,0.6) 0%, transparent 100%);
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teams-light);
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Download strip ──────────────────────────────────────────────────────── */

.download-strip {
  border-top: 1px solid var(--border);
}

.download-strip-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.download-strip h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.download-strip p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.footer-logo img { border-radius: 5px; }

.footer-note {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-note a {
  color: var(--teams-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 48px;
  }

  .mockup-wrap { order: -1; }
  .mockup { width: 100%; max-width: 300px; }

  .features-inner {
    grid-template-columns: 1fr 1fr;
    padding: 48px 20px;
    gap: 24px;
  }

  .download-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 20px;
  }
}

@media (max-width: 480px) {
  .features-inner {
    grid-template-columns: 1fr;
  }
}
