

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');


:root {
    /* Brand */
    --primary: #8A3F05;
    --primary-dark: #6F3003;
    --primary-light: #E1D0C7;
    --primary-2: #6F3003;
    --accent: #8A3F05;
    /* Background */
    --bg: #E1D0C7;
    --background: #E1D0C7;
    /* Surfaces */
    --surface: #FFFFFF;
    --surface-2: #FFFFFF;
    --card: #FFFFFF;
    --card-bg: #FFFFFF;
    /* Text */
    --text: #000000;
    --text-primary: #000000;
    --text-secondary: #000000;
    --muted: #000000;
    /* Basic */
    --white: #FFFFFF;
    --black: #000000;
    /* Border */
    --border: rgba(138, 63, 5, 0.18);
    /* Brand Soft */
    --primary-soft: rgba(138, 63, 5, 0.10);
    /* Brand Gradient */
    --primary-grad: linear-gradient( 135deg, #8A3F05, #6F3003 );
    /* Status */
    --success: #198754;
    --warning: #8A3F05;
    --danger: #B42318;
    --info: #8A3F05;
    --success-soft: #E8F5E9;
    --warning-soft: #E1D0C7;
    --danger-soft: #FBE9E7;
    --info-soft: #E1D0C7;
    /* Layout */
    --sidebar-w: 260px;
    /* Radius */
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.14);
    /* Sidebar */
    --sidebar-1: #8A3F05;
    --sidebar-2: #6F3003;
    --sidebar-text: #FFFFFF;
}


/* =========================================================
   GLOBAL
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
   
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: #C7D2FE;
    color: #1E1B4B;
}

a {
    transition: .15s ease;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    letter-spacing: -.02em;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 99px;
}

.sidebar ::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.15);
}


/* =========================================================
   APP SHELL
========================================================= */

.app-shell {
    display: flex;
    min-height: 100vh;
}


/* 
   SIDEBAR
*/

.sidebar {
    width: var(--sidebar-w);
    background: radial-gradient( 1100px 500px at -10% -10%, rgba(139,92,246,.20), transparent 60% ), radial-gradient( 900px 500px at 120% 10%, rgba(79,70,229,.18), transparent 55% ), linear-gradient( 180deg, var(--sidebar-1), var(--sidebar-2) 70%, var(--sidebar-1) );
    color: var(--white);
    padding: 20px 16px 16px;
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    border-right: 1px solid rgba(255,255,255,.06);
}


/* =========================================================
   BRAND
*/

.brand {
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
    padding: 6px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex: 0 0 auto;
    background: var(--primary-grad);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 17px;
    color: var(--white);
    box-shadow: 0 8px 20px -4px rgba(139,92,246,.35);
    transition: transform .25s ease;
}

    .brand-mark:hover {
        transform: translateY(-2px);
    }

.brand-sub {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    color: #E8DCD6;
    text-transform: uppercase;
    margin-top: 1px;
}


/* =========================================================
   SIDEBAR USER
========================================================= */

.sidebar-user {
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.045);
    border-radius: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex: 0 0 auto;
    background: var(--primary-grad);
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 6px 16px -4px rgba(99,102,241,.35);
    text-transform: uppercase;
}

.sidebar-user small {
    display: block;
    color: #E8DCD6;
    font-size: 10.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 600;
}

.sidebar-user strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
    font-size: 14px;
    color: var(--white);
}

.role-pill {
    display: inline-block;
    margin-top: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(255,255,255,.12);
    color: #F2E8E2;
    border: 1px solid rgba(255,255,255,.20);
}


/* =========================================================
   SIDEBAR NAVIGATION
========================================================= */

.nav-heading {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #E1D0C7;
    margin: 16px 10px 6px;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    padding-right: 2px;
    margin-right: -2px;
}

    .side-nav a {
        position: relative;
        color: var(--sidebar-text);
        text-decoration: none;
        padding: 10px 12px;
        border-radius: 11px;
        font-size: 14px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 11px;
        transition: background .15s ease, color .15s ease;
    }

        .side-nav a i {
            font-size: 16px;
            width: 19px;
            text-align: center;
            flex: 0 0 auto;
            opacity: .85;
            transition: transform .2s ease, opacity .15s ease;
        }

        .side-nav a:hover {
            background: rgba(255,255,255,.09);
            color: var(--white);
        }

            .side-nav a:hover i {
                opacity: 1;
                transform: translateX(2px);
            }

        .side-nav a.active {
            background: rgba(255,255,255,.13);
            color: var(--white);
            font-weight: 700;
            box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
        }

            .side-nav a.active::before {
                content: "";
                position: absolute;
                left: -16px;
                top: 8px;
                bottom: 8px;
                width: 4px;
                border-radius: 0 6px 6px 0;
                background: var(--white);
            }

            .side-nav a.active i {
                opacity: 1;
                color: var(--white);
            }


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.sidebar-bottom {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 10px;
}

    .sidebar-bottom a {
        color: var(--sidebar-text);
        text-decoration: none;
        padding: 10px 12px;
        border-radius: 11px;
        display: flex;
        align-items: center;
        gap: 11px;
        font-size: 14px;
        font-weight: 500;
    }

        .sidebar-bottom a:hover {
            background: rgba(255,255,255,.08);
            color: var(--white);
        }

        .sidebar-bottom a i {
            width: 19px;
            text-align: center;
        }


/* =========================================================
   LOGOUT
========================================================= */

.logout-btn {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 11px;
    background: rgba(225,29,72,.12);
    border: 1px solid rgba(225,29,72,.35);
    color: #FDA4AF;
    padding: 10px 12px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
    cursor: pointer;
}

    .logout-btn:hover {
        background: rgba(225,29,72,.85);
        border-color: rgba(225,29,72,.85);
        color: var(--white);
    }

    .logout-btn i {
        width: 19px;
        text-align: center;
    }


/* =========================================================
   MAIN CONTENT
========================================================= */

.main-content {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    width: calc(100% - var(--sidebar-w));
    display: flex;
    flex-direction: column;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 28px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 900;
}

.topbar-title {
    font-size: 19px;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .topbar-title .eyebrow {
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .1em;
        color: var(--muted);
        text-transform: uppercase;
        margin-bottom: 2px;
    }

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-clock {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-user-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 6px 12px 6px 6px;
    border-radius: 99px;
    text-decoration: none;
    color: var(--text);
}

    .topbar-user-chip .user-avatar {
        width: 30px;
        height: 30px;
        font-size: 12px;
        border-radius: 9px;
    }

    .topbar-user-chip span {
        font-size: 13.5px;
        font-weight: 700;
    }


/* =========================================================
   MOBILE TOPBAR
========================================================= */

.mobile-topbar {
    display: none;
}


/* =========================================================
   PAGE CONTENT
========================================================= */

.page-content {
    padding: 28px;
    flex: 1;
}


/* =========================================================
   GUEST NAV
========================================================= */

.guest-content {
    min-height: 100vh;
}

.top-guest-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5vw;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 900;
}

    .top-guest-nav .brand {
        color: var(--text);
        margin: 0;
    }


