/* EmpowerEd Nexus Studio - Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --navy: #0c1733;
  --blue: #2e92c6;
  --green: #4eba86;
  --navy-light: #1a2a4a;
  --navy-mid: #152040;
  --blue-light: #5db3dc;
  --blue-dark: #1a7aaa;
  --green-light: #6dd4a0;
  --green-dark: #38a070;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-blue: 0 8px 30px rgba(46,146,198,0.25);
  --shadow-green: 0 8px 30px rgba(78,186,134,0.25);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.2s ease;
  --transition-slow: all 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}

a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; height: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(46,146,198,0.35);
}

.btn-success {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  border-color: var(--green);
  box-shadow: var(--shadow-green);
}
.btn-success:hover {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(78,186,134,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn-outline:hover {
  background: var(--gray-50);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

.btn-navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  color: white;
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 18px 40px; font-size: 17px; border-radius: var(--radius-full); }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: var(--radius-sm); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,146,198,0.12);
}
.form-control::placeholder { color: var(--gray-400); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav-logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--gray-100);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-700);
  font-size: 20px;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 24px 100px;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-light) 40%, #1e3a5f 70%, #0d2b45 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(46,146,198,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(78,186,134,0.12) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(78,186,134,0.15);
  border: 1px solid rgba(78,186,134,0.3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--green-light);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero-badge-dot {
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-dashboard {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.hero-dash-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-dash-dots {
  display: flex;
  gap: 6px;
}

.hero-dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-dash-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  flex: 1;
  text-align: center;
}

.hero-output-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-output-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px;
  transition: var(--transition);
}

.hero-output-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.hero-card-icon {
  font-size: 20px;
  margin-bottom: 8px;
}

.hero-card-title {
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.hero-card-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
}

.hero-card-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.hero-card-progress {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  animation: progressAnim 2s ease-in-out infinite alternate;
}

@keyframes progressAnim {
  0% { width: 40%; }
  100% { width: 90%; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 24px;
}

.section-sm {
  padding: 60px 24px;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(46,146,198,0.08);
  border: 1px solid rgba(46,146,198,0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== OUTPUT TYPES ===== */
.outputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.output-card {
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.output-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.output-card:hover::before { transform: scaleX(1); }

.output-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.output-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.icon-blue { background: rgba(46,146,198,0.1); color: var(--blue); }
.icon-green { background: rgba(78,186,134,0.1); color: var(--green); }
.icon-navy { background: rgba(12,23,51,0.08); color: var(--navy); }
.icon-purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.icon-orange { background: rgba(249,115,22,0.1); color: #f97316; }
.icon-pink { background: rgba(236,72,153,0.1); color: #ec4899; }
.icon-teal { background: rgba(20,184,166,0.1); color: #14b8a6; }
.icon-amber { background: rgba(245,158,11,0.1); color: #f59e0b; }

.output-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.output-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.output-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.output-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-600);
}

.output-features li::before {
  content: '✓';
  width: 16px;
  height: 16px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  background: linear-gradient(170deg, var(--gray-50) 0%, white 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 20px;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(33.33% - 10px);
  right: calc(33.33% - 10px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 40px 32px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  background: white;
  border: 3px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 auto 24px;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.step-card:nth-child(1) .step-num { border-color: var(--blue); color: var(--blue); background: rgba(46,146,198,0.06); }
.step-card:nth-child(2) .step-num { border-color: var(--green); color: var(--green); background: rgba(78,186,134,0.06); }
.step-card:nth-child(3) .step-num { border-color: var(--navy); color: var(--navy); background: rgba(12,23,51,0.06); }

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== WHO IT'S FOR ===== */
.users-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.user-card {
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 16px;
  transition: var(--transition);
}

.user-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.user-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.user-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.user-info p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ===== PRICING ===== */
.pricing-section {
  background: var(--gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition-slow);
}

.pricing-card.featured {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: var(--blue);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}

.pricing-card:hover:not(.featured) {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-name { color: rgba(255,255,255,0.7); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-600);
}

.pricing-amount {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-card.featured .pricing-currency,
.pricing-card.featured .pricing-amount { color: white; }

.pricing-period {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.6); }

.pricing-desc {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.pricing-card.featured .pricing-desc {
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.1);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-700);
}

.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.85); }

.pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(78,186,134,0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-check {
  background: rgba(78,186,134,0.25);
}

.pricing-x {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-section {
  background: white;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--blue); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--blue);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 80px 24px 40px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
  color: rgba(255,255,255,0.55);
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(46,146,198,0.2);
  border-color: var(--blue);
  color: var(--blue-light);
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(46,146,198,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(78,186,134,0.1) 0%, transparent 50%);
}

.auth-container {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.35);
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin: 0 auto 12px;
}

.auth-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 8px;
}

.auth-sub {
  font-size: 14px;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 32px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.auth-divider span {
  font-size: 12px;
  color: var(--gray-400);
  white-space: nowrap;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.social-btn {
  width: 100%;
  padding: 11px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  margin-bottom: 10px;
}

.social-btn:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray-500);
}

.auth-footer a {
  color: var(--blue);
  font-weight: 600;
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  font-size: 16px;
  padding: 4px;
}

/* ===== DASHBOARD ===== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--gray-50);
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: white;
  border-right: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  transition: var(--transition);
}

.sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.sidebar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.sidebar-logo-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 8px 10px 4px;
  margin-top: 8px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  text-decoration: none;
  margin-bottom: 2px;
}

.sidebar-nav a:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.sidebar-nav a.active {
  background: rgba(46,146,198,0.08);
  color: var(--blue);
  font-weight: 600;
}

.sidebar-nav a.active .nav-icon {
  color: var(--blue);
}

.nav-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--gray-100);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-user:hover {
  background: var(--gray-50);
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.user-info-mini {
  flex: 1;
  min-width: 0;
}

.user-name-mini {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-plan-mini {
  font-size: 11px;
  color: var(--blue);
  font-weight: 500;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 260px;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-search {
  flex: 1;
  max-width: 360px;
  position: relative;
}

.topbar-search input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--gray-700);
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.topbar-search input:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(46,146,198,0.1);
}

.topbar-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 14px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-btn {
  width: 36px;
  height: 36px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-500);
  font-size: 15px;
  transition: var(--transition);
  position: relative;
}

.topbar-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(46,146,198,0.05);
}

.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  border: 1.5px solid white;
}

.page-content {
  padding: 32px;
}

/* Dashboard Grid */
.dash-welcome {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: white;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.dash-welcome::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(46,146,198,0.25) 0%, transparent 70%);
}

.dash-welcome::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(78,186,134,0.15) 0%, transparent 70%);
}

.dash-welcome h2 {
  color: white;
  font-size: 24px;
  margin-bottom: 6px;
}

.dash-welcome p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin-bottom: 20px;
}

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

.stat-card {
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-info { min-width: 0; }

.stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
}

.stat-change {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  display: inline-block;
}

.change-up { background: rgba(78,186,134,0.1); color: var(--green-dark); }
.change-down { background: rgba(249,115,22,0.1); color: #f97316; }

.dashboard-cols {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.card {
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}

.card-body {
  padding: 20px 22px;
}

/* Projects */
.project-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-50);
  transition: var(--transition);
}

.project-item:last-child { border-bottom: none; }
.project-item:hover { background: var(--gray-50); margin: 0 -22px; padding: 14px 22px; border-radius: var(--radius); }

.project-type-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.project-info { flex: 1; min-width: 0; }

.project-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-meta {
  font-size: 11.5px;
  color: var(--gray-500);
  margin-top: 2px;
}

.status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.status-done { background: rgba(78,186,134,0.1); color: var(--green-dark); }
.status-draft { background: rgba(245,158,11,0.1); color: #b45309; }
.status-processing { background: rgba(46,146,198,0.1); color: var(--blue-dark); }

/* Quick actions */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.quick-action {
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.quick-action:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.quick-action-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.quick-action-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.quick-action-sub {
  font-size: 11px;
  color: var(--gray-500);
}

/* Usage meter */
.usage-meter {
  margin-bottom: 16px;
}

.usage-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.usage-bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}

.usage-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 0.5s ease;
}

/* Plan card */
.plan-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  padding: 16px;
  color: white;
  margin-bottom: 16px;
}

.plan-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 4px;
}

.plan-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ===== UPLOAD FLOW ===== */
.upload-page {
  min-height: 100vh;
  background: var(--gray-50);
}

.upload-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px;
}

.upload-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-full);
  padding: 8px;
}

.upload-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  transition: var(--transition);
}

.upload-step.active {
  background: var(--navy);
  color: white;
}

