/* =========================================================
   SOUTH STREET JSC - Website Theme
   Tone: Xanh la (green) + Tim (purple) - theo logo cong ty
   Phong cach: sang, sach, hien dai
   ========================================================= */

:root {
    --green: #5fb83a;
    --green-dark: #3f9540;
    --green-light: #9ddc6e;
    --purple: #9b4f96;
    --purple-dark: #6a2c6e;
    --purple-light: #c98bc6;
    --cyan: var(--green-dark);
    --bg-light: #f4f6fb;
    --bg-white: #ffffff;
    --bg-dark: #1c1f2b;
    --text-dark: #1f2433;
    --text-light: #1f2433;
    --text-muted: #6b7280;
    --card-bg: #ffffff;
    --card-border: rgba(31, 36, 51, 0.08);
    --radius: 14px;
    --gradient-main: linear-gradient(135deg, var(--green) 0%, var(--purple) 100%);
    --gradient-glow: linear-gradient(135deg, var(--green) 0%, var(--purple-light) 100%);
    --shadow-card: 0 6px 24px rgba(31, 36, 51, 0.06);
    --shadow-card-hover: 0 16px 40px rgba(155, 79, 150, 0.18);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Liquid glass (iOS 26 style) */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-strong: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.7);
    --glass-blur: 22px;
    --glass-shadow: 0 8px 32px rgba(31, 36, 51, 0.10), inset 0 1px 1px rgba(255,255,255,0.6), inset 0 -1px 1px rgba(31,36,51,0.04);
    --glass-shadow-hover: 0 18px 46px rgba(155, 79, 150, 0.20), inset 0 1px 1px rgba(255,255,255,0.7), inset 0 -1px 1px rgba(31,36,51,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', 'Be Vietnam Pro', Roboto, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Animated background ===== */
.bg-fx {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 20%, rgba(155, 79, 150, 0.10), transparent 40%),
        radial-gradient(circle at 85% 10%, rgba(95, 184, 58, 0.12), transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(95, 184, 58, 0.08), transparent 45%),
        var(--bg-light);
}
.bg-fx::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(155,79,150,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95,184,58,0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: gridMove 30s linear infinite;
    opacity: 0.6;
}
@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 48px 48px; }
}

/* Floating colour orbs - give the liquid glass surfaces something to refract */
.bg-fx::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(380px 380px at 10% 15%, rgba(95, 184, 58, 0.35), transparent 70%),
        radial-gradient(420px 420px at 90% 25%, rgba(155, 79, 150, 0.32), transparent 70%),
        radial-gradient(360px 360px at 25% 85%, rgba(155, 79, 150, 0.22), transparent 70%),
        radial-gradient(420px 420px at 80% 90%, rgba(95, 184, 58, 0.28), transparent 70%);
    filter: blur(10px);
    animation: orbDrift 40s ease-in-out infinite alternate;
}
@keyframes orbDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(2%, -3%) scale(1.06); }
    100% { transform: translate(-2%, 3%) scale(1); }
}

/* ===== Liquid Glass (iOS 26 style) ===== */
.glass {
    position: relative;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    isolation: isolate;
}
.glass::before {
    /* top specular highlight */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.15) 35%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.35) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.glass::after {
    /* soft inner glow / sheen */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 45%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}
.glass:hover {
    box-shadow: var(--glass-shadow-hover);
}
.glass > * { position: relative; z-index: 2; }

/* Apply the liquid-glass specular highlight to all glass-styled surfaces */
.navbar, .badge, .lang-switch, .btn-outline,
.stat-card, .card, .logo-tile, .product-card,
.filter-bar a, .form-card, .form-control,
.contact-info-item, .auth-card, .table-wrap, .hero-visual {
    position: relative;
    isolation: isolate;
}
.navbar::before, .badge::before, .lang-switch::before, .btn-outline::before,
.stat-card::before, .card::before, .logo-tile::before, .product-card::before,
.filter-bar a::before, .form-card::before,
.contact-info-item::before, .auth-card::before, .table-wrap::before, .hero-visual .glass-sheen {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 40%);
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: overlay;
}

