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

:root {
    --blue-1: #0783CF;
    --blue-2: #01C3DF;
    --blue-3: #07F3F8;
    --blue-gradient: linear-gradient(135deg, #0783CF, #01C3DF);
    --bg-primary: #0A0C10;
    --bg-secondary: #12141C;
    --bg-elevated: #1A1D28;
    --border: rgba(255, 255, 255, 0.06);
    --text-primary: #FFFFFF;
    --text-secondary: #949EB5;
    --text-tertiary: #5F6B84;
    --success: #10b981;
    --error: #ef4444;
    --radius-sm: 6px;
    --radius-md: 10px;
    --transition: 0.2s ease;
}

body.auth {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
}

p,span{
    color: var(--text-secondary);
}

.login {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.login__panel {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login__panel--form {
    background: var(--bg-primary);
    padding: 2rem;
}

.login__form-container {
    width: 100%;
    max-width: 400px;
}

.login__logo {
    margin-bottom: 2rem;
}

.login__logo img {
    width: 90%;
    opacity: 0.9;
    /* filter: brightness(0) invert(1); */
}

.login__heading {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.login__subheading {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.notification {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.notification--success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.login__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.field__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.field__label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

.field__link {
    font-size: 0.8rem;
    color: var(--blue-2);
    text-decoration: none;
    transition: var(--transition);
}

.field__link:hover {
    color: var(--blue-3);
}

.field__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.field__input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.field__input:focus {
    outline: none;
    border-color: var(--blue-2);
    background: var(--bg-secondary);
}

.field__input::placeholder {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.field__toggle {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.field__toggle:hover {
    color: var(--blue-2);
}

.field__row {
    margin: 0.5rem 0 0.25rem;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox__check {
    width: 16px;
    height: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.checkbox input:checked + .checkbox__check {
    background: var(--blue-2);
    border-color: var(--blue-2);
}

.checkbox input:checked + .checkbox__check::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox__label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.75rem;
}

.btn--primary {
    background: var(--blue-gradient);
    color: white;
}

.login__visual-content p,
.login__visual-content span,
.btn--primary > span{
    color: white;
}

.btn--primary:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn--loading,
.btn--loading span {
    color: transparent;
    position: relative;
}

.btn--loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.login__footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.login__footer a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 0.25rem;
    transition: var(--transition);
}

.login__footer a:hover {
    color: var(--blue-2);
}

.login__panel--visual {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
    display: flex;
}

.login__visual {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url('/uploads/img/login-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.login__visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(0 0 0 / 67%), rgb(2 223 255 / 29%));
}

.login__visual-content {
    position: relative;
    z-index: 2;
    padding: 4rem;
    color: white;
    max-width: 550px;
}

.login__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login__visual-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.login__visual-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.login__capabilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.capability {
    display: flex;
    gap: 0.75rem;
}

.capability__icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.capability__text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.capability__text p {
    font-size: 0.8rem;
    opacity: 0.7;
}

.login__metric {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
}

.login__metric-value {
    font-size: 2rem;
    font-weight: 700;
}

.login__metric-label {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 968px) {
    .login__panel--visual {
        display: none;
    }
    
    .login__panel--form {
        flex: 1 1 100%;
    }
}


/* ============================================
    WELCOME PORTAL - UNIQUE DESIGN
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #05070c;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Orbs */
.portal-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(7, 131, 207, 0.2);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(1, 195, 223, 0.15);
    bottom: -150px;
    left: -150px;
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(7, 131, 207, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 30px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* Main Container */
.welcome-portal {
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.portal-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* Logo */
.portal-logo {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.portal-logo img {
    max-width: 150px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 20px rgba(7, 131, 207, 0.2));
}

.portal-logo img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 6px 30px rgba(7, 131, 207, 0.3));
}

/* Hero */
.portal-hero {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(7, 131, 207, 0.1);
    border: 1px solid rgba(7, 131, 207, 0.2);
    border-radius: 40px;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-badge span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #0783CF;
    font-weight: 500;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #0783CF, #01C3DF, #07F3F8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: rgba(148, 163, 184, 0.7);
    font-size: 1rem;
    font-weight: 300;
}

/* Portal Card */
.portal-card {
    background: rgba(18, 25, 40, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.portal-card:hover {
    background: rgba(18, 25, 40, 0.7);
    border-color: rgba(7, 131, 207, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(7, 131, 207, 0.2);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.card-header-icon {
    width: 48px;
    height: 48px;
    background: rgba(7, 131, 207, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0783CF;
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.2rem;
}

.card-header p {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.6);
}

/* Copy Button */
.copy-vault {
    margin-left: auto;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 0.4rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-vault:hover {
    border-color: #0783CF;
    color: #0783CF;
    background: rgba(7, 131, 207, 0.05);
}

/* Vault Items */
.vault-items {
    margin: 1.5rem 0;
}

.vault-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.vault-item:last-child {
    border-bottom: none;
}

.item-icon {
    width: 40px;
    height: 40px;
    background: rgba(7, 131, 207, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0783CF;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
}

.item-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.5);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-value {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #0783CF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.portal-link:hover {
    gap: 0.6rem;
    color: #01C3DF;
}

.info-hint {
    position: relative;
    display: inline-flex;
    cursor: help;
}

.info-hint svg {
    stroke: rgba(148, 163, 184, 0.4);
    transition: stroke 0.2s ease;
}

.info-hint:hover svg {
    stroke: #0783CF;
}

.info-hint span {
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #1A1D28;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(7, 131, 207, 0.2);
    border-radius: 12px;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.info-hint:hover span {
    opacity: 1;
    visibility: visible;
    bottom: 125%;
}

.password-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.password-code {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(7, 131, 207, 0.15);
    border-radius: 40px;
    padding: 0.3rem 1rem;
    color: #01C3DF;
    font-family: monospace;
    font-size: 0.85rem;
}

.copy-single {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 0.25rem 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-single:hover {
    border-color: #0783CF;
    color: #0783CF;
}

/* Vault Note */
.vault-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(7, 131, 207, 0.03);
    border-left: 3px solid #0783CF;
    border-radius: 16px;
    padding: 0.8rem 1rem;
    margin-top: 1rem;
}

.vault-note svg {
    stroke: #0783CF;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.vault-note p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.8);
    line-height: 1.5;
}

.vault-note strong {
    color: #01C3DF;
}

/* Support Response */
.support-response {
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.response-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 30px;
    padding: 0.25rem 0.8rem;
    font-size: 0.7rem;
    color: #10b981;
    margin-bottom: 0.75rem;
}

.response-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.support-response p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.8);
    line-height: 1.5;
}

/* Support Channels */
.support-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.channel-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 24px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.channel-card:hover {
    background: rgba(7, 131, 207, 0.03);
    transform: translateY(-3px);
}

.channel-icon {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.channel-icon.ticket {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.channel-icon.guide {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.channel-card h4 {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.channel-card p {
    color: rgba(148, 163, 184, 0.6);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.channel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #0783CF;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.channel-link:hover {
    gap: 0.6rem;
    color: #01C3DF;
}

/* Support Tip */
.support-tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.support-tip svg {
    stroke: #f59e0b;
}

.support-tip p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.7);
}

.support-tip strong {
    color: #f59e0b;
}

/* Welcome Message */
.welcome-message {
    background: linear-gradient(135deg, rgba(18, 25, 40, 0.6), rgba(7, 131, 207, 0.03));
    border-color: rgba(7, 131, 207, 0.15);
}

.welcome-text {
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0 1.5rem;
}

.welcome-text strong {
    color: #01C3DF;
}

.welcome-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.feature-pill svg {
    stroke: #0783CF;
}

.welcome-signature {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.welcome-signature strong {
    display: block;
    color: white;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.welcome-signature span {
    color: rgba(148, 163, 184, 0.5);
    font-size: 0.8rem;
}

/* Toast */
.portal-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1A1D28;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(7, 131, 207, 0.2);
    border-radius: 40px;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    font-size: 0.85rem;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.portal-toast svg {
    stroke: #10b981;
}

.portal-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-portal {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .portal-card {
        padding: 1.5rem;
    }

    .support-channels {
        grid-template-columns: 1fr;
    }

    .card-header {
        flex-direction: column;
    }

    .copy-vault {
        margin-left: 0;
    }

    .vault-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .item-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .password-row {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================
    TRAINING PORTAL - MODERN DESIGN
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #05070c;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.training-portal {
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.training-bg-glow {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 30% 40%, rgba(7, 131, 207, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.training-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.training-logo img {
    max-width: 150px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 20px rgba(7, 131, 207, 0.2));
}

.training-logo img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 6px 30px rgba(7, 131, 207, 0.3));
}

.training-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.training-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(7, 131, 207, 0.1);
    border: 1px solid rgba(7, 131, 207, 0.2);
    border-radius: 40px;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-badge span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #0783CF;
    font-weight: 500;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #0783CF, #01C3DF, #07F3F8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: rgba(148, 163, 184, 0.7);
    font-size: 1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background: rgba(18, 25, 40, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(7, 131, 207, 0.3);
    box-shadow: 0 20px 40px -20px rgba(7, 131, 207, 0.3);
}

.video-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-play-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(7, 131, 207, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.play-icon:hover {
    transform: scale(1.1);
    background: #0783CF;
}

.video-info {
    padding: 1.5rem;
    flex: 1;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-description {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.7);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.video-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.5);
}

.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(7, 131, 207, 0.3);
    border-radius: 40px;
    padding: 0.5rem 1rem;
    color: #0783CF;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.watch-btn:hover {
    background: rgba(7, 131, 207, 0.1);
    border-color: #0783CF;
    gap: 0.8rem;
}

/* Tips Section */
.tips-card {
    background: rgba(18, 25, 40, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 2rem;
    margin-top: 1rem;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tips-header svg {
    stroke: #f59e0b;
}

.tips-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: rgba(7, 131, 207, 0.05);
    transform: translateX(5px);
}

.tip-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(7, 131, 207, 0.2), rgba(1, 195, 223, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: #0783CF;
    flex-shrink: 0;
}

.tip-content h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.tip-content p {
    color: rgba(148, 163, 184, 0.6);
    font-size: 0.8rem;
    margin: 0;
}

/* Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: rgba(18, 25, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(7, 131, 207, 0.2);
    border-radius: 24px;
    overflow: hidden;
    z-index: 1001;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-container {
    transform: scale(1);
}

.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.video-modal-header h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
    border-radius: 8px;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: rotate(90deg);
}

.video-modal-body {
    padding: 0;
}

.video-player-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .training-portal {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .video-modal-container {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .video-title {
        font-size: 1rem;
    }

    .video-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .watch-btn {
        width: 100%;
        justify-content: center;
    }
}