/* ============================================
   MAIN STYLESHEET
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f7fa;
  color: #2d3748;
  line-height: 1.6;
}

/* ✅ Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-size: 22px;
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
}

.navbar nav a {
  margin-left: 20px;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
}

.navbar nav a:hover {
  color: #4f46e5;
}

/* ✅ Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* ✅ Card */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

/* ✅ Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}

.btn:hover { background: #4338ca; }

.btn-secondary { background: #6b7280; }
.btn-secondary:hover { background: #4b5563; }

.btn-success { background: #10b981; }
.btn-success:hover { background: #059669; }

.btn-danger { background: #ef4444; }
.btn-danger:hover { background: #dc2626; }

.btn-sm { padding: 6px 12px; font-size: 13px; }

/* ✅ Form */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4f46e5;
}

/* ✅ Alert */
.alert {
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-info { background: #dbeafe; color: #1e40af; }

/* ✅ Grid */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ✅ Stat card */
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-card h3 {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.stat-card .value {
  font-size: 28px;
  font-weight: 700;
  color: #4f46e5;
}

/* ✅ Package card */
.package-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 2px solid transparent;
}

.package-card.popular {
  border-color: #4f46e5;
}

.package-card h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.package-card .price {
  font-size: 36px;
  font-weight: 700;
  color: #4f46e5;
  margin: 20px 0;
}

.package-card .price small {
  font-size: 16px;
  color: #6b7280;
}

.package-card ul {
  list-style: none;
  text-align: left;
  margin: 20px 0;
}

.package-card ul li {
  padding: 8px 0;
}

/* ✅ Hero section */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  border-radius: 16px;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* ✅ Table */
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.table th {
  background: #f9fafb;
  padding: 14px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.table td {
  padding: 14px;
  border-bottom: 1px solid #f3f4f6;
}

.table tr:hover {
  background: #f9fafb;
}

/* ✅ Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }