:root {
  --blue: #1a6bff;
  --blue-dark: #0b2d6b;
  --blue-deep: #071a40;
  --blue-soft: #e8f0ff;
  --blue-mid: #3d8bff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f7f9fc;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(7, 26, 64, 0.18);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.nav-links a {
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(26, 107, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(26, 107, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(61, 139, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 10%, rgba(120, 180, 255, 0.22), transparent 50%),
    linear-gradient(145deg, #071a40 0%, #0b2d6b 45%, #1347a0 100%);
  color: var(--white);
  padding: 72px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.06), transparent 40%),
    linear-gradient(180deg, transparent 60%, rgba(7, 26, 64, 0.25));
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 12ch;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38ch;
  margin-bottom: 28px;
}

.hero-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-bottom: 34px;
}

.hero-checks li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(61, 139, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.check-icon svg {
  width: 12px;
  height: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.app-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 10px 18px 10px 14px;
  border-radius: 12px;
  transition: transform 0.2s, opacity 0.2s;
}

.app-store:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.app-store svg {
  width: 28px;
  height: 28px;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-store-text small {
  font-size: 0.68rem;
  opacity: 0.85;
}

.app-store-text strong {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Phone stack */
.phone-stack {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: absolute;
  width: 210px;
  background: #111;
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: transform 0.35s ease;
}

.phone img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
  background: #f2f2f7;
}

.phone-1 {
  left: 8%;
  top: 40px;
  transform: rotate(-8deg);
  z-index: 1;
}

.phone-2 {
  left: 28%;
  top: 10px;
  transform: rotate(-2deg);
  z-index: 3;
  width: 230px;
}

.phone-3 {
  right: 18%;
  top: 55px;
  transform: rotate(6deg);
  z-index: 2;
}

.phone-4 {
  right: 0;
  top: 120px;
  transform: rotate(12deg);
  z-index: 1;
  width: 190px;
  opacity: 0.95;
}

.phone:hover {
  transform: translateY(-8px) scale(1.02);
  z-index: 5;
}

.phone-1:hover { transform: rotate(-8deg) translateY(-8px) scale(1.02); }
.phone-2:hover { transform: rotate(-2deg) translateY(-8px) scale(1.02); }
.phone-3:hover { transform: rotate(6deg) translateY(-8px) scale(1.02); }
.phone-4:hover { transform: rotate(12deg) translateY(-8px) scale(1.02); }

/* Features */
.features {
  padding: 88px 0 40px;
  background: var(--bg);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  padding: 28px 22px 26px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Screens showcase */
.showcase {
  padding: 64px 0 88px;
  background: var(--bg);
}

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

.shot {
  background: var(--white);
  border-radius: 24px;
  padding: 16px 16px 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s;
}

.shot:hover {
  transform: translateY(-4px);
}

.shot-frame {
  border-radius: 18px;
  overflow: hidden;
  background: #f2f2f7;
  margin-bottom: 14px;
}

.shot-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  padding: 0 4px;
}

.shot p {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0 4px;
}

/* Support */
.support {
  padding: 0 0 88px;
  background: var(--bg);
}

.support-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, #edf4ff, #f5f8ff);
  border: 1px solid #d6e6ff;
  border-radius: 24px;
  padding: 36px 40px;
}

.support-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.support-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 2px solid var(--blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.7);
}

.support-icon svg {
  width: 28px;
  height: 28px;
}

.support-left h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.support-left p {
  color: var(--muted);
}

.support-right {
  text-align: right;
  flex-shrink: 0;
}

.support-right .email {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 28ch;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* Motion */
@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left,
.phone-stack {
  animation: float-in 0.7s ease both;
}

.phone-stack {
  animation-delay: 0.12s;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    max-width: none;
  }

  .phone-stack {
    height: 440px;
    margin: 0 auto;
    max-width: 520px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links,
  .nav .btn {
    display: none;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  }

  .nav.open .btn {
    display: inline-flex;
    position: absolute;
    top: 280px;
    left: 24px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-checks {
    grid-template-columns: 1fr;
  }

  .phone {
    width: 160px;
  }

  .phone-2 {
    width: 180px;
  }

  .phone-4 {
    width: 145px;
  }

  .phone-stack {
    height: 360px;
  }

  .support-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .support-left {
    flex-direction: column;
  }

  .support-right {
    text-align: center;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .phone-4 {
    display: none;
  }
}
