:root {
    --gold: #c9a24a;
    --gold-grad: linear-gradient(135deg, #c9a24a 0%, #ecd48a 100%);
    --dark-bg: #080808;
    --card-bg: #121212;
    --glass: rgba(255, 255, 255, 0.03);
}

/* --- Hero Section --- */
.rental-hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at 50% 10%, rgba(201, 162, 74, 0.15), transparent 70%);
}

.rental-badge {
    background: rgba(201, 162, 74, 0.1);
    color: var(--gold);
    padding: 8px 25px;
    border-radius: 50px;
    border: 1px solid var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.text-gradient {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Stat Cards (Horizontal & Pro) --- */
.rental-stat-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 3px solid var(--gold);
    transition: 0.3s ease;
}

.rental-stat-card:hover {
    transform: translateY(-5px);
    background: #181818;
}

.rental-stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* --- Feature Boxes (Premium) --- */
.bg-glass-section {
    background: var(--glass);
    backdrop-filter: blur(10px);
}

.feature-box-premium {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
}

.feature-box-premium:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.icon-wrap {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
}

/* --- Tech Specs & Image Card --- */
.tech-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(201, 162, 74, 0.3);
}

.tech-image-card img {
    transition: transform 0.5s ease;
}

.tech-image-card:hover img {
    transform: scale(1.05);
}

.tech-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.tech-overlay span {
    background: rgba(0, 0, 0, 0.85);
    color: var(--gold);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid var(--gold);
    backdrop-filter: blur(5px);
}

/* --- Form Design --- */
.rental-form-card {
    background: linear-gradient(145deg, #111 0%, #050505 100%);
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.custom-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 15px 20px !important;
    border-radius: 15px !important;
}

.custom-input:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 15px rgba(201, 162, 74, 0.2) !important;
}

/* --- Buttons --- */
.btn-gold-glow {
    background: var(--gold-grad);
    color: #000 !important;
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(201, 162, 74, 0.3);
    transition: 0.3s;
    border: none;
}

.btn-gold-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(201, 162, 74, 0.5);
}

.btn-outline-white {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline-white:hover {
    background: #fff;
    color: #000 !important;
}

/* --- Utilities --- */
.py-100 { padding: 100px 0; }
.text-gold { color: var(--gold); }

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .rental-form-card { padding: 30px !important; }
}
/* وهج ذهبي خفيف حول الفورم */
.border-gold-glow {
    border: 1px solid rgba(201, 162, 74, 0.2) !important;
    position: relative;
}

.border-gold-glow::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 35px;
    background: var(--gold-grad);
    z-index: -1;
    opacity: 0.1;
    filter: blur(10px);
}

/* تحسين شكل الـ Labels داخل الفورم */
.sm-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}
/* Force consistent dark inputs (Django/Bootstrap override) */
.rental-form-card .custom-input,
.rental-form-card input.custom-input,
.rental-form-card select.custom-input,
.rental-form-card textarea.custom-input {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  padding: 15px 18px !important;
  border-radius: 15px !important;
  box-shadow: none !important;
}

.rental-form-card .custom-input::placeholder {
  color: rgba(255,255,255,0.45) !important;
}

/* Chrome autofill turns inputs white - fix it */
.rental-form-card input.custom-input:-webkit-autofill,
.rental-form-card input.custom-input:-webkit-autofill:hover,
.rental-form-card input.custom-input:-webkit-autofill:focus,
.rental-form-card textarea.custom-input:-webkit-autofill,
.rental-form-card select.custom-input:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 1000px #0b0b0b inset !important;
  box-shadow: 0 0 0px 1000px #0b0b0b inset !important;
  transition: background-color 9999s ease-in-out 0s;
}
/* Better placeholder contrast */
.rental-form-card .custom-input::placeholder{
  color: rgba(255,255,255,0.55) !important;
}

/* Better focus glow */
.rental-form-card .custom-input:focus{
  border-color: rgba(201,162,74,0.55) !important;
  box-shadow: 0 0 0 4px rgba(201,162,74,0.12) !important;
}

.rental-messages { margin-bottom: 18px; }
.rental-alert {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
}
.rental-alert--success {
  border-color: rgba(201,162,74,0.35);
  background: rgba(201,162,74,0.10);
  color: #f5e6b7;
}
.rental-alert--error {
  border-color: rgba(255,80,80,0.35);
  background: rgba(255,80,80,0.10);
  color: rgba(255,220,220,0.95);
}
