* {
  box-sizing: border-box;
}

:root {
  --bg: #f4f6f0;
  --card: #ffffff;
  --text: #16233f;
  --muted: #5f6b7f;
  --line: #dde2e8;
  --green: #6aa322;
  --green-dark: #5a911b;
  --green-soft: #eef5e3;
  --shadow: 0 10px 30px rgba(26, 35, 56, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  position: relative;
  overflow-x: hidden;
}

/* Background decoration */
.bg-shape {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.shape-left {
  left: -120px;
  bottom: -60px;
  width: 300px;
  height: 420px;
  background: linear-gradient(180deg, #dbeec1 0%, #b4db7e 100%);
  border-top-right-radius: 220px;
  border-bottom-right-radius: 40px;
  transform: rotate(12deg);
}

.shape-right {
  right: -180px;
  bottom: -140px;
  width: 460px;
  height: 260px;
  background: linear-gradient(180deg, #d9edba 0%, #b1d978 100%);
  border-radius: 55% 45% 0 0;
}

.dot-grid {
  position: fixed;
  width: 140px;
  height: 140px;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--green) 1.8px, transparent 1.8px);
  background-size: 20px 20px;
  opacity: 0.35;
}

.dots-top {
  top: 10px;
  right: 12px;
}

.dots-bottom {
  left: 10px;
  bottom: 10px;
}

/* Main layout */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 28px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card {
  width: 100%;
  max-width: 980px;
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 34px 34px 28px;
  border: 1px solid rgba(22, 35, 63, 0.04);
}

/* Header */
.hero {
  text-align: center;
  padding-top: 4px;
}

.logo {
  width: 170px;
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #16233f;
}

.subtitle {
  margin: 14px 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #5f6b7f;
  font-weight: 400;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}

/* Menu cards */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-card {
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e6eaef;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(22, 35, 63, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(22, 35, 63, 0.08);
  border-color: #d6dfcf;
}

.menu-icon {
  width: 104px;
  height: 104px;
  min-width: 104px;
  border-radius: 22px;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-icon svg {
  width: 54px;
  height: 54px;
}

.menu-text {
  flex: 1;
  min-width: 0;
}

.menu-text h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  color: #111a30;
}

.menu-text p {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.45;
  color: var(--muted);
  max-width: 520px;
}

.menu-arrow {
  width: 42px;
  min-width: 42px;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-arrow svg {
  width: 30px;
  height: 30px;
}

/* Footer */
.footer-divider {
  margin-top: 34px;
  margin-bottom: 22px;
}

.footer {
  text-align: center;
  color: var(--muted);
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 1rem;
}

.shield {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shield svg {
  width: 24px;
  height: 24px;
}

.bullet {
  color: #7f8a9d;
}

.footer p {
  margin: 18px 0 0;
  font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 768px) {
  .page {
    padding: 18px 12px;
  }

  .app-card {
    padding: 24px 16px 22px;
    border-radius: 22px;
  }

  .divider {
    margin: 24px 0;
  }

  .menu-card {
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
  }

  .menu-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 18px;
  }

  .menu-icon svg {
    width: 36px;
    height: 36px;
  }

  .menu-arrow {
    width: 28px;
    min-width: 28px;
  }

  .menu-arrow svg {
    width: 22px;
    height: 22px;
  }

  .footer-line {
    font-size: 0.95rem;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .menu-text h2 {
    font-size: 1.45rem;
  }

  .menu-text p {
    font-size: 1rem;
  }
}
