@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --bg: #030814;
  --bg-soft: #07111e;
  --panel: rgba(7, 17, 30, 0.76);
  --panel-strong: rgba(9, 16, 30, 0.9);
  --line: rgba(109, 253, 179, 0.32);
  --line-strong: rgba(111, 255, 194, 0.55);
  --text: #f2f7f4;
  --muted: rgba(232, 244, 238, 0.76);
  --accent: #78f4ba;
  --accent-2: #37d77f;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(49, 140, 91, 0.12), transparent 20%),
    radial-gradient(circle at 85% 18%, rgba(71, 211, 143, 0.12), transparent 22%),
    linear-gradient(180deg, #030713 0%, #02040d 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 143, 117, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 143, 117, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .35;
  pointer-events: none;
  z-index: -2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 34px 0 26px;
  position: relative;
  z-index: 2;
}

.section + .section {
  padding-top: 50px;
}

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.45;
  border-radius: 999px;
}
.ambient-a {
  width: 340px;
  height: 340px;
  background: rgba(69, 186, 116, 0.26);
  top: 110px;
  right: -40px;
}
.ambient-b {
  width: 280px;
  height: 280px;
  background: rgba(63, 218, 158, 0.18);
  left: -80px;
  top: 320px;
}
.ambient-c {
  width: 300px;
  height: 300px;
  background: rgba(90, 255, 184, 0.1);
  right: 8%;
  bottom: 8%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 10px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border-radius: 0 0 34px 34px;
}

.glass {
  position: relative;
  background:
    linear-gradient(135deg, rgba(28, 67, 54, 0.30), rgba(7, 12, 25, 0.82) 40%, rgba(23, 54, 62, 0.35));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(168, 255, 213, 0.06), var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(138, 255, 203, 0.22), rgba(138, 255, 203, 0.03), rgba(138, 255, 203, 0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.glass-strong {
  background:
    linear-gradient(135deg, rgba(18, 38, 34, 0.42), rgba(6, 10, 24, 0.94) 42%, rgba(8, 25, 30, 0.44));
}

.outline {
  box-shadow:
    inset 0 0 0 1px rgba(111, 255, 194, 0.08),
    0 0 0 1px rgba(111, 255, 194, 0.10),
    0 20px 80px rgba(0, 0, 0, 0.4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: fit-content;
}

.brand-flag {
  width: 34px;
  height: 24px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 45% 50%, #fff 0 9%, transparent 10% 100%),
    radial-gradient(circle at 52% 50%, #d8182f 0 14%, transparent 15% 100%),
    linear-gradient(180deg, #e31b23, #cb0d1b);
  box-shadow: 0 0 24px rgba(255,255,255,.08);
  position: relative;
}
.brand-flag::after {
  content:"★";
  position:absolute;
  right:5px;
  top:2px;
  font-size:11px;
  color:#fff;
}
.brand-badge {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: linear-gradient(135deg, #111, #1e3027);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.04em;
  box-shadow: 0 0 30px rgba(120, 244, 186, 0.16);
}
.brand-wordmark {
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: .9;
}
.brand-wordmark small {
  font-size: .42em;
  vertical-align: top;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  flex-wrap: wrap;
}
.main-nav a {
  color: #f7faf8;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: .94;
  transition: color .25s ease, opacity .25s ease, transform .25s ease;
}
.main-nav a:hover {
  color: var(--accent);
  opacity: 1;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 12, 23, .78);
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  border-radius: 99px;
}

.hero { padding-top: 58px; }
.hero-card {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 34px;
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.hero-card h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: .9;
  letter-spacing: -0.08em;
  color: var(--accent);
  text-wrap: balance;
}
.lead {
  margin: 30px auto 20px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: rgba(244, 250, 246, 0.92);
  font-weight: 600;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  min-height: 72px;
  padding: 0 34px;
  margin: 12px auto 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 800;
  background: linear-gradient(180deg, #4cf084, #20b45b);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 28px rgba(62, 238, 136, .38);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 0 38px rgba(62, 238, 136, .5);
}
.hero-note {
  max-width: 880px;
  margin: 8px auto 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
}

.tag-row,
.stats-grid,
.two-grid,
.three-grid,
.four-grid,
.article-stack,
.content-flow,
.faq-list {
  margin-top: 28px;
}

.tag-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(8, 20, 23, 0.65);
  border: 1px solid var(--line);
  color: #dffceb;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(111,255,194,.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mini-panel {
  border-radius: var(--radius);
  min-height: 140px;
  padding: 26px;
  display: grid;
  place-items: center;
  text-align: center;
}
.mini-panel strong {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: .9;
  margin-bottom: 10px;
}
.mini-panel span {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.wide-note {
  border-radius: 30px;
  padding: 30px 34px;
}
.wide-note h2,
.article-card h3,
.info-card h3,
.featured-card h3,
.icon-card h3,
.text-block h2 {
  margin: 0 0 14px;
}
.wide-note h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  display: flex;
  align-items: center;
  gap: 12px;
}
.wide-note h2::before,
.stripe-card::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 28px;
  width: 6px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #78f4ba, #37d77f);
  box-shadow:
    0 0 12px rgba(120, 244, 186, 0.6),
    0 0 24px rgba(120, 244, 186, 0.35),
    inset 0 0 6px rgba(255,255,255,0.15);
  z-index: 2;
}
.wide-note p,
.text-block p,
.info-card p,
.featured-card p,
.icon-card p,
.article-card p,
.faq-item p,
.section-intro,
.footer-inner p,
.footer-links {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--muted);
}

.section-title {
  display: inline-flex;
  align-items: center;
  min-height: 88px;
  padding: 0 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(46, 104, 81, 0.45), rgba(10, 14, 29, 0.9));
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: var(--shadow);
}

.section-intro {
  max-width: 1160px;
  margin-top: 24px;
}

.two-grid,
.three-grid,
.four-grid {
  display: grid;
  gap: 18px;
}
.two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stripe-card,
.info-card,
.featured-card,
.icon-card,
.article-card {
  border-radius: var(--radius);
  padding: 28px;
}
.stripe-card {
  position: relative;
  display: block;
  min-height: 126px;
  padding: 28px 28px 28px 40px;
  z-index: 1;
}
.long-strip { margin-top: 22px; }
.stripe-card::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 26px;
  width: 10px;
  height: 40px;
  border-radius: 999px;
  background: rgba(120, 244, 186, 0.22);
  filter: blur(6px);
  z-index: 1;
}


.info-card h3,
.featured-card h3,
.icon-card h3 {
  font-size: 1.72rem;
  color: #c9ffd8;
}

.featured-card,
.article-card {
  border-style: dashed;
}

.article-stack {
  display: grid;
  gap: 22px;
}
.article-card {
  padding: 30px 32px;
}
.article-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: #cdfddb;
}
.reading-time {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(255,255,255,.85);
  font-size: 1.22rem;
  font-weight: 600;
}
.content-flow {
  display: grid;
  gap: 20px;
}
.text-block h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  color: #bdfbcf;
}
.offset-top { margin-top: 18px; }

