/*
Theme Name: PrismaLateral
Theme URI: https://prismalateral.com
Author: PrismaLateral Team
Version: 2.1 — Light Edition
*/

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
input, button, textarea, select { font-family: inherit; color: inherit; }

/* ============================================================
   DESIGN TOKENS — PREMIUM ARCHITECTURE
   ============================================================ */
:root {
    /* Backgrounds */
    --color-bg:          #fdfdfd;
    --color-bg-2:        #ffffff;
    --color-surface:     #ffffff;
    --color-surface-2:   #f4f5f7;
    --color-surface-raised: #ffffff;

    /* Text */
    --color-text:        #000000;
    --color-text-muted:  #5c5c5c;
    --color-text-subtle: #8a8a8a;
    --color-white:       #ffffff;

    /* Accent / Brand */
    --color-accent:      #3973ac;
    --color-accent-hover:#264d73;
    --color-accent-light:rgba(0, 153, 255, 0.1);
    --color-accent-mid: #ecf2f9;

    /* Borders */
    --color-border:      #eaeaea;
    --color-border-light:#f5f5f5;

    /* Status */
    --color-success:     #10b981;
    --color-warning:     #d97706;
    --color-error:       #ef4444;
    --color-info:        #3b82f6;

    /* Shadow */
    --shadow-xs:   0 1px 2px rgba(0,0,0,0.03);
    --shadow-sm:   0 4px 12px rgba(0,0,0,0.04);
    --shadow-md:   0 12px 32px rgba(0,0,0,0.06);
    --shadow-lg:   0 24px 60px rgba(0,0,0,0.08);
    --shadow-xl:   0 32px 80px rgba(0,0,0,0.12);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Inter', -apple-system, sans-serif;

    /* Spacing */
    --section-gap: 120px;
    --container:   1320px;

    /* Radius */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-full: 999px;
}

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--color-text); }
h4, h5, h6  { font-family: var(--font-body); font-weight: 600; color: var(--color-text); }
p  { color: var(--color-text-muted); line-height: 1.75; }
a  { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-hover); }
img { max-width: 100%; height: auto; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-gap) 0;
}

.section-dark {
    background: #f1f5f9;
}

.section-white {
    background: #ffffff;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    background: var(--color-accent-light);
    border: 1px solid var(--color-accent-mid);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 1200px;
}

.section-header { margin-bottom: 16px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}
.btn-outline:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-1px);
}

.btn-ghost {
    background: var(--color-surface-2);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.btn-ghost:hover {
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-lg  { padding: 15px 36px; font-size: 15px; border-radius: 14px; }
.btn-sm  { padding: 8px 18px; font-size: 13px; border-radius: 8px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.3s;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 68px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo:hover { color: var(--color-accent); }

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    font-family: var(--font-body);
}

.logo-accent { color: var(--color-accent); }

/* Nav */
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.site-nav a {
    display: block;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: all 0.18s;
    text-decoration: none;
    white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    margin-left: auto;
}
.hamburger span { display: block; height: 2px; background: var(--color-text); border-radius: 2px; transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

@media (max-width: 1100px) {
    .header-actions { display: none; }
}
.mobile-nav-auth { display: none; }
.site-nav.open .mobile-nav-auth {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 14px;
    margin-top: 10px;
    border-top: 1px solid var(--color-border);
}
.mobile-nav-auth .btn { flex: 1; min-width: 100px; justify-content: center; text-align: center; }

/* ============================================================
   PAGE HEADER BANNER
   ============================================================ */
.page-header {
    background: url('assets/images/office.png') center/cover no-repeat;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
}

.page-header .container { position: relative; }

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto;
}

.page-breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.7); }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb .sep { opacity: 0.5; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
/* 
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--color-bg));
} */

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    line-height: 1.12;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}
.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ============================================================
   BRANDS STRIP
   ============================================================ */
.brands-strip {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 28px 0;
}

.brands-strip-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-align: center;
}

