:root {
  --bg: #0a0e17;
  --bg-alt: #111827;
  --card: #151c2c;
  --text: #e8edf5;
  --muted: #94a3b8;
  --accent: #6366f1;
  --accent2: #22d3ee;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 92vw); margin: 0 auto; }

.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 23, 0.85);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; gap: 1rem; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 0.75rem; color: var(--text); text-decoration: none; }
.logo__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-weight: 800; font-size: 1.1rem; color: #fff;
}
.logo__text { font-weight: 600; font-size: 0.95rem; }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 0.92rem; text-decoration: none; }
.nav a:hover { color: var(--text); }

.hero {
  padding: 2rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(99, 102, 241, 0.25), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(34, 211, 238, 0.12), transparent);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { min-height: 220px; } }

.badge {
  display: inline-block; padding: 0.35rem 0.85rem; border-radius: 999px;
  background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--accent2); font-size: 0.8rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 800; }
.hero h1 span {
  background: linear-gradient(90deg, #a5b4fc, var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__lead { margin-top: 1.25rem; font-size: 1.08rem; color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; text-decoration: none;
}
.btn--primary { background: linear-gradient(135deg, var(--accent), #4f46e5); color: #fff; }
.btn--primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn--ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,0.04); text-decoration: none; }
.btn--block { width: 100%; }

.beta-banner {
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.18), rgba(249, 115, 22, 0.15));
  border-bottom: 2px solid rgba(234, 179, 8, 0.45);
  padding: 1rem 0;
}
.beta-banner__inner {
  display: flex; align-items: flex-start; gap: 1rem;
  text-align: left;
}
.beta-banner__icon { font-size: 1.75rem; flex-shrink: 0; line-height: 1.2; }
.beta-banner__text {
  display: flex; flex-direction: column; gap: 0.35rem;
  font-size: clamp(0.95rem, 2.5vw, 1.08rem); color: #fde68a; line-height: 1.45;
}
.beta-banner__text strong { color: #fff; }

.tunnel-hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(34, 197, 94, 0.2), transparent),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(99, 102, 241, 0.15), transparent);
  border-bottom: 1px solid var(--border);
}
.tunnel-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.tunnel-hero__label {
  font-size: 1rem; color: var(--accent2); font-weight: 600; letter-spacing: 0.02em;
}
.tunnel-hero__title {
  font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; margin: 0;
}
.tunnel-hero__sub { color: var(--muted); font-size: 1rem; margin: -0.25rem 0 0.5rem; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(560px, 100%);
  margin: 0.5rem 0 0.25rem;
}
@media (max-width: 480px) {
  .download-grid { grid-template-columns: 1fr; width: 100%; max-width: 320px; }
}