/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
    position: relative;
    overflow: hidden;
    background: radial-gradient( 700px 320px at 90% -10%, rgba(139,92,246,.10), transparent 60% ), radial-gradient( 600px 300px at 0% 110%, rgba(79,70,229,.08), transparent 60% ), linear-gradient( 135deg, #FFFFFF, #F8F3EF 70% );
    border: 1px solid var(--border);
}

    .hero-card::after {
        content: "";
        position: absolute;
        right: -60px;
        top: -60px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: var(--primary-grad);
        opacity: .10;
        filter: blur(10px);
    }


/* =========================================================
   CARDS
========================================================= */

.feature-card,
.panel-card,
.stat-card,
.auth-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: .18s ease;
}

.feature-card {
    height: 100%;
}

    .feature-card:hover,
    .stat-card:hover {
        box-shadow: var(--shadow);
        transform: translateY(-2px);
        border-color: rgba(138,63,5,.25);
    }

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 20px;
}

.feature-card h5 {
    font-size: 16px;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.panel-card h4 {
    font-size: 16.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 9px;
}


/* =========================================================
   STAT CARDS
========================================================= */

.stat-card {
    min-height: 150px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .stat-card .stat-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .stat-card span.stat-label {
        display: block;
        color: var(--muted);
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    .stat-card strong {
        display: block;
        font-size: 32px;
        margin: 6px 0;
        font-weight: 800;
        letter-spacing: -.02em;
    }

    .stat-card a {
        font-size: 12.5px;
        text-decoration: none;
        color: var(--primary);
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

        .stat-card a:hover {
            gap: 7px;
        }

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex: 0 0 auto;
}

.stat-card.tone-primary .stat-icon {
    background: var(--primary-soft);
    color: var(--primary);
}

.stat-card.tone-success .stat-icon {
    background: var(--success-soft);
    color: var(--success);
}

.stat-card.tone-warning .stat-icon {
    background: var(--warning-soft);
    color: var(--warning);
}

.stat-card.tone-danger .stat-icon {
    background: var(--danger-soft);
    color: var(--danger);
}

.stat-card.tone-info .stat-icon {
    background: var(--info-soft);
    color: var(--info);
}

.stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
}

.stat-card.tone-primary::before {
    background: var(--primary);
}

.stat-card.tone-success::before {
    background: var(--success);
}

.stat-card.tone-warning::before {
    background: var(--warning);
}

.stat-card.tone-danger::before {
    background: var(--danger);
}

.stat-card.tone-info::before {
    background: var(--info);
}


/* =========================================================
   QUICK GRID
========================================================= */

.section-label {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 26px 0 12px;
}

    .section-label:first-child {
        margin-top: 0;
    }

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

    .quick-grid a {
        padding: 14px 15px;
        border: 1px solid var(--border);
        border-radius: 13px;
        text-decoration: none;
        color: var(--text);
        background: var(--surface-2);
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 11px;
    }

        .quick-grid a i {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: #FFFFFF;
            border: 1px solid var(--border);
            display: grid;
            place-items: center;
            color: var(--primary);
            flex: 0 0 auto;
            font-size: 15px;
        }

        .quick-grid a:hover {
            border-color: rgba(138,63,5,.30);
            background: var(--primary-soft);
            transform: translateY(-1px);
        }

.quick-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}


/* =========================================================
   TABLE
========================================================= */

.table {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-collapse: separate;
    border-spacing: 0;
}

    .table thead th {
        background: var(--surface-2);
        color: var(--muted);
        font-size: 11.5px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .05em;
        border-bottom: 1px solid var(--border);
        padding: 13px 16px;
    }

    .table tbody td {
        padding: 13px 16px;
        vertical-align: middle;
        border-bottom: 1px solid var(--border);
        font-size: 14px;
    }

    .table tbody tr:last-child td {
        border-bottom: none;
    }

    .table tbody tr:hover {
        background: rgba(138,63,5,.025);
    }

.table-responsive {
    border-radius: 16px;
}


/* =========================================================
   BADGES
========================================================= */

.badge {
    font-weight: 700;
    letter-spacing: .02em;
    padding: .42em .75em;
    border-radius: 99px;
    font-size: 11.5px;
}

.bg-primary-subtle {
    background: var(--primary-soft) !important;
}

.text-primary {
    color: var(--primary) !important;
}


/* =========================================================
   ALERTS
========================================================= */

.alert {
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 14px;
}

.alert-success {
    background: var(--success-soft);
    color: #065F46;
    border-color: #BBF7D0;
}

.alert-danger {
    background: var(--danger-soft);
    color: #9F1239;
    border-color: #FECDD3;
}

.alert-warning {
    background: var(--warning-soft);
    color: #92400E;
    border-color: #FDE68A;
}

.alert-info {
    background: var(--info-soft);
    color: #155E75;
    border-color: #A5F3FC;
}


/* =========================================================
   FORMS
========================================================= */

.form-control,
.form-select {
    border-radius: 11px;
    padding: .68rem .9rem;
    border-color: var(--border);
    font-size: 14.5px;
    background: #FFFFFF;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(138,63,5,.12);
    }

.form-floating > label {
    color: var(--muted);
}

label.form-label {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text);
    margin-bottom: 6px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    border-radius: 11px;
    font-weight: 700;
    font-size: 14px;
    padding: .62rem 1.15rem;
    letter-spacing: .01em;
}

.btn-primary {
    background: var(--primary-grad);
    border: none;
    color: var(--white);
    box-shadow: 0 10px 22px -8px rgba(138,63,5,.40);
}

    .btn-primary:hover {
        filter: brightness(1.06);
        color: var(--white);
        box-shadow: 0 12px 26px -8px rgba(138,63,5,.50);
    }

.btn-outline-primary {
    border-color: rgba(138,63,5,.35);
    color: var(--primary);
}

    .btn-outline-primary:hover {
        background: var(--primary-soft);
        border-color: var(--primary);
        color: var(--primary-2);
    }

.btn-outline-secondary {
    border-color: var(--border);
    color: var(--text);
}

.card {
    border-radius: 16px;
    border-color: var(--border);
}


/* =========================================================
   MOBILE TOPBAR + THEME TOGGLE
========================================================= */

.theme-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
    transition: all .2s ease;
}

    .theme-toggle:hover {
        transform: translateY(-1px);
        border-color: var(--primary);
        color: var(--primary);
    }

    .theme-toggle i {
        pointer-events: none;
    }