.brands-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.brand-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.2s;
}
.brand-pill:hover { border-color: var(--color-accent); color: var(--color-accent); background: var(--color-accent-light); }

.brand-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.brand-dot {
    width: 7px; height: 7px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.25s;
    box-shadow: var(--shadow-xs);
}
.card:hover {
    border-color: rgba(37,99,235,0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card-icon {
    font-size: 28px;
    margin-bottom: 20px;
    width: 56px; height: 56px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}

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

/* ============================================================
   STATS
   ============================================================ */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2px;
    background: var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-item {
    background: var(--color-surface);
    padding: 40px 32px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   PROJECT CARDS (No Images)
   ============================================================ */
.project-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.project-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(37,99,235,0.2);
}

.project-card-header {
    padding: 20px 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.project-card-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card-status {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}
.project-card-status.status-new { background: #dbeafe; color: #2563eb; }
.project-card-status.status-review { background: #ffedd5; color: #ea580c; }
.project-card-status.status-proposal { background: #ede9fe; color: #7c3aed; }
.project-card-status.status-completed { background: #dcfce7; color: #16a34a; }

.project-card-body {
    padding: 16px 20px 20px;
    flex: 1;
}

.project-card-body h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
    line-height: 1.4;
}

.project-card-body h3 a {
    color: inherit;
    text-decoration: none;
}
.project-card-body h3 a:hover {
    color: var(--color-accent);
}

.project-card-location {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--color-text-subtle);
    font-weight: 500;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-card-footer {
    padding: 12px 20px;
    background: var(--color-bg-2);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================================
   HOW-IT-WORKS
   ============================================================ */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 32px;
    margin-top: 56px;
    position: relative;
}

.how-step {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-xs);
}

.how-step-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.how-step h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.how-step p { font-size: 14px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: #ffffff;
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e2e8f0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #e2e8f0, transparent);
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230f172a' fill-opacity='0.025'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-section .section-label {
    background: rgba(37,99,235,0.08);
    border-color: rgba(37,99,235,0.2);
    color: #2563eb;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #0f172a;
    margin: 12px 0 12px;
}

.cta-section p { color: #475569; font-size: 1rem; max-width: 480px; margin: 0 auto 28px; }

.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

.cta-section .btn-primary {
    background: #0f172a;
    color: #fff;
}
.cta-section .btn-primary:hover { background: #1e293b; }

.cta-section .btn-ghost {
    background: transparent;
    color: #0f172a;
    border-color: #e2e8f0;
}
.cta-section .btn-ghost:hover { background: #f8f9fb; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 8px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-mid));
}

.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px; top: 4px;
    width: 12px; height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-year {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.timeline-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--color-text); }
.timeline-desc { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; }

.values-grid { display: flex; flex-direction: column; gap: 16px; }

.value-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}
.value-card:hover { border-color: var(--color-accent); background: var(--color-accent-light); }

.value-icon {
    font-size: 22px;
    width: 44px; height: 44px;
    background: var(--color-accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-card h4 { font-size: 14px; margin-bottom: 4px; color: var(--color-text); }
.value-card p { font-size: 13px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.team-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all 0.25s;
    box-shadow: var(--shadow-xs);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(37,99,235,0.2); }

.team-avatar {
    font-size: 40px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 3px solid var(--color-accent-mid);
}

.team-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; color: var(--color-text); }
.team-role { font-size: 12px; font-weight: 600; color: var(--color-accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.team-bio { font-size: 13px; color: var(--color-text-muted); line-height: 1.7; }

/* ============================================================
   BRANDS PAGE
   ============================================================ */
.brand-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.25s;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.brand-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(37,99,235,0.2); }

.brand-logo-area {
    height: 90px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 4px;
}

.brand-name-heading { font-weight: 700; font-size: 1.05rem; color: var(--color-text); }
.brand-cat-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}
.brand-tagline { font-size: 13px; color: var(--color-text-muted); line-height: 1.6; flex: 1; }

/* ============================================================
   CONSULTING PAGE
   ============================================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}
.process-step {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: all 0.2s;
}
.process-step:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.process-num {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-accent);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 12px;
}
.process-step h4 { font-size: 1rem; margin-bottom: 10px; color: var(--color-text); }
.process-step p  { font-size: 13px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
}

.contact-info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-xs);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border-light);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
    width: 40px; height: 40px;
    background: var(--color-accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-subtle); margin-bottom: 4px; }
.contact-info-value { font-size: 14px; color: var(--color-text); font-weight: 500; line-height: 1.6; }

/* ============================================================
   FORMS
   ============================================================ */
.form-container {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px 48px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 22px; }
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    transition: all 0.2s;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-subtle); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-row .form-group { margin-bottom: 0; }

.form-hint { font-size: 12px; color: var(--color-text-subtle); margin-top: 4px; }

/* Step Progress */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.step-item { display: flex; align-items: center; flex-direction: column; gap: 6px; }

.step-circle {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
}
.step-circle.active {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}
.step-circle.done {
    border-color: var(--color-success);
    background: var(--color-success);
    color: #fff;
}

.step-label { font-size: 12px; font-weight: 600; color: var(--color-text-subtle); }
.step-label.active { color: var(--color-accent); }

.step-line {
    flex: 1;
    height: 2px;
    background: var(--color-border);
    margin: 0 8px 18px;
    transition: background 0.3s;
    min-width: 60px;
}
.step-line.done { background: var(--color-success); }

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--color-bg);
}
.file-upload-area:hover, .file-upload-area.dragover {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}
.file-upload-icon { font-size: 32px; display: block; margin-bottom: 10px; }
.file-upload-area p { font-size: 14px; color: var(--color-text-muted); margin: 0; }
.file-types { font-size: 12px; color: var(--color-text-subtle); margin-top: 6px !important; }

.file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.file-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.file-item-icon { font-size: 18px; }
.file-item-name { flex: 1; font-size: 13px; color: var(--color-text); font-weight: 500; }
.file-item-remove { cursor: pointer; color: var(--color-error); width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(220,38,38,0.08); font-size: 14px; }

/* Form navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

/* Submission Success */
.submission-success {
    text-align: center;
    padding: 40px 32px;
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}
.success-icon {
    width: 64px; height: 64px;
    background: var(--color-success);
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(22,163,74,0.3);
}

/* ============================================================
   MATCHING PRODUCTS
   ============================================================ */
.matching-products-section {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.matching-products-section h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}
.matching-products-section .subtitle { font-size: 14px; color: var(--color-text-muted); margin-bottom: 24px; }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.filter-sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-xs);
}

.filter-group { margin-bottom: 28px; }
.filter-group h3 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-subtle);
    margin-bottom: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.15s;
    font-weight: 500;
}
.filter-option:hover { background: var(--color-accent-light); color: var(--color-accent); }
.filter-option.active { background: var(--color-accent-light); color: var(--color-accent); font-weight: 600; }
.filter-option input { accent-color: var(--color-accent); }

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

