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

:root {
  --bg: #08111e;
  --bg-2: #0c1628;
  --card: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);
  --text: #e8f0fe;
  --muted: #7b90b2;
  --teal: #00c9a7;
  --green: #22c55e;
  --blue: #3b82f6;
  --red: #ef4444;
  --grad: linear-gradient(135deg, #00c9a7 0%, #4ade80 100%);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(8,17,30,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav.scrolled { background: rgba(8,17,30,0.98); }

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

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

.nav-brand svg { flex-shrink: 0; }

.nav-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-links a:hover { color: var(--text); background: var(--card); }

.nav-support {
  background: var(--card) !important;
  border: 1px solid var(--border);
  color: var(--text) !important;
}

.nav-support:hover {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
  background: rgba(0,201,167,0.06) !important;
}

/* ─── HELPERS ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #061208;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: -0.01em;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,201,167,0.35);
}

.btn-gradient.large { padding: 16px 36px; font-size: 16px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.btn-outline:hover { border-color: var(--border-hover); color: var(--text); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 24px;
  text-decoration: none;
  transition: color 0.2s;
  border-radius: var(--radius-sm);
}

.btn-ghost:hover { color: var(--text); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,201,167,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 60%, rgba(74,222,128,0.06) 0%, transparent 60%),
    var(--bg);
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

/* ─── HERO IMAGE ─── */
.hero-image-wrap {
  position: relative;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: var(--grad);
  opacity: 0.25;
  filter: blur(24px);
  z-index: 0;
}

.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 32px 80px rgba(0,0,0,0.65);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,201,167,0.08);
  border: 1px solid rgba(0,201,167,0.25);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-desc {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── DECK VISUAL ─── */
.deck-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.deck-brand-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.deck-frame {
  background: linear-gradient(145deg, #242424, #1a1a1a);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  gap: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 24px 64px rgba(0,0,0,0.85),
    0 2px 8px rgba(0,0,0,0.5);
}

.deck-key {
  width: 108px;
  height: 108px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 11px 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}

.deck-key::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}

.deck-key:hover { transform: scale(0.96); }
.deck-key:active { transform: scale(0.91); }

.key-live {
  background: linear-gradient(160deg, #0d2b18 0%, #163d24 100%);
  box-shadow: 0 0 24px rgba(34,197,94,0.18), 0 4px 12px rgba(0,0,0,0.5);
}

.key-deploy {
  background: linear-gradient(160deg, #0d1535 0%, #152050 100%);
  box-shadow: 0 0 24px rgba(59,130,246,0.25), 0 4px 12px rgba(0,0,0,0.5);
}

.key-active {
  background: linear-gradient(160deg, #0d2b18 0%, #163d24 100%);
  box-shadow: 0 0 24px rgba(34,197,94,0.18), 0 4px 12px rgba(0,0,0,0.5);
}

.key-top-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-start;
}

.key-live .key-top-label  { color: #4ade80; }
.key-deploy .key-top-label { color: #60a5fa; }
.key-active .key-top-label { color: #4ade80; }

.key-icon-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

.key-icon-wrap svg { width: 52px; height: 52px; }

.key-bottom-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-end;
}

/* ─── SECTIONS ─── */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-header p {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── ACTIONS ─── */
.section-actions { background: var(--bg-2); }

.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.action-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  translate: 0 44px;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s,
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.action-card.is-visible {
  opacity: 1;
  translate: 0 0;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.action-card:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.action-card.is-featured {
  border-color: rgba(59,130,246,0.28);
  background: rgba(59,130,246,0.04);
}

.action-card.is-featured::before {
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
}

.action-card.is-featured:hover { border-color: rgba(59,130,246,0.5); }


.action-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.action-tag.green {
  background: rgba(34,197,94,0.1);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.2);
}

.action-tag.blue {
  background: rgba(59,130,246,0.1);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.2);
}

.action-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.action-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

/* ─── FEATURES ─── */
.section-features { background: var(--bg); }

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.features-text > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.feat-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feat-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feat-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feat-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

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

/* ─── TERMINAL ─── */
.terminal {
  background: #0d1117;
  border: 1px solid #21262d;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}

.terminal-bar {
  background: #161b22;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #21262d;
}

.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot.r { background: #ff5f57; }
.t-dot.y { background: #febc2e; }
.t-dot.g { background: #28c840; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #6e7681;
  font-weight: 500;
}

.terminal-body {
  padding: 20px 24px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px;
  line-height: 2;
}

.log { display: flex; gap: 12px; }
.log-t { color: #3d444d; min-width: 60px; }
.log-ok  { color: #3fb950; }
.log-inf { color: #58a6ff; }
.log-wrn { color: #e3b341; }

.log.anim .log-ok { animation: fadeIn 1.5s 4s both; }

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ─── CTA ─── */
.section-cta { background: var(--bg-2); padding: 80px 0; }

.cta-box {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.cta-box p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--text);
}

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

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

/* ─── SUPPORT PAGE ─── */
.support-hero {
  padding: 160px 24px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0,201,167,0.07) 0%, transparent 65%),
    var(--bg);
}

.support-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.support-hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.support-content { padding: 60px 0 100px; background: var(--bg-2); }

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.s-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-card { text-align: center; }

.contact-icon {
  width: 68px; height: 68px;
  background: rgba(0,201,167,0.08);
  border: 1px solid rgba(0,201,167,0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 30px;
}

.contact-card h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}


.faq-card h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-of-type { padding-top: 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }

.faq-q {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.faq-a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-desc { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-image-wrap { order: -1; }
  .hero-img { max-height: 360px; object-fit: cover; object-position: center; }
  .actions-grid { grid-template-columns: 1fr; }
  .features-inner { grid-template-columns: 1fr; gap: 48px; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-links li:not(:last-child) { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