/* =========================================================
   SMART SOCIETY HERO
========================================================= */

.ss-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-image: url('/images/smartsociety-hero.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    z-index: 1;
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.ss-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient( 90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 32%, rgba(255,255,255,.30) 62%, rgba(255,255,255,.05) 100% );
    pointer-events: none;
}


/* =========================================================
   HERO NAVBAR — FIXED ABOVE EVERYTHING
========================================================= */

.ss-hero-nav {
    position:relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 82px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    z-index: 99999 !important;
    background: rgba(255,255,255,.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(138,63,5,.10);
    box-shadow: 0 5px 25px rgba(0,0,0,.06);
    transition: .3s ease;
}


/* =========================================================
   HERO LOGO
========================================================= */

.ss-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--black);
    flex-shrink: 0;
}

.ss-logo-shield {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    clip-path: polygon( 50% 0%, 88% 20%, 88% 62%, 50% 100%, 12% 62%, 12% 20% );
}

.ss-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

    .ss-logo-text strong {
        font-size: 27px;
        font-weight: 800;
        letter-spacing: -1px;
        color: var(--black);
    }

        .ss-logo-text strong span {
            color: var(--primary);
        }

    .ss-logo-text small {
        margin-top: 6px;
        font-size: 15px;
        font-weight: 500;
        color: var(--black);
    }


/* =========================================================
   HERO NAV LINKS
========================================================= */

.ss-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 27px;
    flex: 1;
}

    .ss-nav-links > a {
        position: relative;
        padding: 10px 0;
        text-decoration: none;
        color: var(--black);
        font-size: 15px;
        font-weight: 500;
        white-space: nowrap;
        transition: .25s ease;
    }

        .ss-nav-links > a:hover {
            color: var(--primary);
        }

        .ss-nav-links > a.active {
            color: var(--primary);
            font-weight: 700;
        }

            .ss-nav-links > a.active::after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                bottom: 0;
                height: 3px;
                border-radius: 20px;
                background: var(--primary);
            }


/* =========================================================
   SEARCH
========================================================= */

.ss-search {
    width: 180px;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 17px;
    background: rgba(138,63,5,.07);
    border-radius: 28px;
    flex-shrink: 0;
}

    .ss-search i {
        color: var(--primary);
        font-size: 19px;
    }

    .ss-search input {
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        color: var(--black);
        font-size: 14px;
    }

        .ss-search input::placeholder {
            color: #716760;
        }


/* =========================================================
   LOGIN NAV BUTTON
========================================================= */

.ss-login-btn {
    min-width: 115px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    color: var(--white) !important;
    background: var(--primary);
    border-radius: 13px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 9px 20px rgba(138,63,5,.20);
    transition: .25s ease;
}

    .ss-login-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }


/* =========================================================
   MOBILE MENU
========================================================= */

.ss-mobile-menu {
    display: none;
    width: 45px;
    height: 45px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--primary);
    font-size: 22px;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.ss-hero-content {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 150px 5vw 190px;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}


/* =========================================================
   HERO LEFT
========================================================= */

.ss-hero-left {
    width: 55%;
    max-width: 720px;
    padding: 30px 0;
}


/* =========================================================
   HERO EYEBROW
========================================================= */

.ss-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 19px;
    margin-bottom: 25px;
    background: rgba(138,63,5,.09);
    color: var(--primary);
    border-radius: 15px;
    font-size: 15px;
    font-weight: 700;
}

    .ss-eyebrow i {
        font-size: 19px;
    }


/* =========================================================
   HERO TITLE
========================================================= */

.ss-hero-title {
    margin: 0;
    font-size: clamp(55px, 5.3vw, 82px);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -3.5px;
    color: var(--black);
    max-width: 760px;
}

    .ss-hero-title span {
        color: var(--primary);
    }


/* =========================================================
   HERO LINE
========================================================= */

.ss-hero-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 28px 0 22px;
}

    .ss-hero-line span:first-child {
        width: 45px;
        height: 5px;
        border-radius: 20px;
        background: var(--primary);
    }

    .ss-hero-line span:last-child {
        width: 25px;
        height: 5px;
        border-radius: 20px;
        background: var(--primary-light);
    }


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.ss-hero-description {
    max-width: 610px;
    margin: 0 0 27px;
    color: var(--black);
    font-size: 18px;
    line-height: 1.65;
    font-weight: 500;
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.ss-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.ss-primary-btn,
.ss-secondary-btn {
    min-height: 59px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 25px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: .25s ease;
}

.ss-primary-btn {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 12px 25px rgba(138,63,5,.22);
}

    .ss-primary-btn:hover {
        color: var(--white);
        transform: translateY(-3px);
        background: var(--primary-dark);
    }

.ss-secondary-btn {
    color: var(--primary);
    background: rgba(255,255,255,.75);
    border: 2px solid var(--primary);
}

    .ss-secondary-btn:hover {
        color: var(--white);
        background: var(--primary);
    }


/* =========================================================
   HERO STATS
========================================================= */

.ss-hero-stats {
    width: 100%;
    max-width: 700px;
    min-height: 86px;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    box-sizing: border-box;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.ss-stat {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.ss-stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
}

.ss-stat small {
    display: block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
}

.ss-stat strong {
    display: block;
    color: var(--black);
    font-size: 20px;
    font-weight: 800;
}

.ss-stat-divider {
    width: 1px;
    height: 45px;
    background: var(--border);
}


/* =========================================================
   SECURITY BAR
========================================================= */

.ss-security-bar {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: calc(100% - 10vw);
    max-width: 1250px;
    min-height: 90px;
    padding: 14px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.10);
    z-index: 3;
}

.ss-security-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 15px;
}

.ss-security-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 20px;
}

.ss-security-item strong {
    display: block;
    color: var(--black);
    font-size: 15px;
    font-weight: 800;
}

.ss-security-item span {
    display: block;
    margin-top: 3px;
    color: #4D4642;
    font-size: 13px;
}

.ss-security-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}


/* =========================================================
   AUTH — LOGIN / REGISTER
========================================================= */

.auth-shell {
    min-height: 100vh;
    display: flex;
    background: var(--background);
}


/* =========================================================
   AUTH VISUAL
========================================================= */

.auth-visual {
    width: 52%;
    min-height: 100vh;
    padding: 45px 55px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--primary-grad);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

    .auth-visual::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(255,255,255,.06);
        top: -180px;
        right: -150px;
    }

    .auth-visual::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
        bottom: -150px;
        left: -100px;
    }


    /* =========================================================
   AUTH BRAND
========================================================= */

    .auth-visual .brand {
        position: relative;
        z-index: 2;
        color: var(--white);
    }

    .auth-visual .brand-mark {
        background: var(--white);
        color: var(--primary);
    }

    .auth-visual .brand-sub {
        color: rgba(255,255,255,.70);
    }


