/* =============================================
   RideFlow — Dark Premium UI
   Colors: #0a0f1e (dark bg), #0d6efd / #38bdf8 (blue/sky), #fff
   ============================================= */

:root {
    --rf-dark: #0a0f1e;
    --rf-dark-2: #0f1729;
    --rf-dark-3: #1a2540;
    --rf-dark-4: #1e2d4a;
    --rf-blue: #1d6ff3;
    --rf-blue-light: #4a90f5;
    --rf-sky: #38bdf8;
    --rf-sky-light: #7dd3fc;
    --rf-white: #ffffff;
    --rf-white-90: rgba(255,255,255,0.9);
    --rf-white-60: rgba(255,255,255,0.6);
    --rf-white-30: rgba(255,255,255,0.3);
    --rf-white-10: rgba(255,255,255,0.08);
    --rf-border: rgba(255,255,255,0.1);
    --rf-gradient: linear-gradient(135deg, #1d6ff3 0%, #38bdf8 100%);
    --rf-gradient-dark: linear-gradient(135deg, #0f1729 0%, #1a2540 100%);
    --rf-shadow: 0 20px 60px rgba(0,0,0,0.5);
    --rf-shadow-blue: 0 10px 40px rgba(29,111,243,0.4);
    --rf-radius: 16px;
    --rf-radius-sm: 10px;
    --rf-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--rf-dark);
    color: var(--rf-white);
    overflow-x: hidden;
}

/* ======= SCROLLBAR ======= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--rf-dark-2); }
::-webkit-scrollbar-thumb { background: var(--rf-blue); border-radius: 3px; }

/* ======= NAVBAR ======= */
.rf-navbar {
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rf-border);
    padding: 14px 0;
    transition: var(--rf-transition);
    z-index: 1050;
}
.rf-navbar.scrolled {
    background: rgba(10, 15, 30, 0.97);
    padding: 10px 0;
}
.rf-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}
.rf-logo-icon {
    width: 38px; height: 38px;
    background: var(--rf-gradient);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: white;
    box-shadow: var(--rf-shadow-blue);
}
.rf-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--rf-white);
    letter-spacing: -0.5px;
}
.rf-logo-accent { color: var(--rf-sky); }

.rf-nav-link {
    color: var(--rf-white-60) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px !important;
    border-radius: var(--rf-radius-sm);
    transition: var(--rf-transition);
}
.rf-nav-link:hover {
    color: var(--rf-white) !important;
    background: var(--rf-white-10);
}

.rf-toggler {
    border: none; background: none; padding: 8px;
    display: flex; flex-direction: column; gap: 5px; cursor: pointer;
}
.rf-toggler span {
    display: block; width: 24px; height: 2px;
    background: var(--rf-white); border-radius: 2px;
    transition: var(--rf-transition);
}

.rf-user-badge {
    color: var(--rf-sky);
    font-size: 14px;
    font-weight: 500;
}

/* ======= BUTTONS ======= */
.btn { border-radius: 10px; font-weight: 600; transition: var(--rf-transition); }

.rf-btn-primary {
    background: var(--rf-gradient);
    border: none; color: white;
    padding: 14px 32px; font-size: 16px;
    box-shadow: var(--rf-shadow-blue);
}
.rf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(29,111,243,0.5);
    color: white;
}

.rf-btn-primary-sm {
    background: var(--rf-gradient);
    border: none; color: white;
    padding: 9px 22px; font-size: 14px;
    box-shadow: 0 4px 20px rgba(29,111,243,0.3);
}
.rf-btn-primary-sm:hover {
    transform: translateY(-1px);
    box-shadow: var(--rf-shadow-blue);
    color: white;
}

.rf-btn-ghost {
    background: transparent;
    border: 1px solid var(--rf-border);
    color: var(--rf-white-90);
    padding: 9px 22px; font-size: 14px;
}
.rf-btn-ghost:hover {
    background: var(--rf-white-10);
    border-color: var(--rf-white-30);
    color: white;
}

.rf-btn-outline {
    background: transparent;
    border: 2px solid var(--rf-sky);
    color: var(--rf-sky);
    padding: 14px 32px; font-size: 16px;
}
.rf-btn-outline:hover {
    background: var(--rf-sky);
    color: var(--rf-dark);
    transform: translateY(-2px);
}

.rf-btn-outline-sm {
    background: transparent;
    border: 1px solid var(--rf-border);
    color: var(--rf-white-60);
    padding: 8px 18px; font-size: 14px;
}
.rf-btn-outline-sm:hover {
    border-color: var(--rf-sky);
    color: var(--rf-sky);
}

