/* KUIQ Car Rental - Next-Gen Modern Styles */

/* Modern Brand Colors & Gradients */
:root {
    --kuiq-red: #EF4444;
    --kuiq-red-dark: #DC2626;
    --kuiq-red-light: #FCA5A5;
    --kuiq-yellow: #F59E0B;
    --kuiq-yellow-light: #FDE68A;
    --kuiq-dark: #0F172A;
    --kuiq-gray: #64748B;
    --kuiq-light: #F8FAFC;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%);
    --gradient-secondary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-accent: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-light: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Global Styles */
body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background: var(--kuiq-light);
    overflow-x: hidden;
    font-feature-settings: 'kern' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p, li, span {
    letter-spacing: -0.01em;
}

.btn {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Card and Content Typography */
.card h5, .card h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card p, .card small {
    font-weight: 400;
    line-height: 1.5;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile viewport fix */
@viewport {
    width: device-width;
}

/* Prevent mobile zoom on form inputs */
input[type="email"],
input[type="tel"],
input[type="text"],
input[type="password"],
textarea,
select {
    font-size: 16px;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    .btn,
    .nav-link,
    .navbar-toggler {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .navbar-toggler {
        padding: 0.5rem;
        border: none;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
    }
}

/* Smooth Animations */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Vehicle Card Fixes */
.vehicle-card {
    height: 100% !important;
    display: flex;
    flex-direction: column;
}

.vehicle-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vehicle-card .btn {
    margin-top: auto;
}

/* Price Display Global Fix */
.price-badge {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-weight: 800;
}

.price-badge .price-number {
    line-height: 1;
}

.price-badge .price-period {
    line-height: 1;
    font-weight: 500;
}

/* Ensure all cards in rows are same height */
.row.g-4 {
    align-items: stretch;
}

.row.g-4 > [class*="col-"] {
    display: flex;
}

/* Toast Notification Styling */
.kuiq-toast {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    margin-bottom: 12px;
    min-width: 320px;
    max-width: 400px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kuiq-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.kuiq-toast .toast-header {
    background: transparent;
    padding: 16px 16px 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
}

.kuiq-toast .toast-body {
    padding: 8px 16px 16px 16px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--kuiq-dark);
}

.kuiq-toast .btn-close {
    margin: 0;
    padding: 4px;
    font-size: 0.7rem;
}

.kuiq-toast .toast-icon {
    font-size: 1.1rem;
}

/* Toast type variations */
.kuiq-toast-success {
    border-left: 4px solid #10B981;
}

.kuiq-toast-info {
    border-left: 4px solid #3B82F6;
}

.kuiq-toast-warning {
    border-left: 4px solid #F59E0B;
}

.kuiq-toast-error {
    border-left: 4px solid #EF4444;
}

/* Toast container positioning */
.toast-container {
    top: 20px !important;
    right: 20px !important;
}

/* Mobile responsive toasts */
@media (max-width: 576px) {
    .kuiq-toast {
        min-width: 300px;
        max-width: calc(100vw - 40px);
    }

    .toast-container {
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
    }
}

/* Modern Typography */
.display-1, .display-2, .display-3, .display-4 {
    font-weight: 800;
    letter-spacing: -0.025em;
}

.lead {
    font-weight: 400;
    color: var(--kuiq-gray);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--kuiq-dark) !important;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
}

.navbar-nav .nav-link:hover {
    color: var(--kuiq-red) !important;
}

/* Buttons */
.btn-danger {
    background-color: var(--kuiq-red);
    border-color: var(--kuiq-red);
}

.btn-warning {
    background-color: var(--kuiq-yellow);
    border-color: var(--kuiq-yellow);
    color: var(--kuiq-dark);
    font-weight: 600;
}

/* Modern Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(248, 250, 252, 0.95) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
}

/* Hero Section - Official KUIQ Red */
.hero-section {
    background: var(--kuiq-red);
    position: relative;
    overflow: hidden;
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Modern Cards */
.card {
    border: 0;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.card:hover::before {
    left: 100%;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
}

/* Process Steps */
.process-step {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.process-step:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-2xl);
    background: rgba(255, 255, 255, 1);
}

.process-step .step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: var(--shadow-glow);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.5); }
}

.process-step .step-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 1);
}

/* Modern Buttons */
.btn {
    border-radius: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

/* Stats and Numbers */
.stat-card {
    background: var(--gradient-light);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Floating Elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

/* Vehicle Cards Specific */
.vehicle-card {
    border-radius: 2rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.3);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-2xl);
}

.vehicle-card .card-img-top {
    border-radius: 0;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vehicle-card:hover .card-img-top {
    transform: scale(1.1);
}

.price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
}

