/* iLut Cam — Precision Darkroom Cinema Web Design System */
:root {
  --bg: #08080a;
  --bg-elevated: #111115;
  --bg-card: #15151a;
  --bg-card-hover: #1b1b22;
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f3ee;
  --text-secondary: #a7a49c;
  --text-muted: #706d66;
  --accent: #f07c38;
  --accent-soft: rgba(240, 124, 56, 0.14);
  --accent-border: rgba(240, 124, 56, 0.42);
  --gold: #d9a76a;
  --green: #4ade80;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "PingFang SC", "PingFang TC", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Apple SD Gothic Neo", "Noto Sans CJK SC", "Noto Sans JP", "Noto Sans KR",
    "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.55);
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 540px at 78% -4%, rgba(240, 124, 56, 0.12), transparent 62%),
    radial-gradient(700px 460px at 12% 18%, rgba(217, 167, 106, 0.06), transparent 65%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(8, 8, 10, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-switcher a {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--text-secondary);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.lang-switcher a:hover {
  color: var(--text);
}

.lang-switcher a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #120b06;
  box-shadow: 0 8px 28px rgba(240, 124, 56, 0.34);
}

.btn-primary:hover {
  background: #ff8c47;
  box-shadow: 0 12px 34px rgba(240, 124, 56, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 13px;
}

/* Hero Section */
.hero {
  padding: 64px 0 84px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 750;
}

.hero h1 .accent-text {
  background: linear-gradient(115deg, #f7b277 0%, #f07c38 55%, #e85d2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(16px, 1.55vw, 19px);
  color: var(--text-secondary);
  margin: 0 0 30px;
  max-width: 560px;
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 999px;
}

.trust-pill strong {
  color: var(--text);
  font-weight: 600;
}

/* iPhone Frame in Hero */
.hero-device-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-device-glow {
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle, rgba(240, 124, 56, 0.28), transparent 68%);
  filter: blur(44px);
  pointer-events: none;
  z-index: 0;
}

.iphone-bezel {
  position: relative;
  z-index: 1;
  width: min(318px, 84vw);
  aspect-ratio: 886 / 1920;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(155deg, #2d2d34 0%, #141418 48%, #25252c 100%);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.78),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 35px;
  overflow: hidden;
  background: #000;
}

.iphone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sound-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sound-toggle:hover {
  background: rgba(240, 124, 56, 0.85);
  color: #120b06;
  border-color: transparent;
}

/* Metrics Strip */
.metrics-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  padding: 28px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.metric-value span {
  color: var(--accent);
}

.metric-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  font-weight: 730;
}

.section-sub {
  font-size: 16.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* Interactive Darkroom Before/After Lab */
.lab-shell {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.lab-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.tab-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scene-tab, .lut-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.scene-tab:hover, .lut-pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.scene-tab.active {
  background: var(--text);
  color: #0b0b0d;
  border-color: transparent;
  font-weight: 650;
}

.lut-pill.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 650;
}

.compare-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 620px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare-after-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 50%);
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(240, 124, 56, 0.95);
  box-shadow: 0 0 18px rgba(240, 124, 56, 0.65);
  pointer-events: none;
  z-index: 4;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 12, 15, 0.88);
  border: 2px solid var(--accent);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 5;
}

.compare-badge {
  position: absolute;
  bottom: 16px;
  z-index: 4;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.compare-badge.left {
  left: 16px;
  background: rgba(10, 10, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dddad2;
}

.compare-badge.right {
  right: 16px;
  background: rgba(240, 124, 56, 0.88);
  color: #140b05;
  font-weight: 700;
}

.lab-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.hold-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.hold-btn:active, .hold-btn.holding {
  background: var(--text);
  color: #0b0b0d;
}

.lab-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* 18 Cinema Presets Catalog */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 12px;
}

.preset-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.preset-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.preset-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.preset-name {
  font-weight: 650;
  font-size: 15px;
}

.preset-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.preset-badge.pt65 {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-soft);
}

.preset-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.preset-dna {
  height: 4px;
  border-radius: 999px;
  width: 100%;
  opacity: 0.92;
}

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

/* Cinema Film Showcase */
.cinema-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cinema-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.cinema-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinema-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-top: 1px solid var(--border);
}

.cinema-meta-title {
  font-weight: 650;
  font-size: 16px;
}

.cinema-meta-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.feature-card h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Comparison Table (SEO + GEO High-Signal Matrix) */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
  font-size: 14.5px;
}

.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

.compare-table thead th.col-ilut {
  color: var(--accent);
  background: rgba(240, 124, 56, 0.09);
}

.compare-table tbody td.col-ilut {
  background: rgba(240, 124, 56, 0.045);
  color: var(--text);
  font-weight: 600;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.tag-yes {
  color: var(--green);
  font-weight: 650;
}

.tag-no {
  color: var(--text-muted);
}

/* Pricing Card */
.pricing-banner {
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(240, 124, 56, 0.18), transparent 65%),
    var(--bg-elevated);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
}

.price-tag {
  font-family: var(--font-mono);
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-note {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 6px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.pricing-list li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.pricing-action-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: rgba(8, 8, 10, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 620;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 14.8px;
  line-height: 1.7;
}

/* Legal / Support Pages */
.legal-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal-shell h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 12px 0 8px;
  letter-spacing: -0.03em;
}

.legal-shell h2 {
  font-size: 21px;
  margin: 34px 0 10px;
  letter-spacing: -0.02em;
}

.legal-shell h3 {
  font-size: 16px;
  margin: 20px 0 8px;
  color: var(--accent);
}

.legal-shell p, .legal-shell li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin: 24px 0;
}

.legal-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.legal-lang-tabs a {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}

.legal-lang-tabs a:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 56px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: left;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-banner {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  .nav-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .lang-switcher {
    overflow-x: auto;
    max-width: 100%;
  }
  .hero {
    padding: 38px 0 60px;
  }
  .section {
    padding: 64px 0;
  }
  .lab-shell {
    padding: 16px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .pricing-list {
    grid-template-columns: 1fr;
  }
}
