/* ═══════════════════════════════════
   LetPrompt — AI Prompt Catalog
   Colors: Violet #7C3AED, Zinc scale
   Fonts: Inter (body), Outfit (headings)
   ═══════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: #18181b; background: #fafafa;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');
h1, h2, h3, h4, .font-outfit { font-family: 'Outfit', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

/* ─── CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 15px; padding: 12px 24px;
  border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.3s ease; text-align: center;
}
.btn-primary {
  background: #7C3AED; color: white; border-color: #7C3AED;
}
.btn-primary:hover {
  background: #6D28D9; border-color: #6D28D9;
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,0.3);
}
.btn-outline {
  background: transparent; color: #18181b;
  border-color: #d4d4d8;
}
.btn-outline:hover {
  border-color: #7C3AED; color: #7C3AED; background: rgba(124,58,237,0.04);
}
.btn-white {
  background: white; color: #7C3AED; border-color: white;
}
.btn-white:hover {
  background: #f4f4f5; transform: translateY(-2px);
}
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,250,250,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06); padding: 14px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo img { height: 36px; }
.nav-logo span { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 20px; color: #18181b; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: #52525b;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: #7C3AED; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: #7C3AED; transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: #18181b; border-radius: 3px; transition: all 0.3s; }

/* ─── HERO ─── */
.hero {
  padding: 140px 0 80px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fafafa 0%, #f5f3ff 50%, #ede9fe 100%);
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.08), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(124,58,237,0.1); color: #7C3AED;
  font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 50px;
  margin-bottom: 20px; font-family: 'Outfit', sans-serif;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 .gradient-text {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 18px; color: #52525b; line-height: 1.7;
  margin-bottom: 28px; max-width: 520px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 28px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; color: #7C3AED; }
.stat span { font-size: 13px; color: #71717a; font-weight: 500; }

/* ─── HERO VISUAL ─── */
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-card-stack { position: relative; width: 320px; height: 380px; }
.hero-card {
  position: absolute; width: 280px; background: white; border-radius: 16px;
  padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04); transition: all 0.3s;
  animation: float 3s ease-in-out infinite;
}
.hc-1 { top: 0; right: 0; z-index: 3; }
.hc-2 { bottom: 0; left: 0; z-index: 2; animation-delay: 1s; }
.hc-3 { top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; animation-delay: 2s; opacity: 0.7; }
.hero-card .card-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: #7C3AED; margin-bottom: 6px; }
.hero-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.hero-card p { font-size: 13px; color: #71717a; line-height: 1.5; }
.hero-card .card-usage { font-size: 12px; color: #a1a1aa; margin-top: 8px; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
.hc-2 { animation-delay: 1.5s; }
.hc-3 { animation-delay: 3s; }

/* ─── SECTION ─── */
.section { padding: 80px 0; }
.section-alt { background: white; }
.section-dark { background: #18181b; color: white; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: #71717a; font-size: 17px; }
.section-badge {
  display: inline-block; background: rgba(124,58,237,0.1); color: #7C3AED;
  font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 50px;
  margin-bottom: 14px; font-family: 'Outfit', sans-serif;
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ─── CATEGORY GRID ─── */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card {
  background: white; border-radius: 16px; padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.category-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}
.category-card .cat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.category-card h3 { margin-bottom: 8px; font-size: 18px; }
.category-card p { color: #71717a; font-size: 14px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.category-card .cat-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #a1a1aa;
}
.category-card .cat-link { color: #7C3AED; font-weight: 600; font-size: 14px; }

/* ─── CLUSTER COLORS ─── */
.cat-marketing .cat-icon { background: #fce7f3; }
.cat-finance .cat-icon { background: #fef3c7; }
.cat-coding .cat-icon { background: #dbeafe; }
.cat-art .cat-icon { background: #ede9fe; }
.cat-writing .cat-icon { background: #d1fae5; }
.cat-analysis .cat-icon { background: #e0e7ff; }
.cat-productivity .cat-icon { background: #f3e8ff; }

/* ─── PROMPT CARD ─── */
.prompt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.prompt-card {
  background: white; border-radius: 14px; padding: 24px;
  border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s;
}
.prompt-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.06); }
.prompt-card .prompt-type {
  display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
  font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.type-text { background: #dbeafe; color: #1d4ed8; }
.type-image { background: #fce7f3; color: #db2777; }
.type-json { background: #fef3c7; color: #d97706; }
.type-code { background: #d1fae5; color: #059669; }
.prompt-card h3 { font-size: 16px; margin-bottom: 6px; }
.prompt-card p { font-size: 14px; color: #71717a; line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prompt-card .prompt-meta { display: flex; gap: 12px; font-size: 12px; color: #a1a1aa; }
.prompt-card .prompt-link { color: #7C3AED; font-weight: 600; font-size: 13px; }

/* ─── FORM ─── */
.form-card {
  max-width: 560px; margin: 0 auto;
  background: white; border-radius: 20px; padding: 40px 36px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.04);
}
.form-card h3 { text-align: center; margin-bottom: 6px; }
.form-card .form-desc { text-align: center; color: #71717a; font-size: 15px; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: #18181b; }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 2px solid #e4e4e7; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: #18181b;
  background: white; transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.form-group input::placeholder { color: #a1a1aa; }
.btn-submit { width: 100%; justify-content: center; padding: 14px; margin-top: 8px; }
.form-note { font-size: 12px; color: #a1a1aa; text-align: center; margin-top: 12px; }
.success-message { text-align: center; padding: 40px; display: none; }
.success-message .check { width: 56px; height: 56px; background: #10b981; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px; }
.success-message h3 { color: #10b981; margin-bottom: 8px; }
.success-message p { color: #71717a; font-size: 15px; }

/* ─── BLOG / LONG-TAIL STRIP ─── */
.longtail-strip { background: #f5f3ff; border-radius: 16px; padding: 32px; margin-top: 40px; }
.longtail-strip h3 { margin-bottom: 12px; font-size: 18px; }
.longtail-strip p { color: #52525b; font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.longtail-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.longtail-strip ul li {
  background: white; padding: 6px 14px; border-radius: 20px;
  font-size: 13px; color: #52525b; border: 1px solid rgba(0,0,0,0.04);
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
  padding: 60px 0; text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 17px; margin-bottom: 28px; }

/* ─── BREADCRUMB ─── */
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: #71717a; margin-bottom: 24px; }
.breadcrumb a { color: #7C3AED; }
.breadcrumb a:hover { text-decoration: underline; }

/* ─── ARTICLE / CLUSTER PAGE ─── */
.cluster-header { padding: 120px 0 40px; }
.cluster-header .cluster-meta { display: flex; gap: 12px; margin-top: 12px; font-size: 14px; color: #71717a; }
.longtail-list { margin-top: 48px; }
.longtail-item {
  background: white; border-radius: 14px; padding: 24px; margin-bottom: 16px;
  border: 1px solid rgba(0,0,0,0.05);
}
.longtail-item h3 { font-size: 18px; margin-bottom: 8px; }
.longtail-item p { color: #71717a; font-size: 14px; line-height: 1.7; }

/* ─── FULL PROMPT PAGE ─── */
.prompt-full { padding: 120px 0 60px; }
.prompt-full .prompt-text {
  background: #18181b; color: #e4e4e7; border-radius: 14px;
  padding: 28px; font-family: 'SF Mono', 'Monaco', monospace; font-size: 14px;
  line-height: 1.7; white-space: pre-wrap; overflow-x: auto;
  margin: 20px 0;
}

/* ─── FOOTER ─── */
.footer { background: #18181b; color: white; padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-brand .footer-logo img { height: 30px; }
.footer-brand .footer-logo span { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 18px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-links h4 { font-size: 15px; margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: #A78BFA; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 13px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .prompt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin: 0 auto 28px; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .hero { padding: 100px 0 50px; }
  .category-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(250,250,250,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 20px; gap: 14px;
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: all 0.3s; border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .form-card { padding: 24px 20px; }
}
