/*
Theme Name: Nauman Apps
Theme URI: https://naumanapps.puri-fy.com/
Author: Rao Nauman
Author URI: https://naumanapps.puri-fy.com/
Description: Official theme for Nauman Apps — dark navy and gold landing page for the Nauman PDF Toolkit ($50 lifetime) and upcoming apps. Works immediately on activation with zero setup.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nauman-apps
Tags: landing-page, dark, gold, responsive, custom-menu, custom-logo, featured-images
*/

/* ============ NAUMAN APPS — styles ============ */
:root {
  --navy: #0A1628;
  --navy-2: #0E1E38;
  --navy-3: #132741;
  --gold: #FFD54A;
  --gold-dark: #E5B93A;
  --text: #EAF0FA;
  --muted: #9AA9C4;
  --card-border: rgba(255, 213, 74, 0.12);
  --radius: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1140px, 92%); margin: 0 auto; }
.container.narrow { width: min(760px, 92%); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.gold { color: var(--gold); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn-gold { background: var(--gold); color: #0A1628; }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 213, 74, 0.25); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.15rem; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gold); color: #0A1628;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25rem;
}
.main-nav { display: flex; gap: 1.6rem; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 75% 20%, rgba(255,213,74,0.08), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; position: relative; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(255,213,74,0.35); border-radius: 999px;
  padding: 0.3rem 0.9rem; margin-bottom: 1.1rem;
}
.hero-copy .lead { color: var(--muted); font-size: 1.1rem; margin: 1.2rem 0 1.8rem; max-width: 34rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-points { list-style: none; margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 0.6rem; }
.check { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* App mock (pure CSS) */
.hero-visual { position: relative; }
.app-mock {
  background: var(--navy-2); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 1.2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative; z-index: 1;
}
.mock-bar { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #33465f; display: block; }
.mock-dots i:first-child { background: #e0655f; }
.mock-dots i:nth-child(2) { background: #e0a95f; }
.mock-dots i:nth-child(3) { background: #6fce7f; }
.mock-title { font-weight: 700; font-size: 0.9rem; }
.mock-pro { margin-left: auto; background: var(--gold); color: #0A1628; font-size: 0.7rem; font-weight: 800; border-radius: 6px; padding: 0.15rem 0.5rem; }
.mock-search { height: 34px; border-radius: 9px; background: var(--navy-3); border: 1px solid rgba(255,255,255,0.08); margin-bottom: 1rem; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.mock-card {
  background: var(--navy-3); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 0.9rem 0.5rem; text-align: center;
  font-size: 0.72rem; color: var(--muted); font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.mock-ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,213,74,0.15); border: 1px solid rgba(255,213,74,0.3); }
.mock-cta { text-align: center; color: var(--gold); font-size: 0.8rem; font-weight: 600; margin-top: 1rem; }
.hero-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,213,74,0.14), transparent 65%);
  top: -60px; right: -80px; pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); margin-top: 0.8rem; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; }
.product-card {
  background: var(--navy-2); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 1.8rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.product-card.flagship { border-color: rgba(255,213,74,0.45); background: linear-gradient(160deg, #10223d, #0d1b31); }
.flag-tag, .soon-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px; padding: 0.25rem 0.8rem;
}
.flag-tag { background: var(--gold); color: #0A1628; }
.soon-tag { background: rgba(255,255,255,0.08); color: var(--muted); border: 1px solid rgba(255,255,255,0.12); }
.product-desc { color: var(--muted); font-size: 0.95rem; }
.product-list { list-style: none; color: var(--muted); font-size: 0.92rem; display: flex; flex-direction: column; gap: 0.35rem; }
.product-list li::before { content: "✓ "; color: var(--gold); font-weight: 700; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.6rem; }
.price { font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.price small { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

/* ---------- Tools grid ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tool-card {
  background: var(--navy); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius); padding: 1.4rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tool-card:hover { transform: translateY(-3px); border-color: rgba(255,213,74,0.4); }
.tool-ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255,213,74,0.1); border: 1px solid rgba(255,213,74,0.25);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.9rem;
}
.tool-ic svg { width: 24px; height: 24px; color: var(--gold); }
.tool-card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 760px; margin: 0 auto; }
.price-card {
  background: var(--navy-2); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 2.2rem; position: relative;
  display: flex; flex-direction: column; gap: 1rem;
}
.price-card.popular { border: 2px solid var(--gold); box-shadow: 0 20px 60px rgba(255,213,74,0.12); }
.popular-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #0A1628; font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; border-radius: 999px; padding: 0.3rem 1rem; white-space: nowrap;
}
.price-line { display: flex; align-items: baseline; gap: 0.6rem; }
.amount { font-size: 2.8rem; font-weight: 800; color: var(--gold); }
.per { color: var(--muted); }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; color: var(--muted); margin-bottom: 0.6rem; }
.price-list li::before { content: "✓ "; color: var(--gold); font-weight: 700; }
.pricing-note { text-align: center; color: var(--muted); margin-top: 1.6rem; font-size: 0.92rem; }

/* ---------- Comparison ---------- */
.compare-table { max-width: 760px; margin: 0 auto; border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; padding: 0.9rem 1.4rem; font-size: 0.95rem; }
.compare-row:nth-child(even) { background: rgba(255,255,255,0.02); }
.compare-head { background: rgba(255,213,74,0.08); font-weight: 700; }
.compare-head span:nth-child(2) { color: var(--gold); }
.good { color: var(--gold); font-weight: 700; }
.bad { color: var(--muted); }
.compare-save { text-align: center; margin-top: 1.6rem; font-size: 1.1rem; }
.compare-save strong { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { background: var(--navy-2); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: inherit; font-size: 1rem; font-weight: 600; text-align: left;
  padding: 1.1rem 1.4rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q:hover { color: var(--gold); }
.faq-plus { font-size: 1.4rem; color: var(--gold); font-weight: 400; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-form { background: var(--navy); border: 1px solid var(--card-border); border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.45rem; font-weight: 600; font-size: 0.92rem; }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--navy-3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 0.8rem 1rem; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { resize: vertical; }
.form-alt { text-align: center; color: var(--muted); font-size: 0.92rem; }
.form-alt a { color: var(--gold); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,0.07); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy { color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }

/* ---------- WordPress extras ---------- */
.custom-logo { max-height: 40px; width: auto; }
.footer-widgets { border-top: 1px solid rgba(255,255,255,0.07); padding: 2.5rem 0; }
.footer-widgets-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.footer-widget .widget-title { color: var(--gold); font-size: 1rem; margin-bottom: 0.8rem; }
.footer-widget ul { list-style: none; }
.footer-widget li { margin-bottom: 0.4rem; }
.footer-widget a { color: var(--muted); }
.footer-widget a:hover { color: var(--gold); }
.post-card { background: var(--navy-2); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.2rem; }
.post-card h2 { margin-bottom: 0.5rem; }
.post-card h2 a:hover { color: var(--gold); }
.post-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.8rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card.flagship { grid-column: 1 / -1; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--navy-2); flex-direction: column; gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 340px; }
  .main-nav a { padding: 0.9rem 5%; border-top: 1px solid rgba(255,255,255,0.05); }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-actions .btn { display: none; }
  .hero { padding: 3rem 0; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr 1fr 1fr; font-size: 0.82rem; padding: 0.8rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .mock-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { width: 100%; }
  .compare-row { font-size: 0.75rem; }
}
