/* GoLove.AI — ui components */

/* ===== Buttons ===== */
.gl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 0.94rem;
  letter-spacing: -0.01em; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform 0.25s var(--ez-out), box-shadow 0.25s var(--ez), background 0.25s var(--ez);
}
.gl-btn .ic { width: 17px; height: 17px; }
.gl-btn--primary { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.gl-btn--primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 0.7s var(--ez-out);
}
.gl-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px rgba(255, 61, 154, 0.5); }
.gl-btn--primary:hover::after { transform: translateX(120%); }
.gl-btn--ghost { background: rgba(255, 255, 255, 0.05); color: var(--tx); border: 1px solid var(--edge); }
.gl-btn--ghost:hover { border-color: var(--edge-2); background: rgba(255, 61, 154, 0.1); transform: translateY(-2px); }
.gl-btn--lg { padding: 15px 30px; font-size: 1rem; }
.gl-btn--block { width: 100%; }

/* ===== Section scaffolding ===== */
.sec { padding: 110px 0; position: relative; }
.head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker {
  display: inline-block; font-family: 'Sora', sans-serif; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--brand-3);
  padding: 6px 14px; border: 1px solid var(--edge-2); border-radius: 999px; margin-bottom: 18px;
}
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.sub { color: var(--tx-2); font-size: 1.05rem; margin-top: 16px; }
.tagpill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--edge-2); font-size: 0.76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-3); margin-bottom: 22px;
}
.tagpill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ===== Hero ===== */
.hero { padding: 150px 0 70px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero__title { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
.hero__lead { color: var(--tx-2); font-size: 1.12rem; margin: 22px 0 30px; max-width: 520px; }
.hero__cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 30px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--edge); flex-wrap: wrap; }
.statline { display: flex; flex-direction: column; }
.statline b { font-family: 'Sora', sans-serif; font-size: 1.7rem; background: var(--grad-tx); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.statline span { font-size: 0.78rem; color: var(--tx-3); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 3px; }

/* Chat mockup */
.hero__stage { position: relative; }
.chat {
  width: min(400px, 100%); margin-left: auto; background: var(--surface);
  border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh), 0 0 70px rgba(255, 61, 154, 0.14);
  position: relative;
}
.chat::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(255, 61, 154, 0.5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.chat__top { display: flex; align-items: center; gap: 12px; padding: 15px 17px; border-bottom: 1px solid var(--edge); background: rgba(255, 255, 255, 0.02); }
.chat__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); }
.chat__who { flex: 1; line-height: 1.25; }
.chat__who strong { display: flex; align-items: center; gap: 5px; font-family: 'Sora', sans-serif; font-size: 0.98rem; }
.chat__who .verified { color: var(--brand); fill: var(--brand); stroke: none; }
.chat__who span { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--tx-3); }
.pip { width: 7px; height: 7px; border-radius: 50%; background: #38e08a; box-shadow: 0 0 8px #38e08a; }
.chat__live { display: inline-flex; align-items: center; gap: 5px; font-size: 0.7rem; font-weight: 700; color: #fff; background: var(--grad); padding: 5px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.chat__body { padding: 18px 17px; display: flex; flex-direction: column; gap: 11px; background: linear-gradient(180deg, transparent, rgba(255, 61, 154, 0.03)); }
.msg { max-width: 78%; padding: 11px 15px; font-size: 0.9rem; border-radius: 18px; line-height: 1.45; }
.msg--in { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--edge); border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.msg--voice { display: flex; align-items: center; gap: 10px; }
.voice__play { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.voice__wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.voice__wave i { width: 3px; border-radius: 3px; background: var(--brand-3); animation: eq 1.1s var(--ez) infinite; }
.voice__wave i:nth-child(odd) { height: 60%; } .voice__wave i:nth-child(3n) { height: 100%; } .voice__wave i:nth-child(2n) { height: 40%; animation-delay: 0.15s; } .voice__wave i:nth-child(3n+1) { animation-delay: 0.3s; }
.msg--voice em { font-size: 0.72rem; color: var(--tx-3); font-style: normal; }
@keyframes eq { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
.msg--photo { padding: 5px; position: relative; overflow: hidden; }
.msg--photo img { width: 160px; height: 120px; object-fit: cover; border-radius: 14px; }
.msg--photo__tag { position: absolute; bottom: 12px; left: 12px; font-size: 0.66rem; font-weight: 700; background: rgba(11, 7, 16, 0.7); backdrop-filter: blur(6px); padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.msg--typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--tx-3); animation: bob 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.18s; } .msg--typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes bob { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat__bar { display: flex; align-items: center; justify-content: space-between; padding: 13px 17px; border-top: 1px solid var(--edge); color: var(--tx-3); font-size: 0.88rem; }
.chat__bar button { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; }

.floaty { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(30, 21, 41, 0.85); backdrop-filter: blur(14px); border: 1px solid var(--edge-2); font-size: 0.8rem; font-weight: 600; box-shadow: var(--sh-sm); }
.floaty .ic { width: 16px; height: 16px; color: var(--brand-3); }
.floaty--1 { top: 8%; left: -22px; animation: bobY 5s var(--ez) infinite; }
.floaty--2 { bottom: 12%; right: -18px; animation: bobY 5s var(--ez) infinite 1.5s; }
@keyframes bobY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* ===== Trust strip ===== */
.strip { border-block: 1px solid var(--edge); background: rgba(255, 255, 255, 0.015); }
.strip__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding: 22px 0; }
.strip__row span { display: inline-flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 600; color: var(--tx-2); }
.strip__row .ic { width: 17px; height: 17px; color: var(--brand-3); }

/* ===== Companions rail ===== */
.rail { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 250px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; transition: transform 0.3s var(--ez), border-color 0.3s var(--ez); }
.pcard:hover { transform: translateY(-6px); border-color: var(--edge-2); }
.pcard__img { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ez-out); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__live { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; font-size: 0.66rem; font-weight: 700; color: #fff; background: var(--grad); padding: 4px 9px; border-radius: 999px; text-transform: uppercase; }
.pcard__meta { padding: 14px 15px 6px; }
.pcard__meta strong { font-family: 'Sora', sans-serif; font-size: 1rem; }
.pcard__meta span { display: block; font-size: 0.8rem; color: var(--tx-3); margin-top: 2px; }
.pcard__tags { display: flex; gap: 7px; padding: 6px 15px 15px; }
.pcard__tags i { font-style: normal; font-size: 0.72rem; font-weight: 600; color: var(--brand-3); background: rgba(255, 61, 154, 0.1); border: 1px solid var(--edge-2); padding: 3px 9px; border-radius: 999px; }
.rail__hint { text-align: right; font-size: 0.8rem; color: var(--tx-3); margin-top: 2px; }

.banner { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding: 30px 34px; border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid var(--edge-2); }
.banner h3 { font-size: 1.35rem; margin-bottom: 6px; }
.banner p { color: var(--tx-2); font-size: 0.96rem; max-width: 520px; }

/* ===== Bento ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r); padding: 28px; position: relative; overflow: hidden; transition: transform 0.3s var(--ez), border-color 0.3s var(--ez); }
.tile:hover { transform: translateY(-5px); border-color: var(--edge-2); }
.tile--wide { grid-column: span 2; }
.tile__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-soft); border: 1px solid var(--edge-2); display: flex; align-items: center; justify-content: center; color: var(--brand-3); margin-bottom: 16px; }
.tile__ic .ic { width: 22px; height: 22px; }
.tile h3 { font-size: 1.2rem; margin-bottom: 9px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tile p { color: var(--tx-2); font-size: 0.94rem; }
.chip { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--grad); padding: 4px 9px; border-radius: 999px; }
.tile--memory, .tile--live { background: linear-gradient(160deg, rgba(255, 61, 154, 0.08), var(--surface) 60%); }
.tile--memory::after, .tile--live::after { content: ''; position: absolute; width: 220px; height: 220px; right: -60px; top: -60px; background: var(--grad); opacity: 0.12; filter: blur(50px); border-radius: 50%; }

.ticks { margin-top: 16px; display: grid; gap: 9px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--tx-2); }
.ticks .ic { color: var(--brand); }

/* ===== Capability matrix ===== */
.matrix { margin-top: 24px; border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.matrix__head, .matrix__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.matrix__head { background: var(--grad-soft); }
.matrix__head span { padding: 15px 18px; font-family: 'Sora', sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.matrix__row { border-top: 1px solid var(--edge); }
.matrix__row:hover { background: rgba(255, 61, 154, 0.04); }
.matrix__row span, .matrix__row b { padding: 15px 18px; font-size: 0.92rem; color: var(--tx-2); }
.matrix__row span:first-child { color: var(--tx); font-weight: 600; }
.matrix__row b { color: var(--brand-3); font-weight: 700; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { display: flex; gap: 16px; padding: 26px; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r); position: relative; }
.step__n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-brand); }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--tx-2); font-size: 0.92rem; }

.privacy { margin-top: 26px; display: flex; gap: 22px; padding: 32px 34px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--edge); }
.privacy__ic { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--grad-soft); border: 1px solid var(--edge-2); display: flex; align-items: center; justify-content: center; color: var(--brand-3); }
.privacy__ic .ic { width: 26px; height: 26px; }
.privacy h3 { font-size: 1.3rem; margin-bottom: 8px; }
.privacy p { color: var(--tx-2); font-size: 0.96rem; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.chips span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; color: var(--tx-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--edge); padding: 7px 12px; border-radius: 999px; }
.chips .ic { color: var(--brand-3); }

