:root {
  --bg-main: #130d0a;
  --bg-soft: #1d1410;
  --text-main: #f7ede3;
  --text-muted: rgba(247, 237, 227, 0.72);
  --text-muted-secondary: rgba(247, 237, 227, 0.52);
  
  --accent-primary: #b87942;
  --accent-secondary: #d8b08a;
  --accent-deep: #7a4e2b;
  
  --glass-panel: rgba(250, 239, 228, 0.08);
  --glass-strong: rgba(250, 239, 228, 0.14);
  --glass-subtle: rgba(255, 248, 240, 0.04);
  
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
  
  --radius-card: 24px;
  --radius-button: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

/* Glassmorphism utilities */
.glass-panel {
  background: var(--glass-panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-header {
  background: rgba(19, 13, 10, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-button);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  color: #130d0a;
  box-shadow: 0 4px 14px rgba(184, 121, 66, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 121, 66, 0.6);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--glass-panel);
  border-color: var(--text-main);
}

/* Typography utilities */
.text-accent { color: var(--accent-secondary); }
.text-muted { color: var(--text-muted); }

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 121, 66, 0.15) 0%, rgba(19, 13, 10, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
}

/* Mock UI Showcase */
.mock-ui-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.mock-window {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.mock-header {
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 8px;
}

.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mock-dot.red { background: #ff5f56; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #27c93f; }

.mock-body {
  display: flex;
  height: 500px;
}

.mock-sidebar {
  width: 220px;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-nav-item {
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.mock-nav-item.active {
  background: rgba(184, 121, 66, 0.15);
  color: var(--accent-secondary);
  border: 1px solid rgba(184, 121, 66, 0.3);
}

.mock-content {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.mock-stat-card {
  height: 100px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.mock-stat-title {
  font-size: 0.75rem;
  color: var(--text-muted-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mock-stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 8px;
  font-family: var(--font-serif);
}
.mock-stat-value.accent {
  color: var(--accent-secondary);
}

.mock-chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

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

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

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

.feature-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(184, 121, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Video Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(19, 13, 10, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Page Standard (Terms/Privacy) */
.page-header {
  padding: 160px 0 60px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: 3.5rem;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.content-container h2 {
  font-size: 2rem;
  margin: 48px 0 24px;
  color: var(--accent-secondary);
}

.content-container h3 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
}

.content-container p {
  margin-bottom: 24px;
  color: var(--text-muted);
}

.content-container ul {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-muted);
}

.content-container li {
  margin-bottom: 8px;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0 32px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.copyright {
  color: var(--text-muted-secondary);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .mock-sidebar { display: none; }
}

/* Launch upgrade */
.eyebrow { color: var(--accent-secondary); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; margin-bottom: 14px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 48px; align-items: center; text-align: left; }
.hero-copy h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
.hero-copy p { margin-left: 0; max-width: 680px; }
.hero-copy .hero-ctas { justify-content: flex-start; margin-bottom: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: var(--text-muted); font-size: .85rem; }
.trust-row span { border: 1px solid rgba(216,176,138,.22); border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.035); }
.app-showcase { padding: 18px; transform: perspective(1200px) rotateY(-5deg) rotateX(3deg); }
.showcase-tabs { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.showcase-tab { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: var(--text-muted); border-radius: 999px; padding: 9px 13px; cursor: pointer; }
.showcase-tab.active, .showcase-tab:hover { color: #130d0a; background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary)); }
.screenshot-frame { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 28px 80px rgba(0,0,0,.45); }
.screenshot-frame img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: opacity .25s ease, transform .45s ease; }
.screenshot-frame:hover img { transform: scale(1.035); }
.shot-caption { position: absolute; left: 16px; bottom: 16px; padding: 10px 14px; border-radius: 999px; background: rgba(19,13,10,.78); backdrop-filter: blur(10px); color: var(--accent-secondary); font-weight: 700; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.screenshot-section, .feature-detail-grid, .tutorial-list { padding: 80px 0; }
.screenshot-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1000px; }
.screenshot-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 50px rgba(0,0,0,.35); transition: transform .25s ease, filter .25s ease; }
.screenshot-gallery img:hover { transform: translateY(-12px) scale(1.05); filter: saturate(1.15); z-index: 2; }
.page-hero { padding: 170px 0 70px; text-align: center; background: radial-gradient(circle at 50% 0, rgba(184,121,66,.16), transparent 52%); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 900px; margin: 0 auto 20px; }
.page-hero p { color: var(--text-muted); max-width: 760px; margin: 0 auto; font-size: 1.14rem; }
.feature-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-detail-grid article, .split-cta { padding: 32px; border-radius: var(--radius-card); background: var(--glass-subtle); border: 1px solid rgba(255,255,255,.06); }
.feature-detail-grid h2 { color: var(--accent-secondary); font-size: 2rem; margin-bottom: 12px; }
.feature-detail-grid p, .tutorial-card p, .tutorial-card li { color: var(--text-muted); }
.split-cta { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:90px; }
.tutorial-list { display: grid; gap: 28px; }
.tutorial-card { display: grid; grid-template-columns: 42% 1fr; gap: 28px; padding: 22px; align-items: center; }
.tutorial-card img { width: 100%; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); }
.tutorial-card h2 { font-size: 2.1rem; margin-bottom: 10px; }
.tutorial-card ol { margin: 16px 0 22px 22px; }
.legal-content table { width:100%; border-collapse: collapse; margin: 24px 0; color: var(--text-muted); }
.legal-content th, .legal-content td { border: 1px solid rgba(255,255,255,.08); padding: 12px; text-align:left; }
.legal-content code { background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 6px; }
.legal-content hr { border: 0; border-top: 1px solid rgba(255,255,255,.08); margin: 32px 0; }
@media (max-width: 900px) { .hero-grid, .feature-detail-grid, .tutorial-card { grid-template-columns: 1fr; text-align: center; } .hero-copy .hero-ctas { justify-content:center; } .screenshot-gallery { grid-template-columns: repeat(2, 1fr); } .app-showcase { transform: none; } .split-cta { flex-direction:column; text-align:center; } }
@media (max-width: 768px) { .nav-links { gap: 12px; flex-wrap: wrap; justify-content: flex-end; } .hero-ctas { flex-direction: column; } .screenshot-gallery { grid-template-columns: 1fr; } .screenshot-gallery img { height: auto; } }
