/* Customer Website & Dashboard CSS */
:root {
  --bg-dark: #090d16;
  --bg-card: rgba(26, 34, 52, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --accent-primary: #6366f1;
  --accent-success: #10b981;
  --accent-danger: #ef4444;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 18px;
}

.nav-brand .logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero-section {
  padding: 90px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.15), transparent 60%);
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--accent-primary); color: white; }
.btn-primary:hover { background: #4f46e5; }
.btn-secondary { background: rgba(255,255,255,0.08); color: var(--text-main); border: 1px solid var(--border-color); }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); }
.btn-block { width: 100%; }

/* Features */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-title p { color: var(--text-muted); font-size: 16px; }

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(10px);
}

.feature-card .icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

/* Steps */
.bg-card-section { background: rgba(15, 23, 42, 0.6); border-top: 1px solid var(--border-color); }

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.step-card h3 { font-size: 18px; margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: 14px; }

/* Auth Pages */
.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 420px;
  padding: 36px;
  backdrop-filter: blur(15px);
}

.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header .logo { font-size: 32px; margin-bottom: 12px; }
.auth-header h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.auth-header p { color: var(--text-muted); font-size: 13px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.form-group input {
  width: 100%;
  padding: 12px;
  background: rgba(9, 13, 22, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  outline: none;
}

.alert {
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}
.alert-danger { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

.auth-footer { text-align: center; margin-top: 24px; }
.auth-footer a { color: var(--text-muted); text-decoration: none; font-size: 13px; }

/* Dashboard Grid */
.main-dashboard-container { padding: 40px 20px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dash-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 28px; }
.dash-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 12px; }

.info-rows { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.info-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.info-row .label { color: var(--text-muted); }

.setup-steps { padding-left: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--text-muted); }
.setup-steps code { background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; color: #a5b4fc; }
.support-notice { margin-top: 24px; padding: 14px; background: rgba(99,102,241,0.1); border-radius: 8px; font-size: 13px; color: #a5b4fc; }

.footer { border-top: 1px solid var(--border-color); padding: 28px 0; font-size: 13px; color: var(--text-muted); }
.footer-container { display: flex; justify-content: space-between; }
.footer-links a { color: var(--text-muted); text-decoration: none; margin-left: 16px; }