/* ======= HERO SECTION ======= */
.rf-hero {
    min-height: 100vh;
    background: var(--rf-dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.rf-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(29,111,243,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(56,189,248,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.rf-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.rf-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29,111,243,0.15);
    border: 1px solid rgba(29,111,243,0.3);
    color: var(--rf-sky);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.rf-hero-eyebrow .dot {
    width: 6px; height: 6px;
    background: var(--rf-sky);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.rf-hero-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.rf-hero-title .highlight {
    background: var(--rf-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rf-hero-subtitle {
    font-size: 18px;
    color: var(--rf-white-60);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 40px;
}

.rf-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.rf-hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--rf-border);
}
.rf-stat-item {}
.rf-stat-number {
    font-size: 28px;
    font-weight: 800;
    background: var(--rf-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.rf-stat-label {
    font-size: 13px;
    color: var(--rf-white-60);
    font-weight: 500;
}

/* Hero visual / phone mockup area */
.rf-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf-hero-glow {
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(29,111,243,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.rf-app-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--rf-border);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(10px);
    max-width: 360px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.rf-app-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.rf-app-avatar {
    width: 44px; height: 44px;
    background: var(--rf-gradient);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: white;
}

.rf-app-card-title { font-weight: 700; font-size: 16px; }
.rf-app-card-sub { font-size: 13px; color: var(--rf-white-60); }

.rf-map-placeholder {
    height: 160px;
    background: var(--rf-dark-3);
    border-radius: 14px;
    margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
    position: relative;
    overflow: hidden;
}
.rf-map-placeholder::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(29,111,243,0.1), rgba(56,189,248,0.05));
}

.rf-trip-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.rf-trip-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.rf-trip-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.rf-trip-dot.pickup { background: var(--rf-sky); }
.rf-trip-dot.dest { background: var(--rf-blue); }
.rf-trip-label { color: var(--rf-white-60); font-size: 12px; }

.rf-trip-line {
    width: 2px; height: 20px;
    background: var(--rf-border);
    margin-left: 4px;
}

.rf-fare-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(29,111,243,0.1);
    border: 1px solid rgba(29,111,243,0.2);
    border-radius: 10px;
    padding: 10px 14px;
}
.rf-fare-label { font-size: 13px; color: var(--rf-white-60); }
.rf-fare-amount { font-size: 18px; font-weight: 800; color: var(--rf-sky); }

/* Floating badges */
.rf-float-badge {
    position: absolute;
    background: var(--rf-dark-3);
    border: 1px solid var(--rf-border);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    z-index: 3;
}
.rf-float-badge.badge-1 { top: 10%; right: -30px; animation-delay: 0s; }
.rf-float-badge.badge-2 { bottom: 15%; left: -30px; animation-delay: 1.5s; }
.rf-float-badge .badge-icon {
    width: 28px; height: 28px;
    background: var(--rf-gradient);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
}

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

/* ======= HOW IT WORKS ======= */
.rf-section {
    padding: 100px 0;
}

.rf-section-eyebrow {
    display: inline-block;
    color: var(--rf-sky);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.rf-section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.rf-section-subtitle {
    font-size: 17px;
    color: var(--rf-white-60);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 60px;
}

.rf-step-card {
    background: var(--rf-white-10);
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--rf-transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.rf-step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--rf-gradient);
    transform: scaleX(0);
    transition: var(--rf-transition);
}
.rf-step-card:hover {
    border-color: rgba(29,111,243,0.3);
    transform: translateY(-6px);
    background: rgba(29,111,243,0.05);
}
.rf-step-card:hover::before { transform: scaleX(1); }

.rf-step-number {
    font-size: 64px;
    font-weight: 900;
    background: var(--rf-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 8px;
}

.rf-step-icon {
    width: 64px; height: 64px;
    background: rgba(29,111,243,0.15);
    border: 1px solid rgba(29,111,243,0.2);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    color: var(--rf-sky);
    margin: 0 auto 20px;
}

.rf-step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.rf-step-desc {
    font-size: 14px;
    color: var(--rf-white-60);
    line-height: 1.6;
}

/* ======= FEATURES ======= */
.rf-features-section {
    background: var(--rf-dark-2);
    padding: 100px 0;
}

.rf-feature-card {
    background: var(--rf-white-10);
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    padding: 28px;
    transition: var(--rf-transition);
    height: 100%;
}
.rf-feature-card:hover {
    border-color: rgba(56,189,248,0.3);
    transform: translateY(-4px);
}

.rf-feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}
.rf-feature-icon.blue { background: rgba(29,111,243,0.15); color: var(--rf-blue-light); }
.rf-feature-icon.sky { background: rgba(56,189,248,0.15); color: var(--rf-sky); }
.rf-feature-icon.green { background: rgba(16,185,129,0.15); color: #10b981; }
.rf-feature-icon.purple { background: rgba(139,92,246,0.15); color: #a78bfa; }
.rf-feature-icon.orange { background: rgba(245,158,11,0.15); color: #fbbf24; }
.rf-feature-icon.red { background: rgba(239,68,68,0.15); color: #f87171; }

.rf-feature-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.rf-feature-desc {
    font-size: 14px;
    color: var(--rf-white-60);
    line-height: 1.6;
}

/* ======= CTA SECTION ======= */
.rf-cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.rf-cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(29,111,243,0.12), transparent 70%);
    pointer-events: none;
}

.rf-cta-card {
    background: var(--rf-dark-3);
    border: 1px solid rgba(29,111,243,0.2);
    border-radius: 28px;
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.rf-cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--rf-gradient);
}

/* ======= VEHICLE TYPE CARDS ======= */
.rf-vehicle-card {
    background: var(--rf-white-10);
    border: 2px solid var(--rf-border);
    border-radius: var(--rf-radius);
    padding: 24px;
    cursor: pointer;
    transition: var(--rf-transition);
    text-align: center;
    height: 100%;
}
.rf-vehicle-card:hover, .rf-vehicle-card.active {
    border-color: var(--rf-blue);
    background: rgba(29,111,243,0.08);
}
.rf-vehicle-card.active { box-shadow: 0 0 0 4px rgba(29,111,243,0.15); }
.rf-vehicle-icon { font-size: 40px; margin-bottom: 12px; }
.rf-vehicle-name { font-weight: 700; font-size: 16px; }
.rf-vehicle-desc { font-size: 13px; color: var(--rf-white-60); margin: 4px 0; }
.rf-vehicle-price { font-size: 15px; font-weight: 700; color: var(--rf-sky); }

/* ======= FORMS ======= */
.rf-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 16px 40px;
    background: var(--rf-dark);
    position: relative;
    overflow: hidden;
}
.rf-auth-wrapper::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 70% 30%, rgba(29,111,243,0.12), transparent 60%),
        radial-gradient(ellipse 50% 70% at 20% 80%, rgba(56,189,248,0.08), transparent 50%);
    pointer-events: none;
}

.rf-auth-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--rf-border);
    border-radius: 24px;
    padding: 48px 40px;
    width: 100%;
    max-width: 520px;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.rf-auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.rf-auth-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 6px;
}
.rf-auth-subtitle {
    font-size: 15px;
    color: var(--rf-white-60);
    text-align: center;
    margin-bottom: 32px;
}

