
:root {
  --purple: #6441d9;
  --pink: #ec4899;
  --turquoise: #16c5cd;
  --gold: #f5b942;
  --navy: #18234b;
  --background: #f8f7ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: var(--background);
  line-height: 1.6;
}

.header {
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 7%;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px #25144d12;
}

.logo {
  color: var(--purple);
  font-size: 25px;
  font-weight: 800;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: var(--pink);
}

.hero {
  min-height: 470px;
  display: flex;
  align-items: center;
  padding: 80px 8%;
  color: white;
  background: linear-gradient(
    125deg,
    #382080 0%,
    #7145df 45%,
    #ec4899 100%
  );
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  color: #ffe08a;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
  margin: 20px 0;
}

.hero p {
  font-size: 19px;
  max-width: 570px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 28px;
  background: var(--gold);
  color: #23184b;
  text-decoration: none;
  font-weight: 800;
  border-radius: 30px;
  transition: transform .2s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #0003;
}

.section {
  padding: 70px 8%;
}

.section h2 {
  text-align: center;
  font-size: clamp(27px, 4vw, 38px);
  margin-bottom: 35px;
}

.feature-grid,
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.stat-card,
.appointment-panel {
  background: white;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 24px #34226b12;
}

.feature-card {
  border-top: 5px solid var(--purple);
  transition: transform .2s;
}

.feature-card:nth-child(2) {
  border-color: var(--pink);
}

.feature-card:nth-child(3) {
  border-color: var(--turquoise);
}

.feature-card:nth-child(4) {
  border-color: var(--gold);
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card h3 {
  color: var(--purple);
}

.dashboard {
  background: linear-gradient(145deg, #eee9ff, #fff0f8);
}

.demo-label {
  text-align: center;
  color: #635b78;
}

.stat-card {
  border-left: 5px solid var(--purple);
}

.stat-card:nth-child(2) {
  border-color: var(--pink);
}

.stat-card:nth-child(3) {
  border-color: var(--turquoise);
}

.stat-card:nth-child(4) {
  border-color: var(--gold);
}

.stat-card h3 {
  font-size: 15px;
  color: #625c79;
}

.stat-card strong {
  font-size: 32px;
  color: var(--navy);
}

.appointment-panel {
  margin-top: 30px;
}

.appointment-panel h3 {
  color: var(--purple);
}

.appointment-panel ul {
  padding-left: 20px;
}

.appointment-panel li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

footer {
  padding: 25px;
  text-align: center;
  background: var(--navy);
  color: white;
}

@media (max-width: 900px) {
  .feature-grid,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .header {
    justify-content: center;
  }

  .hero {
    padding: 75px 6%;
  }

  .section {
    padding: 45px 6%;
  }

  .feature-grid,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .feature-card {
    transition: none;
  }
}

.customer-form,
.customer-list {
  background: white;
  padding: 30px;
  border-radius: 18px;
  max-width: 800px;
  margin: 25px auto;
  box-shadow: 0 8px 24px #34226b12;
}

.customer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customer-form label {
  font-weight: 700;
}

.customer-form input {
  padding: 14px;
  border: 1px solid #cfc9e8;
  border-radius: 10px;
  font-size: 16px;
}

.customer-form input:focus {
  outline: 2px solid var(--purple);
}

.customer-form .btn {
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.customer-list ul {
  list-style: none;
  padding: 0;
}

.customer-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  overflow-wrap: anywhere;
}

.delete-btn {
  background: #ffe5ef;
  color: #a31550;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 700;
}

.delete-btn:hover {
  background: #ffc9de;
}

.customer-form select {
  padding: 14px;
  border: 1px solid #cfc9e8;
  border-radius: 10px;
  font-size: 16px;
  background: white;
  color: var(--navy);
  width: 100%;
}

.customer-form select:focus {
  outline: 2px solid var(--purple);
}

.status-select {
  padding: 10px 14px;
  border: 2px solid #6441d9;
  border-radius: 10px;
  background: #f2edff;
  color: #382080;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  max-width: 150px;
}

.status-select:focus {
  outline: 2px solid #16c5cd;
  outline-offset: 2px;
}

#appointmentList li {
  flex-wrap: wrap;
}

/* Colorful appointment status dropdowns */

.status-select.confirmed {
  background-color: #dbeafe;
  color: #1d4ed8;
  border-color: #3b82f6;
}

.status-select.completed {
  background-color: #dcfce7;
  color: #166534;
  border-color: #22c55e;
}

.status-select.cancelled {
  background-color: #fee2e2;
  color: #b91c1c;
  border-color: #ef4444;
}

.payment-btn {
  background: linear-gradient(135deg, #16c5cd, #6441d9);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 11px 17px;
  font-weight: 700;
  cursor: pointer;
}

.payment-btn:hover {
  filter: brightness(1.1);
}

.payment-btn:focus-visible {
  outline: 3px solid #f5b942;
  outline-offset: 3px;
}

/* BizPilot AI — Registration Form */

#businessRegistration {
  text-align: center;
}

#businessRegistration .form-card {
  max-width: 650px;
  margin: 30px auto;
  padding: 35px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(40, 30, 100, 0.08);
}

#registrationForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

#registrationForm label {
  font-weight: 700;
  color: #102451;
}

#registrationForm input {
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  border: 1px solid #d5cafa;
  border-radius: 10px;
  font-size: 16px;
}

#registrationForm input:focus {
  outline: 2px solid #6941e8;
}

#registrationForm button {
  padding: 15px 25px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, #16bccc, #6742e9);
  color: white;
  font-weight: bold;
}

#registrationForm button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* BizPilot AI Login Form Styling */

#businessLogin {
  text-align: center;
}

#businessLogin .form-card {
  max-width: 650px;
  margin: 30px auto;
  padding: 35px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(25, 20, 80, 0.08);
  text-align: left;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#loginForm label {
  display: block;
  font-weight: 700;
  color: #102452;
}

#loginForm input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid #d3c7ff;
  border-radius: 12px;
  font-size: 16px;
}

#loginButton,
#logoutButton {
  padding: 15px 22px;
  border: 0;
  border-radius: 30px;
  background: linear-gradient(90deg, #19b8c8, #6840ec);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

#loggedInPanel[hidden] {
  display: none;
}

/* Hide inactive authentication panels */
#loginForm[hidden],
#loggedInPanel[hidden] {
  display: none !important;
}


/* Solqentra AI Password Recovery */
#forgotPasswordPanel[hidden],
#loginForm[hidden] {
  display: none !important;
}

#forgotPasswordPanel form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#forgotPasswordPanel input {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid #d3c7ff;
  border-radius: 12px;
}

#sendResetButton,
#backToLoginButton {
  padding: 14px 20px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(90deg, #19b8c8, #6840ec);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

/* Solqentra AI - Forgot Password Link */

#forgotPasswordLink.forgot-password-link {
  display: block;
  width: fit-content;
  padding: 0;
  border: none;
  background: transparent;
  color: #5938dc;
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
}


/* Solqentra AI - New Password Form */

#newPasswordPanel[hidden] {
  display: none !important;
}

#newPasswordPanel form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#newPasswordPanel label {
  font-weight: 600;
  color: #10265c;
}

#newPasswordPanel input {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  font-size: 16px;
  border: 1px solid #d3c7ff;
  border-radius: 12px;
}

#updatePasswordButton {
  padding: 15px 22px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, #19b8c8, #6840ec);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

#updatePasswordButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* Solqentra AI - Subscription Plans */

#subscriptions {
  text-align: center;
}

#subscriptions > p {
  text-align: center;
}

.subscription-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto;
}

