/* =====================================================
   poly — Shared Design System
   ===================================================== */

:root {
  --bg:              #0F0F1A;
  --surface:         rgba(255,255,255,0.05);
  --surface-hi:      rgba(255,255,255,0.10);
  --border:          rgba(255,255,255,0.08);
  --text-primary:    #FFFFFF;
  --text-secondary:  rgba(255,255,255,0.55);
  --text-muted:      rgba(255,255,255,0.30);

  --accent-gradient: linear-gradient(to right,#FFE15A,#FF9430);
  --accent-gold:     #FFCC4D;
  --premium-glow:    rgba(255,204,77,0.12);

  --flarn:     #F2C71F;
  --solva:     #F5B88A;
  --brokk:     #C76E38;
  --vylur:     #AD45D1;
  --gralt:     #747474;

  --prem-film:      #FFCA33;
  --prem-caption:   #B266FF;
  --prem-wm:        #33D99A;

  --r-sm:   8px;
  --r-card: 14px;
  --r-lg:   20px;
  --r-pill: 100px;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { display:block; }

/* ── Typography helpers ─────────────────────────────── */
.heading-font {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* ── Navigation ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15,15,26,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--accent-gradient);
  border-radius: var(--r-pill);
  color: #1A1000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s, transform .15s;
}
.nav-cta:hover { opacity:.9; transform:translateY(-1px); }

/* ── Section wrapper ────────────────────────────────── */
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-heading {
  font-size: clamp(26px,4vw,38px);
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 24px 88px;
  background: linear-gradient(180deg, #14101F 0%, var(--bg) 100%);
}

.hero-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(128,77,230,0.18) 0%, transparent 65%);
  pointer-events: none;
  user-select: none;
}

.hero-title {
  font-size: clamp(56px,13vw,96px);
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 18px;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(16px,2.5vw,20px);
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── CTA Button ─────────────────────────────────────── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent-gradient);
  border-radius: var(--r-pill);
  color: #1A1000;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255,200,80,0.35);
}

/* ── Camera modes strip ─────────────────────────────── */
.modes-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Feature cards ──────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px,1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-3px); }

.feature-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.feature-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.premium-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  align-self: flex-start;
}

/* ── CSS Polaroid ───────────────────────────────────── */
.polaroid-wrap {
  display: flex;
  justify-content: center;
  margin: 16px 0 20px;
}

.polaroid {
  background: #F7F3EE;
  padding: 10px 10px 38px;
  border-radius: 3px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.3);
  width: 148px;
  transform: rotate(-2.5deg);
}

.polaroid-inner {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(51,217,154,0.35) 0%, rgba(51,217,154,0.1) 100%);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

/* ── Filters showcase ───────────────────────────────── */
.filters-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.filter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px 12px 18px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}
.filter-card:hover { transform: translateY(-3px); }

.filter-swatch {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.filter-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.filter-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ── Premium section ────────────────────────────────── */
.premium-wrapper {
  padding: 0 24px 80px;
}

.premium-card {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255,204,77,0.18);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  text-align: center;
}

.premium-bg-glow {
  position: absolute;
  top: -130px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 440px;
  background: radial-gradient(ellipse at center, rgba(255,204,77,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.premium-crown-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255,204,77,0.12);
  border: 1px solid rgba(255,204,77,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  position: relative;
}

.premium-title {
  font-size: clamp(22px,3vw,30px);
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  position: relative;
}

.premium-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
}

.premium-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
  position: relative;
}

.pf-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}

.pf-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.pf-text { flex:1; }

.pf-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}

.pf-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.pf-check {
  font-size: 17px;
  color: var(--accent-gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* Pricing row */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-bottom: 24px;
  position: relative;
}

.pricing-opt {
  position: relative;
  padding: 18px 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  text-align: center;
  transition: border-color .2s;
}

.pricing-opt.best {
  border-color: rgba(255,204,77,0.35);
  background: rgba(255,204,77,0.07);
}

.best-value {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #1A1000;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.pricing-note {
  font-size: 11px;
  color: var(--text-muted);
}

.premium-cta {
  display: block;
  padding: 16px;
  background: var(--accent-gradient);
  border-radius: var(--r-pill);
  color: #1A1000;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  margin-bottom: 14px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.premium-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,200,80,0.35);
}

.premium-footnote {
  font-size: 11px;
  color: var(--text-muted);
  position: relative;
}

/* ── More camera features ───────────────────────────── */
.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 10px;
}

.more-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  font-size: 13px;
  color: var(--text-secondary);
  transition: border-color .2s, color .2s;
}
.more-item:hover {
  border-color: rgba(255,255,255,0.16);
  color: var(--text-primary);
}

.more-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Footer ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-center { text-align:center; }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.footer-contact {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-contact a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color .15s;
}
.footer-contact a:hover { color: var(--text-secondary); }

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .15s;
}
.footer-link:hover { color: var(--text-primary); }

/* ── Scroll-in animations ───────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.fade-up-d1 { transition-delay: .1s; }
.fade-up-d2 { transition-delay: .2s; }
.fade-up-d3 { transition-delay: .3s; }

/* ── Legal pages ────────────────────────────────────── */
.legal-page { max-width: 720px; margin: 0 auto; padding: 60px 24px 100px; }

.legal-title {
  font-size: clamp(32px,5vw,50px);
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 52px;
}

.legal-page h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 10px;
}

.legal-page p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-page ul, .legal-page ol {
  margin: 8px 0 14px 20px;
}

.legal-page li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 4px;
}

.legal-page a {
  color: var(--accent-gold);
  text-decoration: none;
}
.legal-page a:hover { text-decoration: underline; }

.legal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 860px) {
  .features-grid { grid-template-columns: 1fr; }

  .filters-row {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .filters-row::-webkit-scrollbar { display: none; }
  .filter-card { min-width: 148px; scroll-snap-align: start; flex-shrink: 0; }
}

@media (max-width: 600px) {
  .section-inner { padding: 56px 20px; }

  .premium-card { padding: 36px 24px; }

  .pricing-row { grid-template-columns: 1fr; gap: 18px; }
  .pricing-opt.best { order: -1; }
  .pricing-opt { padding: 18px 16px 14px; }

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

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 420px) {
  .hero { padding: 72px 20px 64px; }
  .modes-strip { gap: 8px; }
  .mode-pill { padding: 7px 14px; font-size: 10px; }
  .more-grid { grid-template-columns: 1fr; }
  .nav-cta { font-size: 12px; padding: 7px 14px; }
}
