:root {
    --primary: #003366;
    --primary-light: #004d99;
    --primary-lighter: #e6f0ff;
    --accent: #c8102e;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--gray-100);
    color: var(--gray-900);
    line-height: 1.6;
    min-height: 100vh;
}

/* LOGIN PAGE */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 20px;
}
.login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 48px 40px;
    width: 100%;
    max-width: 440px;
}
.login-card__logo {
    text-align: center;
    margin-bottom: 32px;
}
.login-card__logo-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
}
.login-card__logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}
.login-card__logo p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 4px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-lighter);
}
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}
.form-check label {
    font-size: 0.85rem;
    color: var(--gray-600);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}
.btn--primary {
    background: var(--primary);
    color: white;
    width: 100%;
}
.btn--primary:hover {
    background: var(--primary-light);
}
.btn--outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn--outline:hover {
    background: var(--primary-lighter);
}
.btn--danger {
    background: var(--danger);
    color: white;
}
.btn--danger:hover {
    background: #b91c1c;
}
.btn--success {
    background: var(--success);
    color: white;
}
.btn--success:hover {
    background: #15803d;
}
.btn--sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}
.btn--ghost {
    background: transparent;
    color: var(--gray-600);
    padding: 6px 10px;
}
.btn--ghost:hover {
    background: var(--gray-100);
}
.login-links {
    text-align: center;
    margin-top: 20px;
}
.login-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}
.login-links a:hover {
    text-decoration: underline;
}
.login-links p {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.login-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: var(--gray-400);
    font-size: 0.8rem;
}
.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--gray-200);
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }
.demo-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--gray-400);
    line-height: 1.4;
}
.quick-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
.quick-login .btn {
    font-size: 0.8rem;
    padding: 8px 10px;
}

/* HEADER */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.header__left {
    display: flex;
    align-items: center;
    gap: 32px;
}
.header__right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-900);
}
.logo__icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.5px;
}
.logo__text {
    font-weight: 700;
    font-size: 1.1rem;
}
.nav {
    display: flex;
    gap: 4px;
}
.nav__link {
    padding: 8px 14px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav__link:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}
.nav__link--active {
    background: var(--primary-lighter);
    color: var(--primary);
}
.lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 2px;
}
.lang-switcher__btn {
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    transition: all 0.2s;
}
.lang-switcher__btn--active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.notification-bell {
    position: relative;
    color: var(--gray-500);
    padding: 6px;
    border-radius: var(--radius);
    transition: all 0.2s;
    text-decoration: none;
}
.notification-bell:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}
.notification-bell__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.user-menu__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-lighter);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
}
.user-menu__name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
}
.user-menu__logout {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}
.user-menu__logout:hover {
    color: var(--danger);
}
.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.burger span {
    width: 20px;
    height: 2px;
    background: var(--gray-600);
    border-radius: 1px;
    transition: all 0.3s;
}

/* MAIN */
.main {
    max-width: 1400px;
    margin: 24px auto;
    padding: 0 24px;
}

/* CARDS */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.card__header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
}
.card__body {
    padding: 24px;
}

/* PROFILE */
.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
}
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}
.profile-info h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.profile-info__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.subscription-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.subscription-badge--standard {
    background: var(--gray-100);
    color: var(--gray-600);
}
.subscription-badge--plus {
    background: #dbeafe;
    color: #1e40af;
}
.subscription-badge--premium {
    background: #fef3c7;
    color: #92400e;
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 0 32px 32px;
}
.stat-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}
.stat-card__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-card__label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* TABS */
.tabs {
    display: flex;
    gap: 2px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    overflow-x: auto;
}
.tab {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.tab:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}
.tab--active {
    background: var(--primary-lighter);
    color: var(--primary);
    font-weight: 600;
}

