/*
Theme Name: PromptForge
Theme URI: https://demosite.217.76.63.164.nip.io
Author: PromptForge
Description: A premium WordPress block theme for the PromptForge AI website builder.
Version: 2.0.1
Text Domain: twentytwentyfive
*/
:root {
  --pf-bg: #070814;
  --pf-surface: #101226;
  --pf-surface-2: #171a35;
  --pf-text: #f7f7ff;
  --pf-muted: #a7abc5;
  --pf-violet: #7c5cff;
  --pf-blue: #36a3ff;
  --pf-pink: #ff4dba;
  --pf-mint: #45e6c3;
  --pf-border: rgba(255,255,255,.12);
  --pf-gradient: linear-gradient(125deg, #7c5cff 0%, #36a3ff 48%, #ff4dba 100%);
  --pf-shadow: 0 24px 80px rgba(0,0,0,.38);
  --pf-radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pf-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(124,92,255,.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255,77,186,.13), transparent 28%),
    var(--pf-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; }
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.pf-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.pf-site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--pf-border);
  background: rgba(7, 8, 20, .78);
  backdrop-filter: blur(18px);
}

/* Hero: fixed 2-col, images always contained */
.pf-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
}
.pf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: center;
}
.pf-hero-copy,
.pf-hero-media {
  min-width: 0;
  max-width: 100%;
}
.pf-hero-media {
  display: grid;
  gap: 12px;
}
.pf-hero-frame {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--pf-border);
  box-shadow: var(--pf-shadow);
  background: #0b0d1c;
}
.pf-hero-main-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
}
.pf-hero-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 750;
  color: #fff;
  background: rgba(7,8,20,.84);
  border: 1px solid var(--pf-border);
  backdrop-filter: blur(10px);
}
.pf-hero-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pf-hero-thumbs img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--pf-border);
}