/* Blog Cards */
.blog-card {
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Background Patterns */
.pattern-bg {
    position: relative;
}

.pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25px 25px, rgba(239, 68, 68, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(245, 158, 11, 0.1) 2px, transparent 2px);
    background-size: 100px 100px;
    opacity: 0.5;
}

/* Hero Badge - Fixed Styling */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: badge-glow 3s ease-in-out infinite alternate;
}

.hero-badge-content {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.025em;
    display: flex;
    align-items: center;
}

.hero-badge .fas.fa-star {
    color: #FCD34D;
    text-shadow: 0 0 8px rgba(252, 211, 77, 0.5);
}

@keyframes badge-glow {
    0% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }
    100% { box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1); }
}

/* Hero CTA Button - Custom Design */
.btn-hero-primary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3rem;
    padding: 1rem 2rem;
    color: var(--kuiq-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
    cursor: pointer;
    position: relative;
    z-index: 999;
    pointer-events: auto !important;
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    color: var(--kuiq-dark);
    text-decoration: none;
}

.hero-cta {
    position: relative;
    z-index: 999;
    pointer-events: auto !important;
}

.btn-hero-primary .btn-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    pointer-events: none;
}

.btn-hero-primary .btn-icon {
    width: 40px;
    height: 40px;
    background: #4A90E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.btn-hero-primary .btn-text {
    flex: 1;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn-hero-primary .btn-arrow {
    width: 40px;
    height: 40px;
    background: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.btn-hero-primary:hover .btn-icon {
    transform: scale(1.1);
}

.btn-hero-primary:hover .btn-arrow {
    transform: scale(1.1) translateX(2px);
}

/* Hero Feature Cards - Perfect Alignment Design */
.hero-feature-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1.75rem;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
}

.hero-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-feature-icon {
    width: 75px;
    height: 75px;
    background: var(--gradient-primary);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.hero-feature-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-feature-content h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.hero-feature-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    max-width: 240px;
    opacity: 0.9;
}

/* Hero CTA Section - New Design */
.hero-cta-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-cta-primary, .hero-cta-secondary {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 1.25rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-cta-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--kuiq-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    color: var(--kuiq-dark);
}

.hero-cta-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.hero-cta-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.hero-cta-secondary .hero-cta-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.hero-cta-icon i {
    color: white;
    font-size: 1.2rem;
}

.hero-cta-content {
    flex: 1;
    text-align: left;
}

.hero-cta-title {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.hero-cta-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
}

.hero-cta-arrow {
    margin-left: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hero-cta-primary:hover .hero-cta-arrow {
    transform: translateX(5px);
    opacity: 1;
}

/* Hero Phone Container - Fixed Design */
.hero-phone-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.hero-phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-glow 6s ease-in-out infinite;
}

.hero-floating-stats {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-stat-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    animation: float 8s ease-in-out infinite;
    font-size: 0.75rem;
    min-width: 80px;
    max-width: 100px;
}

/* Glowing Effect for Floating Cards */
.glow-card {
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 255, 255, 0.3);
    animation: float 8s ease-in-out infinite, glow-pulse 3s ease-in-out infinite alternate;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(239, 68, 68, 0.3), rgba(245, 158, 11, 0.3), rgba(16, 185, 129, 0.3), rgba(139, 92, 246, 0.3));
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.7;
    filter: blur(10px);
    animation: glow-rotate 6s linear infinite;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

@keyframes glow-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-stat-1 {
    top: 20%;
    left: 70%;
    animation-delay: 0s;
}

.hero-stat-2 {
    bottom: 15%;
    left: 55%;
    animation-delay: -2s;
}

.hero-stat-3 {
    bottom: 10%;
    left: 25%;
    animation-delay: -4s;
}

.hero-stat-card i {
    color: var(--kuiq-red);
    font-size: 0.9rem;
    margin-bottom: 0.125rem;
    display: block;
}

