﻿:root {
  --ink: #0A0908;
  --cream: #F8F6F1;
  --surface: #FFFFFF;
  --border: #E8E2D9;
  --ember: #E8612A;
  --ember-light: #F59E6B;
  --ember-bg: #FBE9DF;
  --ember-glow: rgba(232,97,42,0.18);
  --muted: #6B6258;
  --muted2: #A09890;
  --sand: #E0D8CE;
  --green: #16A34A;
  --green-bg: #DCFCE7;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  overflow-x: hidden;
}

/* 
   NAV
 */
nav {
  position: fixed; top:0; left:0; right:0; z-index:500;
  display: flex; align-items:center; justify-content:space-between;
  padding: 0 44px; height:60px;
  transition: background .4s, border-color .4s;
}
nav.bg { background:rgba(10,9,8,.9); backdrop-filter:blur(20px); border-bottom:1px solid rgba(255,255,255,.07); }
.nav-logo { text-decoration:none; font-size:19px; font-weight:800; color:#fff; letter-spacing:-.5px; }
.nav-logo em { color:var(--ember); font-style:normal; }
.nav-links { display:flex; gap:28px; }
.nav-link { font-size:13px; color:rgba(255,255,255,.4); font-weight:600; text-decoration:none; transition:color .2s; }
.nav-link:hover { color:#fff; }
.nav-ctas { display:flex; gap:8px; align-items:center; }
.n-ghost { font-size:12px; font-weight:700; color:rgba(255,255,255,.5); background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); padding:7px 16px; border-radius:7px; font-family:'Bricolage Grotesque',sans-serif; transition:all .2s; }
.n-ghost:hover { color:#fff; border-color:rgba(255,255,255,.3); }
.n-main { font-size:12px; font-weight:800; color:#fff; background:var(--ember); border:none; padding:8px 18px; border-radius:7px; font-family:'Bricolage Grotesque',sans-serif; transition:background .2s; }
.n-main:hover { background:#d4531e; }

/* 
   HERO
 */
.hero-section {
  background: var(--ink);
  padding: 140px 44px 100px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content:''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(232,97,42,.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ember-light);
  background: rgba(232,97,42,.12);
  border: 1px solid rgba(232,97,42,.3);
  padding: 6px 16px 6px 6px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.kicker-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ember); display: flex; align-items: center; justify-content: center; }
.hero-h1 {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900; line-height: 1.05; letter-spacing: -3px;
  margin-bottom: 24px;
}
.hero-h1 em { font-style: italic; font-family: 'Instrument Serif', serif; color: var(--ember); font-size: .95em; letter-spacing: -2px; }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,.48);
  max-width: 560px; line-height: 1.7;
  margin: 0 auto 40px;
}
.hero-sub strong { color: rgba(255,255,255,.7); font-weight: 600; }

/* 
   USE CASES GRID
 */
.cases-section {
  background: var(--cream);
  padding: 100px 44px;
}
.cases-inner { max-width: 1100px; margin: 0 auto; }

.usecase-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}
.usecase-card:nth-child(even) {
  direction: rtl;
}
.usecase-card:nth-child(even) > * {
  direction: ltr;
}
.usecase-card:last-child {
  margin-bottom: 0;
}