.upload-step.done {
  color: var(--green);
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.upload-step.active .step-circle {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

/* Drop zone */
.dropzone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: white;
}

.dropzone:hover,
.dropzone.drag-over {
  border-color: var(--blue);
  background: rgba(46,146,198,0.03);
}

.dropzone-icon {
  font-size: 56px;
  margin-bottom: 16px;
  color: var(--gray-400);
}

.dropzone h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.dropzone p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.dropzone-formats {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.format-tag {
  padding: 4px 12px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
}

/* Tabs */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-100);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }

/* Upload settings */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.output-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.output-opt {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.output-opt:hover { border-color: var(--blue); background: rgba(46,146,198,0.03); }
.output-opt.selected { border-color: var(--blue); background: rgba(46,146,198,0.06); }
.output-opt.selected .output-opt-icon { background: var(--blue); color: white; }

.output-opt-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0 auto 10px;
  transition: var(--transition);
}

.output-opt-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-800);
}

/* ===== AI GENERATING ===== */
.generating-screen {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.generating-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

.ai-spinner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  animation: spinPulse 2s ease-in-out infinite;
  position: relative;
}

.ai-spinner::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--blue);
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.generating-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.generating-sub {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.6;
}

.generating-progress {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}

.generating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 3px;
  animation: loadingBar 3s ease-in-out infinite;
}

@keyframes loadingBar {
  0% { width: 0%; }
  50% { width: 70%; }
  90% { width: 95%; }
  100% { width: 95%; }
}

.generating-steps {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.gen-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-500);
}

.gen-step.done { color: var(--green-dark); }
.gen-step.active { color: var(--blue); font-weight: 600; }

.gen-step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.gen-step.done .gen-step-dot { background: rgba(78,186,134,0.15); color: var(--green); }
.gen-step.active .gen-step-dot {
  background: rgba(46,146,198,0.15);
  color: var(--blue);
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== EDITOR ===== */
.editor-layout {
  display: flex;
  min-height: 100vh;
  background: var(--gray-50);
}

.editor-sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid var(--gray-100);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
}

.editor-topbar {
  background: white;
  border-bottom: 1px solid var(--gray-100);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 16px;
}

.editor-main {
  flex: 1;
  margin-left: 280px;
  display: flex;
  flex-direction: column;
}

.editor-content {
  flex: 1;
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.editor-section {
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.editor-section:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.editor-section-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-50);
}

.editor-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.editor-section-body {
  padding: 20px;
}

.editor-field {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--gray-800);
  border: none;
  outline: none;
  resize: none;
  line-height: 1.7;
  min-height: 60px;
}

.editor-field:focus {
  background: rgba(46,146,198,0.02);
  border-radius: var(--radius-sm);
}

.editor-title-field {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  border: none;
  outline: none;
  width: 100%;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  background: transparent;
}

.editor-actions-bar {
  display: flex;
  gap: 8px;
}

.edit-action-btn {
  padding: 5px 12px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.edit-action-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Outline items */
.outline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  color: var(--gray-600);
}

.outline-item:hover { background: var(--gray-50); color: var(--gray-900); }
.outline-item.active { background: rgba(46,146,198,0.08); color: var(--blue); font-weight: 600; }

.outline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}

.outline-item.active .outline-dot { background: var(--blue); }

/* ===== ADMIN ===== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--gray-50);
}

.admin-sidebar {
  width: 240px;
  background: var(--navy);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
}

.admin-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: white;
  font-family: 'Sora', sans-serif;
}

.admin-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.admin-logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.admin-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.admin-nav-section {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 10px 10px 4px;
  margin-top: 8px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  text-decoration: none;
  margin-bottom: 2px;
}

.admin-nav a:hover {
  background: rgba(255,255,255,0.06);
  color: white;
}

.admin-nav a.active {
  background: rgba(46,146,198,0.15);
  color: var(--blue-light);
}

.admin-main {
  flex: 1;
  margin-left: 240px;
}

.admin-topbar {
  background: white;
  border-bottom: 1px solid var(--gray-100);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-content {
  padding: 32px;
}

.admin-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.admin-sub {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
}

/* Revenue Chart */
.chart-placeholder {
  height: 200px;
  background: linear-gradient(135deg, rgba(46,146,198,0.05), rgba(78,186,134,0.05));
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 20px;
  position: relative;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  transition: var(--transition);
  position: relative;
}