.hero-stat-card span {
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-stat-card .stat-number {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1;
    margin-bottom: 0.125rem;
}

/* Hero Phone Mockup - Enhanced */
.hero-phone-mockup {
    position: relative;
    z-index: 2;
    /* Removed animation - keep phone static */
}

.phone-frame {
    width: 280px;
    height: 420px;
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    border-radius: 2.5rem;
    padding: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0F172A;
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
}

.app-header {
    background: var(--gradient-primary);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-logo {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
}

.app-menu {
    display: flex;
    gap: 3px;
}

.menu-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.app-content {
    padding: 1.5rem 1rem;
}

.car-card {
    background: rgba(245, 158, 11, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.car-image {
    text-align: center;
    margin-bottom: 0.75rem;
}

.car-image i {
    font-size: 2rem;
    color: var(--kuiq-yellow);
}

.car-details h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.car-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    margin: 0;
}

.pricing-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.price-tag {
    background: rgba(239, 68, 68, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.price {
    color: var(--kuiq-red);
    font-weight: 700;
    font-size: 1rem;
}

.period {
    color: rgba(239, 68, 68, 0.7);
    font-size: 0.7rem;
}

.book-btn {
    background: var(--gradient-accent);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.book-btn:hover {
    transform: scale(1.05);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
}

.feature-item i {
    width: 16px;
    color: var(--kuiq-yellow);
}

.feature-item span {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 45vh;
        padding: 2rem 0 1.5rem;
    }

    /* Hide feature cards on mobile for cleaner look */
    .hero-feature-card {
        display: none;
    }

    /* Hide entire right column (phone mockup) on mobile */
    .hero-section .col-lg-6:last-child {
        display: none;
    }

    /* Center the hero content on mobile */
    .hero-section .col-lg-6:first-child {
        max-width: 100%;
        text-align: center;
        padding: 0 1rem;
    }

    /* Hero content spacing on mobile */
    .hero-section h1 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 0;
        line-height: 1.4;
    }

    .hero-badge {
        margin-bottom: 1.5rem;
    }

    /* Hide CTA button on mobile */
    .hero-cta {
        display: none;
    }

    .hero-cta-section {
        margin-top: 2rem;
    }

    .hero-phone-container {
        height: 400px;
        margin-top: 2rem;
    }

    .phone-frame {
        width: 240px;
        height: 360px;
    }

    .hero-stat-card {
        display: none;
    }

    .process-step {
        padding: 2rem 1.5rem;
    }

    .process-step .step-icon {
        width: 60px;
        height: 60px;
    }

    .process-step .step-icon i {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Process Steps */
.process-step {
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

/* Admin Styles */
.admin-card {
    border-left: 4px solid var(--kuiq-red);
}

.admin-nav {
    background-color: var(--kuiq-dark);
}

.admin-nav .nav-link {
    color: white !important;
    padding: 0.75rem 1rem;
}

.admin-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.admin-nav .nav-link.active {
    background-color: var(--kuiq-red);
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: rgba(220, 53, 69, 0.05);
}

/* Forms */
.form-control:focus {
    border-color: var(--kuiq-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Badges */
.badge {
    font-size: 0.8em;
}

/* Vehicle Cards */
.vehicle-card .card-img-top {
    border-radius: 0.375rem 0.375rem 0 0;
}

/* Responsive */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .hero-section .btn {
        width: 100%;
    }

    /* Hide floating stats on mobile */
    .hero-floating-stats {
        display: none;
    }

    /* Improve mobile navigation */
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        width: 32px;
        height: 32px;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        margin: 0;
    }

    /* Mobile typography improvements */
    .lead {
        font-size: 1.1rem;
    }

    /* Section padding adjustments */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Vehicle cards mobile optimization */
    .vehicle-card {
        margin-bottom: 1.5rem;
    }

    .vehicle-card .card-body {
        padding: 1.25rem;
    }

    /* Price badge mobile styling */
    .price-badge {
        font-size: 0.9rem;
    }

    /* Button improvements */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* Process steps mobile layout */
    .process-step {
        text-align: center;
        margin-bottom: 2rem;
    }

    .step-icon {
        margin: 0 auto 1rem;
    }

    /* Stats cards mobile layout */
    .stat-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }

    /* Mobile spacing for containers */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Small mobile devices (phones in portrait) */
@media (max-width: 576px) {
    .display-4 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1rem;
    }

    /* Hero section mobile specific */
    .hero-section {
        min-height: 50vh;
        padding: 2rem 0;
    }

    .hero-feature-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .hero-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Mobile phone mockup adjustments */
    .hero-phone-container {
        height: 300px;
        margin-top: 1.5rem;
    }

    .phone-frame {
        width: 200px;
        height: 280px;
    }

    /* Section title mobile */
    .section-title h2 {
        font-size: 1.75rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    /* Vehicle grid mobile */
    .row.g-4 {
        gap: 1rem !important;
    }

    /* Form improvements */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Process steps ultra-mobile */
    .process-step h5 {
        font-size: 1.1rem;
    }

    .process-step p {
        font-size: 0.9rem;
    }

    /* Mobile padding for sections */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* Mobile button sizing */
    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Loading Spinner */
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--kuiq-red);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Admin Dashboard */
.admin-stat-card {
    background: linear-gradient(135deg, var(--kuiq-red), #e85d75);
    color: white;
}

.admin-stat-card .card-body {
    padding: 1.5rem;
}

/* Footer */
footer {
    margin-top: auto;
    font-weight: 500;
    letter-spacing: -0.01em;
}

footer h5, footer h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

footer p, footer small {
    font-weight: 400;
    line-height: 1.5;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

footer a:hover {
    color: var(--kuiq-yellow) !important;
}