.rf-form-group { margin-bottom: 20px; }
.rf-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--rf-white-90);
    margin-bottom: 8px;
}

.rf-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius-sm);
    padding: 13px 16px;
    font-size: 15px;
    color: var(--rf-white);
    font-family: 'Inter', sans-serif;
    transition: var(--rf-transition);
    outline: none;
}
.rf-input:focus {
    border-color: var(--rf-blue);
    background: rgba(29,111,243,0.05);
    box-shadow: 0 0 0 4px rgba(29,111,243,0.1);
}
.rf-input::placeholder { color: var(--rf-white-30); }
.rf-input.is-invalid { border-color: #ef4444; }

.rf-input-group {
    position: relative;
}
.rf-input-group .rf-input { padding-left: 44px; }
.rf-input-icon {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--rf-white-30);
    font-size: 16px;
}

.rf-select {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius-sm);
    padding: 13px 16px;
    font-size: 15px;
    color: var(--rf-white);
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='rgba(255,255,255,0.4)' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: var(--rf-transition);
}
.rf-select:focus {
    border-color: var(--rf-blue);
    box-shadow: 0 0 0 4px rgba(29,111,243,0.1);
}
.rf-select option { background: var(--rf-dark-3); color: var(--rf-white); }

.rf-validation-msg {
    font-size: 12px;
    color: #ef4444;
    margin-top: 5px;
}

.rf-divider {
    display: flex; align-items: center; gap: 14px;
    margin: 24px 0;
    color: var(--rf-white-30);
    font-size: 13px;
}
.rf-divider::before, .rf-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rf-border);
}

.rf-auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--rf-white-60);
    margin-top: 24px;
}
.rf-auth-switch a {
    color: var(--rf-sky);
    text-decoration: none;
    font-weight: 600;
}
.rf-auth-switch a:hover { text-decoration: underline; }

.rf-role-tabs {
    display: flex;
    background: var(--rf-white-10);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 28px;
}
.rf-role-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--rf-transition);
    color: var(--rf-white-60);
    text-decoration: none;
}
.rf-role-tab.active {
    background: var(--rf-gradient);
    color: white;
    box-shadow: var(--rf-shadow-blue);
}

