﻿:root {
  --bg: #111923;
  --page-bg:
    radial-gradient(circle at top left, rgba(240, 138, 61, 0.16), transparent 18%),
    radial-gradient(circle at bottom right, rgba(94, 132, 171, 0.16), transparent 26%),
    linear-gradient(180deg, #f7efe6 0%, #ece0d1 48%, #101822 49%, #0b1118 100%);
  --surface: rgba(18, 28, 38, 0.84);
  --surface-soft: rgba(255, 248, 239, 0.84);
  --surface-strong: #172433;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4eee8;
  --muted: #b8afa5;
  --brand: #f08a3d;
  --brand-soft: #bf642b;
  --brand-deep: #203445;
  --light-text: #1f1c19;
  --light-muted: #6f6458;
  --light-line: rgba(34, 24, 14, 0.1);
  --shadow: 0 24px 60px rgba(18, 14, 9, 0.18);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  background: var(--page-bg);
}

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

.shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.masthead,
.hero-panel,
.showcase-card,
.download-panel {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
  padding: 22px 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,248,239,0.86), rgba(244,234,221,0.82));
  color: var(--light-text);
  border-color: var(--light-line);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand-soft);
}

h1 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 8vw, 98px);
  line-height: 0.92;
}

.masthead-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.masthead-nav a {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--brand-deep);
  background: rgba(32, 52, 69, 0.08);
  border: 1px solid rgba(32, 52, 69, 0.1);
  font-weight: 800;
}

.hero-panel {
  border-radius: 38px;
  padding: 28px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(20,31,42,0.88), rgba(12,19,26,0.92));
}

.hero-panel::before,
.hero-panel::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-panel::before {
  width: 340px;
  height: 340px;
  background: rgba(240, 138, 61, 0.14);
  top: -160px;
  right: -60px;
}

.hero-panel::after {
  width: 260px;
  height: 260px;
  background: rgba(96, 133, 170, 0.14);
  bottom: -130px;
  left: -40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 26px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-kicker {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  font-weight: 700;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
}

.cta.primary {
  background: var(--brand);
  color: #fff;
}

.cta.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--text);
}

.stat-grid {
  display: grid;
  gap: 12px;
}

.stat-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.stat-card span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 700;
}

.stat-card strong {
  font-size: 18px;
  color: var(--text);
}

.hero-visuals {
  position: relative;
  min-height: 640px;
}

.device-frame,
.shot-frame {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.18);
}

.device-frame {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  padding: 14px 14px 16px;
}

.device-frame img,
.shot-frame img {
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.primary-frame {
  inset: 18px 30px 54px 74px;
  transform: rotate(3deg);
}

.floating-frame.one {
  top: 18px;
  left: 0;
  width: 240px;
  height: 300px;
  transform: rotate(-8deg);
}

.floating-frame.two {
  right: 0;
  bottom: 12px;
  width: 320px;
  height: 240px;
  transform: rotate(6deg);
}

.device-label,
.card-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  gap: 18px;
}

.showcase-card {
  border-radius: 30px;
  padding: 18px;
}

.showcase-card.large {
  grid-row: span 2;
  min-height: 720px;
}

.showcase-card.wide {
  grid-column: span 2;
}

.card-head {
  margin-bottom: 14px;
}

.shot-frame {
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
  height: calc(100% - 48px);
}

.shot-frame.portrait {
  min-height: 630px;
}

.shot-frame.landscape {
  min-height: 300px;
}

.shot-frame.cinematic {
  min-height: 320px;
}

.warm {
  background: linear-gradient(180deg, #1b2733 0%, #141b24 100%);
}

.cool {
  background: linear-gradient(180deg, #f5f0e8 0%, #dfd0be 100%);
  color: var(--light-text);
  border-color: var(--light-line);
}

.cool .card-head span {
  background: rgba(32, 52, 69, 0.08);
  color: var(--brand-deep);
}

.cool .shot-frame {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--light-line);
}

.dark {
  background: linear-gradient(180deg, #5d2d17 0%, #25120a 100%);
}

.neutral {
  background: linear-gradient(180deg, #243240 0%, #131b24 100%);
}

.download-panel {
  margin-top: 22px;
  border-radius: 30px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: linear-gradient(180deg, rgba(255,248,239,0.86), rgba(245,236,225,0.82));
  border-color: var(--light-line);
}

.download-tile {
  min-height: 156px;
  padding: 22px;
  border-radius: 24px;
  text-decoration: none;
  color: var(--light-text);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(32, 52, 69, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.download-tile small {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-muted);
}

.download-tile strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.download-tile span {
  color: var(--light-muted);
  font-size: 14px;
}

.download-tile.accent {
  background: linear-gradient(180deg, var(--brand-deep) 0%, #121c26 100%);
  color: #fff;
}

.download-tile.accent small,
.download-tile.accent span {
  color: rgba(255, 255, 255, 0.72);
}

.download-tile.support {
  background: linear-gradient(180deg, #f6ecde 0%, #eedbc3 100%);
}

.download-tile[aria-disabled='true'] {
  pointer-events: none;
}

@media (max-width: 1100px) {
  .hero-layout,
  .showcase-grid,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .showcase-card.large,
  .showcase-card.wide {
    grid-row: auto;
    grid-column: auto;
    min-height: auto;
  }

  .shot-frame.portrait,
  .shot-frame.landscape,
  .shot-frame.cinematic {
    min-height: 320px;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 20px, 1240px);
    padding-top: 14px;
  }

  .masthead,
  .hero-panel {
    padding: 18px;
    border-radius: 28px;
  }

  .masthead {
    flex-direction: column;
  }

  .hero-visuals {
    min-height: 420px;
  }

  .primary-frame {
    inset: 64px 14px 20px 14px;
    transform: none;
  }

  .floating-frame.one {
    width: 170px;
    height: 220px;
    top: 10px;
    left: auto;
    right: 10px;
    transform: none;
  }

  .floating-frame.two {
    width: 180px;
    height: 140px;
    left: 10px;
    right: auto;
    bottom: 10px;
    transform: none;
  }

  .download-tile {
    min-height: 132px;
  }
}