/* =========================================================
   AUTH VISUAL CONTENT
========================================================= */

.auth-visual-mid {
    max-width: 560px;
    position: relative;
    z-index: 2;
}

    .auth-visual-mid h2 {
        font-size: 42px;
        line-height: 1.15;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 20px;
    }

    .auth-visual-mid p {
        color: rgba(255,255,255,.82);
        font-size: 15px;
        line-height: 1.8;
        max-width: 520px;
    }


/* =========================================================
   AUTH FEATURES
========================================================= */

.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

    .auth-feature-list li {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 17px;
        color: var(--white);
        font-size: 14px;
        font-weight: 500;
    }

    .auth-feature-list .ico {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(255,255,255,.13);
        color: var(--white);
        font-size: 16px;
    }


/* =========================================================
   AUTH FOOTER
========================================================= */

.auth-visual-bottom {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,.65);
    font-size: 12px;
}


/* =========================================================
   AUTH FORM SIDE
========================================================= */

.auth-form-side {
    width: 48%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--background);
}


/* =========================================================
   AUTH FORM CARD
========================================================= */

.auth-form-card {
    width: 100%;
    max-width: 470px;
    background: var(--surface);
    padding: 45px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

    .auth-form-card .brand {
        color: var(--text);
        margin-bottom: 6px;
    }

    .auth-form-card .brand-mark {
        background: var(--primary);
        color: var(--white);
    }

    .auth-form-card h1 {
        margin-top: 20px;
        margin-bottom: 8px;
        color: var(--text);
        font-size: 30px;
        font-weight: 700;
    }

    .auth-form-card .subtitle {
        color: var(--muted);
        font-size: 14px;
        margin-bottom: 30px;
    }


    /* =========================================================
   AUTH INPUTS
========================================================= */

    .auth-form-card .form-control {
        height: 58px;
        border: 1px solid var(--border);
        background: var(--surface);
        color: var(--text);
        border-radius: var(--radius);
        font-size: 14px;
    }

        .auth-form-card .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-soft);
        }

    .auth-form-card .form-floating label {
        color: var(--muted);
    }

    .auth-form-card .form-control:focus ~ label,
    .auth-form-card .form-control:not(:placeholder-shown) ~ label {
        color: var(--primary);
    }


/* =========================================================
   PASSWORD
========================================================= */

.password-wrap {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
}


/* =========================================================
   AUTH LINKS
========================================================= */

.auth-links-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 13px;
}

    .auth-links-row a,
    .auth-foot-link a {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
    }

        .auth-links-row a:hover,
        .auth-foot-link a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }


/* =========================================================
   CHECKBOX
========================================================= */

.auth-form-card .form-check-input {
    border-color: var(--primary);
}

    .auth-form-card .form-check-input:checked {
        background-color: var(--primary);
        border-color: var(--primary);
    }


/* =========================================================
   AUTH BUTTON
========================================================= */

.auth-form-card .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    min-height: 55px;
    transition: all .2s ease;
}

    .auth-form-card .btn-primary:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(138,63,5,.25);
    }


/* =========================================================
   AUTH FOOT LINK
========================================================= */

.auth-foot-link {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   AUTH DIVIDER
========================================================= */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0 20px;
    color: var(--muted);
    font-size: 12px;
}

    .auth-divider::before,
    .auth-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--border);
    }


/* =========================================================
   EXTERNAL LOGIN
========================================================= */

.auth-form-card .btn-outline-secondary {
    border-color: var(--border);
    color: var(--text);
    border-radius: var(--radius);
}

    .auth-form-card .btn-outline-secondary:hover {
        background: var(--primary-soft);
        border-color: var(--primary);
        color: var(--primary);
    }


/* =========================================================
   VALIDATION
========================================================= */

.auth-form-card .text-danger {
    color: var(--danger) !important;
}





/* =========================================================
   TOAST
========================================================= */

.toast-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.app-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 14px 16px;
    animation: fadeInUp .3s ease both;
}

    .app-toast.hide {
        animation: fadeIn .25s ease reverse forwards;
    }

    .app-toast .toast-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        font-size: 15px;
    }

    .app-toast.toast-success .toast-icon {
        background: var(--success-soft);
        color: var(--success);
    }

    .app-toast.toast-danger .toast-icon {
        background: var(--danger-soft);
        color: var(--danger);
    }

    .app-toast.toast-warning .toast-icon {
        background: var(--warning-soft);
        color: var(--warning);
    }

    .app-toast.toast-info .toast-icon {
        background: var(--info-soft);
        color: var(--info);
    }

    .app-toast .toast-body {
        flex: 1;
        font-size: 13.5px;
        color: var(--text);
        font-weight: 600;
        line-height: 1.4;
    }

    .app-toast .toast-close {
        border: none;
        background: transparent;
        color: var(--muted);
        cursor: pointer;
        font-size: 14px;
        line-height: 1;
        padding: 2px;
    }


/* =========================================================
   MODAL
========================================================= */

.modal.fade .modal-dialog {
    transform: scale(.95) translateY(10px);
    transition: transform .2s ease, opacity .2s ease;
    opacity: 0;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 18px 22px;
}

.modal-footer {
    border-top: 1px solid var(--border);
    padding: 16px 22px;
}

.modal-title {
    font-weight: 800;
    font-size: 17px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    text-align: center;
    padding: 56px 24px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-2);
}

    .empty-state .empty-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        margin: 0 auto 16px;
        display: grid;
        place-items: center;
        background: var(--primary-soft);
        color: var(--primary);
        font-size: 28px;
    }

    .empty-state h5 {
        font-weight: 800;
        margin-bottom: 6px;
        font-size: 16px;
    }

    .empty-state p {
        color: var(--muted);
        font-size: 13.5px;
        margin-bottom: 18px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }


/* =========================================================
   STATUS BADGES
========================================================= */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .38em .75em;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
}

    .status-badge .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        flex: 0 0 auto;
    }

    .status-badge.st-success {
        background: var(--success-soft);
        color: var(--success);
    }

        .status-badge.st-success .dot {
            background: var(--success);
        }

    .status-badge.st-warning {
        background: var(--warning-soft);
        color: var(--warning);
    }

        .status-badge.st-warning .dot {
            background: var(--warning);
        }

    .status-badge.st-danger {
        background: var(--danger-soft);
        color: var(--danger);
    }

        .status-badge.st-danger .dot {
            background: var(--danger);
        }

    .status-badge.st-info {
        background: var(--info-soft);
        color: var(--info);
    }

        .status-badge.st-info .dot {
            background: var(--info);
        }

    .status-badge.st-neutral {
        background: var(--surface-2);
        color: var(--muted);
        border: 1px solid var(--border);
    }

        .status-badge.st-neutral .dot {
            background: var(--muted);
        }


