/* DeskForge Design System */
:root {
  --bg-primary: #0A0A0A;
  --bg-card: #141414;
  --bg-card-hover: #1A1A1A;
  --accent: #FF6B35;
  --accent-glow: rgba(255, 107, 53, 0.15);
  --text-primary: #F5F5F5;
  --text-secondary: #9A9A9A;
  --text-muted: #666;
  --border: #222;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 40px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}

.logo-icon {
  width: 32px; height: 32px;
  background: var(--accent); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  padding: 10px 24px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 40%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: var(--accent-glow); border: 1px solid rgba(255,107,53,0.3);
  color: var(--accent); font-size: 0.85rem; font-weight: 500;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 4rem; line-height: 1.1; max-width: 720px;
  margin-bottom: 24px; letter-spacing: -0.03em;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 1.2rem; color: var(--text-secondary);
  max-width: 560px; margin-bottom: 48px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  padding: 16px 40px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1rem;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: all 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,107,53,0.4); }

.btn-secondary {
  padding: 16px 40px;
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1rem;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--text-secondary); background: var(--bg-card); }

/* Features */
.features {
  padding: 100px 40px;
  max-width: 1200px; margin: 0 auto;
}

.section-label {
  color: var(--accent); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}

.features h2 {
  font-size: 2.5rem; margin-bottom: 64px; letter-spacing: -0.02em;
}

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

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  transition: all 0.2s; cursor: default;
}
.feature-card:hover { border-color: rgba(255,107,53,0.3); transform: translateY(-4px); }

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-glow); display: flex;
  align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}

.feature-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* Widget Demo */
.widget-demo {
  padding: 80px 40px;
  max-width: 900px; margin: 0 auto;
}

.widget-demo h2 { font-size: 2.5rem; text-align: center; margin-bottom: 48px; }

.inquiry-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
  max-width: 480px; margin: 0 auto;
}

.inquiry-widget h3 {
  font-size: 1.4rem; margin-bottom: 8px;
}
.inquiry-widget .widget-subtitle {
  color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 32px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text-primary); font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.widget-submit {
  width: 100%; padding: 14px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: opacity 0.2s;
}
.widget-submit:hover { opacity: 0.85; }

/* Embed */
.embed-section {
  padding: 80px 40px; text-align: center;
  max-width: 800px; margin: 0 auto;
}

.embed-section h2 { font-size: 2rem; margin-bottom: 16px; }
.embed-section p { color: var(--text-secondary); margin-bottom: 32px; }

.code-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; text-align: left;
  font-family: 'Monaco', 'Menlo', monospace; font-size: 0.85rem;
  color: var(--text-secondary); overflow-x: auto;
}

.code-block code { color: var(--text-primary); }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px; text-align: center;
  color: var(--text-muted); font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .hero h1 { font-size: 2.5rem; }
  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .features h2, .widget-demo h2 { font-size: 1.8rem; }
  .nav-links { display: none; }
}

/* Dashboard */
.dashboard-wrap { max-width: 1200px; margin: 0 auto; padding: 100px 40px 60px; }

.dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.dashboard-header h1 { font-size: 2rem; }

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

.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.stat-card .stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem; font-weight: 700; margin-bottom: 4px;
}
.stat-card .stat-label { color: var(--text-secondary); font-size: 0.85rem; }
.stat-card.accent { border-color: rgba(255,107,53,0.3); }
.stat-card.accent .stat-value { color: var(--accent); }

.inquiry-list { display: flex; flex-direction: column; gap: 12px; }

.inquiry-row {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px;
  display: flex; align-items: center; gap: 20px;
  transition: border-color 0.2s;
}
.inquiry-row:hover { border-color: var(--text-muted); }

.inquiry-info { flex: 1; }
.inquiry-info .inq-name { font-weight: 600; margin-bottom: 4px; }
.inquiry-info .inq-meta { color: var(--text-secondary); font-size: 0.85rem; }
.inquiry-info .inq-service { color: var(--accent); font-size: 0.8rem; margin-top: 4px; }

.status-badge {
  padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600;
}
.status-new { background: rgba(255,107,53,0.15); color: var(--accent); }
.status-responded { background: rgba(34,197,94,0.15); color: #22c55e; }
.status-booked { background: rgba(59,130,246,0.15); color: #3b82f6; }
.status-closed { background: rgba(107,114,128,0.15); color: #9ca3af; }

.inquiry-time { color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; }

.status-select {
  padding: 6px 12px; background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-primary); font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif; cursor: pointer;
}

.empty-state { text-align: center; padding: 80px 40px; color: var(--text-secondary); }
.empty-state h3 { font-size: 1.4rem; margin-bottom: 12px; color: var(--text-primary); }

/* Load state */
.skeleton { background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-wrap { padding: 90px 20px 40px; }
}