:root {
  --navy: #1a2740;
  --navy-deep: #0f172a;
  --navy-mid: #1e293b;
  --slate-700: #334155;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --teal: #4ab8ac;
  --teal-dark: #3a9a90;
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 10px;
  --font: "Figtree", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.25rem 0;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav__logo img {
  height: 32px;
  width: auto;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-300);
}

.site-nav__links a:hover {
  color: var(--white);
}

.site-nav__login {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav__login:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  background: var(--indigo);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-nav__cta:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--slate-700);
  color: var(--white);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(74, 184, 172, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(79, 70, 229, 0.12), transparent 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 45%, #152033 100%);
  color: var(--white);
  padding: 6.5rem 0 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: end;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero__copy {
  padding-bottom: 4.5rem;
  max-width: 28rem;
}

.hero__brand {
  height: 52px;
  width: auto;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.1s;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.25s;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  color: var(--slate-300);
  max-width: 24rem;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.4s;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.55s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

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

.btn--primary {
  background: var(--teal);
  color: var(--navy-deep);
}

.btn--primary:hover {
  background: #5ec4b9;
}

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

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.hero__visual {
  position: relative;
  opacity: 0;
  animation: rise 1s ease forwards 0.35s;
}

/* App UI mockup */
.app-frame {
  background: var(--slate-100);
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  box-shadow:
    0 -20px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 420px;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transform-origin: bottom right;
}

.app-sidebar {
  background: var(--navy-mid);
  color: var(--slate-300);
  font-size: 0.75rem;
  padding: 0;
  border-right: 1px solid var(--slate-700);
}

.app-sidebar__brand {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--slate-700);
}

.app-sidebar__brand img {
  height: 22px;
  width: auto;
}

.app-sidebar__user {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--slate-700);
  font-size: 0.7rem;
}

.app-sidebar__user strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.75rem;
}

.app-sidebar nav {
  padding: 0.65rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.app-sidebar nav span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  color: var(--slate-300);
}

.app-sidebar nav span.is-active {
  background: var(--indigo);
  color: var(--white);
  font-weight: 600;
}

.app-sidebar nav svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-topbar {
  height: 48px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.app-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.app-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
}

.app-stat h4 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

.app-stat p {
  margin: 0.2rem 0 0.55rem;
  font-size: 0.65rem;
  color: var(--muted);
}

.app-stat dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.app-stat div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.7rem;
  color: var(--muted);
}

.app-stat dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.app-calendar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  flex: 1;
}

.app-calendar__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.app-calendar__head h4 {
  margin: 0;
  font-size: 0.8rem;
}

.app-calendar__head span {
  font-size: 0.65rem;
  color: var(--muted);
}

.app-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.app-calendar__grid > span {
  aspect-ratio: 1.2;
  border-radius: 4px;
  background: var(--slate-100);
  font-size: 0.55rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2px 3px;
  color: var(--muted);
  position: relative;
}

.app-calendar__grid > span.has-offer::after,
.app-calendar__grid > span.has-deal::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.app-calendar__grid > span.has-offer::after {
  background: #3b82f6;
}

.app-calendar__grid > span.has-deal::after {
  background: #10b981;
}

/* ——— Sections ——— */
section {
  padding: 5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
}

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

/* Audience */
.audience {
  background:
    linear-gradient(180deg, #f8fafc 0%, var(--white) 100%);
}

.audience__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.audience__list li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--teal);
}

.audience__list h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  color: var(--navy);
}

.audience__list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
}

/* How it looks */
.look {
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}

.look .section-head h2 {
  color: var(--white);
}

.look .section-head p {
  color: var(--slate-400);
}

.look__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.look__points {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.look__points li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.look__points li.is-visible {
  opacity: 1;
  transform: none;
}

.look__points h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.look__points p {
  margin: 0;
  color: var(--slate-400);
  font-size: 0.975rem;
}

.look__screen {
  background: var(--navy-mid);
  border: 1px solid var(--slate-700);
  border-radius: 12px;
  padding: 0.85rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.look__screen .app-frame {
  transform: none;
  border-radius: 10px;
  border: none;
  min-height: 340px;
  box-shadow: none;
}

.look__screen .app-sidebar {
  display: none;
}

.look__screen .app-frame {
  grid-template-columns: 1fr;
}

/* Features */
.features {
  background: var(--slate-100);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.feature:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid var(--border);
}

.feature:nth-child(even) {
  padding-left: 2rem;
}

.feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(74, 184, 172, 0.12), transparent 50%),
    var(--white);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.contact__details dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0;
}

.contact__details dd {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
}

.contact__details a:hover {
  color: var(--teal-dark);
}

.contact__panel {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  border-radius: 12px;
}

.contact__panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.contact__panel p {
  margin: 0 0 1.5rem;
  color: var(--slate-300);
  font-size: 0.975rem;
}

.contact__panel .btn--primary {
  width: 100%;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--slate-400);
  padding: 2rem 0;
  font-size: 0.875rem;
}

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

.site-footer img {
  height: 24px;
  width: auto;
  opacity: 0.85;
}

.site-footer a:hover {
  color: var(--white);
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero__brand,
  .hero h1,
  .hero__lead,
  .hero__actions,
  .hero__visual {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__copy {
    padding-bottom: 0;
    max-width: none;
  }

  .app-frame {
    transform: none;
    grid-template-columns: 140px 1fr;
    min-height: 360px;
  }

  .look__layout,
  .contact__layout,
  .audience__list {
    grid-template-columns: 1fr;
  }

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

  .feature:nth-child(odd),
  .feature:nth-child(even) {
    padding: 1.5rem 0;
    border-right: none;
  }
}

@media (max-width: 720px) {
  .site-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-mid);
    border: 1px solid var(--slate-700);
    border-radius: 10px;
    padding: 0.5rem;
  }

  .site-nav__links.is-open {
    display: flex;
  }

  .site-nav__links a {
    padding: 0.75rem 1rem;
    border-radius: 6px;
  }

  .site-nav__links a:hover {
    background: var(--slate-700);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .app-frame {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .app-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5.5rem;
  }

  section {
    padding: 3.5rem 0;
  }
}
