/* ============================================================
   Smart Rental Panel — main.css (brand layer on top of Tailwind)
   Glassmorphism dark theme · gradient #7C3AED → #3B82F6 → #06B6D4
   ============================================================ */

:root {
    --srp-bg: #0A0A0F;
    --srp-violet: #7C3AED;
    --srp-blue: #3B82F6;
    --srp-cyan: #06B6D4;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, 0.14), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(6, 182, 212, 0.10), transparent 60%),
        var(--srp-bg);
    min-height: 100vh;
}

/* ---------- Signature helpers ---------- */

.glass {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.gradient-text {
    background: linear-gradient(90deg, #7C3AED 0%, #3B82F6 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-border {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1.25rem;
}
.gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #7C3AED, #3B82F6, #06B6D4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn-glow {
    background: linear-gradient(90deg, #7C3AED, #3B82F6);
    color: #fff;
    font-weight: 600;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
}
.btn-glow:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -8px rgba(124, 58, 237, 0.55);
    opacity: 0.95;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e4e4e7;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.3); }

/* ---------- Copy buttons (v1.8: live demo credentials) ---------- */

.copy-btn {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.75rem; font-weight: 600;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.5rem;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.copy-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.32); }
.copy-btn.copied { color: #34d399; background: rgba(16, 185, 129, 0.12); border-color: rgba(52, 211, 153, 0.45); }

.copy-btn-lg {
    font-size: 0.8125rem;
    padding: 0.75rem 1rem;
    justify-content: center;
    flex: 1;
}

/* ---------- Nav ---------- */

.srp-nav {
    background: rgba(10, 10, 15, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- Orbs (hero decoration) ---------- */

.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orbs::before, .orbs::after {
    content: '';
    position: absolute;
    border-radius: 9999px;
    filter: blur(90px);
    opacity: 0.5;
}
.orbs::before { width: 480px; height: 480px; top: -140px; right: -100px; background: rgba(124, 58, 237, 0.35); }
.orbs::after  { width: 380px; height: 380px; bottom: -160px; left: -80px;  background: rgba(6, 182, 212, 0.28); }

/* ---------- Pricing ---------- */

.plan-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(59, 130, 246, 0.35); }

.popular-card {
    position: relative;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.45);
    box-shadow: 0 20px 60px -24px rgba(124, 58, 237, 0.5);
}

/* ---------- Icons / badges ---------- */

.icon-badge {
    width: 3rem; height: 3rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(6, 182, 212, 0.14));
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: #a78bfa;
    flex-shrink: 0;
}

/* ---------- Blog ---------- */

.key-takeaways {
    border: 1px solid rgba(124, 58, 237, 0.35);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.10), rgba(6, 182, 212, 0.06));
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}
.key-takeaways strong { color: #a78bfa; }

.prose-srp { color: #d4d4d8; line-height: 1.85; }
.prose-srp h2 { color: #fff; font-size: 1.65rem; font-weight: 700; margin: 2.2rem 0 1rem; }
.prose-srp h3 { color: #e4e4e7; font-size: 1.25rem; font-weight: 600; margin: 1.6rem 0 0.75rem; }
.prose-srp p { margin: 1rem 0; }
.prose-srp ul, .prose-srp ol { margin: 1rem 0 1rem 1.25rem; list-style: disc; }
.prose-srp ol { list-style: decimal; }
.prose-srp li { margin: 0.4rem 0; }
.prose-srp a { color: #60a5fa; text-decoration: underline; text-underline-offset: 3px; }
.prose-srp a:hover { color: #93c5fd; }
.prose-srp blockquote { border-left: 3px solid #7C3AED; padding-left: 1.25rem; color: #a1a1aa; font-style: italic; margin: 1.5rem 0; }

/* ---------- FAQ accordion ---------- */

details.srp-faq { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0.9rem; background: rgba(255, 255, 255, 0.03); }
details.srp-faq summary {
    cursor: pointer; list-style: none;
    padding: 1.1rem 1.4rem;
    font-weight: 600; color: #f4f4f5;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details.srp-faq summary::-webkit-details-marker { display: none; }
details.srp-faq summary::after { content: '+'; font-size: 1.3rem; color: #a78bfa; transition: transform 0.2s; }
details.srp-faq[open] summary::after { transform: rotate(45deg); }
details.srp-faq .faq-body { padding: 0 1.4rem 1.2rem; color: #a1a1aa; line-height: 1.7; }

/* ---------- WhatsApp float ---------- */

.whatsapp-float {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60;
    width: 3.5rem; height: 3.5rem; border-radius: 9999px;
    background: #22c55e; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.45);
    transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float::after {
    content: '';
    position: absolute; inset: 0; border-radius: inherit;
    border: 2px solid rgba(34, 197, 94, 0.7);
    animation: srp-pulse 2s infinite;
}
@keyframes srp-pulse {
    0%   { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Cookie bar ---------- */

.cookie-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    transform: translateY(110%);
    transition: transform 0.45s ease;
    background: rgba(10, 10, 15, 0.92);
    border-top: 1px solid rgba(124, 58, 237, 0.3);
    backdrop-filter: blur(12px);
}
.cookie-bar.show { transform: translateY(0); }

/* ---------- Forms ---------- */

.srp-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 0.75rem;
    padding: 0.7rem 1rem;
    color: #fff;
    font-size: 0.925rem;
    transition: border-color 0.2s;
}
.srp-input:focus { outline: none; border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18); }
.srp-input::placeholder { color: #52525b; }
select.srp-input option { background: #12121f; color: #fff; }
label.srp-label { display: block; font-size: 0.8rem; font-weight: 600; color: #a1a1aa; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Toast (subscribe + editor) ---------- */

.srp-toast {
    position: fixed; top: 1.25rem; left: 50%; transform: translateX(-50%) translateY(-140%);
    z-index: 9998;
    padding: 0.75rem 1.4rem; border-radius: 0.9rem;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e4e4e7; font-size: 0.9rem;
    transition: transform 0.35s ease;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.srp-toast.show { transform: translateX(-50%) translateY(0); }
.srp-toast.ok  { border-color: rgba(34, 197, 94, 0.5); }
.srp-toast.err { border-color: rgba(239, 68, 68, 0.5); }

/* ---------- Admin tables ---------- */

table.srp-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.srp-table th {
    text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
    color: #71717a; padding: 0.65rem 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
table.srp-table td { padding: 0.8rem 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #d4d4d8; vertical-align: middle; }
table.srp-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-green  { background: rgba(34, 197, 94, 0.12);  color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-emerald{ background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-cyan   { background: rgba(6, 182, 212, 0.12);  color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-amber  { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-red    { background: rgba(239, 68, 68, 0.12);  color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-violet { background: rgba(124, 58, 237, 0.15); color: #a78bfa; border: 1px solid rgba(124, 58, 237, 0.4); }

/* ---------- Scrollbar ---------- */

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0A0A0F; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

/* ============================================================
   v1.3 — Motion disabled by request
   (scroll reveal, marquee, count-up, orbs float, button shine,
   card zoom, progress bar and demo mockup styles removed —
   the site renders fully static, like v1.1)
   ============================================================ */

/* ---------- Flash message polish ---------- */

.flash-msg { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- Reduced motion (covers the pre-existing WhatsApp pulse ring) ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .whatsapp-float::after { animation: none !important; }
}
