* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a56db;
  --primary-dark: #0f3a8e;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --bg: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 8px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========== NAVBAR ========== */
.navbar {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 24px;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-light);
  font-size: 15px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
}

.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  color: white;
  overflow: hidden;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-slide {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.hero-slide:first-child {
  position: relative;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide:first-child:not(.active) {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero p {
  font-size: clamp(16px, 2.5vw, 22px);
  color: #d4d4d8;
  opacity: 1;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-light);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.section-title .accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 12px auto;
}

/* ========== BENEFITS ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: white;
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 15px;
}

/* ========== PRODUCT CARDS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-light);
}

.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.product-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-specs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.product-spec {
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.product-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.product-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
}

.product-desc {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 16px;
  flex: 1;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-rent {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 12px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-rent:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,86,219,0.4);
}

.btn-details {
  background: #f1f5f9;
  color: var(--text);
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-details:hover {
  background: #e2e8f0;
}

/* ========== FILTERS ========== */
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filters select,
.filters input {
  padding: 10px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  font-size: 14px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.filters select:focus,
.filters input:focus {
  border-color: var(--primary);
}

.filters input {
  flex: 1;
  min-width: 200px;
}

/* ========== FORM ========== */
.form-page {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 24px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.form-card h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-card .form-subtitle {
  color: var(--text-light);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group input:disabled {
  background: #f1f5f9;
  color: var(--text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26,86,219,0.4);
}

.form-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  display: none;
}

/* ========== ABOUT PAGE ========== */
.about-hero {
  background: linear-gradient(135deg, #0f3a8e, #1a56db);
  color: white;
  padding: 80px 24px;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.about-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--primary);
}

.about-content p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.stat-card {
  text-align: center;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
}

/* ========== FOOTER ========== */
.footer {
  background: #0f172a;
  color: white;
  padding: 48px 24px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer p,
.footer a {
  color: #94a3b8;
  font-size: 14px;
  line-height: 2;
  display: block;
}

.footer a:hover { color: white; }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ========== ADMIN ========== */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: #0f172a;
  color: white;
  padding: 24px 0;
  flex-shrink: 0;
}

.admin-sidebar .logo {
  padding: 0 20px;
  margin-bottom: 32px;
  font-size: 20px;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #94a3b8;
  font-weight: 500;
  transition: all 0.2s;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(255,255,255,0.06);
  color: white;
}

.admin-main {
  flex: 1;
  padding: 32px;
  background: var(--bg);
  overflow-x: auto;
}

.admin-main h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.admin-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-card .number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.admin-card .label {
  color: var(--text-light);
  font-size: 14px;
}

.admin-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-table th {
  background: #f8fafc;
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  border-bottom: 2px solid #e2e8f0;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-sm:hover { opacity: 0.8; }

.btn-edit { background: #dbeafe; color: #1d4ed8; }
.btn-delete { background: #fee2e2; color: #dc2626; }
.btn-view { background: #d1fae5; color: #059669; }

.admin-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin-bottom: 32px;
}

.admin-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .admin-form .form-row { grid-template-columns: 1fr; }
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-new { background: #dbeafe; color: #1d4ed8; }
.badge-contacted { background: #fef3c7; color: #d97706; }
.badge-closed { background: #d1fae5; color: #059669; }

/* ========== LOGIN ========== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f3a8e, #1a56db);
  padding: 24px;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.login-card h1 {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary);
}

/* ========== MISC ========== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
