/* Sarlice - Insurance Landing Inspired Theme (purple gradient, enterprise UI) */
:root {
    --ins-primary: #8b5cf6;
    --ins-secondary: #7c3aed;
    --ins-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --secondary-50: #f8fafc;
    --secondary-100: #f1f5f9;
    --secondary-200: #e2e8f0;
    --secondary-800: #1e293b;
    --secondary-900: #0f172a
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    color: var(--secondary-800)
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, .06)
}

.nav-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--ins-gradient);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800
}

.brand h1 {
    font: 700 18px/1.2 "Playfair Display", serif;
    color: var(--secondary-900);
    margin: 0
}

.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    color: var(--secondary-800);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    position: relative;
    overflow: hidden
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    transition: left .5s
}

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

.btn:hover::before {
    left: 100%
}

.btn.primary {
    background: var(--ins-gradient);
    color: #fff;
    border: 0
}

.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 16px
}

.hero {
    display: grid;
    gap: 16px;
    grid-template-columns: 1.4fr 1fr;
    align-items: start
}

.panel {
    background: #fff;
    border: 1px solid var(--secondary-200);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
    padding: 22px
}

.gradient-text {
    background: var(--ins-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.grid {
    display: grid;
    gap: 16px
}

.grid.cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
}

.card {
    background: #fff;
    border: 1px solid var(--secondary-200);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    padding: 16px;
    transition: .25s;
    position: relative;
    overflow: hidden
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .08), transparent);
    transition: left .6s
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, .15)
}

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

/* Enterprise accents */
.accent-purple {
    border-left: 4px solid #8b5cf6
}

.accent-indigo {
    border-left: 4px solid #6366f1
}

.accent-blue {
    border-left: 4px solid #3b82f6
}

.accent-teal {
    border-left: 4px solid #14b8a6
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    background: var(--ins-gradient)
}

/* Lightweight toast */
.toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: #111827;
    color: #e5e7eb;
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    z-index: 9999;
    opacity: 0;
    transform: translateY(10px);
    transition: .3s;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Lightweight modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}

.modal-backdrop.show {
    display: flex;
}

.modal-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
    padding: 16px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr
    }
}