.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s;
    box-shadow: var(--shadow-xs);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(37,99,235,0.2); }

.product-image {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--color-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.product-info { padding: 18px; }
.product-brand { font-size: 11px; font-weight: 700; color: var(--color-accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.product-info h3 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; color: var(--color-text); line-height: 1.4; }
.product-description { font-size: 12.5px; color: var(--color-text-muted); line-height: 1.6; }
.product-footer { margin-top: 12px; }
.product-price { font-size: 14px; font-weight: 700; color: var(--color-success); }
.product-price-locked { font-size: 13px; color: var(--color-text-subtle); }

.product-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-xs);
    transition: all 0.2s;
}
.dashboard-stat-card:hover { box-shadow: var(--shadow-sm); }

.dashboard-stat-icon {
    width: 54px; height: 54px;
    border-radius: var(--radius-md);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-total   { background: #eff6ff; }
.icon-new     { background: #faf5ff; }
.icon-review  { background: #fffbeb; }
.icon-completed { background: #f0fdf4; }

.dashboard-stat-num { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); color: var(--color-text); line-height: 1; }
.dashboard-stat-label { font-size: 12px; color: var(--color-text-subtle); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

.dashboard-table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 13px; }
.dashboard-table thead tr { background: var(--color-bg); }
.dashboard-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-subtle);
    border-bottom: 2px solid var(--color-border);
}
.dashboard-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text);
    vertical-align: top;
    white-space: normal;
}
.dashboard-table tbody tr:hover { background: #fafbff; }

.status-select {
    padding: 6px 10px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    cursor: pointer;
    outline: none;
}
.status-select:focus { border-color: var(--color-accent); }

.notes-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-family: var(--font-body);
    resize: vertical;
    min-height: 60px;
    background: var(--color-bg);
    color: var(--color-text);
    outline: none;
}
.notes-textarea:focus { border-color: var(--color-accent); background: #fff; }

.import-section {
    margin-top: 48px;
    padding: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

/* ============================================================
   LIBRARY
   ============================================================ */
.library-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.library-tab {
    padding: 9px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: var(--font-body);
}
.library-tab:hover { border-color: var(--color-accent); color: var(--color-accent); background: var(--color-accent-light); }
.library-tab.active { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

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

.library-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.25s;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.library-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(37,99,235,0.2); }

.library-item-header { display: flex; gap: 14px; align-items: flex-start; }
.library-item-icon {
    font-size: 28px;
    width: 52px; height: 52px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.library-item h3 { font-family: var(--font-body); font-size: 0.92rem; font-weight: 700; color: var(--color-text); margin-bottom: 4px; line-height: 1.4; }
.library-item-meta { font-size: 11px; font-weight: 600; color: var(--color-accent); text-transform: uppercase; letter-spacing: 1px; }
.library-item p { font-size: 13px; color: var(--color-text-muted); flex: 1; line-height: 1.6; }

.download-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }

.file-type-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
}
.badge-pdf   { background: #fef2f2; color: #dc2626; }
.badge-dwg   { background: #fffbeb; color: #d97706; }
.badge-excel { background: #f0fdf4; color: #16a34a; }
.badge-doc   { background: #eff6ff; color: #2563eb; }
.badge-word  { background: #eff6ff; color: #2563eb; }
.badge-image { background: #fdf2f8; color: #db2777; }
.badge-zip  { background: #f3f4f6; color: #4b5563; }
.badge-other { background: #f3f4f6; color: #6b7280; }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-new       { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.status-under-review {background: #fffbeb;color:#d97706;border:1px solid #fde68a;}
.status-proposal  { background: #faf5ff; color: #7c3aed; border: 1px solid #ddd6fe; }
.status-completed { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #94a3b8; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.6;
}
.footer-contact-item .icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-bottom p { color: #475569; font-size: 13px; margin: 0; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
#toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    max-width: 380px;
    animation: slideIn 0.3s ease;
    transition: all 0.4s;
    border: 1px solid transparent;
}

.toast-success { background: #fff; border-color: #bbf7d0; color: #166534; }
.toast-error   { background: #fff; border-color: #fecaca; color: #991b1b; }
.toast-info    { background: #fff; border-color: var(--color-accent-mid); color: #1e40af; }

@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-anim] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-anim].anim-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .grid-4, .process-steps, .dashboard-stats-grid { grid-template-columns: repeat(2,1fr); }
    .team-grid { grid-template-columns: repeat(2,1fr); }
    .products-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .products-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .site-nav ul { gap: 1px; }
    .site-nav a { padding: 5px 8px; font-size: 12px; }
    .hamburger { display: flex; }
}

@media (max-width: 900px) {
    .site-nav { display: none; }
    .site-nav.open { display: block; }
    .site-nav {
        position: fixed;
        top: 68px; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        padding: 16px;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }
    .site-nav ul { flex-direction: column; gap: 2px; }
    .site-nav a { padding: 12px 16px; border-radius: var(--radius-sm); width: 100%; }
    .site-nav ul { align-items: stretch; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4, .process-steps { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .how-it-works { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 24px; }
    .form-container { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .library-grid, .products-grid { grid-template-columns: 1fr; }
    .dashboard-stats-grid { grid-template-columns: 1fr 1fr; }
    .page-header { padding: 48px 0 40px; }
}

@media (max-width: 480px) {
    .grid-4, .process-steps, .dashboard-stats-grid { grid-template-columns: 1fr; }
    .hero { padding: 80px 0 60px; }
    .hero-buttons { flex-direction: column; }
    .btn-lg { width: 100%; justify-content: center; }
    .how-it-works { grid-template-columns: 1fr; }
}

/* ============================================================
   AUTH PAGES (Login & Register)
   ============================================================ */
.auth-page { min-height: 100vh; background: var(--color-bg); }
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

.auth-brand-panel {
    background: linear-gradient(155deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.auth-brand-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
.auth-logo span { color: #93c5fd; }
.auth-logo-icon {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    font-family: var(--font-body);
}
.auth-brand-content { position: relative; z-index: 1; flex: 1; }
.auth-brand-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}
.auth-brand-content > p { color: rgba(255,255,255,0.65); font-size: 1rem; line-height: 1.7; margin-bottom: 32px; }
.auth-feature-list { display: flex; flex-direction: column; gap: 14px; }
.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
}
.auth-feature span { font-size: 18px; }
.auth-brand-footer { position: relative; z-index: 1; }
.auth-brand-footer p { color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 14px; }
.auth-avatars { display: flex; }
.auth-avatar {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-left: -6px;
}
.auth-avatar:first-child { margin-left: 0; }

.auth-form-panel {
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    overflow-y: auto;
}
.auth-form-wrapper { width: 100%; max-width: 440px; }
.auth-form-header { margin-bottom: 32px; }
.auth-form-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.auth-form-header p { font-size: 14px; color: var(--color-text-muted); }
.auth-form-header a { color: var(--color-accent); font-weight: 600; }

.auth-alert { padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.auth-alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.auth-alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.auth-alert-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

.auth-form { display: flex; flex-direction: column; }

.input-with-icon { position: relative; display: flex; align-items: center; }
.input-with-icon input { padding-left: 42px !important; padding-right: 42px !important; }
.input-icon { position: absolute; left: 14px; font-size: 16px; pointer-events: none; z-index: 1; }
.input-toggle-pw { position: absolute; right: 12px; background: none; border: none; cursor: pointer; font-size: 15px; padding: 4px; opacity: 0.5; }
.input-toggle-pw:hover { opacity: 1; }

.auth-remember { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13.5px; color: var(--color-text-muted); }
.auth-remember label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.auth-remember input { accent-color: var(--color-accent); width: 15px; height: 15px; }
.forgot-link { font-size: 12px; color: var(--color-accent); float: right; font-weight: 500; }

.auth-submit { width: 100%; justify-content: center; margin-bottom: 16px; }

.auth-divider { text-align: center; color: var(--color-text-subtle); font-size: 12px; margin: 16px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--color-border); }
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-terms { font-size: 12px; color: var(--color-text-subtle); text-align: center; margin-top: 16px; }
.auth-terms a { color: var(--color-accent); }

.auth-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--color-text-muted);
}
.auth-terms-check label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; line-height: 1.5; }
.auth-terms-check input { margin-top: 2px; accent-color: var(--color-accent); width: 15px; height: 15px; flex-shrink: 0; }
.auth-terms-check a { color: var(--color-accent); }

@media (max-width: 768px) {
    .auth-split { grid-template-columns: 1fr; }
    .auth-brand-panel { padding: 28px 24px; min-height: auto; }
    .auth-brand-content h2 { font-size: 1.4rem; }
    .auth-feature-list { display: none; }
    .auth-form-panel { padding: 32px 24px; align-items: flex-start; }
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--color-surface);
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideInUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color 0.2s;
}
.modal-close:hover { color: var(--color-text); }

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#wpadminbar {
display: none;
}