.usecase-visual {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

/* Visual 1: Photo Enhancement */
.vis-photo { position: relative; }
.vis-photo-before,
.vis-photo-after {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.vis-photo-before {
  width: 70%;
  margin-bottom: -80px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
}
.vis-photo-after {
  width: 70%;
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.vis-img { height: 160px; position: relative; }
.img-before { background: linear-gradient(135deg, #9a9088, #7a7068); }
.img-after { background: linear-gradient(135deg, #f5efe3, #e8dcc8); }
.vis-badge {
  position: absolute; bottom: 12px; left: 12px;
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
}
.badge-before { background: rgba(0,0,0,.5); color: rgba(255,255,255,.8); }
.badge-after { background: var(--ember); color: #fff; }

/* Visual 2: Description Generator */
.vis-desc { position: relative; }
.desc-card {
  background: var(--ink);
  border-radius: 16px;
  padding: 28px;
  color: #fff;
}
.desc-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.desc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ember); }
.desc-label { font-size: 11px; color: rgba(255,255,255,.4); font-weight: 600; }
.desc-text { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.7); }
.desc-text strong { color: #fff; font-weight: 600; }
.desc-input {
  margin-top: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* Visual 3: Video */
.vis-video { position: relative; }
.video-player {
  background: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}
.video-frame {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1816 0%, #2a2622 100%);
}
.video-content {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.room-scene {
  width: 80%; height: 70%;
  position: relative;
  background: linear-gradient(180deg, #4a9ab8 0%, #87ceeb 40%, #d4c8b4 40%, #c8b090 100%);
  border-radius: 8px;
  overflow: hidden;
}
.room-window {
  position: absolute; top: 15%; left: 10%;
  width: 25%; height: 30%;
  background: linear-gradient(180deg, #68b8dc, #9ad0ec);
  border: 3px solid rgba(255,255,255,.8);
  border-radius: 3px;
}
.room-sofa {
  position: absolute; bottom: 0; left: 8%;
  width: 45%; height: 25%;
  background: linear-gradient(160deg, #9a5040, #7a3828);
  border-radius: 5px 5px 0 0;
}
.play-btn {
  position: absolute;
  width: 60px; height: 60px;
  background: var(--ember);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(232,97,42,.5);
}
.play-icon {
  width: 0; height: 0;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

/* Visual 4: Templates */
.vis-templates { position: relative; }
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.template-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  aspect-ratio: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.template-item:nth-child(2) { background: var(--ember); color: #fff; }
.template-item:nth-child(3) { background: var(--ink); color: #fff; }
.template-tag { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .6; }
.template-title { font-size: 14px; font-weight: 700; }

/* Visual 5: Resize */
.vis-resize { position: relative; }
.resize-container {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: center;
}
.resize-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px; font-weight: 700;
  color: var(--muted);
}
.resize-ig { width: 60px; height: 60px; }
.resize-fb { width: 100px; height: 56px; }
.resize-portal { width: 140px; height: 50px; }
.resize-story { width: 40px; height: 70px; }

/* Content */
.usecase-content {}
.usecase-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ember);
  background: var(--ember-bg);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.usecase-tag svg,
.usecase-tag img { width: 14px; height: 14px; display: block; }
.usecase-h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}
.usecase-h2 em { font-style: italic; font-family: 'Instrument Serif', serif; color: var(--ember); }
.usecase-p {
  font-size: 16px; color: var(--muted);
  line-height: 1.8; margin-bottom: 28px;
}
.usecase-list {
  list-style: none;
  margin-bottom: 32px;
}
.usecase-list li {
  font-size: 15px; color: var(--ink);
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.usecase-list li:last-child { border-bottom: none; }
.usecase-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  background: var(--ember-bg);
  border-radius: 50%;
}
.usecase-list li::after {
  content: ''; position: absolute; left: 5px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--ember);
  border-radius: 50%;
}
.usecase-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--ember);
  text-decoration: none;
  transition: gap .2s;
}
.usecase-cta:hover { gap: 12px; }
.usecase-cta svg { width: 16px; height: 16px; }

/* 
   CTA SECTION
 */
.cta-section {
  background: var(--ink);
  padding: 120px 44px;
  position: relative;
}
.cta-inner {
  max-width: 800px; margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-h2 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800;
  letter-spacing: -2px; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
}
.cta-h2 em { font-style: italic; font-family: 'Instrument Serif', serif; color: var(--ember); }
.cta-p {
  font-size: 18px; color: rgba(255,255,255,.5);
  line-height: 1.7; margin-bottom: 40px;
}
.cta-btns {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap;
}
.cta-btn-primary {
  padding: 16px 36px; background: var(--ember); color: #fff;
  border: none; border-radius: 10px; font-size: 15px; font-weight: 700;
  font-family: 'Bricolage Grotesque', sans-serif;
  box-shadow: 0 0 40px rgba(232,97,42,.4);
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 48px rgba(232,97,42,.6); }
.cta-btn-secondary {
  padding: 16px 32px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.65);
  border-radius: 10px; font-size: 15px; font-weight: 600;
  font-family: 'Bricolage Grotesque', sans-serif;
  transition: all .2s;
  cursor: pointer;
}
.cta-btn-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }

/* 
   FOOTER
 */
footer { background:#060504; padding:64px 44px 40px; }
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:48px; margin-bottom:56px; }
.f-logo { text-decoration:none; color:inherit; font-size:22px; font-weight:800; color:#fff; letter-spacing:-.5px; margin-bottom:12px; }
.f-logo em { color:var(--ember); font-style:normal; }
.f-tagline { font-size:13px; color:rgba(255,255,255,.25); line-height:1.6; }
.f-col-title { font-size:9px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:rgba(255,255,255,.18); margin-bottom:18px; }
.f-link { display:block; font-size:13px; color:rgba(255,255,255,.35); text-decoration:none; margin-bottom:10px; transition:color .2s; }
.f-link:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.06); padding-top:32px; display:flex; justify-content:space-between; align-items:center; }
.f-copy { font-size:11px; color:rgba(255,255,255,.2); }

/* 
   RESPONSIVE
 */
@media (max-width: 1024px) {
  .usecase-card { grid-template-columns: 1fr; gap: 40px; }
  .usecase-card:nth-child(even) { direction: ltr; }
  .usecase-visual { min-height: 300px; }
}

@media (max-width: 768px) {
  nav { padding: 0 22px; }
  .nav-links { display: none; }
  .hero-section { padding: 120px 22px 80px; }
  .cases-section { padding: 80px 22px; }
  .usecase-card { margin-bottom: 60px; }
  .usecase-visual { padding: 24px; min-height: 250px; }
  .cta-section { padding: 80px 22px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
