/* Sab Seva – Real app style: warm orange, clean light (Customer + Employee) */
:root {
  --bg: #FFFBF7;
  --bg-soft: #FFF7ED;
  --text: #1c1917;
  --text-muted: #78716c;
  --accent: #EA580C;
  --accent-light: #F97316;
  --accent-glow: rgba(234, 88, 12, 0.2);
  --border: #EDE7E3;
  --card-bg: #ffffff;
  --green: #25D366;
  --green-dark: #128C7E;
  --gradient: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  --customer: #0d9488;
  --provider: #c2410c;
}

/* Modern minimal theme tokens (override) */
:root {
  --bg: #FAFAFA;
  --bg-soft: #FFFFFF;
  --text: #141210;
  --text-muted: #6f6a66;
  --accent-glow: rgba(234, 88, 12, 0.12);
  --border: #EDEDED;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.35rem;
}
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  background-image: url('assets/logo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.logo-icon i { display: none !important; }
.logo-sab { color: var(--text); }
.logo-seva { color: var(--accent); }
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--accent); }
.btn-refer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent) !important;
}
.btn-login {
  background: var(--gradient);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 600;
}
.btn-login:hover { opacity: 0.95; box-shadow: 0 4px 20px var(--accent-glow); }
.btn-download-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
  color: #fff !important;
  background: var(--gradient);
}
.btn-download-nav:hover { opacity: 0.95; box-shadow: 0 4px 16px var(--accent-glow); }

/* Hero */
.hero {
  padding: 48px 0 56px;
  position: relative;
  background: linear-gradient(180deg, rgba(234, 88, 12, 0.06) 0%, var(--bg) 100%);
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero-content {
  text-align: left;
}
.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}
.hero-title .highlight { color: var(--accent); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Phone mockup – floating, clean app UI */
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes card-float-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes card-float-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2.5px); }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

.hero-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 800px;
}
.phone-frame {
  width: 280px;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.14),
    0 22px 48px rgba(0, 0, 0, 0.18),
    0 0 50px rgba(234, 88, 12, 0.06);
  animation: phone-float 5.5s ease-in-out infinite;
  position: relative;
}
.phone-notch {
  height: 26px;
  width: 110px;
  margin: 0 auto 10px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
}
.phone-screen {
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.phone-app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
}
.phone-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  background-image: url('assets/logo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.phone-logo i { display: none !important; }
.phone-header-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.phone-header-text strong { font-size: 1rem; color: var(--text); }
.phone-header-text span { font-size: 0.75rem; color: var(--text-muted); }
.phone-tabs {
  display: flex;
  padding: 10px 12px;
  gap: 6px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}
.phone-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: none;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  cursor: default;
  font-family: inherit;
}
.phone-tab.active {
  background: rgba(234, 88, 12, 0.12);
  color: var(--accent);
}
.phone-tab i { font-size: 0.95rem; }
.phone-body { padding: 14px 16px; flex: 1; }
.phone-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.phone-search i { color: var(--accent); font-size: 1rem; }
.phone-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.phone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
}
.phone-chip {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.phone-chip.phone-float {
  animation: chip-float 3s ease-in-out infinite;
}
.phone-chip.phone-float:nth-child(2) { animation-delay: 0.3s; }
.phone-chip.phone-float:nth-child(3) { animation-delay: 0.6s; }
.phone-chip.phone-float:nth-child(4) { animation-delay: 0.9s; }
.phone-chip i { color: var(--accent); font-size: 0.9rem; }
.phone-list { display: flex; flex-direction: column; gap: 10px; }
.phone-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.phone-list-item.phone-float-card-1 {
  animation: card-float-1 3.5s ease-in-out infinite;
}
.phone-list-item.phone-float-card-2 {
  animation: card-float-2 3.5s ease-in-out infinite 0.5s;
}
.phone-list-item:first-child i { color: var(--customer); font-size: 1.1rem; }
.phone-list-item:last-child i { color: var(--accent); font-size: 1.1rem; }
.phone-nav {
  display: flex;
  justify-content: space-around;
  padding: 12px 8px 14px;
  border-top: 1px solid var(--border);
  background: var(--card-bg);
}
.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
}
.phone-nav-item i { font-size: 1.2rem; }
.phone-nav-item.active { color: var(--accent); }
.phone-nav-item.active i { color: var(--accent); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
}
.btn-primary:hover { box-shadow: 0 10px 26px var(--accent-glow); }
.btn-whatsapp {
  background: var(--green);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--green-dark); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.22); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: rgba(234, 88, 12, 0.06); }
