/* Longoria Apps website
   Clean, responsive, and intentionally framework-free. */

:root {
  --ink: #111827;
  --muted: #5f6878;
  --line: #e6e9ef;
  --surface: #f5f7fb;
  --white: #ffffff;
  --blue: #0568e9;
  --blue-dark: #004bb2;
  --navy: #06142f;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow: 0 18px 50px rgba(11, 30, 67, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(230, 233, 239, 0.85);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
}

.nav-shell {
  width: min(1160px, calc(100% - 40px));
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, #06a5ff, #0646e9);
  box-shadow: 0 8px 20px rgba(5, 104, 233, 0.25);
  font-size: 0.8rem;
  letter-spacing: -0.05em;
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  color: #434b59;
  font-size: 0.94rem;
  font-weight: 620;
  text-decoration: none;
}

nav a:hover {
  color: var(--blue);
}

.hero {
  padding-top: 48px;
  padding-bottom: 82px;
}

.hero-art {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: 0 24px 70px rgba(3, 20, 57, 0.18);
}

.hero-art img {
  width: 100%;
  height: auto;
}

.hero-copy {
  max-width: 840px;
  margin: 54px auto 0;
  text-align: center;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(5, 104, 233, 0.22);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2,
.about-section h2,
.contact-card h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-heading > p:last-child,
.about-copy,
.contact-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.app-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: 0 12px 34px rgba(25, 42, 75, 0.055);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.app-card.featured {
  border-color: rgba(5, 104, 233, 0.25);
  background:
    radial-gradient(circle at top right, rgba(35, 142, 255, 0.15), transparent 42%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, #0ba4ff, #0d47e6);
  box-shadow: 0 12px 28px rgba(5, 104, 233, 0.22);
  font-size: 1.55rem;
  font-weight: 800;
}

.status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #73570a;
  background: #fff4c8;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status.available {
  color: #0c663f;
  background: #dff8eb;
}

.app-card h3 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.app-card p {
  color: var(--muted);
}

.app-card .platforms {
  margin: 26px 0 0;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
}

.about-section {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.contact-card {
  margin-top: 92px;
  margin-bottom: 92px;
  padding: 48px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(19, 143, 255, 0.55), transparent 35%),
    linear-gradient(135deg, #04122c, #082c73);
  box-shadow: 0 24px 70px rgba(3, 20, 57, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.contact-card .eyebrow {
  color: #69c0ff;
}

.contact-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-card p a {
  color: var(--white);
  font-weight: 740;
}

.contact-card .button.primary {
  flex: 0 0 auto;
  color: #07152f;
  background: var(--white);
  box-shadow: none;
}

footer {
  border-top: 1px solid var(--line);
}

.footer-grid {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 800px) {
  nav {
    gap: 16px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 58px;
  }

  .hero-copy {
    margin-top: 38px;
  }

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

  .about-grid {
    gap: 24px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell,
  .nav-shell {
    width: min(100% - 24px, 1160px);
  }

  .nav-shell {
    min-height: 62px;
  }

  nav a:nth-child(2) {
    display: none;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-art {
    border-radius: 18px;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .app-card {
    min-height: auto;
    padding: 24px;
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .app-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 1.25rem;
  }

  .contact-card {
    margin-top: 58px;
    margin-bottom: 58px;
    padding: 30px 24px;
    border-radius: 22px;
  }

  .footer-grid {
    padding-block: 24px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .app-card {
    transition: none;
  }
}