.subscription-card {
  background: #ffffff;
  padding: 30px 22px;
  border: 1px solid #e3dcff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(20, 30, 80, 0.08);
  text-align: center;
}

.subscription-card h3 {
  color: #10265c;
  font-size: 22px;
}

.subscription-price {
  font-size: 40px;
  font-weight: 800;
  color: #6542e8;
  margin: 20px 0;
}

.subscription-btn {
  width: 100%;
  padding: 15px;
  margin-top: 18px;
  border: none;
  border-radius: 28px;
  background: linear-gradient(90deg, #19b8c8, #6840ec);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.subscription-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.subscription-btn:focus-visible {
  outline: 3px solid #10265c;
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .subscription-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}


/* Solqentra AI - Selected Subscription Plan */

.subscription-btn[aria-pressed="true"] {
  outline: 3px solid #10265c;
  outline-offset: 3px;
}

#subscriptionMessage {
  text-align: center;
  font-weight: 600;
  color: #10265c;
  margin: 20px auto;
}

/* Solqentra AI - My Subscription */

.my-subscription {
  max-width: 650px;
  margin: 45px auto 20px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #e3dcff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(20, 30, 80, 0.08);
  text-align: left;
}

.my-subscription h3 {
  color: #10265c;
  font-size: 24px;
  margin-bottom: 20px;
}

.my-subscription p {
  color: #10265c;
  margin: 14px 0;
  line-height: 1.6;
}

#subscriptionStatus {
  font-weight: 700;
  color: #6542e8;
}

#subscriptionStatusNote {
  padding-top: 15px;
  border-top: 1px solid #e3dcff;
  font-size: 14px;
}


/* Solqentra AI — Hide the large appointment calendar */
#appointments .calendar-panel {
  display: none !important;
}

/* SOLQENTRA AI — BUSINESS ASSISTANT */

#ai-assistant-info {
  display: block !important;
}

.solqentra-ai-chat {
  max-width: 800px;
  margin: 30px auto;
  padding: 25px;
  background: white;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(50, 30, 100, .10);
}

.solqentra-ai-heading {
  background: linear-gradient(
    120deg, #17b9c7, #6843e6
  );
  color: white;
  padding: 18px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 700;
}

.solqentra-ai-messages {
  min-height: 160px;
  max-height: 420px;
  overflow-y: auto;
  padding: 20px 0;
}

.solqentra-ai-reply,
.solqentra-ai-question {
  padding: 14px 18px;
  margin: 12px 0;
  border-radius: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.solqentra-ai-reply {
  background: #f0ecff;
  color: #18234b;
}

.solqentra-ai-question {
  background: #e5fafb;
  color: #18234b;
  margin-left: 15%;
}

#aiChatForm label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

#aiQuestion {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  border: 1px solid #bdb4ee;
  border-radius: 12px;
  background: #ffffff;
  color: #18234b;
  font: inherit;
  resize: vertical;
}

#aiSendButton {
  margin-top: 14px;
  cursor: pointer;
}

#aiSendButton:disabled {
  opacity: .6;
  cursor: wait;
}

#aiChatStatus {
  margin-top: 12px;
  color: #5132c4;
}

/* SOLQENTRA AI — FORMATTED ANSWERS */

.solqentra-ai-reply {
  white-space: normal;
  line-height: 1.75;
  font-size: 15px;
  color: #18234b;
}

.solqentra-ai-reply h3 {
  color: #5132c4;
  font-size: 18px;
  font-weight: 800;
  margin: 20px 0 10px;
  line-height: 1.4;
}

.solqentra-ai-reply h3:first-child {
  margin-top: 0;
}

.solqentra-ai-reply p {
  margin: 10px 0;
}

.solqentra-ai-reply ul,
.solqentra-ai-reply ol {
  padding-left: 26px;
  margin: 10px 0 16px;
  list-style-position: outside;
}

.solqentra-ai-reply li {
  margin-bottom: 9px;
  padding-left: 3px;
}

