/* ============================================
   SUSAN Sense — sections.css
   All mid-page content sections
   ============================================ */

/* ==========================================
   SECTION: LIVE DEMO
   ========================================== */
.section-demo {
  background-color: var(--teal-dark);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.section-demo::before {
  content: "";
  position: absolute;
  top: -60px;
  right: 10%;
  width: 300px;
  height: 260px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 60% 40% 70% 30% / 40% 60% 50% 70%;
  pointer-events: none;
}

.section-demo::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 5%;
  width: 200px;
  height: 180px;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 40% 60% 30% 70%;
  pointer-events: none;
}

.demo-box {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.demo-box h2 {
  font-size: var(--text-xl);
  color: #fff;
  margin-bottom: 14px;
}

.demo-box p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.url-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.url-label {
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.url-value {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  word-break: break-all;
  overflow-wrap: break-word;
}

@media (max-width: 480px) {
  .url-value {
    font-size: 16px;
  }
}

.demo-pills {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.pill::before {
  content: "●";
  font-size: 6px;
  color: #5dddc8;
}

@media (max-width: 800px) {
  .demo-box {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


/* ==========================================
   SECTION: CHALLENGE / SOLUTION
   ========================================== */
.section-cs {
  background-color: var(--bg);
  padding: var(--section-pad) 0;
}

.cs-card {
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.cs-card:hover {
  box-shadow: 0 8px 32px rgba(43, 128, 112, 0.12);
  transform: translateY(-2px);
}

.cs-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 120px;
  background-color: var(--teal-light);
  border-radius: 50%;
  opacity: 0.6;
}

.cs-card:last-child::before {
  background-color: var(--teal);
  opacity: 0.08;
}

.cs-card h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.cs-card p {
  font-size: var(--text-base);
  line-height: 1.65;
}


/* ==========================================
   SECTION: FEATURES
   ========================================== */
.section-features {
  background-color: var(--white);
  padding: var(--section-pad) 0;
}

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

.feat-card {
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

/* Teal underline on hover */
.feat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.feat-card:hover {
  box-shadow: 0 8px 28px rgba(43, 128, 112, 0.13);
  transform: translateY(-3px);
  border-color: var(--teal-mid);
}

.feat-card:hover::after {
  transform: scaleX(1);
}

/* Highlight (teal) card */
.feat-card.highlight {
  background-color: var(--teal);
  border: none;
  color: #fff;
}

.feat-card.highlight::after {
  display: none;
}

.feat-card.highlight:hover {
  background-color: var(--teal-dark);
  box-shadow: 0 10px 32px rgba(43, 128, 112, 0.4);
}

/* Icon box */
.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  border: 1.5px solid var(--teal-mid);
}

.feat-card.highlight .feat-icon {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.feat-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--navy);
}

.feat-card.highlight h4 {
  color: #fff;
}

.feat-card p {
  font-size: 14px;
  line-height: 1.6;
}

.feat-card.highlight p {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
}


/* ==========================================
   SECTION: HOW IT WORKS
   ========================================== */
.section-how {
  background-color: var(--navy);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.section-how::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 360px;
  background-color: rgba(43, 128, 112, 0.12);
  border-radius: 60% 40% 70% 30% / 40% 60% 50% 70%;
  pointer-events: none;
}

.section-how::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 280px;
  height: 240px;
  background-color: rgba(43, 128, 112, 0.08);
  border-radius: 40% 60% 30% 70%;
  pointer-events: none;
}

.section-how .section-header h2 {
  color: #fff;
}

.section-how .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.step-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.step-card:hover {
  background-color: rgba(43, 128, 112, 0.2);
  border-color: rgba(43, 128, 112, 0.5);
  transform: translateY(-3px);
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(43, 128, 112, 0.25);
  border: 1px solid rgba(43, 128, 112, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.step-num {
  font-size: 12px;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.step-title {
  font-size: 16px;
  font-weight: 800;
  color: #e8f4f1;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .steps-grid { grid-template-columns: 1fr; }
}


/* ==========================================
   SECTION: TEAM
   ========================================== */
.section-team {
  background-color: var(--bg);
  padding: var(--section-pad) 0;
}

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

.team-card {
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: 0 8px 28px rgba(43, 128, 112, 0.13);
  transform: translateY(-3px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-mid));
  border: 3px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--teal-dark);
  margin: 0 auto 16px;
}

.team-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}

.team-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}


/* ==========================================
   SECTION: WAITLIST CTA
   ========================================== */
.section-waitlist {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section-waitlist::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.section-waitlist h2 {
  color: #fff;
  margin-bottom: 16px;
}

.section-waitlist > .wrap > p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: var(--transition);
}

.waitlist-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.waitlist-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.2);
}

.waitlist-form button {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background-color: #fff;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.waitlist-form button:hover {
  background-color: var(--teal-light);
  transform: translateY(-1px);
}

.waitlist-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 14px;
}


/* ==========================================
   TOAST NOTIFICATION
   ========================================== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: var(--navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid rgba(43, 128, 112, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 18px;
}
