/* ============================================================
   PROJECT CONTROL — Landing Page Styles
   ============================================================ */

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-8);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-blue);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-base);
}
.nav-link:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + var(--sp-16)) var(--sp-8) var(--sp-16);
  position: relative;
  overflow: hidden;
}

/* Background glow effects */
.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(58, 134, 255, 0.08) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 194, 168, 0.06) 0%, transparent 70%);
  bottom: 0;
  right: -100px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px;
  background: var(--accent-blue-dim);
  border: 1px solid rgba(58, 134, 255, 0.2);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  max-width: 820px;
  margin-bottom: var(--sp-6);
}

.hero-title .highlight {
  color: var(--accent-blue);
  position: relative;
}

.hero-desc {
  max-width: 560px;
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-10);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-note {
  margin-top: var(--sp-4);
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* --- Preview Window --- */
.hero-preview {
  margin-top: var(--sp-16);
  width: 100%;
  max-width: 1000px;
  position: relative;
  z-index: 1;
}

.preview-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
}

.preview-bar {
  background: var(--surface-2);
  padding: 12px var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-bottom: 1px solid var(--border);
}

.preview-dots {
  display: flex;
  gap: 6px;
}
.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.preview-dot:nth-child(1) { background: #FF5F57; }
.preview-dot:nth-child(2) { background: #FEBC2E; }
.preview-dot:nth-child(3) { background: #28C840; }

.preview-url {
  flex: 1;
  background: var(--surface-3);
  border-radius: var(--r-sm);
  padding: 5px 12px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-faint);
  text-align: center;
}

.preview-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 400px;
}

.preview-sidebar {
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  padding: var(--sp-4) var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: center;
}

.preview-tool {
  width: 36px;
  height: 36px;
  background: var(--surface-3);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.preview-tool.active {
  background: var(--accent-blue-dim);
  color: var(--accent-blue);
}

.preview-canvas {
  position: relative;
  background: var(--bg);
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow: hidden;
}

/* Floating elements on preview canvas */
.preview-el {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  font-size: 0.75rem;
  color: var(--text);
}

.preview-el-note {
  top: 40px; left: 60px; width: 160px;
  border-left: 3px solid var(--accent-blue);
}

.preview-el-img {
  top: 40px; left: 260px; width: 120px; height: 80px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); font-size: 1.5rem;
}

.preview-el-column {
  top: 160px; left: 60px; width: 200px;
  border-top: 2px solid var(--accent-teal);
}

.preview-el-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-3);
}

.preview-el-col-item {
  background: var(--surface-2);
  border-radius: var(--r-sm);
  padding: 6px var(--sp-3);
  margin-bottom: var(--sp-2);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.preview-el-drawing {
  position: absolute;
  top: 170px;
  left: 290px;
}

/* --- Stats Bar --- */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-16);
  padding: var(--sp-10) var(--sp-8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- Features Section --- */
.section {
  padding: var(--sp-16) var(--sp-8);
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: var(--sp-4);
}

.section-desc {
  text-align: center;
  max-width: 540px;
  margin: 0 auto var(--sp-12);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-5);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--t-base);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--sp-5);
}

.feature-icon-blue { background: var(--accent-blue-dim); }
.feature-icon-teal { background: var(--accent-teal-dim); }
.feature-icon-yellow { background: var(--yellow-dim); }

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--text);
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- User Types Section --- */
.user-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}

.user-type-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}

.user-type-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.user-type-card.freelancer::before { background: var(--accent-blue); }
.user-type-card.client::before { background: var(--accent-teal); }

.user-type-emoji { font-size: 2.5rem; margin-bottom: var(--sp-4); }
.user-type-title { font-size: 1.2rem; font-weight: 700; margin-bottom: var(--sp-3); }
.user-type-list { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-4); }

.user-type-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.check-blue { background: var(--accent-blue-dim); color: var(--accent-blue); }
.check-teal { background: var(--accent-teal-dim); color: var(--accent-teal); }

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(58,134,255,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-8);
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  gap: var(--sp-6);
}

.footer-link {
  font-size: 0.8rem;
  color: var(--text-faint);
  transition: color var(--t-base);
}
.footer-link:hover { color: var(--text-muted); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .stats-bar { gap: var(--sp-8); flex-wrap: wrap; }
  .user-types { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
}