/* =========================================================
   TABLE ACTION BUTTONS
========================================================= */

.table-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    display: inline-grid;
    place-items: center;
    text-decoration: none;
    font-size: 14px;
    transition: .15s ease;
    cursor: pointer;
}

    .icon-btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }

    .icon-btn.ib-view:hover {
        color: var(--info);
        border-color: #A5F3FC;
        background: var(--info-soft);
    }

    .icon-btn.ib-edit:hover {
        color: var(--primary);
        border-color: rgba(138,63,5,.35);
        background: var(--primary-soft);
    }

    .icon-btn.ib-delete:hover {
        color: var(--danger);
        border-color: #FECDD3;
        background: var(--danger-soft);
    }

    .icon-btn.ib-details:hover {
        color: var(--success);
        border-color: #BBF7D0;
        background: var(--success-soft);
    }


/* =========================================================
   BUTTON LOADING
========================================================= */

.btn.is-loading {
    color: transparent !important;
    pointer-events: none;
    position: relative;
}

    .btn.is-loading::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 16px;
        height: 16px;
        margin: -8px 0 0 -8px;
        border-radius: 50%;
        border: 2px solid rgba(255,255,255,.4);
        border-top-color: var(--white);
        animation: spin .7s linear infinite;
    }

.btn-outline-primary.is-loading::after,
.btn-outline-secondary.is-loading::after {
    border: 2px solid rgba(138,63,5,.25);
    border-top-color: var(--primary);
}

.btn:disabled,
.btn.disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none !important;
}


/* =========================================================
   FOCUS
========================================================= */

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes fadeInUp {

    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {

    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatY {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }
}

@keyframes footerGlow {

    from {
        transform: translate(0,0) scale(1);
    }

    to {
        transform: translate(80px,30px) scale(1.25);
    }
}

@keyframes footerGlow2 {

    from {
        transform: translate(0,0) scale(1);
    }

    to {
        transform: translate(-70px,-30px) scale(1.2);
    }
}

@keyframes brandFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes heartBeat {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes ctaGlow {

    from {
        transform: translate(0,0) scale(1);
    }

    to {
        transform: translate(70px,35px) scale(1.25);
    }
}

@keyframes ctaGlow2 {

    from {
        transform: translate(0,0) scale(1);
    }

    to {
        transform: translate(-60px,-30px) scale(1.2);
    }
}

@keyframes ctaFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}


/* =========================================================
   ANIMATION UTILITIES
========================================================= */

.page-content > * {
    animation: fadeInUp .45s ease both;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0);
    }

.stagger > * {
    opacity: 0;
    animation: fadeInUp .5s ease both;
}

    .stagger > *:nth-child(1) {
        animation-delay: .03s;
    }

    .stagger > *:nth-child(2) {
        animation-delay: .08s;
    }

    .stagger > *:nth-child(3) {
        animation-delay: .13s;
    }

    .stagger > *:nth-child(4) {
        animation-delay: .18s;
    }

    .stagger > *:nth-child(5) {
        animation-delay: .23s;
    }

    .stagger > *:nth-child(6) {
        animation-delay: .28s;
    }

    .stagger > *:nth-child(7) {
        animation-delay: .33s;
    }

    .stagger > *:nth-child(8) {
        animation-delay: .38s;
    }

.float-el {
    animation: floatY 5s ease-in-out infinite;
}


/* =========================================================
   DARK MODE
========================================================= */