/* GRID */
.grid {
    display: grid;
    gap: 16px;
}
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* EVENT CARDS */
.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.event-card__image {
    height: 160px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
}
.event-card__date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius);
    padding: 6px 10px;
    text-align: center;
    line-height: 1.2;
}
.event-card__date-badge strong {
    display: block;
    font-size: 1.1rem;
}
.event-card__date-badge small {
    font-size: 0.7rem;
    color: var(--gray-500);
}
.event-card__body {
    padding: 16px;
}
.event-card__format {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.event-card__format--online { background: #dcfce7; color: #166534; }
.event-card__format--offline { background: #fef3c7; color: #92400e; }
.event-card__format--hybrid { background: #e0e7ff; color: #3730a3; }
.event-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}
.event-card__meta {
    font-size: 0.8rem;
    color: var(--gray-500);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.event-card__footer {
    padding: 12px 16px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.event-card__status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}
.event-card__status--upcoming { background: var(--primary-lighter); color: var(--primary); }
.event-card__status--completed { background: var(--gray-100); color: var(--gray-500); }
.event-card__status--active { background: #dcfce7; color: var(--success); }

/* COMMITTEE CARDS */
.committee-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.committee-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.committee-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.committee-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.committee-card__desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 12px;
}
.committee-card__members {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* MEDIA CARDS */
.media-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s;
}
.media-card:hover {
    transform: translateY(-1px);
}
.media-card__body {
    padding: 20px;
}
.media-card__category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.media-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}
.media-card__excerpt {
    font-size: 0.83rem;
    color: var(--gray-500);
    line-height: 1.5;
}
.media-card__footer {
    padding: 12px 20px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--gray-400);
}

/* COMPANY CARDS */
.company-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.2s;
}
.company-card:hover {
    transform: translateY(-1px);
}
.company-card__logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}
.company-card__info {
    flex: 1;
    min-width: 0;
}
.company-card__name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.company-card__industry {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.company-card__desc {
    font-size: 0.8rem;
    color: var(--gray-400);
    line-height: 1.4;
}

/* NETWORKING */
.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
}
.contact-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-lighter);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.contact-card__info {
    flex: 1;
    min-width: 0;
}
.contact-card__name {
    font-weight: 600;
    font-size: 0.9rem;
}
.contact-card__company {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.contact-card__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.status-badge {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}
.status-badge--pending { background: #fef3c7; color: #92400e; }
.status-badge--confirmed { background: #dcfce7; color: #166534; }
.status-badge--rejected { background: #fee2e2; color: #991b1b; }

/* NOTIFICATIONS */
.notif-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}
.notif-card--unread {
    border-left-color: var(--primary);
    background: var(--primary-lighter);
}
.notif-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}
.notif-card--unread .notif-card__icon {
    background: var(--primary);
    color: white;
}
.notif-card__content {
    flex: 1;
}
.notif-card__text {
    font-size: 0.88rem;
    line-height: 1.4;
}
.notif-card__meta {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
    display: flex;
    gap: 8px;
}
.notif-card__actions {
    flex-shrink: 0;
}

/* FILTERS */
.filters {
    display: flex;
    gap: 4px;
    padding: 16px 0;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.filter-btn:hover {
    background: var(--gray-100);
}
.filter-btn--active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.filter-btn__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    font-size: 0.68rem;
    font-weight: 600;
    margin-left: 4px;
    padding: 0 4px;
    background: rgba(0,0,0,0.1);
}
.filter-btn--active .filter-btn__count {
    background: rgba(255,255,255,0.3);
}

/* SEARCH */
.search-box {
    position: relative;
}
.search-box input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
}
.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-lighter);
}
.search-box__icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

/* FLASH */
.flash {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 0.88rem;
}
.flash--success { background: #dcfce7; color: #166534; }
.flash--error { background: #fee2e2; color: #991b1b; }
.flash--info { background: #dbeafe; color: #1e40af; }

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-400);
}
.empty-state__icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.empty-state__text {
    font-size: 0.9rem;
}

/* SECTION TITLE */
.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-900);
}

/* TWO COLUMN */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* BREADCRUMBS */
.breadcrumbs {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-bottom: 16px;
}
.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }

/* DETAIL EVENT */
.event-detail__hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.event-detail__hero h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.event-detail__meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav { display: none; }
    .nav--open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
        padding: 12px;
        z-index: 99;
    }
    .burger { display: flex; }
    .user-menu__name { display: none; }
    .two-col { grid-template-columns: 1fr; }
    .profile-header { flex-direction: column; align-items: center; text-align: center; }
    .profile-info__meta { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 0 16px 16px; }
    .header__inner { padding: 0 12px; }
    .main { padding: 0 12px; }
    .card__body { padding: 16px; }
    .event-detail__hero { padding: 24px 16px; }
}
@media (max-width: 600px) {
    .grid--2, .grid--3 { grid-template-columns: 1fr; }
    .header__right { gap: 8px; }
    .lang-switcher { display: none; }
    .login-card { padding: 32px 24px; }
}