.btn-hero { padding: 14px 28px; font-size: 1.05rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* Who section – Customer vs Employee (Provider) */
.who-section { padding: 48px 0 56px; }
.who-section .section-title { margin-bottom: 8px; }
.who-section .section-desc { margin-bottom: 36px; }
.who-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.who-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.who-card:hover {
  border-color: rgba(234, 88, 12, 0.22);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.who-card.customer { border-top: 4px solid var(--customer); }
.who-card.provider { border-top: 4px solid var(--accent); }
.who-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
}
.who-card.customer .who-icon { background: rgba(13, 148, 136, 0.12); color: var(--customer); }
.who-card.provider .who-icon { background: rgba(234, 88, 12, 0.12); color: var(--accent); }
.who-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.who-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 22px; }
.who-card .btn { width: 100%; justify-content: center; }
.who-card.customer .btn-primary { background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%); color: #fff; }
.who-card.customer .btn-primary:hover { box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3); }

/* Sections */
.section { padding: 48px 0; }
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}
.section-title .highlight { color: var(--accent); }
.section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* Download APK section */
.download-section { background: var(--bg-soft); }
.download-box {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.download-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}
.download-box-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(234, 88, 12, 0.1);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.download-box-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.download-box-title .highlight { color: var(--accent); }
.download-box-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.download-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-bottom: 24px;
}
.download-features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.download-features li i { color: var(--customer); font-size: 1.1rem; }
.btn-download-main {
  padding: 16px 32px;
  font-size: 1.1rem;
  min-width: 200px;
}
.download-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 0;
}

/* Categories – premium grid (image-style, best UI) */
.categories { background: var(--bg); }
.categories .section-desc { margin-bottom: 24px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-head-label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.section-head h2 { font-size: 1.35rem; font-weight: 700; color: var(--text); }
.link-see {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.link-see:hover { text-decoration: underline; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}
.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(234, 88, 12, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.cat-label { text-align: center; line-height: 1.3; }
.cat-card:hover {
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: 0 8px 24px var(--accent-glow);
  transform: translateY(-1px);
}

/* Earn section – Employee / Provider */
.earn-section { background: var(--bg-soft); }
.earn-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.earn-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.earn-card:hover {
  border-color: rgba(234, 88, 12, 0.28);
  box-shadow: 0 10px 22px var(--accent-glow);
}
.earn-card i {
  font-size: 2.25rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.earn-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.earn-card p { color: var(--text-muted); font-size: 0.95rem; }
.earn-section .btn { display: block; width: fit-content; margin: 0 auto; }

/* Trust */
.trust-section {
  text-align: center;
  background: var(--bg-soft);
}
.trust-section .section-desc { margin-bottom: 28px; }
.trust-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 22px;
  min-width: 160px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.trust-card:hover {
  border-color: rgba(234, 88, 12, 0.26);
  box-shadow: 0 10px 22px var(--accent-glow);
}
.trust-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(234, 88, 12, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.trust-card-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

/* About */
.about-section { padding: 40px 0; }
.about-block {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
.about-block .section-title { margin-bottom: 16px; }
.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* Contact */
.contact-section {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
}
.contact-section .section-desc { margin-bottom: 28px; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.btn-contact {
  min-width: 180px;
  justify-content: center;
  padding: 16px 24px;
  font-size: 1rem;
}
.contact-section .btn-outline {
  border-color: var(--border);
  color: var(--text);
}
.contact-section .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(234, 88, 12, 0.06);
}

/* CTA */
.cta-section {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.cta-section h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; color: #fff; }
.cta-section p { opacity: 0.95; margin-bottom: 24px; color: rgba(255,255,255,0.95); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-section .btn-primary { background: #fff; color: var(--accent); }
.cta-section .btn-primary:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.cta-section .btn-outline { border-color: #fff; color: #fff; }
.cta-section .btn-outline:hover { background: rgba(255,255,255,0.2); }

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-links { margin-bottom: 12px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent); }
.footer .sep { color: var(--text-muted); margin: 0 8px; font-size: 0.85rem; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-phone-wrap { order: -1; }
  .phone-frame { width: 260px; }
  .phone-screen { min-height: 480px; }
}

@media (max-width: 768px) {
  .nav a:not(.btn-download-nav):not(.btn-login) { display: none; }
  .hero { padding: 32px 0 40px; }
  .hero-wrap { gap: 32px; }
  .phone-frame { width: 240px; padding: 8px; }
  .phone-screen { min-height: 440px; border-radius: 20px; }
  .phone-body { padding: 12px; }
  .who-cards { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 18px 12px; }
  .download-box { padding: 32px 20px; border-radius: 20px; }
  .trust-cards { flex-direction: column; align-items: center; gap: 14px; }
  .trust-card { min-width: 100%; max-width: 280px; justify-content: center; }
  .about-block { padding: 28px 20px; border-radius: 16px; }
  .contact-actions { flex-direction: column; }
  .btn-contact { width: 100%; max-width: 280px; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