[data-theme="dark"] {
    --bg: #0B0F1A;
    --background: #0B0F1A;
    --surface: #121729;
    --surface-2: #161D33;
    --card: #121729;
    --card-bg: #121729;
    --text: #E8EAF6;
    --text-primary: #E8EAF6;
    --text-secondary: #C7CAD9;
    --muted: #8B93B8;
    --border: #232A45;
    --primary-soft: #2A1A10;
    --success-soft: #082F22;
    --warning-soft: #2E2107;
    --danger-soft: #2E0F18;
    --info-soft: #062A30;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
    --shadow: 0 10px 30px -12px rgba(0,0,0,.55);
    --shadow-lg: 0 24px 48px -16px rgba(0,0,0,.65);
}

    [data-theme="dark"] body {
        background: var(--bg);
        color: var(--text);
    }

    [data-theme="dark"] .topbar {
        background: rgba(18,23,41,.90);
        border-color: var(--border);
    }

    [data-theme="dark"] .table {
        background: var(--surface);
    }

        [data-theme="dark"] .table tbody tr:hover {
            background: #161D33;
        }

    [data-theme="dark"] .form-control,
    [data-theme="dark"] .form-select {
        background: var(--surface-2);
        color: var(--text);
        border-color: var(--border);
    }

        [data-theme="dark"] .form-control::placeholder {
            color: #5C6488;
        }

    [data-theme="dark"] .top-guest-nav,
    [data-theme="dark"] .mobile-topbar {
        background: rgba(18,23,41,.90);
        border-color: var(--border);
    }

        [data-theme="dark"] .top-guest-nav .brand,
        [data-theme="dark"] .mobile-topbar .brand {
            color: var(--text);
        }

    [data-theme="dark"] .hero-card {
        background: linear-gradient( 135deg, #121729, #161033 70% );
        border-color: var(--border);
    }

    [data-theme="dark"] .quick-grid a {
        background: var(--surface-2);
        color: var(--text);
    }

        [data-theme="dark"] .quick-grid a i {
            background: var(--surface);
            border-color: var(--border);
        }

    [data-theme="dark"] .topbar-user-chip {
        background: var(--surface-2);
        border-color: var(--border);
        color: var(--text);
    }

    [data-theme="dark"] .auth-form-side {
        background: var(--bg);
    }

    [data-theme="dark"] .auth-form-card {
        background: var(--surface);
    }

        [data-theme="dark"] .auth-form-card .form-control {
            background: var(--surface-2);
            color: var(--text);
        }


/* =========================================================
   ABOUT SECTION RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    section {
        padding: 70px 5% !important;
    }

        section > div {
            flex-direction: column !important;
            text-align: center;
        }

            section > div > div:first-child {
                width: 100%;
            }

        section h2 {
            font-size: 40px !important;
        }

        section p {
            margin-left: auto !important;
            margin-right: auto !important;
        }

        section > div > div:last-child {
            width: 100%;
            flex: 0 0 auto !important;
        }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .quick-grid-4 {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ss-nav-links {
        gap: 17px;
    }

        .ss-nav-links > a {
            font-size: 14px;
        }

    .ss-search {
        width: 145px;
    }

    .ss-hero-left {
        width: 60%;
    }

    .ss-hero-title {
        font-size: 60px;
    }

    .ss-security-bar {
        width: calc(100% - 40px);
    }

    .auth-visual {
        width: 45%;
        padding: 35px;
    }

    .auth-form-side {
        width: 55%;
        padding: 25px;
    }

    .auth-visual-mid h2 {
        font-size: 32px;
    }
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 900px) {

    .sidebar {
        transform: translateX(-100%);
        transition: .22s ease;
        box-shadow: var(--shadow-lg);
    }

        .sidebar.open {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .topbar {
        display: none;
    }

    .mobile-topbar {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 64px;
        padding: 10px 15px;
        gap: 10px;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        z-index: 900;
    }

        .mobile-topbar .brand {
            margin: 0;
            color: var(--text);
            font-size: 17px;
        }

        .mobile-topbar .theme-toggle {
            margin-left: auto;
        }

        .mobile-topbar .btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

    .page-content {
        padding: 18px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15,23,42,.5);
        z-index: 999;
    }

        .sidebar-overlay.show {
            display: block;
        }

    .ss-nav-links > a,
    .ss-search {
        display: none;
    }

    .ss-mobile-menu {
        display: flex;
    }

    .ss-hero {
        min-height: 100vh;
        background-position: 58% center;
    }

    .ss-hero-overlay {
        background: linear-gradient( 90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.80) 55%, rgba(255,255,255,.25) 100% );
    }

    .ss-hero-content {
        padding: 140px 30px 190px;
    }

    .ss-hero-left {
        width: 75%;
    }

    .ss-hero-title {
        font-size: 54px;
    }

    .ss-security-bar {
        flex-wrap: wrap;
        gap: 15px;
        padding: 18px;
    }

    .ss-security-item {
        flex: 0 0 calc(50% - 10px);
        justify-content: flex-start;
    }

    .ss-security-divider {
        display: none;
    }
}


/* =========================================================
   MOBILE 767
========================================================= */

@media (max-width: 767px) {

    .auth-shell {
        display: block;
    }

    .auth-visual {
        display: none;
    }

    .auth-form-side {
        width: 100%;
        min-height: 100vh;
        padding: 20px;
        background: var(--background);
    }

    .auth-form-card {
        padding: 30px 22px;
        border-radius: var(--radius-lg);
    }

        .auth-form-card h1 {
            font-size: 25px;
        }

    .flip-card {
        height: 260px;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 22px;
    }
}


/* =========================================================
   MOBILE 600
========================================================= */

@media (max-width: 600px) {

    .ss-hero-nav {
        height: 70px;
        padding: 0 18px;
    }

    .ss-logo-shield {
        width: 43px;
        height: 43px;
        font-size: 23px;
    }

    .ss-logo-text strong {
        font-size: 22px;
    }

    .ss-logo-text small {
        display: none;
    }

    .ss-login-btn {
        min-width: auto;
        height: 44px;
        padding: 0 14px;
        font-size: 14px;
    }

        .ss-login-btn i {
            display: none;
        }

    .ss-hero {
        min-height: 1000px;
        background-position: 63% center;
    }

    .ss-hero-content {
        padding: 120px 20px 350px;
    }

    .ss-hero-left {
        width: 100%;
        text-align: center;
    }

    .ss-eyebrow {
        font-size: 12px;
        padding: 11px 15px;
    }

    .ss-hero-title {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .ss-hero-line {
        justify-content: center;
    }

    .ss-hero-description {
        font-size: 15px;
    }

    .ss-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .ss-primary-btn,
    .ss-secondary-btn {
        width: 100%;
    }

    .ss-hero-stats {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }

    .ss-stat {
        flex: 0 0 calc(50% - 5px);
        justify-content: flex-start;
    }

    .ss-stat-divider {
        display: none;
    }

    .ss-security-bar {
        bottom: 15px;
        width: calc(100% - 30px);
        border-radius: 16px;
    }

    .ss-security-item {
        flex: 0 0 100%;
        padding: 4px 0;
    }

    section {
        padding: 60px 20px !important;
    }

        section h2 {
            font-size: 34px !important;
        }

        section > div > div:last-child {
            transform: scale(.9);
            margin-top: -20px;
        }

        section a {
            width: 100%;
            justify-content: center;
        }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .mobile-topbar {
        padding: 9px 12px;
        min-height: 58px;
    }

        .mobile-topbar .brand {
            font-size: 14px;
        }

        .theme-toggle,
        .mobile-topbar .btn {
            width: 36px;
            height: 36px;
        }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    section h2 {
        font-size: 30px !important;
    }

    section > div > div:last-child {
        transform: scale(.82);
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .flip-card-inner {
        transition: none;
    }

    .flip-card:hover .flip-card-inner {
        transform: none;
    }
}


/*Contact*/

/* =========================================
   CONTACT SECTION
   ========================================= */

.contact-section {
    width: 100%;
    padding: 90px 7%;
    background: #FFFFFF;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   HEADING
   ========================================= */

.contact-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.contact-badge {
    display: inline-block;
    padding: 7px 16px;
    margin-bottom: 15px;
    border-radius: 50px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-heading h2 {
    margin: 0 0 15px;
    color: var(--text-primary);
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
}

.contact-heading p {
    margin: 0;
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   MAIN WRAPPER
   ========================================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 30px;
    align-items: stretch;
}


/* =========================================
   CONTACT INFORMATION
   ========================================= */

.contact-info {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: var(--primary-grad);
    color: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.contact-info-header {
    margin-bottom: 35px;
}

    .contact-info-header h3 {
        margin: 0 0 10px;
        color: #FFFFFF;
        font-size: 26px;
        font-weight: 700;
    }

    .contact-info-header p {
        margin: 0;
        color: rgba(255, 255, 255, 0.82);
        font-size: 14px;
        line-height: 1.6;
    }


/* =========================================
   CONTACT ITEMS
   ========================================= */

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.contact-item span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.contact-item h4 {
    margin: 0;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================
   SOCIAL ICONS
   ========================================= */

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 25px;
}

    .contact-social a {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.13);
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: 0.3s ease;
    }

        .contact-social a:hover {
            background: #FFFFFF;
            color: var(--primary);
            transform: translateY(-3px);
        }


/* =========================================
   FORM CARD
   ========================================= */

.contact-form-card {
    padding: 40px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

    .contact-form-card h3 {
        margin: 0 0 8px;
        color: var(--text-primary);
        font-size: 26px;
        font-weight: 700;
    }

    .contact-form-card > p {
        margin: 0 0 30px;
        color: #666666;
        font-size: 14px;
    }


/* =========================================
   FORM
   ========================================= */

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-field {
    margin-bottom: 20px;
}

    .contact-field label {
        display: block;
        margin-bottom: 8px;
        color: var(--text-primary);
        font-size: 13px;
        font-weight: 600;
    }

    .contact-field input,
    .contact-field textarea {
        width: 100%;
        padding: 13px 15px;
        box-sizing: border-box;
        border: 1px solid #DDDDDD;
        border-radius: 10px;
        background: #FFFFFF;
        color: #000000;
        font-family: inherit;
        font-size: 14px;
        outline: none;
        transition: 0.3s ease;
    }

    .contact-field textarea {
        resize: vertical;
        min-height: 130px;
    }

        .contact-field input::placeholder,
        .contact-field textarea::placeholder {
            color: #999999;
        }

        .contact-field input:focus,
        .contact-field textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-soft);
        }


/* =========================================
   BUTTON
   ========================================= */

.contact-submit {
    width: 100%;
    padding: 14px 22px;
    border: none;
    border-radius: 10px;
    background: var(--primary-grad);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s ease;
}

    .contact-submit:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        min-height: auto;
    }

    .contact-social {
        margin-top: 10px;
    }
}


@media (max-width: 600px) {

    .contact-section {
        padding: 65px 5%;
    }

    .contact-heading h2 {
        font-size: 32px;
    }

    .contact-info,
    .contact-form-card {
        padding: 28px 22px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/*Features*/

/* =========================================
   FEATURES SECTION
   ========================================= */

.ss-features-section {
    width: 100%;
    padding: 90px 7%;
    background: #FFFFFF;
    box-sizing: border-box;
}

.ss-features-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}


/* Header */

.ss-features-header {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

    .ss-features-header > span {
        display: inline-block;
        margin-bottom: 14px;
        color: var(--primary);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 1.8px;
    }

    .ss-features-header h2 {
        margin: 0 0 15px;
        color: #000000;
        font-size: 40px;
        line-height: 1.2;
        font-weight: 800;
    }

    .ss-features-header p {
        margin: 0;
        color: #666666;
        font-size: 15px;
        line-height: 1.8;
    }


/* Grid */

.ss-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* Card */

.ss-feature-card {
    position: relative;
    padding: 32px 28px;
    min-height: 285px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    /* NO ROUNDED CORNERS */
    border-radius: 0;
    overflow: hidden;
    transition: 0.3s ease;
}

    .ss-feature-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 0;
        background: var(--primary);
        transition: 0.3s ease;
    }

    .ss-feature-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
        border-color: var(--primary);
    }

        .ss-feature-card:hover::before {
            height: 100%;
        }


/* Number */

.ss-feature-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: rgba(138, 63, 5, 0.12);
    font-size: 34px;
    font-weight: 800;
}


/* Icon */

.ss-feature-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    /* NO ROUNDED CORNERS */
    border-radius: 0;
    font-size: 23px;
    transition: 0.3s ease;
}

