/* ── Variables ───────────────────────────────────────────── */
:root {
  --qcp-bg: #f8f9fc;
  --qcp-bg-2: #f1f4f9;
  --qcp-bg-card: #ffffff;
  --qcp-border: #e2e8f0;
  --qcp-primary: #6c47ff;
  --qcp-primary-dark: #5535e0;
  --qcp-gradient: linear-gradient(135deg, #6c47ff 0%, #a855f7 100%);
  --qcp-text: #0f172a;
  --qcp-muted: #64748b;
  --qcp-radius: 14px;
  --font-body: "Inter", sans-serif;
  --font-heading: "Plus Jakarta Sans", sans-serif;
}

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

body {
  background-color: var(--qcp-bg);
  color: var(--qcp-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #0f172a;
}

a {
  text-decoration: none;
}

/* ── Utilities ───────────────────────────────────────────── */
.fw-500 {
  font-weight: 500;
}
.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}
.fw-800 {
  font-weight: 800;
}

.qcp-gradient-text {
  background: var(--qcp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  background: var(--qcp-gradient);
  border: none;
  font-weight: 600;
  border-radius: 10px;
  color: #fff;
  transition:
    opacity 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108, 71, 255, 0.3);
  background: var(--qcp-gradient);
  border: none;
  color: #fff;
}
.btn-outline-light {
  border-radius: 10px;
  font-weight: 500;
}
.btn-outline-primary {
  border-color: var(--qcp-primary);
  color: var(--qcp-primary);
  border-radius: 10px;
  font-weight: 600;
}
.btn-outline-primary:hover {
  background: var(--qcp-primary);
  border-color: var(--qcp-primary);
  color: #fff;
}

/* ── Navbar ──────────────────────────────────────────────── */
.qcp-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--qcp-border);
  padding: 14px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.qcp-navbar .navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #0f172a;
}
.qcp-navbar .nav-link {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: all 0.2s;
}
.qcp-navbar .nav-link:hover {
  color: var(--qcp-primary);
  background: rgba(108, 71, 255, 0.06);
}
.qcp-navbar .navbar-toggler-icon {
  filter: invert(1) brightness(0.3);
}
.qcp-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--qcp-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}
.qcp-logo-icon.small {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

/* ── Hero ────────────────────────────────────────────────── */
.qcp-hero {
  min-height: calc(100vh - 70px);
  padding: 80px 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 60% 0%,
      rgba(108, 71, 255, 0.08) 0%,
      transparent 70%
    ),
    var(--qcp-bg);
}
.qcp-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(108, 71, 255, 0.08);
  border: 1px solid rgba(108, 71, 255, 0.2);
  color: var(--qcp-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.qcp-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
}
.qcp-hero-sub {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 480px;
}
.qcp-trust-badges span {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
}

/* ── Hero Card ───────────────────────────────────────────── */
.qcp-hero-card {
  background: #fff;
  border: 1px solid var(--qcp-border);
  border-radius: var(--qcp-radius);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(108, 71, 255, 0.08);
}
.qcp-hero-card-header {
  background: #f8f9fc;
  border-bottom: 1px solid var(--qcp-border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot.red {
  background: #ff5f56;
}
.dot.yellow {
  background: #ffbd2e;
}
.dot.green {
  background: #27c93f;
}
.qcp-hero-card-body {
  padding: 20px;
}
.qcp-chat-msg {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}
.qcp-chat-user {
  background: #f1f4f9;
  border: 1px solid #e2e8f0;
  color: #334155;
}
.qcp-chat-ai {
  background: rgba(108, 71, 255, 0.06);
  border: 1px solid rgba(108, 71, 255, 0.15);
  color: #1e293b;
}
.qcp-typing {
  display: flex;
  gap: 5px;
  padding: 8px 14px;
}
.qcp-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qcp-primary);
  animation: typing 1.2s infinite;
}
.qcp-typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.qcp-typing span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

/* ── Sections ────────────────────────────────────────────── */
.qcp-section {
  padding: 90px 0;
  background: var(--qcp-bg);
}
.qcp-section-dark {
  background: var(--qcp-bg-2);
  padding: 90px 0;
}
.qcp-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
}
.qcp-section-sub {
  color: var(--qcp-muted);
  font-size: 1rem;
  margin-top: 6px;
}