.icon {
  display: inline-block;
  font-size: 1.65rem;
  margin-bottom: 14px;
  color: #ffe784;
}

.dotted {
  border-style: dashed;
}

.faq-list {
  display: grid;
  gap: 18px;
}
.faq-item {
  border-radius: 22px;
  padding: 0 22px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 6px;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d4ffe1;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.7rem;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0;
  padding: 0 6px 24px;
}

.site-footer {
  margin: 46px auto 0;
  border-radius: 34px 34px 0 0;
}
.footer-inner {
  padding: 34px 0 38px;
  text-align: center;
}
.footer-nav {
  margin: 8px 0 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.footer-nav a {
  color: #c1ffd3;
  font-size: 1.14rem;
  font-weight: 700;
}
.footer-links { margin: 0; }
.copyright {
  margin: 10px 0 0;
  color: rgba(226, 234, 229, 0.72);
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.header-btn:hover {
  transform: translateY(-1px);
}

.header-btn-login {
  color: #dffceb;
  background: rgba(9, 18, 30, 0.72);
  border: 1px solid rgba(111, 255, 194, 0.28);
  box-shadow: inset 0 0 0 1px rgba(111,255,194,.05);
}

.header-btn-register {
  color: #04110b;
  background: linear-gradient(180deg, #78f4ba, #37d77f);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 20px rgba(62, 238, 136, .22);
}

@media (max-width: 1100px) {
  .main-nav a { font-size: 1rem; }
  .stats-grid,
  .four-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .site-header { padding-top: 0; }
  .nav-wrap { border-radius: 0 0 26px 26px; padding: 16px; }
  .menu-toggle { display: inline-block; }
  .main-nav {
    display: none;
    width: 100%;
    padding-top: 8px;
    flex-direction: column;
    align-items: flex-start;
    order: 4;
  }
  .header-actions {
    margin-left: 0;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding-top: 8px;
  }
  .nav-wrap.menu-open { flex-wrap: wrap; }
  .nav-wrap.menu-open .main-nav { display: flex; }
  .brand-wordmark { font-size: 1.9rem; }
  .hero { padding-top: 34px; }
  .hero-card h1 { font-size: clamp(2.6rem, 11vw, 4.8rem); }
  .section-title {
    min-height: 74px;
    font-size: clamp(1.8rem, 9vw, 3rem);
    padding: 0 20px;
  }
  .stats-grid,
  .two-grid,
  .three-grid,
  .four-grid {
    grid-template-columns: 1fr;
  }
  .mini-panel { min-height: 112px; }
  .wide-note,
  .info-card,
  .featured-card,
  .icon-card,
  .article-card,
  .hero-card {
    padding: 24px 20px;
    border-radius: 24px;
  }
  .stripe-card { padding: 24px 20px 24px 38px; border-radius: 24px; }
  .stripe-card::before { left: 16px; top: 24px; height: 32px; }
  .stripe-card::after { left: 14px; top: 22px; height: 36px; }
  .tag-row { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 20px)); }
  .brand { gap: 10px; }
  .brand-flag { width: 30px; height: 21px; }
  .brand-badge { width: 46px; height: 46px; }
  .brand-wordmark { font-size: 1.45rem; }
  .header-actions { gap: 8px; }
  .header-btn { min-height: 38px; padding: 0 14px; font-size: 0.86rem; }
  .lead,
  .wide-note p,
  .text-block p,
  .info-card p,
  .featured-card p,
  .icon-card p,
  .article-card p,
  .faq-item p,
  .section-intro,
  .footer-inner p,
  .footer-links {
    font-size: 1.04rem;
  }
  .cta {
    min-width: 138px;
    min-height: 62px;
    font-size: 1.4rem;
  }
}
