/* SplitPay - Lipa Pole Pole UI */
:root {
  --primary: #2a6dff;
  --primary-dark: #1d4ed8;
  --accent: #33b7ff;
  --bg: #0b1220;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --card: #0f172a;
  --border: #1f2a44;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

header {
  background: #0b1324;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}

.logo-img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(51, 183, 255, 0.4);
}

.hero {
  padding: 56px 0 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(51, 183, 255, 0.2), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(42, 109, 255, 0.25), transparent 45%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 2.8vw, 3rem);
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 18px 0 20px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.hero-stats strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-slider {
  position: relative;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 12s infinite;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(6, 12, 26, 0.85) 15%, rgba(6, 12, 26, 0.2) 70%);
}

.hero-slide-content {
  position: relative;
  z-index: 1;
  padding: 26px;
  color: #fff;
  max-width: 65%;
}

.hero-slide h3 {
  margin: 10px 0 8px;
  font-size: 1.6rem;
}

.hero-slide p {
  margin: 0;
  color: #d1d5db;
}

.slide-1 {
  background-image: url("../images/hero-1.jpg");
}

.slide-2 {
  background-image: url("../images/hero-2.jpg");
  animation-delay: 6s;
}

@keyframes heroFade {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (max-width: 720px) {
  .hero-slide-content {
    max-width: 100%;
  }
  .hero-slider {
    height: 300px;
  }
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.steps-grid .card {
  padding: 20px;
}

.step-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(2, 8, 23, 0.5);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.phone-card h3 {
  margin: 8px 0 0;
}

.phone-card img {
  height: 220px;
  object-fit: contain;
  background: #0b1526;
}

.phone-image {
  position: relative;
}

.phone-image .badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(42, 109, 255, 0.15);
  color: #9cc5ff;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn {
  display: inline-block;
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.section {
  padding: 20px 0 40px;
}

.product {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

label {
  font-weight: 600;
}

input, select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background: #0b1526;
  color: var(--text);
}

.requirements {
  background: #f0f9ff;
  border: 1px dashed #7dd3fc;
  padding: 12px;
  border-radius: 10px;
  color: #0c4a6e;
}

.notice {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
}

.admin-table th,
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.status {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status.Pending { background: rgba(251, 191, 36, 0.2); color: #fcd34d; }
.status.Approved { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.status.Rejected { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.status.Deposit-Paid { background: rgba(14, 165, 233, 0.2); color: #38bdf8; }
.status.Delivered { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

.auth-box {
  max-width: 420px;
  margin: 60px auto;
}

.footer {
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-banner {
  background: linear-gradient(120deg, rgba(42, 109, 255, 0.18), rgba(51, 183, 255, 0.15));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin: 0 0 6px;
}

.cta-banner p {
  margin: 0;
  color: var(--muted);
}
