/* AeroFlow landing — mercek.net / PressFlow ailesi, ürün sinyali teal */

:root {
  --ink: #0b1117;
  --steel: #16212b;
  --paper: #f4f6f5;
  --paper-2: #e8ecea;
  --teal: #12b8a0;
  --teal-deep: #0d8f7c;
  --amber: #e8a33d;
  --mercek-orange: #e8833a;
  --muted: #5c6b76;
  --muted-soft: #8a9aa6;
  --line: rgba(11, 17, 23, 0.1);
  --line-on-ink: rgba(244, 246, 245, 0.12);
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal-deep);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.7rem var(--pad);
  background: rgba(244, 246, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.nav__brand span {
  color: var(--teal);
  font-weight: 700;
}

.nav__menu {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav__menu a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav__menu a:hover {
  color: var(--ink);
  border-bottom-color: var(--teal);
}

.nav__cta {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 0.4rem;
  background: var(--ink);
  color: var(--paper) !important;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition: background 0.2s var(--ease);
}

.nav__cta:hover {
  background: var(--teal-deep);
  color: var(--paper) !important;
}

@media (min-width: 840px) {
  .nav {
    gap: 2rem;
  }

  .nav__menu {
    display: flex;
  }

  .nav__cta {
    margin-left: 0;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}

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

.btn--primary {
  background: var(--teal);
  color: var(--ink) !important;
}

.btn--primary:hover {
  background: #3fd0ba;
  color: var(--ink) !important;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(244, 246, 245, 0.35);
  color: var(--paper) !important;
}

.btn--ghost:hover {
  border-color: var(--paper);
  color: var(--paper) !important;
}

.btn--ink {
  background: var(--ink);
  color: var(--paper) !important;
}

.btn--ink:hover {
  background: var(--steel);
  color: var(--paper) !important;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  display: grid;
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad) clamp(2rem, 5vw, 3rem);
  color: var(--paper);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(18, 184, 160, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232, 163, 61, 0.08), transparent 50%),
    linear-gradient(165deg, var(--ink) 0%, var(--steel) 55%, #0e181f 100%);
  overflow: hidden;
}

.hero__flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    -8deg,
    transparent,
    transparent 28px,
    rgba(244, 246, 245, 0.04) 28px,
    rgba(244, 246, 245, 0.04) 29px
  );
  animation: flow-drift 22s linear infinite;
}

@keyframes flow-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 -120px;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: end;
  }
}

.hero__copy {
  max-width: 34rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
}

.hero__brand span {
  color: var(--teal);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero__lede {
  margin: 0 0 1.75rem;
  color: rgba(244, 246, 245, 0.72);
  font-size: 1.05rem;
  max-width: 32rem;
}

.hero__visual {
  position: relative;
  justify-self: stretch;
  opacity: 0;
  transform: translateY(1.5rem);
  animation: hero-settle 0.7s var(--ease) 0.12s forwards;
}

@keyframes hero-settle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__visual img {
  width: 100%;
  border-radius: 1rem 1rem 0 0;
  border: 1px solid var(--line-on-ink);
  border-bottom: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  object-fit: cover;
  object-position: top center;
  max-height: min(52vh, 28rem);
}

@media (min-width: 960px) {
  .hero__visual img {
    max-height: min(62vh, 34rem);
    border-radius: 1.1rem;
    border-bottom: 1px solid var(--line-on-ink);
  }
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 9vw, 6.5rem) var(--pad);
}

.section--tight-top {
  padding-top: clamp(2rem, 4.5vw, 3.25rem);
}

.section__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 0.85rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: var(--teal);
  margin-right: 0.65rem;
  vertical-align: middle;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.section__lede {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.05rem;
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--ink .eyebrow {
  color: var(--teal);
}

.section--ink .section__lede {
  color: rgba(244, 246, 245, 0.68);
}

.section--paper-2 {
  background: var(--paper-2);
}

/* Contrast */
.contrast-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 720px) {
  .contrast-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.contrast-panel {
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 12rem;
}

.contrast-panel--old {
  opacity: 0.88;
  background: #f7f8f7;
}

.contrast-panel--new {
  border-color: rgba(18, 184, 160, 0.35);
  box-shadow: 0 0 0 1px rgba(18, 184, 160, 0.12);
}

.contrast-panel h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

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

.contrast-panel__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 0.75rem;
}

.contrast-panel--new .contrast-panel__meta {
  color: var(--teal-deep);
}

/* Feature list (anatomy) */
.feature-list {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-list li {
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

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

/* Capability rows */
.cap-row {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.cap-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 800px) {
  .cap-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 2.5rem;
  }
}

.cap-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.65rem;
  max-width: 16ch;
}

.cap-row p {
  margin: 0;
  color: var(--muted);
}

.cap-row ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.cap-row li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.cap-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

.section--ink .cap-row {
  border-top-color: var(--line-on-ink);
}

.section--ink .cap-row p {
  color: rgba(244, 246, 245, 0.65);
}

.section--ink .cap-row li {
  color: var(--paper);
}

.section--ink .cap-row li::before {
  background: var(--amber);
}

/* Ad pulse demo */
.ad-demo {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(244, 246, 245, 0.04);
  border: 1px solid var(--line-on-ink);
}

.ad-demo__card {
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: rgba(244, 246, 245, 0.06);
  border: 1px solid transparent;
  transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.ad-demo__card.is-pulse {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 184, 160, 0.2);
}

.ad-demo__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.35rem;
}

.ad-demo__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.ad-demo__note {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: rgba(244, 246, 245, 0.55);
}

/* Family */
.family {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .family {
    grid-template-columns: repeat(3, 1fr);
  }
}

.family a {
  display: block;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.family a:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  color: var(--ink);
}

.family__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.family__name em {
  font-style: normal;
  color: var(--teal);
}

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

/* Close */
.close {
  text-align: center;
  padding: clamp(4rem, 12vw, 7rem) var(--pad);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(18, 184, 160, 0.15), transparent 60%),
    var(--ink);
  color: var(--paper);
}

.close h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  margin: 0 auto 1rem;
  max-width: 18ch;
}

.close p {
  margin: 0 auto 1.75rem;
  color: rgba(244, 246, 245, 0.65);
  max-width: 32rem;
}

.close .btn-row {
  justify-content: center;
}

/* Footer */
.footer {
  padding: 1.75rem var(--pad) 2.25rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--mercek-orange);
}

.footer__brand strong {
  color: var(--ink);
  font-weight: 700;
}

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

  .hero__flow {
    animation: none;
  }

  .hero__visual {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .btn:hover,
  .family a:hover {
    transform: none;
  }
}
