/*
Theme Name: Jaumo ai
Theme URI: https://jaumoai.com/
Author: Jaumo ai
Author URI: https://jaumoai.com/
Description: Showcase theme for Jaumo ai, an AI companion and chat brand.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
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: jaumo-ai
*/

:root {
  --bg: #0b0710;
  --bg-2: #120b1a;
  --surface: #17101f;
  --surface-2: #1e1529;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f6f2fa;
  --muted: #b3a8c2;
  --brand: #ff2e88;
  --brand-2: #a239ff;
  --brand-3: #38e8ff;
  --grad: linear-gradient(115deg, #ff2e88 0%, #a239ff 55%, #6a5bff 100%);
  --glow: 0 18px 60px rgba(255, 46, 136, 0.28);
  --radius: 20px;
  --maxw: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Clash Display", "Poppins", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--text); text-decoration: none; }

h1, h2 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }

p { margin: 0 0 18px; color: var(--muted); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 40%, var(--bg) 100%); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }

.lead { font-size: 1.12rem; max-width: 66ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 24px 70px rgba(162, 57, 255, 0.38); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line); box-shadow: none; color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); box-shadow: none; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(11, 7, 16, 0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.is-stuck { background: rgba(11, 7, 16, 0.92); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.brand span b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a { font-size: 0.95rem; color: var(--muted); font-weight: 600; transition: color 0.2s ease; }
.nav-menu a:hover, .nav-menu a.is-current { color: var(--text); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(1100px 620px at 68% 12%, rgba(162, 57, 255, 0.35), transparent 65%), linear-gradient(180deg, rgba(11, 7, 16, 0.35) 0%, var(--bg) 92%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-meta div strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--text); }
.hero-meta div small { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.05em; }

.chat-mock {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.chat-head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.chat-head b { display: block; font-size: 0.98rem; }
.chat-head small { color: #4ade80; font-size: 0.8rem; }
.bubble { max-width: 82%; padding: 12px 16px; border-radius: 18px; margin-bottom: 12px; font-size: 0.95rem; color: var(--text); background: rgba(255, 255, 255, 0.06); border-bottom-left-radius: 6px; }
.bubble.me { margin-left: auto; background: var(--grad); border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.typing { display: inline-flex; gap: 5px; padding: 14px 18px; background: rgba(255, 255, 255, 0.06); border-radius: 18px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: blink 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); padding: 16px 0; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: slide 26s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.05rem; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap; }
.marquee-track span b { color: var(--brand); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 46, 136, 0.45); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45); }
.card b { display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.96rem; }
.card-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; color: #fff; }

.char-card { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: block; }
.char-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform 0.6s ease; }
.char-card:hover img { transform: scale(1.07); }
.char-card .char-meta { position: absolute; inset: auto 0 0 0; padding: 46px 20px 20px; background: linear-gradient(180deg, transparent, rgba(9, 5, 14, 0.92)); }
.char-card .char-meta b { font-family: var(--display); font-size: 1.25rem; display: block; }
.char-card .char-meta small { color: var(--muted); font-size: 0.86rem; }
.char-card .pill { position: absolute; top: 14px; left: 14px; background: rgba(9, 5, 14, 0.7); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); font-weight: 700; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filters button { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 9px 20px; font-weight: 600; cursor: pointer; font-size: 0.9rem; transition: all 0.25s ease; font-family: var(--font); }
.filters button:hover, .filters button.is-active { color: #fff; background: var(--grad); border-color: transparent; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 34px; }
.steps .card::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -14px; left: 26px; font-family: var(--display); font-size: 2.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }

.quote { background: linear-gradient(160deg, rgba(255, 46, 136, 0.1), rgba(162, 57, 255, 0.05)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote p { color: var(--text); font-size: 1.02rem; }
.quote footer { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.9rem; }
.quote footer span { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 700; }

.story { max-width: 78ch; }
.story p { color: #d8cfe4; }

.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--surface); }
.plan.is-featured { border-color: rgba(255, 46, 136, 0.5); background: linear-gradient(160deg, rgba(255, 46, 136, 0.12), rgba(162, 57, 255, 0.06)); box-shadow: var(--glow); }
.plan b { font-family: var(--display); font-size: 1.2rem; display: block; }
.plan .price { font-family: var(--display); font-size: 2.6rem; margin: 12px 0 6px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.plan li { color: var(--muted); padding: 8px 0 8px 26px; position: relative; font-size: 0.95rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }

.faq-item { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; background: rgba(255, 255, 255, 0.03); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font-size: 1.02rem; font-weight: 600; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font); }
.faq-q::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq-item.is-open .faq-q::after { content: "\2212"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 22px; }
.faq-item.is-open .faq-a { max-height: 420px; padding: 0 22px 20px; }

.cta-band { background: var(--grad); border-radius: 28px; padding: 58px 40px; text-align: center; box-shadow: var(--glow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 62ch; margin-inline: auto; }
.cta-band .btn { background: #fff; color: #12091b; box-shadow: none; }
.cta-band .btn:hover { background: #f3e9ff; }

.single-hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 46px; align-items: center; padding-top: 70px; }
.single-hero img { border-radius: 24px; border: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 26px; }
.tags span { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); border-radius: 999px; padding: 7px 16px; font-size: 0.85rem; color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0; }
.specs div { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: rgba(255, 255, 255, 0.03); }
.specs small { display: block; color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; }
.specs b { font-family: var(--display); font-size: 1.02rem; }

.legal { max-width: 860px; }
.legal ol { padding-left: 20px; }
.legal ol > li { margin-bottom: 22px; color: var(--muted); }
.legal ol > li > b { color: var(--text); font-family: var(--display); font-size: 1.08rem; display: block; margin-bottom: 6px; }

.breadcrumbs { font-size: 0.86rem; color: var(--muted); padding-top: 24px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 62px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); font-size: 0.94rem; }
.footer-grid a:hover { color: var(--brand); }
.footer-title { font-family: var(--display); font-size: 1rem; margin-bottom: 14px; display: block; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.86rem; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; z-index: -1; }
.orb-1 { width: 420px; height: 420px; background: var(--brand); top: -120px; left: -120px; }
.orb-2 { width: 380px; height: 380px; background: var(--brand-2); bottom: -140px; right: -100px; }

@media (max-width: 980px) {
  .hero-grid, .single-hero, .grid-4, .grid-3, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .single-hero { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 22px 24px; background: rgba(11, 7, 16, 0.98); border-bottom: 1px solid var(--line); display: none; }
  .nav-menu.is-open { display: flex; }
  .cta-band { padding: 40px 22px; }
}