/* ===== Plans ===== */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: 34px 30px; position: relative; transition: transform 0.3s var(--ez); }
.plan:hover { transform: translateY(-5px); }
.plan--hot { border-color: var(--brand); background: linear-gradient(180deg, rgba(255, 61, 154, 0.1), var(--surface) 55%); box-shadow: 0 0 60px rgba(255, 61, 154, 0.2); }
.plan__flag { position: absolute; top: 18px; right: 18px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--grad); padding: 5px 11px; border-radius: 999px; }
.plan__head h3 { font-size: 1.15rem; color: var(--brand-3); }
.plan__head p { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--tx); margin-top: 2px; }
.plan__price { font-family: 'Sora', sans-serif; font-size: 2.3rem; font-weight: 800; margin: 18px 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__price small { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.82rem; font-weight: 500; color: var(--tx-3); }
.plan .ticks { margin: 0 0 24px; }
.finehint { text-align: center; margin-top: 22px; font-size: 0.88rem; color: var(--tx-3); display: flex; align-items: center; justify-content: center; gap: 8px; }
.finehint .ic { color: var(--brand-3); }

/* ===== Quotes ===== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r); padding: 28px; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: #FFC24B; }
.stars .ic { fill: currentColor; stroke: none; }
.quote blockquote { font-size: 1.02rem; line-height: 1.6; color: var(--tx); }
.quote figcaption { margin-top: 16px; font-size: 0.86rem; color: var(--tx-3); }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r-sm); overflow: hidden; }
.qa[open] { border-color: var(--edge-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 22px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa__chev { transition: transform 0.3s var(--ez); color: var(--brand-3); }
.qa[open] .qa__chev { transform: rotate(180deg); }
.qa__body { padding: 0 22px 20px; color: var(--tx-2); font-size: 0.95rem; }

/* ===== Finale ===== */
.finale { padding: 40px 0 110px; }
.finale__card { text-align: center; padding: 70px 40px; border-radius: var(--r-xl); background: linear-gradient(150deg, rgba(255, 61, 154, 0.14), rgba(155, 92, 255, 0.1)), var(--surface); border: 1px solid var(--edge-2); position: relative; overflow: hidden; box-shadow: var(--sh); }
.finale__card::before { content: ''; position: absolute; width: 700px; height: 700px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 61, 154, 0.18), transparent 65%); pointer-events: none; }
.finale__card > * { position: relative; }
.finale__card h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.finale__card p { color: var(--tx-2); max-width: 560px; margin: 16px auto 28px; font-size: 1.06rem; }

