/* PromptUp — Global Styles v2 */
:root {
  --bg: #FBF5ED;
  --bg-warm: #F7EDDF;
  --bg-accent: #F2E6D4;
  --surface: #FFFFFF;
  --border: #F0E6D9;
  --border-light: #F5EFE7;
  --text: #1E1B18;
  --text-secondary: #44403C;
  --text-muted: #9C8E82;
  --primary: #F97316;
  --primary-hover: #EA580C;
  --primary-light: #FFEDD5;
  --primary-soft: rgba(249, 115, 22, 0.1);
  --accent: #E85D04;
  --success: #16A34A;
  --error: #DC2626;
  --gradient: linear-gradient(135deg, #F97316, #FB923C);
  --shadow-sm: 0 1px 3px rgba(140, 120, 100, 0.08);
  --shadow: 0 4px 16px rgba(140, 120, 100, 0.1);
  --shadow-lg: 0 8px 32px rgba(140, 120, 100, 0.12);
  --radius: 14px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* --- Nav --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(249, 115, 22, 0.35); }
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* --- Hero --- */
.hero {
  text-align: center;
  padding: 80px 0 60px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Trusted By / Logo Bar --- */
.trust-bar {
  text-align: center;
  padding: 40px 0 20px;
}
.trust-bar p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
}
.trust-logos {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0.5;
}
.trust-logos span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* --- How It Works --- */
.section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 48px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-accent);
  color: var(--primary);
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* --- Pricing --- */
.pricing-section {
  background: var(--bg-warm);
  padding: 80px 0;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary);
}
.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.pricing-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--text); }
.pricing-price {
  font-size: 42px;
  font-weight: 800;
  margin: 16px 0 8px;
  color: var(--text);
}
.pricing-price span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.pricing-features {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  align-items: center;
}
.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Platforms --- */
.platforms {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.platform-icon {
  width: 52px;
  height: 52px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.platform-icon svg { color: var(--text-secondary); }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--gradient);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  margin: 40px 0 0;
  color: white;
}
.cta-banner h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
}
.cta-banner .btn {
  background: white;
  color: var(--primary);
  font-weight: 700;
}
.cta-banner .btn:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* --- Web App --- */
.app-container {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 24px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.app-card h2 { margin-bottom: 20px; color: var(--text); }
.textarea-wrap { margin-bottom: 16px; }
.textarea-wrap label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.textarea-wrap textarea {
  width: 100%;
  min-height: 120px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.15s;
}
.textarea-wrap textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.select-wrap select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 16px;
}
.select-wrap select:focus {
  outline: none;
  border-color: var(--primary);
}
.app-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.copy-btn {
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.copy-btn:hover { background: var(--bg-accent); }

/* --- Auth Pages --- */
.auth-container {
  max-width: 420px;
  margin: 100px auto;
  padding: 0 24px;
  text-align: center;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 44px 36px;
  box-shadow: var(--shadow);
}
.auth-card h2 { margin-bottom: 8px; color: var(--text); }
.auth-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.auth-card input[type="email"] {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 16px;
  transition: border-color 0.15s;
}
.auth-card input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* --- Dashboard --- */
.dashboard {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 24px;
}
.dash-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.dash-card h3 { margin-bottom: 16px; color: var(--text); }
.tier-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.tier-free { background: var(--bg-warm); color: var(--text-muted); }
.tier-plus { background: var(--primary-light); color: var(--primary); }
.tier-pro { background: #FEF3C7; color: #B45309; }
.usage-bar {
  height: 8px;
  background: var(--bg-accent);
  border-radius: 4px;
  margin: 12px 0;
  overflow: hidden;
}
.usage-bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
  transition: width 0.3s;
}
.usage-text { font-size: 14px; color: var(--text-muted); }

/* --- Responsive --- */
@media (max-width: 640px) {
  .hero { padding: 60px 0 40px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .nav-links { gap: 14px; }
  .section { padding: 48px 0; }
  .cta-banner { padding: 40px 24px; border-radius: 16px; }
  .pricing-section { margin: 0; }
}