/* About / Talha */
.pf-about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}
.pf-talha-photo {
  position: relative;
  min-width: 0;
}
.pf-talha-photo img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 30px;
  border: 1px solid var(--pf-border);
  box-shadow: var(--pf-shadow);
}
.pf-talha-chip {
  position: absolute; left: 18px; bottom: 18px; padding: 10px 16px;
  border-radius: 999px; font-weight: 750; font-size: .85rem;
  background: rgba(7,8,20,.88); border: 1px solid var(--pf-border); backdrop-filter: blur(12px);
}
.pf-card-media-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--pf-border);
  margin-bottom: 18px;
  background: #0b0d1c;
}
.pf-card-media {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}
.pf-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pf-logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; font-size: 1.2rem; text-decoration: none; letter-spacing: -.03em; }
.pf-logo-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; background: var(--pf-gradient); box-shadow: 0 0 34px rgba(124,92,255,.45); }
.pf-menu { display: flex; align-items: center; gap: 28px; }
.pf-menu a { color: var(--pf-muted); text-decoration: none; font-size: .93rem; transition: .2s ease; }
.pf-menu a:hover { color: white; }
.pf-button, .pf-button-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 750;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.pf-button { color: #fff; background: var(--pf-gradient); box-shadow: 0 14px 38px rgba(87,79,255,.28); }
.pf-button-secondary { color: #fff; border: 1px solid var(--pf-border); background: rgba(255,255,255,.055); }
.pf-button:hover, .pf-button-secondary:hover { transform: translateY(-2px); }
.pf-grid-2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.pf-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #c5baff; text-transform: uppercase; font-size: .76rem; letter-spacing: .16em; font-weight: 800; }
.pf-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--pf-gradient); }
h1, h2, h3, p { margin-top: 0; }
.pf-hero h1 { margin-bottom: 24px; max-width: 850px; font-size: clamp(3.1rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.065em; }
.pf-gradient-text { color: transparent; background: var(--pf-gradient); background-clip: text; -webkit-background-clip: text; }
.pf-lead { max-width: 690px; color: var(--pf-muted); font-size: clamp(1.06rem, 2vw, 1.26rem); }
.pf-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 32px; }
.pf-trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px; color: var(--pf-muted); font-size: .88rem; }
.pf-trust span::before { content: "✓"; margin-right: 8px; color: var(--pf-mint); }
.pf-product {
  position: relative; padding: 14px; border: 1px solid var(--pf-border); border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); box-shadow: var(--pf-shadow);
  overflow: hidden; max-width: 100%;
}
.pf-product img {
  display: block; width: 100%; height: 360px; object-fit: cover; border-radius: 20px;
}
.pf-product-panel {
  position: absolute; left: 18px; bottom: 28px; width: min(250px, calc(100% - 36px));
  padding: 18px; border: 1px solid var(--pf-border); border-radius: 18px;
  background: rgba(14,16,35,.9); backdrop-filter: blur(15px);
}
.pf-product-panel strong { display: block; font-size: 1.8rem; }
.pf-section { padding: 92px 0; }
.pf-section-soft { border-block: 1px solid var(--pf-border); background: rgba(255,255,255,.025); }
.pf-section-head { max-width: 720px; margin-bottom: 46px; }
.pf-section h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1.06; letter-spacing: -.05em; margin-bottom: 18px; }
.pf-section-head p, .pf-card p, .pf-copy p { color: var(--pf-muted); }
.pf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pf-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pf-card {
  padding: 28px; border: 1px solid var(--pf-border); border-radius: var(--pf-radius);
  background: linear-gradient(155deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  transition: transform .25s ease, border-color .25s ease;
}
.pf-card:hover { transform: translateY(-6px); border-color: rgba(124,92,255,.6); }
.pf-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 15px; font-size: 1.35rem; background: rgba(124,92,255,.16); border: 1px solid rgba(124,92,255,.32); }
.pf-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.pf-kicker { color: var(--pf-pink); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--pf-border); border-radius: var(--pf-radius); overflow: hidden; }
.pf-stat { padding: 30px; border-right: 1px solid var(--pf-border); background: rgba(255,255,255,.035); }
.pf-stat:last-child { border: 0; }
.pf-stat strong { display: block; font-size: 2.35rem; letter-spacing: -.04em; }
.pf-stat span { color: var(--pf-muted); font-size: .88rem; }
.pf-work { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pf-case { min-height: 520px; position: relative; overflow: hidden; display: flex; align-items: flex-end; border-radius: 28px; border: 1px solid var(--pf-border); }
.pf-case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.48) saturate(.9); transition: transform .6s ease; }
.pf-case:hover img { transform: scale(1.04); }
.pf-case-copy { position: relative; z-index: 1; padding: 34px; background: linear-gradient(transparent, rgba(7,8,20,.94)); width: 100%; }
.pf-case-copy p { color: #c4c7da; }
.pf-pill { display: inline-flex; padding: 6px 11px; border: 1px solid var(--pf-border); border-radius: 999px; font-size: .75rem; color: #d9dbeb; }
.pf-process { counter-reset: process; }
.pf-step { position: relative; padding-left: 70px; margin-bottom: 42px; }
.pf-step::before { counter-increment: process; content: "0" counter(process); position: absolute; left: 0; top: 0; color: #a995ff; font-weight: 850; font-size: 1.05rem; }
.pf-quote { padding: 40px; border-radius: 28px; background: var(--pf-gradient); color: white; }
.pf-quote blockquote { margin: 0 0 24px; font-size: 1.45rem; line-height: 1.45; letter-spacing: -.02em; }
.pf-price { position: relative; }
.pf-price-featured { border-color: #795cff; box-shadow: 0 20px 70px rgba(124,92,255,.18); }
.pf-price strong { font-size: 2.1rem; }
.pf-list { padding: 0; list-style: none; color: var(--pf-muted); }
.pf-list li { margin: 11px 0; }
.pf-list li::before { content: "✓"; color: var(--pf-mint); margin-right: 10px; }
.pf-team img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 19px; margin-bottom: 18px; filter: grayscale(.15); }
.pf-banner { padding: 64px; border: 1px solid rgba(255,255,255,.16); border-radius: 32px; background: radial-gradient(circle at top right, rgba(255,77,186,.24), transparent 35%), linear-gradient(135deg, #171a3d, #0d1025); overflow: hidden; }
.pf-banner h2 { max-width: 820px; }
.pf-page-hero { padding: 94px 0 60px; text-align: center; }
.pf-page-hero h1 { max-width: 900px; margin: 0 auto 22px; font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.06em; }
.pf-page-hero p { max-width: 700px; margin-inline: auto; color: var(--pf-muted); font-size: 1.15rem; }
.pf-post-content > * { max-width: none !important; }
.pf-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.pf-form { padding: 30px; border: 1px solid var(--pf-border); border-radius: 24px; background: rgba(255,255,255,.04); }
.pf-form label { display: block; margin-bottom: 14px; color: var(--pf-muted); font-size: .86rem; }
.pf-form input, .pf-form textarea, .pf-form select { width: 100%; margin-top: 7px; padding: 14px 15px; color: white; border: 1px solid var(--pf-border); border-radius: 12px; background: #0b0d1c; font: inherit; }
.pf-form textarea { min-height: 140px; resize: vertical; }
.pf-site-footer { margin-top: 70px; border-top: 1px solid var(--pf-border); background: #070812; }
.pf-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 70px 0 48px; }
.pf-footer-grid h3 { font-size: .9rem; }
.pf-footer-grid p, .pf-footer-grid a { color: var(--pf-muted); text-decoration: none; font-size: .9rem; }
.pf-footer-grid a { display: block; margin: 9px 0; }
.pf-footer-bottom { padding: 20px 0 30px; border-top: 1px solid var(--pf-border); color: var(--pf-muted); font-size: .84rem; }
.pf-reveal { opacity: 1; }
@media (max-width: 900px) {
  .pf-hero-grid,
  .pf-about-grid,
  .pf-grid-2,
  .pf-contact { grid-template-columns: 1fr; }
  .pf-grid-3, .pf-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pf-stats { grid-template-columns: 1fr 1fr; }
  .pf-stat:nth-child(2) { border-right: 0; }
  .pf-work { grid-template-columns: 1fr; }
  .pf-menu { display: none; }
  .pf-footer-grid { grid-template-columns: 1fr 1fr; }
  .pf-hero-thumbs img { height: 72px; }
}
@media (max-width: 620px) {
  .pf-shell { width: min(100% - 28px, 1180px); }
  .pf-hero { padding: 56px 0 48px; }
  .pf-grid-3, .pf-grid-4, .pf-stats, .pf-footer-grid { grid-template-columns: 1fr; }
  .pf-stat { border-right: 0; border-bottom: 1px solid var(--pf-border); }
  .pf-card, .pf-banner { padding: 24px; }
  .pf-product-panel { left: 10px; right: 10px; width: auto; }
  .pf-hero-thumbs { grid-template-columns: 1fr 1fr 1fr; }
}