/* ===== Header / Navbar ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 32px rgba(31,36,51,0.05);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.5px;
}
.navbar .logo img { height: 48px; width: auto; }
.nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
}
.nav-links a {
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--purple-dark);
    background: rgba(95, 184, 58, 0.10);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 2px;
    background: var(--gradient-glow);
    border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 800;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    box-shadow: var(--glass-shadow);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--text-muted);
}
.lang-switch a { color: var(--text-muted); transition: var(--transition); }
.lang-switch a.active { color: #fff; background: var(--gradient-main); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lang-switch span { color: var(--card-border); }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(155, 79, 150, 0.30);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(155, 79, 150, 0.45);
}
.btn-outline {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    color: var(--text-dark);
}
.btn-outline:hover {
    border-color: var(--purple-light);
    background: rgba(155,79,150,0.10);
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow-hover);
}
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-danger { background: linear-gradient(135deg,#ef4444,#b91c1c); color:#fff; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background:none; border:none; }
.hamburger span { width: 26px; height: 2px; background: var(--text-dark); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
    padding: 90px 0 70px;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    font-size: 13px;
    font-weight: 700;
    color: var(--purple-dark);
    margin-bottom: 20px;
}
.badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(95,184,58,0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(95,184,58,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(95,184,58,0); }
    100% { box-shadow: 0 0 0 0 rgba(95,184,58,0); }
}
.hero h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 18px;
    color: var(--text-dark);
}
.hero h1 .grad {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p { color: var(--text-muted); font-size: 17px; margin-bottom: 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
    position: relative;
    height: 420px;
    border-radius: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.hero-visual::before, .hero-visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}
.hero-visual::before {
    width: 220px; height: 220px;
    background: var(--green);
    opacity: 0.45;
    top: -40px; left: -40px;
    animation: float1 8s ease-in-out infinite;
}
.hero-visual::after {
    width: 260px; height: 260px;
    background: var(--purple);
    opacity: 0.40;
    bottom: -60px; right: -40px;
    animation: float2 10s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,40px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,-30px)} }
.hero-visual .core {
    position: relative;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
    font-size: 64px;
    color: #fff;
    box-shadow: 0 0 80px rgba(155,79,150,0.35);
    animation: spin 16s linear infinite;
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.hero-visual .core i { animation: counterspin 16s linear infinite; }
@keyframes counterspin { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
.hero-visual .ring {
    position: absolute;
    border: 1px dashed rgba(31,36,51,0.12);
    border-radius: 50%;
}
.ring1 { width: 260px; height: 260px; animation: spin 30s linear infinite; }
.ring2 { width: 340px; height: 340px; animation: spin 45s linear infinite reverse; }

/* ===== Stats ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}
.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--purple-light); box-shadow: var(--glass-shadow-hover); }
.stat-card .num {
    font-size: 34px;
    font-weight: 900;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-card .label { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: rgba(95, 184, 58, 0.04); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head .tag {
    display: inline-block;
    color: var(--green-dark);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-head h2 { font-size: 34px; font-weight: 900; margin-bottom: 14px; color: var(--text-dark); }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ===== Cards Grid ===== */
.grid {
    display: grid;
    gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--glass-shadow-hover);
}
.card .icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--gradient-main);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; color: var(--text-dark); }
.card p { color: var(--text-muted); font-size: 14.5px; }

/* ===== Logo grid (partners/customers) ===== */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.logo-tile {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 12px;
    padding: 24px 16px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px;
    text-align: center;
    transition: var(--transition);
    min-height: 120px;
}
.logo-tile:hover { border-color: var(--purple-light); transform: translateY(-4px); box-shadow: var(--glass-shadow-hover); }
.logo-tile .ph {
    width: 56px; height: 56px; border-radius: 12px;
    background: var(--gradient-main);
    display:flex; align-items:center; justify-content:center;
    font-weight: 900; font-size: 20px; color:#fff;
}
.logo-tile .name { font-weight: 700; font-size: 14px; color: var(--text-dark); }
.logo-tile .country { font-size: 12px; color: var(--text-muted); }

/* ===== Product cards ===== */
.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--glass-shadow-hover); border-color: var(--purple-light); }
.product-card .thumb {
    height: 180px;
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: rgba(255,255,255,0.85);
    overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 18px; }
.product-card .cat {
    display: inline-block;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: var(--green-dark); margin-bottom: 8px;
}
.product-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--text-dark); }
.product-card p { color: var(--text-muted); font-size: 14px; }

/* ===== Filter bar ===== */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-bar a {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    box-shadow: var(--glass-shadow);
    color: var(--text-dark);
    font-size: 13.5px; font-weight: 700;
    transition: var(--transition);
}
.filter-bar a:hover, .filter-bar a.active {
    background: var(--gradient-main);
    border-color: transparent;
    color: #fff;
}

/* ===== Timeline (projects) ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: '';
    position: absolute; left: 10px; top: 0; bottom: 0;
    width: 2px;
    background: var(--gradient-main);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
    content: '';
    position: absolute; left: -34px; top: 4px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--bg-light);
    border: 3px solid var(--purple);
}
.timeline-item .year {
    display: inline-block;
    font-size: 12px; font-weight: 800; color: var(--green-dark);
    background: rgba(95,184,58,0.12);
    padding: 3px 12px; border-radius: 999px; margin-bottom: 8px;
}
.timeline-item h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; color: var(--text-dark); }
.timeline-item p { color: var(--text-muted); font-size: 14.5px; }

/* ===== Forms ===== */
.form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
    padding: 36px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--purple-light);
    background: rgba(255,255,255,0.55);
    box-shadow: 0 0 0 3px rgba(155,79,150,0.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}
