/*
Theme Name: Apes Production Revamp
Theme URI: https://apesproduction.com/
Author: Nexa Logic / ChatGPT
Description: A clean, responsive WordPress theme for Apes Production website design and chatbot automation services.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apesproduction
*/

:root {
  --bg: #080b12;
  --bg-soft: #0f1624;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f7fafc;
  --muted: #a8b3c7;
  --accent: #ffb347;
  --accent-2: #ff7a3d;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(255, 179, 71, 0.16), transparent 34%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 11, 18, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #111827;
  font-weight: 950;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 28px rgba(255,122,61,0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover { color: var(--white); }

.nav-cta,
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 750;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nav-cta {
  padding: 10px 16px;
  background: var(--white);
  color: #0b1020 !important;
}

.btn-primary {
  padding: 15px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111827;
  box-shadow: 0 18px 38px rgba(255,122,61,0.22);
}

.btn-secondary,
.btn-ghost {
  padding: 14px 21px;
  border: 1px solid var(--card-border);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 22px;
}

.hero {
  padding-top: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,179,71,0.32);
  color: #ffd8a3;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.88rem;
  background: rgba(255,179,71,0.08);
}

h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.045em; }

h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); margin-top: 22px; }

h2 { font-size: clamp(2rem, 4vw, 3.55rem); }

h3 { font-size: 1.25rem; }

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  max-width: 660px;
  margin: 24px 0 0;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.microcopy { color: var(--muted); font-size: 0.94rem; margin-top: 16px; }

.hero-card {
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -120px -90px auto auto;
  width: 260px;
  height: 260px;
  background: rgba(255,179,71,0.20);
  filter: blur(44px);
  border-radius: 999px;
}

.browser-bar {
  height: 46px;
  border-radius: 16px;
  background: rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  position: relative;
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.36); }

.mock-page {
  position: relative;
  margin-top: 18px;
  padding: 24px;
  border-radius: 20px;
  background: #101827;
  border: 1px solid rgba(255,255,255,0.08);
}

.mock-hero-line { height: 22px; width: 72%; border-radius: 99px; background: rgba(255,255,255,0.75); }
.mock-sub-line { height: 12px; width: 88%; margin-top: 14px; border-radius: 99px; background: rgba(255,255,255,0.20); }
.mock-sub-line.short { width: 60%; }
.mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.mock-box { height: 92px; border-radius: 16px; background: rgba(255,255,255,0.075); border: 1px solid rgba(255,255,255,0.09); }
.chat-bubble {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 210px;
  border-radius: 18px;
  padding: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111827;
  font-weight: 760;
  box-shadow: 0 16px 34px rgba(0,0,0,0.26);
}

.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; margin: 18px 0 0; }

.problem-box,
.demo-box,
.final-cta {
  border: 1px solid var(--card-border);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.price-card,
.step-card {
  border: 1px solid var(--card-border);
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 24px;
}

.card p,
.step-card p,
.price-card p { color: var(--muted); margin-bottom: 0; }

.icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(255,179,71,0.11);
  color: var(--accent);
  font-weight: 900;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card.featured {
  border-color: rgba(255,179,71,0.48);
  background: linear-gradient(180deg, rgba(255,179,71,0.13), rgba(255,255,255,0.06));
  transform: translateY(-8px);
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,179,71,0.15);
  color: #ffd8a3;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.price {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.055em;
  margin: 16px 0 4px;
}

.price-card ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 20px 0 24px;
}

.price-card li { margin: 8px 0; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-num { color: var(--accent); font-weight: 950; font-size: 0.95rem; margin-bottom: 12px; }

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #070a10;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--white); }

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 78px 22px;
}

.page-content h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 24px; }
.page-content article { color: var(--muted); }
.page-content article :where(h2,h3) { color: var(--white); margin-top: 32px; }
.page-content article a { color: var(--accent); text-decoration: underline; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 62px; }
  .cards-grid, .price-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .main-nav { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 68px 18px; }
  .header-inner { padding: 14px 18px; }
  .cards-grid, .price-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero-actions, .section-actions { flex-direction: column; }
  .btn-primary, .btn-secondary, .btn-ghost { width: 100%; }
  .chat-bubble { position: static; width: auto; margin-top: 18px; }
  .mock-grid { grid-template-columns: 1fr; }
}
