/* ==========================================================================
   Prompts App - Cloudflare Pages Website Stylesheet
   ========================================================================== */

:root {
  --bg-dark: #0a0a0c;
  --surface-card: #121215;
  --surface-hover: #18181c;
  --amber-primary: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.25);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.18);
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header & Nav */
header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.85);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  color: #000;
  box-shadow: 0 0 20px var(--amber-glow);
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
}

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

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

.nav-links a:hover {
  color: var(--amber-primary);
}

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--amber-primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 36px;
  font-weight: 400;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--amber-primary);
  color: #000;
  box-shadow: 0 4px 24px var(--amber-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
  background-color: var(--surface-card);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background-color: var(--surface-hover);
  border-color: var(--border-glass-hover);
}

/* Features Section */
.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 16px;
}

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

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Legal Documents Style */
.legal-content {
  padding: 60px 0 100px;
  max-width: 850px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-content .meta-date {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-box {
  background: var(--surface-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px;
}

.legal-box h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--amber-primary);
  margin: 32px 0 14px;
}

.legal-box h2:first-child {
  margin-top: 0;
}

.legal-box p, .legal-box ul {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-box ul {
  padding-left: 24px;
}

.legal-box li {
  margin-bottom: 8px;
}

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

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 12px;
}

footer a:hover {
  color: var(--amber-primary);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .legal-box { padding: 24px; }
}