.ss-feature-card:hover .ss-feature-icon {
    background: var(--primary);
    color: #FFFFFF;
}


/* Content */

.ss-feature-card h3 {
    margin: 0 0 12px;
    color: #000000;
    font-size: 19px;
    font-weight: 700;
}

.ss-feature-card p {
    margin: 0;
    color: #666666;
    font-size: 13px;
    line-height: 1.75;
}


/* Responsive */

@media (max-width: 900px) {
    .ss-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ss-features-section {
        padding: 65px 5%;
    }

    .ss-features-header h2 {
        font-size: 30px;
    }

    .ss-features-grid {
        grid-template-columns: 1fr;
    }
}

/*Services*/


.ss-services-section {
    width: 100%;
    padding: 90px 7%;
    background: #FFFFFF;
    box-sizing: border-box;
}

.ss-services-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   HEADER
   ========================================= */

.ss-services-header {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.ss-services-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.ss-services-header h2 {
    margin: 0 0 16px;
    color: #000000;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
}

    .ss-services-header h2 span {
        color: var(--primary);
    }

.ss-services-header p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================
   SERVICES GRID
   ========================================= */

.ss-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}


/* =========================================
   SERVICE CARD
   ========================================= */

.ss-service-card {
    position: relative;
    min-height: 300px;
    padding: 28px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    /* NO ROUNDED CORNERS */
    border-radius: 0;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

    .ss-service-card:hover {
        border-color: var(--primary);
        transform: translateY(-6px);
        box-shadow: var(--shadow);
    }


/* =========================================
   TOP
   ========================================= */

.ss-service-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px;
}


/* =========================================
   ICON
   ========================================= */

.ss-service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    /* NO ROUNDED CORNERS */
    border-radius: 0;
    font-size: 22px;
    transition: 0.3s ease;
}

.ss-service-card:hover .ss-service-icon {
    background: var(--primary);
    color: #FFFFFF;
}


/* =========================================
   NUMBER
   ========================================= */

.ss-service-number {
    color: rgba(138, 63, 5, 0.15);
    font-size: 28px;
    font-weight: 800;
}


/* =========================================
   CONTENT
   ========================================= */

.ss-service-card h3 {
    margin: 0 0 12px;
    color: #000000;
    font-size: 19px;
    font-weight: 700;
}

.ss-service-card p {
    margin: 0;
    color: #666666;
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================
   LINK
   ========================================= */

.ss-service-link {
    margin-top: auto;
    padding-top: 25px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

    .ss-service-link i {
        transition: 0.3s ease;
    }

    .ss-service-link:hover {
        color: var(--primary-dark);
    }

        .ss-service-link:hover i {
            transform: translateX(5px);
        }


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1100px) {

    .ss-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 650px) {

    .ss-services-section {
        padding: 65px 5%;
    }

    .ss-services-header h2 {
        font-size: 32px;
    }

    .ss-services-grid {
        grid-template-columns: 1fr;
    }

    .ss-service-card {
        min-height: 270px;
    }
}

/* =========================================================
   SMART SOCIETY - PREMIUM LANDING ANIMATIONS
   ========================================================= */

/* ---------- Base Reveal ---------- */

.reveal,
.ss-features-section,
.ss-services-section,
.contact-section {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.22, 1, .36, 1);
}

    .reveal.show,
    .ss-features-section.show,
    .ss-services-section.show,
    .contact-section.show {
        opacity: 1;
        transform: translateY(0);
    }


/* ---------- HERO ---------- */

.ss-hero-left {
    animation: heroContentIn 1s cubic-bezier(.22, 1, .36, 1) both;
}

.ss-eyebrow {
    animation: heroBadgeIn 0.8s ease both;
    animation-delay: .15s;
}

.ss-hero-title {
    animation: heroTitleIn 1s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: .25s;
}

.ss-hero-description {
    animation: heroTextIn .9s ease both;
    animation-delay: .45s;
}

.ss-hero-actions {
    animation: heroTextIn .9s ease both;
    animation-delay: .6s;
}