.dl-btn {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.15rem; border-radius: 16px;
  text-decoration: none; color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
  position: relative; text-align: left;
}
.dl-btn:hover { transform: translateY(-2px); filter: brightness(1.06); text-decoration: none; }
.dl-btn__icon { font-size: 1.75rem; flex-shrink: 0; line-height: 1; }
.dl-btn__text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.dl-btn__text strong { font-size: 1rem; font-weight: 700; }
.dl-btn__text small { font-size: 0.78rem; opacity: 0.85; font-weight: 500; }
.dl-btn--pc { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 4px 20px rgba(37,99,235,0.35); }
.dl-btn--android { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 4px 20px rgba(22,163,74,0.35); }
.dl-btn--tv { background: linear-gradient(135deg, #7c3aed, #6d28d9); box-shadow: 0 4px 20px rgba(124,58,237,0.35); }
.dl-btn--ios { background: linear-gradient(135deg, #475569, #334155); cursor: pointer; }
.tunnel-hero__dl-status {
  min-height: 1.25em; margin: 0.35rem 0 0; color: #86efac; font-size: 0.9rem; font-weight: 600;
}
.dl-btn__badge {
  position: absolute; top: 0.55rem; right: 0.65rem;
  font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem; border-radius: 6px;
  background: rgba(234, 179, 8, 0.25); color: #fde68a; border: 1px solid rgba(234, 179, 8, 0.45);
}

.btn-tunnel-mega {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.35rem 2.5rem; border-radius: 20px;
  font-size: clamp(1.25rem, 4vw, 1.75rem); font-weight: 800;
  color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #16a34a, #059669);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.35), 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.15s, filter 0.15s;
  max-width: 100%;
}
.btn-tunnel-mega:hover {
  transform: scale(1.03); filter: brightness(1.08); text-decoration: none;
}
.btn-tunnel-mega--secondary {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  padding: 0.85rem 1.5rem;
  background: transparent;
  border: 2px solid rgba(34, 197, 94, 0.5);
  color: #86efac;
  box-shadow: none;
}
.btn-tunnel-mega--secondary:hover {
  background: rgba(34, 197, 94, 0.1);
  transform: none;
}
.tunnel-hero__pay { color: var(--muted); font-size: 1rem; max-width: 40ch; }
.tunnel-hero__pay a { color: var(--accent2); font-weight: 700; text-decoration: none; }
.tunnel-hero__help { color: var(--muted); font-size: 0.92rem; }
.tunnel-hero__help a { color: var(--text); }

.hero__visual { position: relative; min-height: 320px; }
.orb { position: absolute; border-radius: 50%; filter: blur(40px); }
.orb--1 { width: 200px; height: 200px; background: rgba(99, 102, 241, 0.5); top: 10%; right: 10%; }
.orb--2 { width: 140px; height: 140px; background: rgba(34, 211, 238, 0.35); bottom: 15%; left: 5%; }
.card-float {
  position: relative; margin: 2rem auto; max-width: 300px; padding: 1.5rem;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.card-float__title { font-weight: 700; font-size: 1.1rem; }
.card-float__line { height: 4px; margin: 1rem 0; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); width: 60%; }
.card-float__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.card-float__tags span { font-size: 0.75rem; padding: 0.25rem 0.6rem; border-radius: 6px; background: rgba(255,255,255,0.06); color: var(--muted); }

.section { padding: 4rem 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 0.75rem; }
.section__subtitle, .section__text { color: var(--muted); max-width: 62ch; margin-bottom: 2rem; }
.section__text.center { text-align: center; margin-inline: auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: rgba(99, 102, 241, 0.4); transform: translateY(-2px); }
.card__icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; color: var(--muted); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.project-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}
.project-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
}
.project-card__num {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.75rem; font-weight: 800; color: var(--muted);
  opacity: 0.5;
}
.project-card__icon { font-size: 2rem; margin-bottom: 0.65rem; }
.project-card h3 { font-size: 1.12rem; margin-bottom: 0.55rem; }
.project-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.project-card__tiers { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.project-card--live {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08);
}
.project-card--live:hover { border-color: rgba(34, 197, 94, 0.55); }
.project-card__launch {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.project-card__launch:hover {
  text-decoration: none;
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
}
.tier {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.28rem 0.65rem; border-radius: 999px;
}
.tier--free {
  background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.35); color: #86efac;
}
.tier--pro {
  background: rgba(99, 102, 241, 0.15); border: 1px solid rgba(99, 102, 241, 0.35); color: #a5b4fc;
}
.pricing-note {
  text-align: center; max-width: 62ch; margin: 0 auto;
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  background: rgba(99, 102, 241, 0.08); border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--muted); font-size: 0.95rem; line-height: 1.55;
}
.pricing-note strong { color: var(--text); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; } }
.list { list-style: none; margin: 1rem 0; }
.list li { padding: 0.4rem 0 0.4rem 1.25rem; position: relative; color: var(--muted); }
.list li::before { content: "→"; position: absolute; left: 0; color: var(--accent2); }
.note { font-size: 0.88rem; color: var(--muted); font-style: italic; }

.panel { background: linear-gradient(145deg, #1a2235, var(--card)); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.panel__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent2); margin-bottom: 0.5rem; }
.panel h3 { margin-bottom: 0.5rem; }
.panel p { color: var(--muted); font-size: 0.92rem; }
.panel__status { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; }
.tags span { padding: 0.4rem 0.85rem; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); font-size: 0.85rem; color: var(--muted); }

.section--beta { padding: 3rem 0 4rem; }
.beta-box { text-align: center; padding: 2.5rem; background: rgba(99, 102, 241, 0.08); border: 1px solid rgba(99, 102, 241, 0.25); border-radius: var(--radius); }
.beta-box h2 { margin-bottom: 1rem; }
.beta-box p { color: var(--muted); max-width: 58ch; margin: 0 auto 1rem; }
.beta-box__small { font-size: 0.85rem !important; opacity: 0.85; }

.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 768px) { .contacts { grid-template-columns: 1fr; } }
.contacts__list { list-style: none; margin-top: 1rem; }
.contacts__list li { padding: 0.5rem 0; color: var(--muted); }

.form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.form h3 { margin-bottom: 1rem; }
.form input, .form textarea {
  width: 100%; margin-bottom: 0.75rem; padding: 0.75rem 1rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit;
}
.form__hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.5rem; text-align: center; }

.footer { border-top: 1px solid var(--border); padding: 1.5rem 0; margin-top: 2rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.88rem; color: var(--muted); }
.footer__links { display: flex; gap: 1.25rem; }
.footer__links a { color: var(--muted); text-decoration: none; }
