/* ============================================================
   GrozavBank — Sections
   Navbar, hero, mobile showcase, dashboard, features,
   security, pricing, cta, footer
   ============================================================ */

/* ---------- navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    backdrop-filter var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 6, 18, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.nav__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color var(--t-fast);
}

.nav__links a:hover {
  color: #fff;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 20px 24px 24px;
  background: rgba(5, 6, 18, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.nav__mobile a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.nav__mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 160px 0 100px;
  overflow: hidden;
  background: var(--bg-0);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}

.hero__glow--a {
  width: 720px;
  height: 720px;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 70%);
}

.hero__glow--b {
  width: 460px;
  height: 460px;
  bottom: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.38), transparent 70%);
  opacity: 0.5;
}

.hero__stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      1px 1px at 12% 22%,
      rgba(255, 255, 255, 0.6),
      transparent 60%
    ),
    radial-gradient(1px 1px at 74% 12%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 33% 62%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 85% 48%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 58% 88%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1px 1px at 20% 78%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 46% 32%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 92% 74%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1px 1px at 8% 48%, rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0.8;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse 60% 50% at 50% 35%,
    #000 40%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 60% 50% at 50% 35%,
    #000 40%,
    transparent 80%
  );
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__copy {
  max-width: 620px;
}

.hero__title {
  margin-top: 20px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero__subtitle {
  margin-top: 22px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.hero__ctas {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  min-height: 480px;
}

.hero__visual .bankcard {
  position: absolute;
  transition: transform 0.7s var(--ease);
}

.hero__visual .bankcard--violet {
  top: 20px;
  left: 50px;
  transform: rotate(-10deg);
  z-index: 3;
  animation: float-a 8s var(--ease) infinite;
}

.hero__visual .bankcard--graphite {
  top: 120px;
  right: 0;
  transform: rotate(6deg);
  z-index: 2;
  animation: float-b 9s var(--ease) infinite;
}

.hero__visual .bankcard--light {
  bottom: -20px;
  left: 20px;
  transform: rotate(-2deg);
  z-index: 1;
  opacity: 0.95;
  animation: float-c 10s var(--ease) infinite;
}

@keyframes float-a {
  0%, 100% {
    transform: rotate(-10deg) translateY(0);
  }
  50% {
    transform: rotate(-9deg) translateY(-10px);
  }
}

@keyframes float-b {
  0%, 100% {
    transform: rotate(6deg) translateY(0);
  }
  50% {
    transform: rotate(7deg) translateY(8px);
  }
}

@keyframes float-c {
  0%, 100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(-1deg) translateY(-6px);
  }
}

/* ---------- mobile showcase ---------- */
.mobile-showcase {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1) 60%, var(--bg-0));
  overflow: hidden;
}

.mobile-showcase::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 520px;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.12),
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}

.phones {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.phones .phone:nth-child(1) {
  transform: translateY(20px) rotate(-2deg);
}

.phones .phone:nth-child(2) {
  transform: translateY(-10px);
  z-index: 2;
}

.phones .phone:nth-child(3) {
  transform: translateY(20px) rotate(2deg);
}

/* ---------- desktop dashboard ---------- */
.dashboard {
  padding: 120px 0;
  background: var(--white);
  color: var(--color-text-dark);
  position: relative;
}

.dashboard .section-head {
  max-width: 760px;
}

.dashboard .section-title {
  color: var(--gray-900);
}

.dashboard .section-sub {
  color: var(--gray-500);
}

/* ---------- features ---------- */
.features {
  padding: 120px 0;
  background: var(--bg-0);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.1),
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}

/* ---------- security ---------- */
.security {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #060715, #0b0a22);
  isolation: isolate;
}

.security__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.security__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
  filter: blur(100px);
}

.security__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 70% 60% at 30% 50%,
    #000 40%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 30% 50%,
    #000 40%,
    transparent 80%
  );
  opacity: 0.6;
}

.security__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.security__copy {
  max-width: 580px;
}

.security__visual {
  display: grid;
  place-items: center;
}

.secpanel {
  width: 100%;
  max-width: 400px;
}

/* ---------- pricing ---------- */
.pricing {
  padding: 120px 0;
  background: var(--gray-50);
  color: var(--color-text-dark);
}

.pricing .section-title {
  color: var(--gray-900);
}

.pricing .section-sub {
  color: var(--gray-500);
}

/* ---------- final CTA ---------- */
.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #050612 0%, #0f0a28 55%, #050612 100%);
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 420px;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 92, 246, 0.35),
    transparent 70%
  );
  filter: blur(90px);
}

.cta__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 800;
}

.cta__sub {
  margin: 18px auto 0;
  max-width: 540px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
}

.cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.cta__note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- footer ---------- */
.footer {
  background: #030410;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 70px 0 24px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer__brand {
  max-width: 320px;
}

.footer__desc {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

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

.footer__cols h5 {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer__cols a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 0;
  transition: color var(--t-fast);
}

.footer__cols a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 10px;
}

.footer__disclaimer {
  font-style: italic;
}