.ss-hero-stats {
    animation: heroTextIn .9s ease both;
    animation-delay: .75s;
}


/* ---------- HERO NAV ---------- */

.ss-hero-nav {
    animation: navDrop .8s cubic-bezier(.22, 1, .36, 1) both;
}

.ss-logo-shield {
    animation: logoPulse 3s ease-in-out infinite;
}


/* ---------- HERO BUTTONS ---------- */

.ss-primary-btn,
.ss-secondary-btn,
.ss-login-btn {
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

    .ss-primary-btn:hover,
    .ss-secondary-btn:hover,
    .ss-login-btn:hover {
        transform: translateY(-4px);
    }

    .ss-primary-btn:hover {
        box-shadow: 0 12px 30px rgba(138, 63, 5, .28);
    }


/* ---------- HERO STATS ---------- */

.ss-stat {
    transition: transform .35s ease;
}

    .ss-stat:hover {
        transform: translateY(-7px);
    }

.ss-stat-icon {
    transition: transform .4s ease, box-shadow .4s ease;
}

.ss-stat:hover .ss-stat-icon {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 10px 25px rgba(138, 63, 5, .18);
}


/* ---------- ABOUT SECTION ---------- */

.ss-hero + section h2 {
    animation: aboutTitleReveal 1s ease both;
}

.ss-hero + section img {
    animation: phoneFloat 4s ease-in-out infinite;
}

.ss-hero + section > div > div:last-child > div:first-child {
    animation: circlePulse 5s ease-in-out infinite;
}


/* ---------- ABOUT FEATURE CARDS ---------- */

.ss-hero + section div[style*="grid-template-columns"] > div {
    opacity: 0;
    transform: translateY(25px);
    animation: cardReveal .7s cubic-bezier(.22, 1, .36, 1) forwards;
}

    .ss-hero + section div[style*="grid-template-columns"] > div:nth-child(1) {
        animation-delay: .1s;
    }

    .ss-hero + section div[style*="grid-template-columns"] > div:nth-child(2) {
        animation-delay: .2s;
    }

    .ss-hero + section div[style*="grid-template-columns"] > div:nth-child(3) {
        animation-delay: .3s;
    }

    .ss-hero + section div[style*="grid-template-columns"] > div:nth-child(4) {
        animation-delay: .4s;
    }

    .ss-hero + section div[style*="grid-template-columns"] > div:hover {
        transform: translateY(-8px) !important;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
    }


.ss-phone-frame {
    animation: phoneFloat 4s ease-in-out infinite;
    will-change: transform;
}


    /* Phone screen itself must NOT animate */
    .ss-phone-frame img {
        animation: none !important;
        transform: none !important;
    }


/* Smooth floating animation */
@keyframes phoneFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ---------- FEATURE CARDS ---------- */

.ss-feature-card {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}

.ss-features-section.show .ss-feature-card {
    opacity: 1;
    transform: translateY(0);
}

.ss-feature-card:nth-child(1) {
    transition-delay: .05s;
}

.ss-feature-card:nth-child(2) {
    transition-delay: .12s;
}

.ss-feature-card:nth-child(3) {
    transition-delay: .19s;
}

.ss-feature-card:nth-child(4) {
    transition-delay: .26s;
}

.ss-feature-card:nth-child(5) {
    transition-delay: .33s;
}

.ss-feature-card:nth-child(6) {
    transition-delay: .40s;
}

.ss-feature-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
}

.ss-feature-icon {
    transition: transform .4s ease, background .3s ease;
}

.ss-feature-card:hover .ss-feature-icon {
    transform: scale(1.12) rotate(5deg);
}


/* ---------- SERVICE CARDS ---------- */

.ss-service-card {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}

.ss-services-section.show .ss-service-card {
    opacity: 1;
    transform: translateY(0);
}

.ss-service-card:nth-child(1) {
    transition-delay: .05s;
}

.ss-service-card:nth-child(2) {
    transition-delay: .10s;
}

.ss-service-card:nth-child(3) {
    transition-delay: .15s;
}

.ss-service-card:nth-child(4) {
    transition-delay: .20s;
}

.ss-service-card:nth-child(5) {
    transition-delay: .25s;
}

.ss-service-card:nth-child(6) {
    transition-delay: .30s;
}

.ss-service-card:nth-child(7) {
    transition-delay: .35s;
}

.ss-service-card:nth-child(8) {
    transition-delay: .40s;
}

.ss-service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
}

.ss-service-icon {
    transition: transform .4s ease, box-shadow .4s ease;
}

.ss-service-card:hover .ss-service-icon {
    transform: scale(1.15) rotate(-6deg);
    box-shadow: 0 10px 25px rgba(138, 63, 5, .20);
}

.ss-service-link i {
    transition: transform .3s ease;
}

.ss-service-link:hover i {
    transform: translateX(6px);
}


/* ---------- SECURITY BAR ---------- */

.ss-security-item {
    transition: transform .35s ease;
}

    .ss-security-item:hover {
        transform: translateY(-5px);
    }

.ss-security-icon {
    transition: transform .4s ease;
}

.ss-security-item:hover .ss-security-icon {
    transform: scale(1.12) rotate(5deg);
}


/* ---------- CONTACT ---------- */

.contact-heading {
    animation: contactHeading .9s ease both;
}

.contact-info,
.contact-form-card {
    transition: transform .4s ease, box-shadow .4s ease;
}

    .contact-info:hover,
    .contact-form-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, .10);
    }

.contact-icon {
    transition: transform .35s ease, box-shadow .35s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 25px rgba(138, 63, 5, .18);
}


/* ---------- CONTACT SOCIAL ---------- */

.contact-social a {
    transition: transform .3s ease, background .3s ease, color .3s ease;
}

    .contact-social a:hover {
        transform: translateY(-5px) scale(1.08);
    }


/* ---------- CTA ---------- */

.hero-card {
    animation: ctaReveal 1s cubic-bezier(.22, 1, .36, 1) both;
}

    .hero-card:hover {
        transform: translateY(-8px) !important;
    }

    .hero-card .btn {
        transition: transform .3s ease, box-shadow .3s ease;
    }

        .hero-card .btn:hover {
            transform: translateY(-4px) scale(1.02);
        }


/* ---------- FOOTER ---------- */

footer {
    animation: footerReveal 1s ease both;
}

    footer a {
        transition: transform .3s ease, color .3s ease;
    }

        footer a:hover {
            transform: translateY(-3px);
        }


/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes navDrop {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateX(-55px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes heroBadgeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(35px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}


@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}


@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-14px) rotate(1deg);
    }
}


@keyframes circlePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}


@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes aboutTitleReveal {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes contactHeading {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes ctaReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes footerReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 
   REDUCED MOTION
    */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}