.chart-bar:nth-child(even) {
  background: linear-gradient(180deg, var(--green), var(--green-dark));
}

.chart-bar:hover { opacity: 0.8; }

/* Users table */
.users-table {
  width: 100%;
  border-collapse: collapse;
}

.users-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.users-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-50);
}

.users-table tr:hover td { background: var(--gray-50); }

.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar-sm {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

/* Donut chart placeholder */
.donut-chart {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    var(--blue) 0% 35%,
    var(--green) 35% 60%,
    #8b5cf6 60% 75%,
    #f97316 75% 88%,
    #ec4899 88% 96%,
    #14b8a6 96% 100%
  );
  position: relative;
  margin: 0 auto 20px;
}

.donut-chart::after {
  content: '';
  position: absolute;
  inset: 24px;
  background: white;
  border-radius: 50%;
}

/* ===== NOTIFICATIONS ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s ease;
  max-width: 320px;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.toast.success { background: var(--green-dark); }
.toast.error { background: #ef4444; }
.toast.info { background: var(--blue-dark); }

/* ===== CERTIFICATE ===== */
.certificate-preview {
  background: white;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.certificate-preview::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.cert-header-logo {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.cert-title-line {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.cert-main-title {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.cert-sub-title {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.cert-presented {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.cert-name {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  color: var(--blue);
  margin: 8px 0 16px;
  border-bottom: 2px solid var(--gray-200);
  display: inline-block;
  padding: 0 40px 8px;
}

.cert-description {
  font-size: 14px;
  color: var(--gray-600);
  max-width: 420px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.cert-signature {
  text-align: center;
}

.cert-sig-line {
  width: 120px;
  height: 1px;
  background: var(--gray-400);
  margin: 0 auto 4px;
}

.cert-sig-name {
  font-size: 11px;
  color: var(--gray-600);
}

.cert-date {
  text-align: center;
  font-size: 12px;
  color: var(--gray-500);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  animation: scaleIn 0.2s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title { font-size: 18px; font-weight: 700; color: var(--gray-900); }

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 16px;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.modal-body { padding: 24px 28px; }
.modal-footer {
  padding: 16px 28px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .outputs-grid { grid-template-columns: repeat(2, 1fr); }
  .users-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .dashboard-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; align-items: center; }
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .section { padding: 60px 20px; }
  .outputs-grid { grid-template-columns: 1fr; }
  .users-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .page-content { padding: 20px; }
  .quick-actions-grid { grid-template-columns: repeat(2, 1fr); }
  .settings-grid { grid-template-columns: 1fr; }
  .output-selector { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 20px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .editor-sidebar { display: none; }
  .editor-main { margin-left: 0; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-actions { flex-direction: column; }
  .btn-xl { width: 100%; }
  .quick-actions-grid { grid-template-columns: 1fr 1fr; }
  .output-selector { grid-template-columns: repeat(2, 1fr); }
  .editor-content { padding: 16px; }
  .generating-card { padding: 40px 24px; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.w-full { width: 100%; }
.hidden { display: none; }
.block { display: block; }
.relative { position: relative; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Tooltip */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: white;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 100;
}

[data-tooltip]:hover::after { opacity: 1; }

/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
}

.tag-blue { background: rgba(46,146,198,0.1); color: var(--blue-dark); }
.tag-green { background: rgba(78,186,134,0.1); color: var(--green-dark); }
.tag-navy { background: rgba(12,23,51,0.08); color: var(--navy); }
.tag-purple { background: rgba(139,92,246,0.1); color: #7c3aed; }
.tag-orange { background: rgba(249,115,22,0.1); color: #c2410c; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-100);
  padding: 16px 24px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

.mobile-menu a:hover { background: var(--gray-50); color: var(--navy); }

.mobile-menu-actions {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  margin-top: 4px;
  border-top: 1px solid var(--gray-100);
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99;
}

.sidebar-overlay.open { display: block; }

/* Chart legend */
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-600);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Progress ring */
.progress-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Alert */
.alert {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.alert-info {
  background: rgba(46,146,198,0.08);
  border: 1px solid rgba(46,146,198,0.2);
  color: var(--blue-dark);
}

.alert-success {
  background: rgba(78,186,134,0.08);
  border: 1px solid rgba(78,186,134,0.2);
  color: var(--green-dark);
}

.alert-warning {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  color: #92400e;
}
