:root {
  --ink: #141923;
  --muted: #667085;
  --line: #d9dee8;
  --soft: #f6f8fb;
  --paper: #ffffff;
  --aqua: #0f766e;
  --aqua-dark: #0b4a43;
  --aqua-light: #d8f6ef;
  --mint: #e4f7f3;
  --coral: #c94f3d;
  --sun: #f6c453;
  --blue: #2563eb;
  --shadow: 0 18px 48px rgba(20, 25, 35, 0.12);
  --button-shadow: 0 12px 26px rgba(15, 118, 110, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 52%, #f8fbfa 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: rgba(10, 14, 22, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  min-width: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: cover;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a,
.footer-store-link,
.primary-button,
.secondary-button,
.filter-button,
.app-link {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav-links a:hover,
.footer-store-link:hover,
.primary-button:hover,
.secondary-button:hover,
.app-link:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: min(720px, 86vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/easyai-hero-ai-apps.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 14, 22, 0.88), rgba(10, 14, 22, 0.54)),
    rgba(10, 14, 22, 0.24);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  width: fit-content;
  padding: 7px 10px;
  color: #c8fff3;
  background: rgba(15, 118, 110, 0.2);
  border: 1px solid rgba(216, 246, 239, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 9vw, 7.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.03rem, 2vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button,
.app-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  padding: 0 22px;
  color: #073f39;
  background: var(--aqua-light);
  border: 1px solid rgba(216, 246, 239, 0.72);
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.22);
}

.primary-button.dark {
  color: var(--aqua-dark);
  background: #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.22);
  box-shadow: var(--button-shadow);
}

.secondary-button {
  padding: 0 20px;
  color: #e7fff8;
  border: 1px solid rgba(216, 246, 239, 0.42);
  background: rgba(216, 246, 239, 0.1);
  backdrop-filter: blur(8px);
}

.metrics {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -44px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metrics div {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  background: var(--paper);
}

.metrics strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.metrics span {
  margin-top: 10px;
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 116px) 0 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 90px);
}

.section-heading h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-copy p {
  margin-top: 0;
}

.app-showcase .section-heading {
  max-width: 760px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  color: #40505e;
  font: inherit;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  color: var(--aqua-dark);
  background: var(--aqua-light);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.1);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.app-card {
  grid-column: span 4;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(20, 25, 35, 0.07);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow: 0 22px 46px rgba(20, 25, 35, 0.1);
}

.app-card.featured {
  grid-column: span 8;
  background:
    linear-gradient(135deg, #ffffff 0%, #f3fbf8 100%);
}

.app-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.app-icon {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(20, 25, 35, 0.06);
  box-shadow: 0 12px 26px rgba(20, 25, 35, 0.13);
}

.app-meta {
  min-width: 0;
}

.app-meta h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.14;
}

.app-category {
  display: inline-flex;
  margin-top: 8px;
  color: var(--aqua);
  font-size: 0.88rem;
  font-weight: 850;
}

.app-description {
  margin: 22px 0 0;
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.stat {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  background: #f7fafc;
  border: 1px solid #edf1f5;
  border-radius: 8px;
}

.stat strong {
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

.app-link {
  width: 100%;
  margin-top: 18px;
  color: var(--aqua-dark);
  background: var(--aqua-light);
  border: 1px solid rgba(15, 118, 110, 0.22);
  box-shadow: var(--button-shadow);
}

.app-link:hover {
  background: #c9f1e8;
}

.product-standard {
  padding-top: clamp(60px, 8vw, 92px);
}

.standard-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(34px, 5vw, 62px) 0;
  border-top: 1px solid #dfe6ee;
  border-bottom: 1px solid #dfe6ee;
}

.standard-copy {
  align-self: start;
}

.standard-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.standard-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.standard-board {
  display: grid;
}

.standard-board article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid #e5eaf1;
}

.standard-board article:first-child {
  border-top: 0;
  padding-top: 0;
}

.standard-board article:last-child {
  padding-bottom: 0;
}

.standard-board span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: var(--aqua-dark);
  border-radius: 8px;
  font-weight: 900;
}

.standard-board h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.34rem);
  line-height: 1.2;
}

.standard-board p {
  margin: 8px 0 0;
  color: var(--muted);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.capability-grid article {
  padding: 26px;
  background: #ffffff;
  border: 1px solid #e7edf3;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 25, 35, 0.05);
}

.capability-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: var(--aqua);
  border-radius: 8px;
  font-weight: 900;
}

.capability-grid h3 {
  margin: 22px 0 8px;
  font-size: 1.25rem;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-band {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: clamp(72px, 10vw, 116px) auto 0;
  padding: clamp(28px, 5vw, 54px);
  color: var(--ink);
  background:
    linear-gradient(135deg, var(--mint), #fff7df);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
}

.contact-band h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3.5vw, 3.3rem);
}

.contact-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: #40505e;
  font-size: 1.02rem;
}

.contact-copy a {
  color: var(--aqua-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: min(260px, 100%);
}

.secondary-button.light {
  color: var(--aqua-dark);
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(15, 118, 110, 0.18);
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 34px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-brand {
  display: grid;
  gap: 6px;
  max-width: 560px;
}

.footer-brand span:first-child,
.footer-policy > span {
  color: var(--ink);
  font-weight: 900;
}

.footer-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
}

.footer-store-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #073f39;
  font-weight: 900;
  white-space: nowrap;
  background: var(--aqua-light);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  box-shadow: var(--button-shadow);
}

.footer-policy {
  display: grid;
  gap: 7px;
}

.footer-policy-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-policy-links a {
  color: var(--aqua-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-policy-links a:hover {
  color: var(--coral);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .intro,
  .capability-grid,
  .metrics,
  .contact-band,
  .standard-layout {
    grid-template-columns: 1fr;
  }

  .standard-copy p:not(.eyebrow) {
    max-width: 680px;
  }

  .app-card,
  .app-card.featured {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
    padding: 10px 14px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-actions {
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
  }

  .primary-button,
  .secondary-button,
  .contact-actions,
  .footer-store-link {
    width: 100%;
  }

  .metrics {
    margin-top: -28px;
  }

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

  .app-card,
  .app-card.featured {
    grid-column: auto;
    min-height: auto;
  }

  .app-top {
    gap: 13px;
  }

  .app-icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .standard-layout {
    padding: 28px 0;
  }

  .standard-board article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }
}