/* ======= TRIP SEARCH ======= */
.rf-search-section {
    padding: 120px 0 60px;
    background: var(--rf-dark);
    min-height: 100vh;
}

.rf-search-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--rf-border);
    border-radius: 24px;
    padding: 36px;
}

.rf-location-input-wrap {
    position: relative;
}
.rf-location-input-wrap::before {
    content: '';
    position: absolute;
    left: 20px; top: 36px;
    width: 2px; height: calc(100% - 72px);
    background: linear-gradient(to bottom, var(--rf-sky), var(--rf-blue));
}

.rf-location-field {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.rf-location-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 1;
}
.rf-location-dot.pickup { background: var(--rf-sky); box-shadow: 0 0 0 3px rgba(56,189,248,0.2); }
.rf-location-dot.dest { background: var(--rf-blue); box-shadow: 0 0 0 3px rgba(29,111,243,0.2); }

.rf-estimate-result {
    background: rgba(29,111,243,0.08);
    border: 1px solid rgba(29,111,243,0.2);
    border-radius: 14px;
    padding: 20px;
}

/* ======= FOOTER ======= */
.rf-footer {
    background: var(--rf-dark-2);
    border-top: 1px solid var(--rf-border);
    padding: 64px 0 0;
}

.rf-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.rf-footer-desc {
    font-size: 14px;
    color: var(--rf-white-60);
    line-height: 1.7;
    margin-bottom: 20px;
}

.rf-social-links {
    display: flex;
    gap: 10px;
}
.rf-social-links a {
    width: 36px; height: 36px;
    background: var(--rf-white-10);
    border: 1px solid var(--rf-border);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: var(--rf-white-60);
    font-size: 14px;
    text-decoration: none;
    transition: var(--rf-transition);
}
.rf-social-links a:hover {
    background: var(--rf-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.rf-footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rf-white-60);
    margin-bottom: 16px;
}

.rf-footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.rf-footer-links a {
    color: var(--rf-white-60);
    text-decoration: none;
    font-size: 14px;
    transition: var(--rf-transition);
}
.rf-footer-links a:hover { color: var(--rf-sky); }

.rf-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-top: 48px;
    border-top: 1px solid var(--rf-border);
    font-size: 13px;
    color: var(--rf-white-30);
}
.rf-footer-bottom p { margin: 0; }

/* ======= ALERT ======= */
.rf-alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rf-alert-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
    color: #fca5a5;
}
.rf-alert-success {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.25);
    color: #6ee7b7;
}

/* ======= LOADING ======= */
.rf-spinner {
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ======= UTILITIES ======= */
.text-gradient {
    background: var(--rf-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-sky { color: var(--rf-sky) !important; }
.text-muted-rf { color: var(--rf-white-60) !important; }
.bg-dark-2 { background: var(--rf-dark-2) !important; }
.bg-dark-3 { background: var(--rf-dark-3) !important; }
.border-rf { border-color: var(--rf-border) !important; }

/* ======= RESPONSIVE ======= */
@media (max-width: 991px) {
    .rf-hero { padding-top: 100px; }
    .rf-hero-visual { margin-top: 40px; }
    .rf-float-badge { display: none; }
    .rf-auth-card { padding: 36px 24px; }
    .rf-cta-card { padding: 40px 24px; }
}

@media (max-width: 576px) {
    .rf-hero-stats { gap: 20px; flex-wrap: wrap; }
    .rf-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ======= VALIDATION STATES ======= */
.rf-input-group.has-error .rf-input {
    border-color: #ef4444;
    background: rgba(239,68,68,0.05);
}
.rf-input-group.has-error .rf-input-icon { color: #ef4444; }
.rf-input-group.has-success .rf-input {
    border-color: #22c55e;
    background: rgba(34,197,94,0.05);
}
.rf-input-group.has-success .rf-input-icon { color: #22c55e; }

/* Show/hide password button */
.rf-input-eye {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--rf-white-30);
    cursor: pointer;
    padding: 0;
    font-size: 15px;
    transition: color 0.2s;
    line-height: 1;
}
.rf-input-eye:hover { color: var(--rf-white-60); }
.rf-input-group:has(.rf-input-eye) .rf-input { padding-right: 42px; }

/* Password strength meter */
.rf-pwd-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.rf-pwd-bars {
    display: flex;
    gap: 4px;
}
.rf-pwd-bar {
    width: 28px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}
.rf-pwd-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Small spinner for buttons */
.rf-spinner-sm {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
    vertical-align: middle;
}