/* ── Feature Cards ───────────────────────────────────────── */
.qcp-feature-card {
  background: #fff;
  border: 1px solid var(--qcp-border);
  border-radius: var(--qcp-radius);
  padding: 28px 24px;
  transition:
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.qcp-feature-card:hover {
  border-color: rgba(108, 71, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(108, 71, 255, 0.08);
}
.qcp-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.qcp-icon-purple {
  background: rgba(108, 71, 255, 0.1);
  color: #6c47ff;
}
.qcp-icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.qcp-icon-teal {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
}
.qcp-icon-orange {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}
.qcp-icon-red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* ── Privacy Banner ──────────────────────────────────────── */
.qcp-privacy-banner {
  background: linear-gradient(
    135deg,
    rgba(108, 71, 255, 0.05) 0%,
    rgba(168, 85, 247, 0.05) 100%
  );
  border-top: 1px solid var(--qcp-border);
  border-bottom: 1px solid var(--qcp-border);
  padding: 60px 0;
}
.qcp-privacy-item {
  background: #fff;
  border: 1px solid var(--qcp-border);
  border-radius: 10px;
  padding: 16px 12px;
}

/* ── Steps ───────────────────────────────────────────────── */
.qcp-step-card {
  background: #fff;
  border: 1px solid var(--qcp-border);
  border-radius: var(--qcp-radius);
  padding: 28px 20px;
  position: relative;
  transition: box-shadow 0.25s;
}
.qcp-step-card:hover {
  box-shadow: 0 8px 24px rgba(108, 71, 255, 0.08);
}
.qcp-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--qcp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ── Pricing ─────────────────────────────────────────────── */
.qcp-pricing-card {
  background: #fff;
  border: 1px solid var(--qcp-border);
  border-radius: var(--qcp-radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.qcp-pricing-card:hover {
  box-shadow: 0 12px 32px rgba(108, 71, 255, 0.1);
}
.qcp-pricing-popular {
  border-color: var(--qcp-primary);
  box-shadow: 0 8px 30px rgba(108, 71, 255, 0.15);
}
.qcp-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--qcp-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.qcp-pricing-header {
  margin-bottom: 20px;
}
.qcp-pricing-header h5 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}
.qcp-price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: #64748b;
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
}
.qcp-price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #0f172a;
}
.qcp-price-period {
  font-size: 0.85rem;
  color: var(--qcp-muted);
}
.qcp-pricing-features li {
  padding: 7px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid #f1f4f9;
  color: #334155;
}
.qcp-pricing-features li:last-child {
  border-bottom: none;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.qcp-faq-item {
  background: #fff !important;
  border: 1px solid var(--qcp-border) !important;
  border-radius: var(--qcp-radius) !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.qcp-faq-item .accordion-button {
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: none;
}
.qcp-faq-item .accordion-button:not(.collapsed) {
  background: rgba(108, 71, 255, 0.04);
  color: var(--qcp-primary);
}
.qcp-faq-item .accordion-button::after {
  filter: none;
}
.qcp-faq-item .accordion-body {
  background: #fff;
  font-size: 0.9rem;
  color: #475569;
  padding-top: 0;
}

/* ── CTA Section ─────────────────────────────────────────── */
.qcp-cta-section {
  padding: 90px 0;
  background: linear-gradient(
    135deg,
    rgba(108, 71, 255, 0.06) 0%,
    rgba(168, 85, 247, 0.06) 100%
  );
  border-top: 1px solid var(--qcp-border);
}
.qcp-cta-section h2 {
  color: #0f172a;
}

/* ── Footer ──────────────────────────────────────────────── */
.qcp-footer {
  background: #fff;
  border-top: 1px solid var(--qcp-border);
  padding: 60px 0 30px;
}
.qcp-footer-links li {
  margin-bottom: 8px;
}
.qcp-footer-links a {
  color: #64748b;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.qcp-footer-links a:hover {
  color: var(--qcp-primary);
}
.qcp-footer-divider {
  border-color: var(--qcp-border);
  margin: 30px 0 20px;
}

/* ── Auth Pages ──────────────────────────────────────────── */
.qcp-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background:
    radial-gradient(
      ellipse 80% 50% at 60% 0%,
      rgba(108, 71, 255, 0.08) 0%,
      transparent 70%
    ),
    var(--qcp-bg);
}
.qcp-auth-card {
  background: #fff;
  border: 1px solid var(--qcp-border);
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
.qcp-auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
  color: #0f172a;
}
.qcp-auth-sub {
  color: #64748b;
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.qcp-label {
  color: #374151;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.qcp-input-wrap {
  position: relative;
}
.qcp-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  z-index: 2;
}
.qcp-input {
  background: #f8f9fc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  color: #0f172a !important;
  padding: 12px 14px 12px 40px !important;
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  width: 100%;
}
.qcp-input:focus {
  outline: none !important;
  border-color: var(--qcp-primary) !important;
  box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.1) !important;
  background: #fff !important;
}
.qcp-input::placeholder {
  color: #94a3b8;
}

/* OTP */
.qcp-otp-icon {
  width: 60px;
  height: 60px;
  background: rgba(108, 71, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--qcp-primary);
}
.qcp-otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.qcp-otp-box {
  width: 52px;
  height: 58px;
  background: #f8f9fc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  font-family: var(--font-heading);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.qcp-otp-box:focus {
  outline: none;
  border-color: var(--qcp-primary);
  box-shadow: 0 0 0 3px rgba(108, 71, 255, 0.12);
  background: #fff;
}
.qcp-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 10px;
  font-size: 0.88rem;
}
.qcp-resend-link {
  color: var(--qcp-primary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: opacity 0.2s;
}
.qcp-resend-link:hover {
  opacity: 0.8;
  color: var(--qcp-primary);
}

/* ── Dashboard ───────────────────────────────────────────── */
.qcp-plan-badge {
  background: rgba(108, 71, 255, 0.08);
  border: 1px solid rgba(108, 71, 255, 0.2);
  color: var(--qcp-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.qcp-stat-card {
  background: #fff;
  border: 1px solid var(--qcp-border);
  border-radius: var(--qcp-radius);
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.qcp-stat-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}
.qcp-upload-card {
  background: #fff;
  border: 2px dashed rgba(108, 71, 255, 0.25);
  border-radius: var(--qcp-radius);
  padding: 20px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.qcp-upload-card:hover {
  border-color: rgba(108, 71, 255, 0.5);
  box-shadow: 0 4px 20px rgba(108, 71, 255, 0.06);
}
.qcp-tool-card {
  cursor: pointer;
}
.qcp-tool-card:hover {
  border-color: rgba(108, 71, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(108, 71, 255, 0.08);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .qcp-hero {
    padding: 60px 0;
    min-height: auto;
  }
  .qcp-hero-card {
    margin-top: 20px;
  }
  .qcp-auth-card {
    padding: 28px 20px;
  }
  .qcp-otp-box {
    width: 44px;
    height: 52px;
    font-size: 1.3rem;
  }
}
