/* ============================================
   UHASIBU Landing Page Styles
   ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #0f172a;
  line-height: 1.6;
}
button, input { font: inherit; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

:root {
  --brand: #0f766e;
  --brand-light: #14b8a6;
  --brand-lighter: #ccfbf1;
  --brand-dark: #115e59;
  --green: #10b981;
  --red: #ef4444;
  --amber: #f59e0b;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  z-index: 1000;
  padding: 0 40px;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; color: var(--slate-900);
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--brand);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--slate-500);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--slate-900); }
.nav-cta {
  display: flex; align-items: center; gap: 12px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  display: inline-block;
  text-align: center;
}
.btn-ghost {
  background: transparent;
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}
.btn-ghost:hover { background: var(--slate-50); }
.btn-primary {
  background: var(--slate-900); color: #fff;
}
.btn-primary:hover { opacity: 0.9; }
.btn-brand {
  background: var(--brand); color: #fff;
}
.btn-brand:hover { background: var(--brand-dark); }
.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 140px 40px 80px;
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 60%);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-lighter);
  color: var(--brand);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: 48px; font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--brand); }
.hero p {
  font-size: 18px;
  color: var(--slate-500);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--slate-200);
}
.stat strong {
  display: block;
  font-size: 28px; font-weight: 600;
  color: var(--slate-900);
}
.stat span {
  font-size: 13px; color: var(--slate-400);
}

/* Hero visual — mini dashboard preview */
.hero-visual { position: relative; }
.hero-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 20px 60px rgba(15,23,42,0.08);
  padding: 24px;
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s ease;
}
.hero-card:hover { transform: perspective(1000px) rotateY(-4deg) rotateX(2deg); }
.hero-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.hero-card-title {
  font-size: 13px; font-weight: 500; color: var(--slate-500);
  display: flex; align-items: center; gap: 8px;
}
.hero-card-value {
  font-size: 36px; font-weight: 600;
  margin-bottom: 4px;
}
.hero-card-meta {
  font-size: 13px; color: var(--slate-400);
}
.hero-chart {
  height: 120px;
  margin-top: 16px;
}
.hero-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.hero-mini {
  background: var(--slate-50);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--slate-100);
}
.hero-mini-label { font-size: 11px; color: var(--slate-400); margin-bottom: 4px; }
.hero-mini-val { font-size: 18px; font-weight: 600; }
.hero-mini-val.up { color: var(--green); }
.hero-mini-val.warn { color: var(--amber); }

/* ============================================
   Trusted by
   ============================================ */
.trusted {
  padding: 48px 40px;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.trusted-inner {
  max-width: 1200px; margin: 0 auto;
  text-align: center;
}
.trusted p {
  font-size: 13px; color: var(--slate-400);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.trusted-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trusted-logo {
  font-size: 18px; font-weight: 700;
  color: var(--slate-300);
  transition: color 0.2s;
}
.trusted-logo:hover { color: var(--slate-500); }

/* ============================================
   Section base
   ============================================ */
.section {
  padding: 80px 40px;
}
.section-inner {
  max-width: 1200px; margin: 0 auto;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: 36px; font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px; color: var(--slate-500);
}

/* ============================================
   Features
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: var(--slate-300);
  box-shadow: 0 8px 30px rgba(15,23,42,0.06);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 16px; font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px; color: var(--slate-500);
  line-height: 1.6;
}

/* ============================================
   How it works
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  text-align: center;
  padding: 0 12px;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  margin: 0 auto 20px;
}
.step h4 {
  font-size: 16px; font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px; color: var(--slate-500);
  line-height: 1.6;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s;
}
.pricing-card:hover {
  border-color: var(--slate-300);
  box-shadow: 0 8px 30px rgba(15,23,42,0.06);
}
.pricing-card.popular {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-lighter);
  position: relative;
}
.popular-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.pricing-card h4 {
  font-size: 15px; font-weight: 600;
  margin-bottom: 4px;
}
.pricing-card .price {
  font-size: 32px; font-weight: 700;
  margin: 12px 0 4px;
}
.pricing-card .period {
  font-size: 13px; color: var(--slate-400);
  margin-bottom: 20px;
}
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.pricing-card ul li {
  font-size: 13px; color: var(--slate-600);
  padding: 6px 0;
  display: flex; align-items: center; gap: 8px;
}
.pricing-card ul li svg {
  width: 14px; height: 14px;
  color: var(--green);
  flex-shrink: 0;
}
.pricing-card ul li.muted {
  color: var(--slate-400);
  text-decoration: line-through;
}
.pricing-card ul li.muted svg { color: var(--slate-300); }

/* ============================================
   Testimonials
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  padding: 28px;
}
.testi-stars {
  display: flex; gap: 4px;
  margin-bottom: 16px;
}
.testi-stars svg { width: 16px; height: 16px; color: var(--amber); fill: currentColor; }
.testi-card p {
  font-size: 15px; color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testi-author {
  display: flex; align-items: center; gap: 12px;
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 600;
}
.testi-name { font-size: 14px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--slate-400); }

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 720px; margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 20px 0;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 600;
  cursor: pointer;
}
.faq-q svg {
  width: 20px; height: 20px;
  color: var(--slate-400);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  font-size: 14px; color: var(--slate-500);
  line-height: 1.7;
  margin-top: 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  padding: 80px 40px;
  background: var(--slate-900);
  color: #fff;
  text-align: center;
}
.cta-banner h2 {
  font-size: 36px; font-weight: 600;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 17px; color: var(--slate-400);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 60px 40px 32px;
  border-top: 1px solid var(--slate-200);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px; color: var(--slate-500);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px; color: var(--slate-500);
  padding: 6px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--slate-900); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  font-size: 13px; color: var(--slate-400);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 120px 20px 60px; }
  .hero h1 { font-size: 36px; }
  .section { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}