.alert-success { background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.3); color: #15803d; }
.alert-error { background: rgba(239,68,68,0.10); border: 1px solid rgba(239,68,68,0.3); color: #b91c1c; }
.alert-info { background: rgba(95,184,58,0.10); border: 1px solid rgba(95,184,58,0.3); color: #3f9540; }

/* ===== Contact info cards ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 18px; border-radius: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    margin-bottom: 16px;
}
.contact-info-item .ic {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--gradient-main);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 18px;
}
.contact-info-item h4 { font-size: 15px; font-weight: 800; margin-bottom: 4px; color: var(--text-dark); }
.contact-info-item p { color: var(--text-muted); font-size: 14px; }

/* ===== Footer ===== */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 50px 0 24px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer-grid h4 { font-size: 15px; font-weight: 800; margin-bottom: 16px; color: var(--text-dark); }
.footer-grid p, .footer-grid a { color: var(--text-muted); font-size: 14px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a:hover { color: var(--purple); }
.footer-bottom {
    text-align: center; padding-top: 24px; border-top: 1px solid var(--card-border);
    color: var(--text-muted); font-size: 13px;
}

/* ===== Page header (inner pages) ===== */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
}
.page-header h1 { font-size: 38px; font-weight: 900; margin-bottom: 10px; color: var(--text-dark); }
.page-header p { color: var(--text-muted); }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-top: 10px; }
.breadcrumb a { color: var(--purple); }

/* ===== Auth pages ===== */
.auth-wrap {
    min-height: 70vh;
    display: flex; align-items: center; justify-content: center;
    padding: 60px 20px;
}
.auth-card {
    width: 100%; max-width: 440px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
    padding: 40px;
}
.auth-card h2 { font-size: 26px; font-weight: 900; margin-bottom: 6px; text-align: center; color: var(--text-dark); }
.auth-card .sub { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-card .switch { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-card .switch a { color: var(--purple); font-weight: 700; }

/* ===== Admin layout ===== */
.admin-wrap { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar {
    background: var(--bg-dark);
    border-right: 1px solid var(--card-border);
    padding: 24px 16px;
}
.admin-sidebar .brand { font-weight: 900; font-size: 18px; margin-bottom: 30px; padding: 0 8px;
    background: var(--gradient-main); -webkit-background-clip: text; background-clip:text; color: transparent; }
.admin-sidebar a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: 10px;
    font-weight: 600; font-size: 14px;
    color: #b6bccf; margin-bottom: 4px;
    transition: var(--transition);
}
.admin-sidebar a:hover, .admin-sidebar a.active {
    background: var(--gradient-main); color: #fff;
}
.admin-main { padding: 28px 32px; }
.admin-topbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.admin-topbar h1 { font-size: 26px; font-weight: 900; color: var(--text-dark); }

.table-wrap {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
    overflow: auto;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--card-border); white-space: nowrap; color: var(--text-dark); }
th { background: rgba(95,184,58,0.05); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
tr:last-child td { border-bottom: none; }
td img.thumb-sm { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; }
.badge-role { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.badge-admin { background: rgba(155,79,150,0.15); color: var(--purple-dark); }
.badge-editor { background: rgba(95,184,58,0.15); color: var(--green-dark); }
.badge-employee { background: rgba(95,184,58,0.10); color: var(--green-dark); }
.badge-active { background: rgba(34,197,94,0.12); color: #15803d; }
.badge-pending { background: rgba(234,179,8,0.15); color: #a16207; }
.badge-disabled { background: rgba(239,68,68,0.12); color: #b91c1c; }
.actions-cell { display: flex; gap: 8px; }

.dash-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 30px; }

/* ===== Animations on scroll ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { height: 280px; order: -1; }
    .stats { grid-template-columns: repeat(2,1fr); }
    .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
    .logo-grid { grid-template-columns: repeat(3,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .admin-wrap { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .dash-cards { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 34px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: repeat(2,1fr); }
    .form-row { grid-template-columns: 1fr; }
    .dash-cards { grid-template-columns: 1fr; }
    .nav-links.show {
        display: flex; flex-direction: column;
        position: absolute; top: 76px; left: 0; right: 0;
        background: rgba(255,255,255,0.97);
        padding: 16px; border-bottom: 1px solid var(--card-border);
    }
}
