/*
  Raw Photo Capture landing: pure HTML + CSS, monochrome, minimal, responsive
*/

:root {
  --bg: #0b0b0b;
  --surface: #121212;
  --elev: #161616;
  --fg: #ffffff;
  --muted: #a1a1aa;
  --line: #1f1f1f;
  --brand-0: #ffffff;
  --brand-1: #d1d5db;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6), 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45), 0 1px 8px rgba(0, 0, 0, 0.25);
  --radius: 16px;
}

/* Base */
* {
  box-sizing: border-box;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--bg);
  color: var(--fg);
  padding: 8px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  z-index: 10000;
}

.skip-link:focus {
  top: 6px;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, system-ui, "Segoe UI", sans-serif;
  color: var(--fg);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #0b0b0b 40%, #0b0b0b 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

h2 {
  color: var(--fg);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 12, 12, 0.6);
  backdrop-filter: saturate(120%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand.small {
  opacity: 0.85;
  font-weight: 500;
}

.brand-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.button {
  --btn-bg: #0f0f10;
  --btn-fg: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--btn-fg);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), var(--btn-bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: #2a2a2a;
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  --btn-bg: #151515;
}

.button.ghost {
  background: transparent;
  border-color: #2a2a2a;
}

.button.appstore {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

/* Official App Store badge wrapper */
.store-badge {
  display: inline-flex;
  align-items: center;
  height: 36px;
}

.store-badge img {
  display: block;
  height: 100%;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
  transition: transform 200ms ease, filter 200ms ease;
}

.store-badge:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.5));
}

.hero-ctas .store-badge.large {
  height: 48px;
}

/* Hero */
.hero {
  position: relative;
  padding-top: 120px;
  /* account for fixed nav */
  padding-bottom: 72px;
  min-height: 100vh;
  overflow: hidden;
}

.hero-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 6px;
}

.app-icon-left {
  width: clamp(84px, 12vw, 120px);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
}

.headings h1 {
  margin: 0 0 10px;
}

.hero-copy h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.gradient {
  background: linear-gradient(180deg, var(--brand-0), var(--brand-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 18px);
  line-height: 1.6;
  max-width: 54ch;
  margin: 0 0 22px;
}

.microcopy {
  color: #c9c9cf;
  opacity: 0.9;
  margin-top: 16px;
  font-size: 14px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-tags {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tags code {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
}

/* Legacy centered icon block no longer used */

/* Device mockup */
.device {
  position: relative;
  justify-self: center;
}

.iphone {
  position: relative;
  width: clamp(260px, 40vw, 340px);
  aspect-ratio: 1320 / 2868;
  border-radius: 28px;
  padding: 4px;
  background: linear-gradient(145deg, #1b1b1b, #0c0c0c);
  box-shadow: var(--shadow-lg);
}

.notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 24px;
  background: #000;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 10%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(180deg, #0d0d0e, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-ui {
  position: relative;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 10px 12px;
  color: #d4d4d8;
  font-size: 11px;
}

.status-bar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.raw-badge {
  margin-left: auto;
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.viewfinder {
  position: relative;
  margin: 6px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(80% 60% at 50% 35%, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.08) 60%), linear-gradient(180deg, #0b0b0b, #090909);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.focus-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.controls {
  display: grid;
  place-items: center;
  padding: 10px;
}

.shutter {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: radial-gradient(100% 100% at 50% 30%, #ffffff, #e5e7eb);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(0, 0, 0, 0.4);
  border: 4px solid #111;
}

.device-shadow {
  position: absolute;
  bottom: -24px;
  left: 0;
  right: 0;
  height: 40px;
  filter: blur(18px);
  background: radial-gradient(50% 100% at 50% 50%, rgba(0, 0, 0, 0.6), transparent 70%);
  pointer-events: none;
}

/* Features */
.features {
  padding: 56px 0 96px;
}

.features h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  opacity: 0.95;
}

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

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #2a2a2a;
}

.card .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Callout */
.callout {
  padding-bottom: 96px;
}

.callout-text {
  text-align: center;
  margin: 0 auto;
  color: #e8e8ea;
  font-size: clamp(18px, 3.2vw, 24px);
  letter-spacing: -0.01em;
  max-width: 42ch;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.7);
}

.footer-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.copyright {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}


/* Subtle motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }

  .reticle-hero {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* Premium hero background and editorial layout additions */
.hero {
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Editorial, photographic vignette (replace with an actual hero image if available) */
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(255, 255, 255, 0.05), transparent 60%),
    radial-gradient(800px 400px at 80% 20%, rgba(255, 255, 255, 0.035), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #0b0b0b 60%, #0b0b0b 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 120px);
}






/* Subtle tap-to-focus hint in hero */
.reticle-hero {
  --reticle-size: 46px;
  position: absolute;
  left: 40%;
  top: 39%;
  transform: translate(-50%, -50%) scale(1.12);
  width: var(--reticle-size);
  height: var(--reticle-size);
  border-radius: 4px;
  border: 1px solid #ffd400;
  /* pro camera yellow */
  box-shadow: 0 0 0 2px rgba(255, 212, 0, 0.08);
  pointer-events: none;
  opacity: 0;
  animation: reticle-pop 1200ms ease-out 600ms 1 both;
}

@keyframes reticle-pop {
  0% {
    opacity: 0;
    transform: scale(1.20);
  }

  15% {
    opacity: 0.85;
  }

  40% {
    opacity: 0.92;
    transform: scale(1.00);
  }

  100% {
    opacity: 0;
    transform: scale(1.00);
  }
}

/* Features grid (4-up on desktop, aligned to specs) */
.features .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* For Photographers: pro facts strip */
.pro-strip {
  padding: 24px 0 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.pro-strip h2,
#support h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  opacity: 1;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  color: var(--muted);
}

.facts li {
  line-height: 1.6;
}

.facts strong {
  color: var(--fg);
  font-weight: 600;
}

/* Preview flow steps */
.steps {
  padding: 56px 0;
}
#support p {
  color: var(--muted);
}

.steps h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  opacity: 0.95;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #0b0b0b;
  background: #f5f5f7;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Editorial showcase gallery */
.gallery {
  padding: 24px 0 80px;
}

.gallery h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  opacity: 0.95;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shot {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(100% 100% at 50% 30%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #101010, #0b0b0b);
  box-shadow: var(--shadow-md);
}

/* Responsive refinements for premium layout */
@media (max-width: 1200px) {
  .features .grid {
    gap: 20px;
  }
}

@media (max-width: 980px) {
  .features .grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 720px) {
  .features .grid {
    grid-template-columns: 1fr;
  }

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

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

/* Respect reduced motion beyond transitions */
@media (prefers-reduced-motion: reduce) {
  .reticle-hero {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* iPhone Preview Styles */







.iphonePreview {
  position: relative;
  display: flex;
  background-image: url("./iPhone16.svg");
  background-size: 260px auto;
  background-position: center 0;
  background-repeat: no-repeat;
  margin-top: 47px;
  justify-content: center;
  padding-bottom: 75px;
}

.iphoneScreen {
  width: 226px;
  height: 488px;
  -webkit-clip-path: url(#screenMask);
  clip-path: url(#screenMask);
  margin: 0px;
  margin-top: 17px;
}




.hidden {
  display: none;
}

/* Responsiveness */


@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 112px;
  }

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

  .hero-screenshot {
    order: -1;
  }

  .hero-screenshot .iphone {
    height: 50vh;
  }

  .device {
    order: -1;
  }

  .nav-inner {
    height: 60px;
  }
}
