/*
Theme Name: ReadyChat
Theme URI: https://www.readychat.si/
Author: ReadyChat
Author URI: https://www.readychat.si/
Description: Dark, modern marketing site for the ReadyChat AI chatbot plugin for WordPress and WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: readychat
*/

/* ===================== RESET / BASE ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #060A14;
  color: #E6ECF7;
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:root { --accent: #f10000; --accent-bright: #ff5a4d; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; margin: 0; }

/* ===================== KEYFRAMES ===================== */
@keyframes pmh-float-a { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.08); } }
@keyframes pmh-float-b { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,40px) scale(1.12); } }
@keyframes pmh-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pmh-pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes pmh-rise { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pmh-ping { 0% { transform: scale(.6); opacity: .9; } 80%,100% { transform: scale(1.6); opacity: 0; } }
@keyframes pmh-blinkdot { 0%,60%,100% { opacity: .25; } 30% { opacity: 1; } }
@keyframes pmh-grow { 0%,100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@keyframes pmh-wave { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes pmh-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes pmh-drawline { 0% { transform: scaleX(0); opacity: 0; } 35%,80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pmh-word { from { transform: translateY(14px); opacity:0; } to { transform: none; opacity:1; } }
@keyframes pmh-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@keyframes pmh-navblink { 0%, 96%, 100% { box-shadow: 0 8px 26px -8px var(--accent); transform: scale(1); } 97% { box-shadow: 0 0 0 8px rgba(241,0,0,.35), 0 8px 26px -8px var(--accent); transform: scale(1.07); } 98.5% { box-shadow: 0 8px 26px -8px var(--accent); transform: scale(1); } 99.2% { box-shadow: 0 0 0 8px rgba(241,0,0,.3), 0 8px 26px -8px var(--accent); transform: scale(1.06); } }

/* ===================== DECORATIVE OVERLAYS ===================== */
.pmh-depth-wash { position: fixed; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: overlay; opacity: .55;
  background: radial-gradient(circle at 20% 10%, rgba(241,0,0,.35), transparent 55%), radial-gradient(circle at 80% 90%, rgba(80,20,140,.22), transparent 55%); }

.pmh-cursor-ring { position: fixed; top: 0; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid rgba(255,90,77,.55); pointer-events: none; z-index: 9999; opacity: 0;
  transition: opacity .3s ease, width .25s cubic-bezier(.2,.9,.3,1), height .25s cubic-bezier(.2,.9,.3,1), margin .25s cubic-bezier(.2,.9,.3,1), border-color .25s ease; will-change: transform; }
.pmh-cursor-ring.is-visible { opacity: 1; }
.pmh-cursor-ring.is-hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: rgba(255,90,77,.9); }
.pmh-cursor-dot { position: fixed; top: 0; left: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: #f10000; box-shadow: 0 0 10px 2px rgba(241,0,0,.6); pointer-events: none; z-index: 9999; opacity: 0;
  transition: opacity .3s ease, width .22s cubic-bezier(.2,.9,.3,1), height .22s cubic-bezier(.2,.9,.3,1), margin .22s cubic-bezier(.2,.9,.3,1); will-change: transform; }
.pmh-cursor-dot.is-visible { opacity: 1; }
.pmh-cursor-dot.is-hover { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; }
@media (pointer: coarse) { .pmh-cursor-ring, .pmh-cursor-dot { display: none !important; } }

.pmh-intro { position: fixed; inset: 0; z-index: 99999; background: #060A14; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 1; transition: opacity .5s ease; }
.pmh-intro.is-hidden { opacity: 0; pointer-events: none; }
.pmh-intro canvas { width: 100%; height: 100%; display: block; }
.pmh-intro-skip { position: absolute; bottom: 36px; left: 0; right: 0; text-align: center; font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; letter-spacing: .14em; color: #5C6B85; }

/* ===================== NAV ===================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(6,10,20,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.07); }
.site-header-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255,255,255,.06); }
.site-header-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg,#f10000,#ff5a4d,#ff9a8f); box-shadow: 0 0 8px 1px rgba(241,0,0,.6); transition: width .08s linear; }
.site-header-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: flex; align-items: center; flex: none; padding: 4px 10px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,90,77,.22);
  box-shadow: 0 8px 24px -12px rgba(241,0,0,.35); transition: border-color .2s, box-shadow .2s, transform .2s; text-decoration: none; }
.site-logo:hover { border-color: rgba(255,90,77,.45); box-shadow: 0 12px 30px -10px rgba(241,0,0,.5); transform: translateY(-1px); }
.site-logo img { height: 52px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 24px; font-family: 'Space Grotesk', sans-serif; font-size: 14.5px; font-weight: 500; list-style: none; margin: 0; padding: 0; }
.nav-links li { display: flex; position: relative; }
.nav-links a { color: #AEB9CE; text-decoration: none; transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links .current-menu-item > a { color: #fff; }

/* --- Desktop dropdown sub-menus (standard WP .sub-menu markup) --- */
.nav-links .menu-item-has-children > a { padding-right: 14px; }
.nav-links .menu-item-has-children > a::after { content: ''; position: absolute; right: 0; top: 50%; margin-top: -2px; border: 4px solid transparent; border-top-color: #8A96AD; transition: border-top-color .2s; }
.nav-links .menu-item-has-children:hover > a::after { border-top-color: #fff; }
.nav-links .sub-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); min-width: 210px;
  background: rgba(9,14,26,.97); border: 1px solid rgba(255,90,77,.22); border-radius: 14px; padding: 8px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8), 0 6px 24px -12px rgba(241,0,0,.35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  list-style: none; margin: 0; display: block;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60; }
.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-links .sub-menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; } /* hover bridge */
.nav-links .sub-menu li { display: block; position: relative; }
.nav-links .sub-menu a { display: block; padding: 10px 14px; border-radius: 9px; color: #C7D0E0; font-size: 14px; white-space: nowrap; }
.nav-links .sub-menu a:hover { background: rgba(241,0,0,.1); color: #fff; }
.nav-links .sub-menu .menu-item-has-children > a { padding-right: 14px; }
/* third level opens to the side */
.nav-links .sub-menu .sub-menu { top: -8px; left: 100%; transform: translateX(0) translateY(6px); }
.nav-links .sub-menu li:hover > .sub-menu,
.nav-links .sub-menu li:focus-within > .sub-menu { transform: translateX(0) translateY(0); }

.nav-cta { flex: none; white-space: nowrap; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; color: #fff;
  background: var(--accent); border: none; padding: 12px 22px; border-radius: 10px; cursor: pointer;
  box-shadow: 0 8px 26px -8px var(--accent); transition: transform .18s, box-shadow .18s; animation: pmh-navblink 10s ease-in-out infinite; text-decoration: none; display: inline-block; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px var(--accent); color: #fff; }

.nav-toggle { display: none; flex: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03); color: #E6ECF7; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 10px 20px 18px; background: rgba(6,10,20,.97);
  border-top: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(14px); list-style: none; margin: 0; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { color: #D4DBEA; text-decoration: none; padding: 12px 4px; font-family: 'Space Grotesk', sans-serif; font-size: 15px; display: block; }
.mobile-nav .current-menu-item > a { color: #fff; }
/* Mobile sub-menus: indented, always expanded */
.mobile-nav .sub-menu { list-style: none; margin: 0; padding: 0 0 4px 18px; border-left: 1px solid rgba(255,90,77,.25); }
.mobile-nav .sub-menu a { font-size: 14px; color: #A9B4C9; padding: 9px 4px; }
.mobile-nav .sub-menu a:hover { color: #fff; }

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ===================== HERO ===================== */
.hero { position: relative; padding: 150px 24px 90px; overflow: hidden; min-height: 100vh; box-sizing: border-box; display: flex; align-items: center; }
@media (max-width: 720px) { .hero { padding-top: 120px; } }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg .blob-a { position: absolute; top: -160px; left: -120px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(241,0,0,.32), transparent 68%); filter: blur(20px); animation: pmh-float-a 14s ease-in-out infinite; }
.hero-bg .blob-b { position: absolute; bottom: -220px; right: -140px; width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,77,.18), transparent 70%); filter: blur(20px); animation: pmh-float-b 18s ease-in-out infinite; }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0;
  mask-image: linear-gradient(90deg, transparent 30%, #000 52%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 52%); }
@media (max-width: 1024px) { .hero-particles { opacity: .5; } }

.hero-perspective { position: relative; z-index: 1; perspective: 1400px; width: 100%; }
.hero-grid { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; text-align: left; transform-style: preserve-3d; transition: transform .18s ease-out; will-change: transform; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; } .hero-grid .hero-right-spacer { display: none; } }
@media (max-width: 720px) { .hero-grid { gap: 28px; } }
.hero-right-spacer { min-height: 460px; }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border: 1px solid rgba(255,90,77,.28);
  background: rgba(241,0,0,.08); border-radius: 100px; font-size: 13.5px; font-weight: 600; color: var(--accent-bright); margin-bottom: 30px;
  font-family: 'Space Grotesk', sans-serif; letter-spacing: .02em; animation: pmh-rise .65s cubic-bezier(.16,.8,.3,1) both; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); animation: pmh-pulse 2s infinite; }

.hero h1 { font-weight: 700; font-size: clamp(32px,4.6vw,58px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 24px;
  text-wrap: balance; text-shadow: 0 12px 60px rgba(241,0,0,.25); }
.hero h1 span.word { display: inline-block; animation: pmh-word .7s cubic-bezier(.2,.9,.25,1) both; transform-origin: 50% 100%; }
.hero h1 span.accent-word { background: linear-gradient(90deg,#ff5a4d,#f10000,#ff9a8f,#ff5a4d); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #ff5a4d;
  animation: pmh-word .7s cubic-bezier(.2,.9,.25,1) both, pmh-shimmer 5s linear 1.3s infinite; filter: drop-shadow(0 6px 30px rgba(241,0,0,.45)); }

.hero p.lead { animation: pmh-rise .65s cubic-bezier(.16,.8,.3,1) .16s both; font-size: clamp(15px,1.6vw,17px); line-height: 1.6; color: #9DA9BF; max-width: 540px; margin: 0 0 34px; text-wrap: pretty; }

.hero-cta-row { animation: pmh-rise .65s cubic-bezier(.16,.8,.3,1) .24s both; display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }
@media (max-width: 720px) { .hero-cta-row { width: 100%; } }
.btn-primary { flex: none; white-space: nowrap; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; color: #fff;
  background: var(--accent); border: none; padding: 13px 24px; border-radius: 11px; cursor: pointer; box-shadow: 0 16px 40px -12px var(--accent);
  transition: transform .18s, box-shadow .18s; text-decoration: none; display: inline-block; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -12px var(--accent); color: #fff; }
.btn-secondary { flex: none; white-space: nowrap; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; color: #E6ECF7;
  text-decoration: none; padding: 13px 22px; border-radius: 11px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.02);
  transition: border-color .2s, background .2s; display: inline-block; }
.btn-secondary:hover { border-color: rgba(255,90,77,.5); background: rgba(255,255,255,.05); }

.hero-marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(6,10,20,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 22px 0; overflow: hidden; }
.hero-marquee .fade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg,#060A14, transparent 14%, transparent 86%, #060A14); }
.hero-marquee .track { display: flex; width: max-content; animation: pmh-marquee 200s linear infinite; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 19px; color: #5C6B85; letter-spacing: .04em; }
.hero-marquee .track span.group { display: flex; gap: 48px; padding-right: 48px; }
.hero-marquee .track .sep { color: var(--accent); }

/* ===================== SECTION SHELLS ===================== */
.section { max-width: 1180px; margin: 0 auto; padding: 90px 32px; }
.section.tall { min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.section-eyebrow { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-head h2 { font-weight: 700; font-size: clamp(30px,4vw,46px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px; }
.section-head p { color: #9DA9BF; font-size: 17px; line-height: 1.6; margin: 0; }

/* ===================== STATS ===================== */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; }
.stat .num { font-weight: 700; font-size: clamp(38px,5vw,58px); line-height: 1; color: var(--accent-bright); }
.stat .label { margin-top: 10px; color: #8A96AD; font-size: 14.5px; font-weight: 500; }

/* ===================== CARDS ===================== */
.card { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); border-radius: 16px; padding: 26px 24px 28px; transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(255,90,77,.4); transform: translateY(-4px); }
.card.feat { padding: 34px 30px; }
.card.feat:hover { border-color: rgba(255,90,77,.45); transform: translateY(-6px); }
.card-icon-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card-icon { width: 48px; height: 48px; border-radius: 13px; border: 1px solid rgba(255,90,77,.3); background: rgba(241,0,0,.08); display: flex; align-items: center; justify-content: center; color: #ff5a4d; flex: none; }
.card-icon.lg { width: 52px; height: 52px; border-radius: 14px; }
.card-icon.sm { width: 44px; height: 44px; border-radius: 12px; }
.card-num { font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--accent); font-weight: 600; }
.card-num.badge { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,90,77,.3); background: rgba(241,0,0,.08); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.card h3, .card .title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 20px; margin: 0; }
.card p { color: #8A96AD; font-size: 14.5px; line-height: 1.55; margin: 10px 0 0; }
.card.feat h3 { font-size: 22px; margin: 0 0 12px; }
.card.feat p { color: #94A0B6; font-size: 15px; line-height: 1.62; margin: 0; }

.who-grid, .services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.services-grid { grid-template-columns: repeat(3,1fr); }
@media (max-width: 1024px) { .who-grid { grid-template-columns: repeat(2,1fr); } .services-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .who-grid { grid-template-columns: 1fr; } }

.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 1024px) { .feat-grid { grid-template-columns: 1fr; } }

.ai-agent-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 20px; }
.ai-agent-card .left { display: flex; align-items: center; gap: 22px; }

/* ===================== VIDEO ===================== */
.video-section { position: relative; overflow: hidden; }
.video-section .glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 900px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(241,0,0,.10), transparent 70%); pointer-events: none; }
.video-frame { position: relative; aspect-ratio: 16/9; width: 100%; max-width: 1000px; margin: 0 auto; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,90,77,.22); cursor: pointer; background-color: #0C1426;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 2px, transparent 2px, transparent 11px);
  transition: border-color .25s, transform .25s; display: flex; align-items: center; justify-content: center; }
.video-frame:hover { border-color: rgba(255,90,77,.5); transform: translateY(-4px); }
.video-frame .radial { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(241,0,0,.16), transparent 70%); }
.video-frame .content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.play-btn { width: 88px; height: 88px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 50px -12px var(--accent); }
.play-btn .tri { width: 0; height: 0; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; margin-left: 6px; }

/* ===================== TESTIMONIALS ===================== */
.rating-strip { display: flex; justify-content: center; margin-bottom: 48px; }
.rating-strip .pill { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; padding: 18px 30px; border: 1px solid rgba(255,90,77,.2); background: rgba(241,0,0,.06); border-radius: 16px; }
.rating-strip .score { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 34px; line-height: 1; color: var(--accent-bright); }
.rating-strip .stars { color: var(--accent-bright); font-size: 16px; letter-spacing: 2px; }
.rating-strip .small { color: #8A96AD; font-size: 13px; margin-top: 2px; }
.rating-strip .divider { width: 1px; height: 38px; background: rgba(255,255,255,.12); }

.quote-card { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); border-radius: 18px; padding: 30px 28px; }
.quote-card .stars { color: var(--accent-bright); font-size: 18px; letter-spacing: 3px; margin-bottom: 18px; }
.quote-card p { font-size: 16px; line-height: 1.65; color: #D4DBEA; margin: 0 0 22px; }
.quote-card .author { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; }

/* ===================== ABOUT ===================== */
.about-section { position: relative; overflow: hidden; }
.about-section .glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(241,0,0,.12), transparent 70%); pointer-events: none; }
.about-section .inner { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.about-section h2 { font-weight: 700; font-size: clamp(28px,3.6vw,42px); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 22px; text-wrap: balance; }
.about-section .mission { font-size: 18px; line-height: 1.65; color: #9DA9BF; margin: 0; }

/* ===================== CONTACT CTA ===================== */
.contact-cta { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid rgba(255,90,77,.22); background: linear-gradient(135deg,#0C1426,#0A1830); padding: 60px 48px; }
@media (max-width: 720px) { .contact-cta { padding: 36px 24px; } }
.contact-cta .glow { position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(241,0,0,.28), transparent 70%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-cta h2 { font-weight: 700; font-size: clamp(28px,3.6vw,42px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 18px; }
.contact-cta > .contact-grid > div:first-child p { color: #9DA9BF; font-size: 17px; line-height: 1.6; margin: 0 0 30px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; font-size: 15.5px; }
.contact-info a { color: #D4DBEA; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.contact-info a:hover { color: #fff; }
.contact-info .tag { color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600; width: 34px; }
.contact-info .rule { height: 1px; background: rgba(255,255,255,.08); margin: 6px 0; }
.contact-info .addr { color: #8A96AD; font-size: 14px; line-height: 1.55; }

/* ===================== LOGO CAROUSEL ===================== */
.logo-carousel { padding: 20px 0 70px; overflow: hidden; position: relative; }
.logo-carousel .head { text-align: center; margin-bottom: 34px; padding: 0 32px; }
.logo-carousel .head h2 { font-weight: 700; font-size: clamp(24px,3vw,32px); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.logo-carousel-viewport { position: relative; }
.logo-carousel-viewport .fade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg,#060A14, transparent 10%, transparent 90%, #060A14); }
.logo-carousel-track { display: flex; width: max-content; animation: pmh-marquee 34s linear infinite; align-items: center; gap: 44px; cursor: default; }
.logo-carousel-track:hover { animation-play-state: paused; }
.logo-carousel-track .group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.logo-carousel-track img { flex: none; height: 120px; width: 120px; object-fit: contain; border-radius: 14px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); padding: 8px; filter: grayscale(1) opacity(.75); transition: filter .25s, border-color .25s, transform .25s; }
.logo-carousel-track img:hover { filter: none; border-color: rgba(255,90,77,.4); transform: translateY(-3px) scale(1.06); }

/* ===================== FOOTER ===================== */
.site-footer { border-top: 1px solid rgba(255,255,255,.07); padding: 40px 32px; }
.site-footer-inner { max-width: 1180px; margin: 0 auto; }
.site-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer-logo { padding: 9px 16px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,90,77,.18); display: inline-flex; }
.site-footer-logo img { height: 38px; width: auto; }
.site-footer-copy { color: #5C6B85; font-size: 13.5px; }
.site-footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 32px 0; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-widget-title { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: #E6ECF7; margin: 0 0 12px; }
.footer-widget { color: #9DA9BF; font-size: 14px; line-height: 1.6; }
.footer-widget a { color: #9DA9BF; }
.footer-widget a:hover { color: #ff5a4d; }
.footer-menu { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-menu a { color: #8A96AD; text-decoration: none; font-size: 13.5px; }
.footer-menu a:hover { color: #fff; }

/* ===================== MODAL / LIGHTBOX ===================== */
.pmh-modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(4,7,14,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 24px; }
.pmh-modal-overlay.is-open { display: flex; }
.pmh-modal { width: 100%; max-width: 520px; background: #0C1322; border: 1px solid rgba(255,90,77,.24); border-radius: 20px; padding: 38px; position: relative; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8); }
.pmh-modal-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255,255,255,.12);
  background: transparent; color: #9DA9BF; font-size: 18px; cursor: pointer; line-height: 1; transition: background .2s, color .2s; }
.pmh-modal-close:hover { background: rgba(255,255,255,.06); color: #fff; }
.pmh-modal h3 { font-weight: 700; font-size: 25px; margin: 0 0 6px; }
.pmh-modal .sub { color: #8A96AD; font-size: 14.5px; margin: 0 0 26px; }
.pmh-field { width: 100%; box-sizing: border-box; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.12); border-radius: 11px;
  padding: 13px 15px; color: #E6ECF7; font-family: 'Manrope', sans-serif; font-size: 15px; outline: none; transition: border-color .2s, background .2s; resize: vertical; }
.pmh-field:focus { border-color: var(--accent); background: rgba(241,0,0,.05); }
form.pmh-form { display: flex; flex-direction: column; gap: 14px; }
.pmh-submit { margin-top: 6px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; color: #fff; background: var(--accent);
  border: none; padding: 15px; border-radius: 11px; cursor: pointer; box-shadow: 0 14px 36px -12px var(--accent); transition: transform .18s; }
.pmh-submit:hover { transform: translateY(-2px); }
.pmh-success { text-align: center; padding: 24px 0; }
.pmh-success .icon { width: 62px; height: 62px; border-radius: 50%; background: rgba(241,0,0,.15); border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; color: var(--accent-bright); font-size: 28px; }
.pmh-success h3 { font-size: 24px; margin: 0 0 10px; }
.pmh-success p { color: #9DA9BF; font-size: 15.5px; line-height: 1.55; margin: 0; }

.pmh-video-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(4,7,14,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 24px; }
.pmh-video-overlay.is-open { display: flex; }
.pmh-video-box { width: 100%; max-width: 960px; position: relative; }
.pmh-video-frame { position: relative; aspect-ratio: 16/9; width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,90,77,.24); background: #000; }
.pmh-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pmh-video-empty { aspect-ratio: 16/9; width: 100%; border-radius: 16px; border: 1px solid rgba(255,90,77,.24); background: #0C1426;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.pmh-video-empty .t { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 20px; color: #E6ECF7; }
.pmh-video-empty .d { color: #9DA9BF; font-size: 15px; line-height: 1.55; max-width: 440px; }

/* ===================== CONTACT PAGE ===================== */
.contact-page-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 1024px) { .contact-page-grid { grid-template-columns: 1fr; } }
.contact-form-card { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); border-radius: 20px; padding: 36px; }
@media (max-width: 720px) { .contact-form-card { padding: 28px 22px; } }
.contact-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .contact-name-row { grid-template-columns: 1fr; } }
.contact-info-card { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); border-radius: 16px; padding: 22px 24px; margin-bottom: 20px; }
.pmh-sent-banner { max-width: 1180px; margin: 110px auto 0; padding: 16px 24px; border-radius: 12px; background: rgba(46,204,113,.1); border: 1px solid rgba(46,204,113,.4); color: #6ee7a8; font-family: 'Space Grotesk', sans-serif; font-size: 15px; }

/* ===================== SPLIT SECTIONS (Website Design / Paid Ads) ===================== */
.split-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 1024px) { .split-grid { grid-template-columns: 1fr; } }
.image-panel { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,90,77,.2); aspect-ratio: 4/3; background: linear-gradient(135deg,#0C1426,#0A1830); position: relative; }
.image-panel .icon-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.stat-panel { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,90,77,.2); background: linear-gradient(135deg,#0C1426,#0A1830); padding: 48px; text-align: center; position: relative; }
.stat-panel .ping-dot { position: absolute; top: 20%; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.stat-panel .ping-ring { position: absolute; top: 20%; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--accent); opacity: .6; animation: pmh-ping 2.4s ease-out infinite; }
.stat-panel .big { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(44px,6vw,64px); line-height: 1; color: var(--accent-bright); margin-top: 34px; }
.stat-panel .caption { color: #8A96AD; font-size: 15px; margin-top: 14px; font-weight: 500; }

/* ===================== UTIL ===================== */
.reveal { animation: pmh-rise .65s cubic-bezier(.16,.8,.3,1) both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .3s; }
.delay-5 { animation-delay: .36s; }
.delay-6 { animation-delay: .42s; }

/* ===================== SMALL SCREENS (<= 480px, down to 320px) ===================== */
@media (max-width: 480px) {
  .site-header-inner { padding: 0 14px; height: 64px; gap: 12px; }
  .site-logo { padding: 3px 8px; }
  .site-logo img { height: 38px; }
  .nav-cta { font-size: 12.5px; padding: 10px 14px; }
  .nav-toggle { width: 38px; height: 38px; }

  .hero { padding: 100px 16px 70px; min-height: auto; }
  .hero-badge { font-size: 11.5px; padding: 6px 12px 6px 10px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(26px, 8.4vw, 34px); }
  .hero p.lead { font-size: 14.5px; margin-bottom: 26px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; width: 100%; }
  .hero-right-spacer { display: none; }
  .hero-marquee { padding: 14px 0; }
  .hero-marquee .track { font-size: 14px; }
  .hero-marquee .track span.group { gap: 28px; padding-right: 28px; }

  .section { padding: 56px 16px; }
  .section.tall { min-height: auto; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: clamp(24px, 7vw, 30px); }
  .section-head p { font-size: 15px; }
  .section-eyebrow { font-size: 12px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stat .num { font-size: clamp(30px, 9vw, 40px); }
  .stat .label { font-size: 12.5px; }

  .who-grid, .services-grid, .feat-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px 18px 22px; }
  .card.feat { padding: 24px 20px; }
  .card h3, .card .title { font-size: 18px; }
  .card.feat h3 { font-size: 19px; }

  .ai-agent-card { flex-direction: column; align-items: flex-start; }
  .ai-agent-card .left { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ai-agent-card .btn-primary { width: 100%; text-align: center; }

  .video-frame { border-radius: 14px; }
  .play-btn { width: 64px; height: 64px; }
  .play-btn .tri { border-width: 12px 0 12px 20px; }

  .rating-strip .pill { gap: 16px; padding: 14px 18px; }
  .rating-strip .score { font-size: 26px; }
  .rating-strip .divider { display: none; }
  .quote-card { padding: 22px 20px; }
  .quote-card p { font-size: 15px; }

  .about-section h2 { font-size: clamp(22px, 6.6vw, 28px); }
  .about-section .mission { font-size: 15.5px; }

  .contact-cta { padding: 28px 18px; border-radius: 18px; }
  .contact-cta h2 { font-size: clamp(22px, 6.6vw, 28px); }
  .contact-cta > .contact-grid > div:first-child p { font-size: 15px; }
  .contact-grid { gap: 24px; }
  .contact-info { font-size: 14px; }
  .contact-info .addr { font-size: 13px; }

  .logo-carousel { padding: 12px 0 48px; }
  .logo-carousel-track { gap: 22px; }
  .logo-carousel-track .group { gap: 22px; padding-right: 22px; }
  .logo-carousel-track img { height: 84px; width: 84px; padding: 6px; border-radius: 12px; }

  .site-footer { padding: 28px 16px; }
  .site-footer-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-footer-copy { font-size: 12.5px; }

  .pmh-modal { padding: 26px 18px; border-radius: 16px; }
  .pmh-modal h3 { font-size: 21px; }
  .pmh-field { font-size: 14px; padding: 12px 13px; }
  .pmh-submit { font-size: 15px; padding: 13px; }
  .pmh-modal-overlay, .pmh-video-overlay { padding: 14px; }
  .pmh-video-box .pmh-modal-close { top: -44px !important; }

  .contact-form-card { padding: 24px 16px; }
  .contact-info-card { padding: 18px 16px; }
  .pmh-sent-banner { margin: 90px 16px 0; font-size: 14px; }

  .split-grid { gap: 24px; }
  .stat-panel { padding: 32px 20px; }
  .stat-panel .big { font-size: clamp(34px, 10vw, 44px); }

  .pmh-cursor-ring, .pmh-cursor-dot { display: none !important; }
}

/* Extra-tight screens (320px-360px) */
@media (max-width: 360px) {
  .site-header-inner { padding: 0 10px; gap: 8px; }
  .nav-cta { font-size: 11.5px; padding: 9px 10px; }
  .hero h1 { font-size: 25px; }
  .stats-grid { grid-template-columns: 1fr; }
  .logo-carousel-track img { height: 72px; width: 72px; }
  .rating-strip .pill { flex-direction: column; gap: 10px; text-align: center; }
  .rating-strip .pill > div { justify-content: center; }
}

/* ===================== PRODUCT CARDS ===================== */
.product-card { padding: 32px 28px; background: linear-gradient(135deg, rgba(241,0,0,.08), rgba(255,90,77,.03)); border: 1px solid rgba(255,90,77,.18); border-radius: 18px; transition: all .3s ease; display: flex; flex-direction: column; }
.product-card:hover { border-color: rgba(255,90,77,.45); background: linear-gradient(135deg, rgba(241,0,0,.14), rgba(255,90,77,.08)); transform: translateY(-6px); }
.product-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: rgba(255,90,77,.12); border-radius: 12px; color: var(--accent-bright); margin-bottom: 18px; }
.product-card h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; margin: 0 0 10px; color: #E6ECF7; }
.product-card p { color: #9DA9BF; margin: 0; font-size: 15px; line-height: 1.6; flex-grow: 1; }

/* ===================== WOOCOMMERCE PRODUCT PAGE ===================== */
.woocommerce div.product { color: #C7D0E0; }
.woocommerce div.product .product_title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px,4vw,42px); color: #E6ECF7; margin: 0 0 14px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--accent-bright); font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 700; }
.woocommerce div.product div.images img { border-radius: 18px; border: 1px solid rgba(255,255,255,.08); }
.woocommerce div.product .woocommerce-product-details__short-description { color: #9DA9BF; }
.woocommerce div.product form.cart .button, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce a.button, .woocommerce button.button {
  background: var(--accent); color: #fff; border-radius: 11px; padding: 13px 24px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; border: none; }
.woocommerce div.product form.cart .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--accent-bright); color: #fff; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { background: rgba(255,255,255,.04); color: #E6ECF7; border-top-color: var(--accent); }
.woocommerce-breadcrumb { color: #8A96AD; margin-bottom: 22px; }
.woocommerce-breadcrumb a { color: var(--accent-bright); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #9DA9BF; }
.woocommerce div.product .product_meta { color: #8A96AD; font-size: 14px; }
.rc-plan-points { list-style: none; margin: 18px 0 24px; padding: 0; color: #C7D0E0; }
.rc-plan-points li { position: relative; padding-left: 26px; margin: 9px 0; }
.rc-plan-points li:before { content: "\2713"; position: absolute; left: 0; color: #2EE4A0; font-weight: 700; }
.woocommerce div.product::after { content: ""; display: table; clear: both; }
.woocommerce div.product { margin-bottom: 60px; }
.site-footer { clear: both; }
.rc-plan-points li { padding-left: 30px; }
.rc-domain-field { margin: 0 0 20px; max-width: 420px; }
.rc-domain-field label { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: #E6ECF7; margin: 0 0 8px; }
.rc-domain-field small { display: block; color: #8A96AD; margin-top: 8px; font-size: 13px; }