/* ===== Footer ===== */
.foot { border-top: 1px solid var(--edge); background: var(--ink-2); padding: 60px 0 28px; position: relative; z-index: 5; }
.foot__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; }
.foot__brand p { color: var(--tx-2); font-size: 0.9rem; margin-top: 14px; max-width: 320px; }
.foot__col h4 { font-family: 'Sora', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 15px; }
.foot__col a { display: block; color: var(--tx-2); font-size: 0.9rem; margin-bottom: 11px; transition: color 0.2s; }
.foot__col a:hover { color: var(--brand-3); }
.foot__base { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--edge); }
.foot__base p { text-align: center; font-size: 0.84rem; color: var(--tx-3); }

/* ===== Legal / prose ===== */
.legal { padding: 130px 0 90px; }
.legal__title { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 8px; }
.prose { max-width: 820px; }
.prose > p { color: var(--tx-2); margin-bottom: 14px; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 8px; }
.prose a { color: var(--brand-3); }
.subbar { display: flex; align-items: center; justify-content: space-between; }

/* ===== Promo modal ===== */
.promo { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(6, 4, 10, 0.72); backdrop-filter: blur(8px); }
.promo.is-open { display: flex; animation: fade 0.3s var(--ez); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.promo__card { width: 100%; max-width: 440px; text-align: center; padding: 40px 34px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 61, 154, 0.1), var(--surface-2) 55%); border: 1px solid var(--edge-2); box-shadow: var(--sh), 0 0 80px rgba(255, 61, 154, 0.22); position: relative; animation: pop 0.4s var(--ez-out); }
@keyframes pop { from { opacity: 0; transform: scale(0.93) translateY(16px); } to { opacity: 1; transform: none; } }
.promo__x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--edge); color: var(--tx-2); display: flex; align-items: center; justify-content: center; transition: all 0.25s; }
.promo__x:hover { background: rgba(255, 61, 154, 0.14); color: #fff; transform: rotate(90deg); }
.promo__ic { width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 18px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--sh-brand); }
.promo__ic .ic { width: 28px; height: 28px; }
.promo__title { font-size: 1.5rem; margin-bottom: 10px; }
.promo__text { color: var(--tx-2); font-size: 0.96rem; margin-bottom: 24px; }
.promo__no { display: block; margin: 14px auto 0; font-size: 0.85rem; color: var(--tx-3); }
.promo__no:hover { color: var(--tx-2); }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__meta { justify-content: center; }
  .chat { margin-inline: auto; }
  .floaty { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .sec { padding: 80px 0; }
  .hero { padding: 130px 0 50px; }
  .hero__meta { gap: 20px; }
  .statline b { font-size: 1.4rem; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .plans { grid-template-columns: 1fr; }
  .matrix__head span:nth-child(2), .matrix__row span:nth-child(2) { display: none; }
  .matrix__head, .matrix__row { grid-template-columns: 1.3fr 1fr 1fr; }
  .banner { padding: 26px; }
  .privacy { flex-direction: column; }
  .foot__grid { grid-template-columns: 1fr; }
  .finale__card { padding: 50px 26px; }
}