.solqentra-ai-reply strong {
  color: #35208a;
  font-weight: 800;
}

.solqentra-ai-question {
  white-space: pre-wrap;
}

@media (max-width: 600px) {
  .solqentra-ai-reply {
    font-size: 14px;
  }

  .solqentra-ai-reply h3 {
    font-size: 16px;
  }
}

/* SOLQENTRA AI — CLEAR CHAT BUTTON */

#aiClearButton {
  display: inline-block;
  margin-left: 12px;
  padding: 13px 24px;
  background: #f0ecff;
  color: #5132c4;
  border: 1px solid #c8bafa;
  border-radius: 25px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

#aiClearButton:hover {
  background: #dfd5ff;
}

#aiClearButton:focus-visible {
  outline: 3px solid #6843e6;
  outline-offset: 3px;
}

/* SOLQENTRA AI — BUSINESS CATEGORY CARDS */

#organization-tool {
  max-width: 1100px;
  margin: 40px auto;
  padding: 32px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(28, 35, 75, 0.08);
}

.business-types-heading {
  text-align: center;
  color: #18234b;
  font-size: 26px;
  margin: 0 0 12px;
}

.business-types-intro {
  text-align: center;
  color: #59627d;
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 720px;
}

.business-types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.business-type-card {
  background: linear-gradient(145deg, #f6f3ff, #eefbff);
  border: 1px solid #e5dcff;
  border-radius: 18px;
  padding: 25px 20px;
  min-width: 0;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease;
}

.business-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(81, 50, 196, 0.12);
}

.business-type-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.business-type-card h4 {
  color: #5132c4;
  font-size: 18px;
  margin: 0 0 12px;
  line-height: 1.4;
}

.business-type-card p {
  color: #34405d;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.business-types-disclaimer {
  margin: 25px 0 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff8e6;
  color: #664800;
  font-size: 13px;
  line-height: 1.6;
}

/* TABLET */

@media (max-width: 900px) {
  .business-types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 600px) {
  #organization-tool {
    padding: 20px;
    margin: 25px 12px;
  }

  .business-types-grid {
    grid-template-columns: 1fr;
  }

  .business-types-heading {
    font-size: 22px;
  }

  .business-type-card {
    padding: 20px;
  }
}



/* SOLQENTRA AI — ORIGINAL BACKGROUND THEME */

body {
  background: linear-gradient(
    135deg,
    #f3efff 0%,
    #f0faff 50%,
    #f8f2ff 100%
  );
  color: #18234b;
}

/* Business Tools background */
#business-tools {
  background: linear-gradient(
    135deg,
    #f3efff 0%,
    #e9faff 50%,
    #f8f2ff 100%
  );
}

/* Preserve white cards */
#business-tools .tool-panel,
#organization-tool {
  background: #ffffff;
}

/* Colorful business cards */
.business-type-card {
  background: linear-gradient(
    145deg,
    #f6f0ff,
    #e9faff
  );
  border: 1px solid #dcd2ff;
}

/* SOLQENTRA AI — BACKGROUND COLOR FIX */

html,
body {
  min-height: 100%;
  background: linear-gradient(
    135deg,
    #f3efff 0%,
    #e8faff 50%,
    #f8f2ff 100%
  ) !important;
}

/* Apply the background to website sections */
body > main > section.section,
#business-tools,
#ai-assistant-info,
#appointments,
#customers,
#dashboard {
  background: transparent !important;
}

/* Keep content cards white */
#organization-tool,
#business-tools .tool-panel,
.solqentra-ai-chat,
.form-card,
.customer-list,
.appointment-panel,
.stat-card {
  background: #ffffff !important;
}

/* Keep the business category cards colorful */
#organization-tool .business-type-card {
  background: linear-gradient(
    145deg,
    #f6f0ff,
    #e9faff
  ) !important;
}
