/* ─── Design tokens ─────────────────────────────────────── */
:root {
  --primary:  #036B5C;
  --bg:       #F5FBF7;
  --text:     #171D1B;
  --accent:   #18BC9C;
  --border:   #BEC9C5;
  --muted:    #3F4946;
  --warning:  #BA1A1A;

  --hero-base: #0D1412;
  --dark-base: #111918;
  --dark-calm: #141C1A;

  --max-w: 1140px;
  --radius: 12px;
  --transition: 0.25s ease;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ─── Utility ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ─── Scroll-reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Hero animated orbs ─────────────────────────────────── */
/* opacity меняется плавно: переход занимает 15-20% цикла    */
@keyframes orb1 {
  0%   { transform: translate(0,   0)   scale(1);    opacity: 0;    }
  18%  {                                              opacity: 0.6;  }
  38%  { transform: translate(6%,  8%)  scale(1.08); opacity: 0.5;  }
  55%  {                                              opacity: 0;    }
  73%  { transform: translate(-4%, 5%)  scale(0.95); opacity: 0;    }
  88%  {                                              opacity: 0.55; }
  100% { transform: translate(0,   0)   scale(1);    opacity: 0;    }
}
@keyframes orb2 {
  0%   { transform: translate(0,   0)   scale(1);    opacity: 0.5;  }
  16%  {                                              opacity: 0.45; }
  32%  {                                              opacity: 0;    }
  50%  { transform: translate(-7%, -4%) scale(1.1);  opacity: 0;    }
  65%  {                                              opacity: 0.65; }
  80%  { transform: translate(5%,  6%)  scale(0.9);  opacity: 0.5;  }
  93%  {                                              opacity: 0;    }
  100% { transform: translate(0,   0)   scale(1);    opacity: 0.5;  }
}
@keyframes orb3 {
  0%   { transform: translate(0,  0)   scale(1);    opacity: 0.45; }
  15%  {                                             opacity: 0;    }
  33%  {                                             opacity: 0;    }
  50%  { transform: translate(4%, -7%) scale(1.05); opacity: 0.6;  }
  66%  {                                             opacity: 0.5;  }
  82%  {                                             opacity: 0;    }
  100% { transform: translate(0,  0)   scale(1);    opacity: 0.45; }
}
@keyframes orb4 {
  0%   { transform: translate(0,   0)   scale(1);    opacity: 0;    }
  22%  {                                              opacity: 0;    }
  40%  { transform: translate(-6%, 5%)  scale(1.07); opacity: 0.55; }
  58%  {                                              opacity: 0.45; }
  76%  {                                              opacity: 0;    }
  100% { transform: translate(0,   0)   scale(1);    opacity: 0;    }
}
@keyframes orb5 {
  0%   { transform: translate(0,   0)   scale(1);    opacity: 0.4;  }
  16%  {                                              opacity: 0;    }
  32%  {                                              opacity: 0;    }
  48%  { transform: translate(7%,  6%)  scale(1.1);  opacity: 0.6;  }
  64%  {                                              opacity: 0.5;  }
  80%  {                                              opacity: 0;    }
  100% { transform: translate(0,   0)   scale(1);    opacity: 0.4;  }
}
@keyframes orb6 {
  0%   { transform: translate(0,   0)   scale(1);    opacity: 0;    }
  25%  {                                              opacity: 0.5;  }
  45%  { transform: translate(-5%, -5%) scale(1.05); opacity: 0.45; }
  63%  {                                              opacity: 0;    }
  82%  { transform: translate(3%,  6%)  scale(0.95); opacity: 0;    }
  100% { transform: translate(0,   0)   scale(1);    opacity: 0;    }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-orb { animation: none !important; opacity: 0.3 !important; }
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--hero-base);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 0;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,20,18,.05) 0%, rgba(13,20,18,.2) 100%);
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-bg-orb--1 {
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, #036B5C 0%, transparent 65%);
  top: -20%; left: -15%;
  animation: orb1 24s ease-in-out infinite;
}
.hero-bg-orb--2 {
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, #18BC9C 0%, transparent 65%);
  bottom: -25%; right: -10%;
  animation: orb2 28s ease-in-out infinite;
}
.hero-bg-orb--3 {
  width: 45vw; height: 45vw;
  max-width: 540px; max-height: 540px;
  background: radial-gradient(circle, #024D42 0%, transparent 65%);
  top: 30%; right: 15%;
  animation: orb3 20s ease-in-out infinite;
}
.hero-bg-orb--4 {
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, #036B5C 0%, transparent 65%);
  top: -10%; right: -10%;
  animation: orb4 32s ease-in-out infinite;
}
.hero-bg-orb--5 {
  width: 55vw; height: 55vw;
  max-width: 660px; max-height: 660px;
  background: radial-gradient(circle, #18BC9C 0%, transparent 65%);
  bottom: -15%; left: -5%;
  animation: orb5 22s ease-in-out infinite;
}
.hero-bg-orb--6 {
  width: 38vw; height: 38vw;
  max-width: 460px; max-height: 460px;
  background: radial-gradient(circle, #025C4E 0%, transparent 65%);
  top: 40%; left: 30%;
  animation: orb6 26s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
}

.hero-logo {
  display: block;
  height: clamp(62px, 11vw, 125px);
  width: auto;
  margin-inline: auto;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.hero-headline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(245,251,247,.5);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-size: clamp(0.75rem, 1.2vw, 0.88rem);
  color: rgba(245,251,247,.25);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.4;
}

.hero-coming-soon {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,251,247,.3);
  border: 1px solid rgba(245,251,247,.1);
  padding: 0.35em 1em;
  border-radius: 100px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50%       { transform: translateY(6px); opacity: 0.7; }
}
.hero-scroll-hint {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  color: rgba(245,251,247,.4);
  animation: bounce 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint { animation: none; }
}

/* ─── Section divider ────────────────────────────────────── */
.divider-fade {
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(24,188,156,.25), transparent);
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about {
  background: var(--bg);
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-heading {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 1.75rem;
}

.about-body p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 680px;
}
.about-body p:last-of-type { margin-bottom: 0; }

.about-tagline {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--primary);
  border-left: 3px solid var(--accent);
  padding-left: .85rem;
}

/* ─── TIMER ──────────────────────────────────────────────── */
.timer-section {
  background: var(--dark-calm);
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.timer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 760px) {
  .timer-inner { grid-template-columns: 1fr; }
}

.timer-screenshot {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.timer-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.timer-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.timer-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: .75rem;
}

.timer-subheading {
  font-size: 1.05rem;
  color: rgba(245,251,247,.6);
  margin-bottom: 1.25rem;
}

.timer-desc {
  font-size: .97rem;
  color: rgba(245,251,247,.55);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.timer-features {
  list-style: none;
  margin-bottom: 2.25rem;
}
.timer-features li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(245,251,247,.75);
  font-size: .95rem;
  margin-bottom: .55rem;
}
.timer-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Button ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85em 2em;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #0D1412;
}
.btn-primary:hover {
  background: #15a888;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(24,188,156,.35);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ─── WHAT'S COMING ──────────────────────────────────────── */
.coming {
  background: var(--bg);
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.coming-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.coming-heading {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(190,201,197,.55);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  border-color: rgba(24,188,156,.4);
  box-shadow: 0 8px 32px rgba(3,107,92,.08);
  transform: translateY(-3px);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(24,188,156,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--primary);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .65rem;
}
.card p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-base);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.footer-heading {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.footer-text {
  color: rgba(245,251,247,.55);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: .75rem;
  line-height: 1.7;
}

.footer-stay {
  color: rgba(245,251,247,.4);
  font-size: .93rem;
  margin-bottom: 2.5rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(245,251,247,.08);
  margin: 2.5rem 0 1.75rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-collab {
  font-size: .88rem;
  color: rgba(245,251,247,.4);
}
.footer-collab a {
  color: var(--accent);
  border-bottom: 1px solid rgba(24,188,156,.3);
  transition: border-color var(--transition), color var(--transition);
}
.footer-collab a:hover {
  color: #15a888;
  border-color: #15a888;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .4rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  color: rgba(245,251,247,.3);
}
.footer-legal a {
  color: rgba(245,251,247,.3);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal a:hover {
  color: rgba(245,251,247,.7);
}

.footer-copy {
  font-size: .82rem;
  color: rgba(245,251,247,.22);
}
