/* ==========================================================================
   Beauadmin AI Agent — Landing Page Styles
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-muted: #475569;
  --ink-soft: #64748b;
  --border: #e2e8f0;

  --primary: #4f46e5;       /* Indigo Beauadmin */
  --primary-dark: #4338ca;
  --accent: #ec4899;        /* Beauty rose accent */
  --emerald: #10b981;
  --amber: #d97706;

  --wa-bg: #efeae2;
  --wa-header: #075e54;
  --wa-out: #d9fdd3;
  --wa-in: #ffffff;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary-dark);
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 840px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.34);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
}

.btn-ghost:hover {
  color: var(--ink);
  background: var(--bg-alt);
}

.btn-lg {
  padding: 0.9rem 1.55rem;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo-svg {
  height: 44px;
  width: auto;
  display: block;
}

.brand-logo-svg .brand-wordmark path {
  fill: var(--ink);
}

.brand-logo-svg .brand-accent path {
  fill: url(#beauWaveGrad);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.25rem 0 4.5rem;
  background: radial-gradient(circle at 12% 15%, rgba(79, 70, 229, 0.09) 0%, transparent 45%),
              radial-gradient(circle at 88% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 42%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 3rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(79, 70, 229, 0.09);
  border: 1px solid rgba(79, 70, 229, 0.18);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1.15rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 580px;
  margin-bottom: 1.85rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
}

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup,
.demo-phone {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: visible;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--wa-header);
  color: #fff;
  border-radius: 27px 27px 0 0;
}

.phone-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, var(--accent));
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.phone-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.phone-meta strong {
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.online-status {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.82);
}

.ai-chip {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.phone-chat {
  background: var(--wa-bg);
  background-image: radial-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 16px 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 440px;
  overflow-y: auto;
  border-radius: 0 0 27px 27px;
}

.msg {
  max-width: 86%;
  padding: 0.62rem 0.82rem 0.45rem;
  border-radius: 14px;
  font-size: 0.83rem;
  line-height: 1.42;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
  animation: fadeInUp 0.25s ease;
}

.msg p {
  margin: 0 0 0.35rem;
}

.msg p:last-of-type {
  margin-bottom: 0.15rem;
}

.msg-in {
  align-self: flex-start;
  background: var(--wa-in);
  border-top-left-radius: 4px;
}

.msg-out {
  align-self: flex-end;
  background: var(--wa-out);
  border-top-right-radius: 4px;
}

.msg-success {
  border-left: 3px solid var(--emerald);
}

.msg-system {
  align-self: center;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.76rem;
  text-align: center;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.msg-time {
  display: block;
  text-align: right;
  font-size: 0.67rem;
  color: var(--ink-soft);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
}

.floating-badge small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.floating-badge strong {
  color: var(--ink);
  font-weight: 700;
}

.badge-icon {
  font-size: 1.25rem;
}

.badge-top {
  top: 72px;
  left: -46px;
}

.badge-bottom {
  bottom: 24px;
  right: -32px;
}

/* Pain / Value Strip */
.pain-strip {
  padding: 2.25rem 0;
  background: var(--ink);
  color: #fff;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.strip-card {
  padding: 0.5rem 0.75rem;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
}

.strip-card:first-child {
  border-left: none;
  padding-left: 0;
}

.strip-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a5b4fc, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.35rem;
}

.strip-card p {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.eyebrow-amber {
  color: var(--amber);
}

.eyebrow-light {
  color: #c7d2fe;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 800;
}

.section-header p {
  color: var(--ink-muted);
  font-size: 1.03rem;
  margin: 0;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.08rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(79, 70, 229, 0.35);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.feature-card h3 {
  font-size: 1.04rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Interactive Demo */
.demo-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2.25rem;
  align-items: center;
}

.demo-controls {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.demo-tab {
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-tab strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.demo-tab span {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.demo-tab:hover {
  border-color: rgba(79, 70, 229, 0.45);
}

.demo-tab.active {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.04);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.09);
}

.demo-chat-body {
  min-height: 360px;
  max-height: 390px;
  border-radius: 0;
}

.demo-replay-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #fff;
  border-top: 1px solid var(--border);
  border-radius: 0 0 27px 27px;
}

.demo-hint {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* Roadmap / Coming Soon */
.roadmap-section {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.roadmap-card {
  background: #fff;
  border: 1.5px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.roadmap-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.roadmap-icon {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.roadmap-card h3 {
  font-size: 1.25rem;
}

.roadmap-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.91rem;
  color: var(--ink);
}

.check-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 22px 48px rgba(79, 70, 229, 0.14);
}

.popular-tag {
  position: absolute;
  top: -13px;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

.pricing-top h3 {
  font-size: 1.25rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
  min-height: 2.8rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin: 1rem 0 0.65rem;
}

.currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.period {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.conv-limit {
  background: rgba(79, 70, 229, 0.07);
  color: var(--primary-dark);
  font-size: 0.88rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  margin-bottom: 1.4rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

.pricing-footnote {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
}

.faq-item summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0.8rem 0 0;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

/* CTA / Form */
.cta-section {
  padding-top: 2rem;
}

.cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #312e81 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  color: #fff;
}

.cta-copy p {
  color: #cbd5e1;
  font-size: 1rem;
}

.cta-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: #e0e7ff;
}

.cta-direct-wa {
  margin-top: 1.5rem;
}

.btn-wa-direct {
  background: #25d366;
  color: #052e16;
  font-weight: 700;
  padding: 0.82rem 1.35rem;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.btn-wa-direct:hover {
  background: #22c55e;
}

.cta-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.cta-form h3 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.checkbox-inline {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-bottom: 0 !important;
}

.form-feedback {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--emerald);
  min-height: 1.2em;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-brand strong {
  display: block;
  font-size: 1rem;
}

.footer-brand span {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .demo-wrapper,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .badge-top,
  .badge-bottom {
    position: static;
    margin-top: 0.75rem;
  }

  .phone-mockup,
  .demo-phone {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .brand-logo-svg {
    height: 36px;
  }

  .pricing-grid,
  .roadmap-grid,
  .steps-grid,
  .features-grid,
  .strip-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .strip-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.9rem 0 0;
  }

  .strip-card:first-child {
    border-top: none;
    padding-top: 0;
  }

  .cta-box {
    padding: 1.75rem;
  }
}
