/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 700px at 65% 40%, rgba(14,165,233,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 600px 400px at 10% 70%, rgba(99,102,241,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 400px 300px at 85% 80%, rgba(20,184,166,0.08) 0%, transparent 60%),
              var(--bg);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(20,184,166,.28);
  animation: particle-float 8s infinite ease-in-out alternate;
}

@keyframes particle-float {
  from { opacity: .25; transform: translateY(0) scale(1); }
  to { opacity: .7; transform: translateY(-28px) scale(1.2); }
}

.hero-content {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  margin-right: 80px;
  padding-left: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(14,165,233,0.10);
  border: 1px solid rgba(14,165,233,0.25);
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 36px;
  box-shadow: 0 4px 20px rgba(14,165,233,0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.stat-num.status-word {
  font-size: 24px;
  color: #b45309;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Phone Mockup ===== */
.hero-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.phone-mockup {
  width: 280px;
  background: white;
  border-radius: 40px;
  padding: 20px 16px;
  box-shadow: 0 40px 80px rgba(14,165,233,0.20),
              0 0 0 1px rgba(14,165,233,0.10);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(-2deg); }
}

.phone-screen {
  background: #f0f9ff;
  border-radius: 28px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.app-time { color: var(--text-muted); }

.preview-chip {
  padding: 2px 7px;
  border: 1px solid rgba(14,165,233,.18);
  border-radius: 999px;
  color: var(--text-muted);
  background: white;
  font-size: 10px;
  font-weight: 500;
}

.app-greeting {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.app-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
}
.app-alert.warning {
  background: rgba(245,158,11,0.12);
  color: #d97706;
  border: 1px solid rgba(245,158,11,0.2);
}

.app-alert.safe {
  background: rgba(20,184,166,.1);
  color: #0f766e;
  border: 1px solid rgba(20,184,166,.18);
}

.app-emotion-card {
  background: white;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border);
}
.emotion-label { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.emotion-bar {
  background: rgba(14,165,233,0.10);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.emotion-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  animation: expand 2s ease-out;
}
@keyframes expand { from { width: 0; } }
.emotion-tip { font-size: 11px; color: var(--text-muted); }

.app-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.app-menu-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.app-menu-item:hover { background: rgba(14,165,233,0.08); color: var(--primary); border-color: var(--primary); }
.app-menu-item span { font-size: 11px; }
.app-menu-item strong { font-size: 17px; color: var(--primary-dark); }
.app-menu-item.muted { background: #f8fafc; color: var(--text-dim); }
.app-menu-item.muted strong { color: #b45309; }

/* Hero responsive */
@media (min-width: 1024px) {
  .hero { justify-content: center; }
}
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-content { margin-right: 0; padding-left: 0; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 34px; }
  .hero { padding: 100px 20px 60px; }
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
  background: var(--bg-section);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(14,165,233,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(14,165,233,0.12);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.feature-tags span {
  padding: 3px 10px;
  background: rgba(14,165,233,0.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
}

.feature-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.feature-icon-blue { background: #e0f2fe; color: #0369a1; }
.feature-icon-rose { background: #ffe4e6; color: #be123c; }
.feature-icon-teal { background: #ccfbf1; color: #0f766e; }
.feature-icon-indigo { background: #e0e7ff; color: #4338ca; }
.feature-icon-amber { background: #fef3c7; color: #b45309; }
.feature-icon-slate { background: #e2e8f0; color: #334155; }
.feature-card-waiting { background: linear-gradient(180deg, #fffbeb, #fff); }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ===== Service Tiers ===== */
.service-tiers {
  padding: 100px 0;
  background: var(--bg);
}

.tiers-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tier-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(14,165,233,0.06), white);
  transform: scale(1.03);
  box-shadow: 0 8px 40px rgba(14,165,233,0.18);
}

.tier-badge {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(14,165,233,0.10);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.tier-hot {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.tier-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.tier-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.tier-card > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tier-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.tier-features li {
  font-size: 14px;
  color: var(--text-muted);
}

.tier-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.tier-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  background: var(--gradient);
  color: white;
  transition: all 0.2s;
}
.tier-btn:hover { opacity: 0.9; transform: translateY(-1px); }

@media (max-width: 900px) {
  .tiers-container { grid-template-columns: 1fr; }
  .tier-card.featured { transform: none; }
}

/* ===== Data Showcase ===== */
.data-showcase {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(14,165,233,0.05) 0%, rgba(99,102,241,0.05) 100%);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 24px;
  align-items: start;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.showcase-card.wide { }
.showcase-card h3 {
  margin: 18px 0 8px;
  color: var(--text);
  font-size: 20px;
}
.showcase-card p {
  min-height: 68px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.showcase-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}
.status-pill-ready,
.status-pill-waiting {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.status-pill-ready { color: #047857; background: #d1fae5; }
.status-pill-waiting { color: #92400e; background: #fef3c7; }
.flow-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}
.flow-line span {
  padding: 7px 10px;
  border-radius: 9px;
  color: #0f766e;
  background: #ecfdf5;
  font-size: 12px;
  font-weight: 700;
}
.flow-line i { flex: 1; min-width: 18px; height: 1px; background: #99f6e4; }
.showcase-card h4 {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 16px;
}
.showcase-chart {
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-numbers {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 0;
}
.showcase-num-item { text-align: center; }
.big-num {
  display: block;
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.big-label {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; }
}

/* ===== Partners ===== */
.partners {
  padding: 80px 0;
  overflow: hidden;
  background: var(--bg-section);
}
.partners-scroll {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.partners-track {
  display: flex;
  gap: 16px;
  animation: scroll-x 25s linear infinite;
  width: max-content;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-item {
  padding: 12px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.partner-item:hover { color: var(--primary); border-color: var(--primary); box-shadow: 0 4px 16px rgba(14,165,233,0.12); }

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 0;
  background: var(--bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 16px;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14,165,233,0.25);
}
.avatar-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial-stars { font-size: 13px; margin-bottom: 10px; }
.testimonial-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.testimonial-content h3 { margin: 5px 0 8px; color: var(--text); font-size: 18px; }
.testimonial-content a { color: var(--primary-dark); font-size: 13px; font-weight: 700; }
.scenario-label { color: var(--text-dim); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.avatar-blue { background: #0ea5e9; }
.avatar-rose { background: #f43f5e; }
.avatar-teal { background: #14b8a6; }
.testimonial-author strong { font-size: 14px; color: var(--text); display: block; }
.testimonial-author span { font-size: 12px; color: var(--text-dim); }

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
}
.cta-content {
  position: relative;
  text-align: center;
}
.cta-content h2 {
  font-size: 40px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 1.5px solid rgba(255,255,255,.58);
  border-radius: 12px;
  color: white;
  background: rgba(255,255,255,.08);
  font-size: 16px;
  font-weight: 600;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }

@media (max-width: 560px) {
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 8px; }
  .stat-divider { display: none; }
  .stat-num { font-size: 27px; }
  .flow-line { align-items: stretch; flex-direction: column; }
  .flow-line i { display: none; }
}
