:root {
    --brand-navy: #3B3950;
    --brand-navy-dark: #27253A;
    --brand-green: #23BF8E;
    --brand-green-dark: #1A9A72;
    --brand-light: #F6F7FB;

    /* LinkedIn-inspired professional network accent (used alongside the existing brand palette
       to give the app a familiar "business platform" feel without copying the look 1:1). */
    --brand-blue: #0A66C2;
    --brand-blue-dark: #004182;
    --brand-blue-light: #E8F3FF;
    --brand-surface-muted: #F4F2EE;
}

body {
    color: var(--brand-navy);
    background-color: #ffffff;
}

a {
    color: var(--brand-green-dark);
}

.btn-brand {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    color: #fff;
    font-weight: 600;
}
.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: #fff;
}

.btn-outline-brand {
    border-color: var(--brand-navy);
    color: var(--brand-navy);
    font-weight: 600;
}
.btn-outline-brand:hover {
    background-color: var(--brand-navy);
    color: #fff;
}

.text-brand {
    color: var(--brand-navy);
}
.text-accent {
    color: var(--brand-green);
}

.navbar-brand img {
    display: block;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--brand-light) 0%, #ffffff 60%);
    padding: 6rem 0 5rem;
    overflow: hidden;
    position: relative;
}
.hero-section h1 {
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(35, 191, 142, .12);
    color: var(--brand-green-dark);
    font-weight: 600;
    font-size: .85rem;
    padding: .4rem 1rem;
    border-radius: 50px;
}
.hero-art {
    position: relative;
}
.hero-art::before {
    content: '';
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at 70% 30%, rgba(35,191,142,.18), transparent 60%);
    z-index: 0;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: .5;
    pointer-events: none;
}
.hero-blob-1 {
    width: 320px;
    height: 320px;
    top: -120px;
    inset-inline-start: -100px;
    background: radial-gradient(circle, rgba(35,191,142,.25), transparent 70%);
}
.hero-blob-2 {
    width: 380px;
    height: 380px;
    bottom: -160px;
    inset-inline-end: -120px;
    background: radial-gradient(circle, rgba(59,57,80,.18), transparent 70%);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(35, 191, 142, .12);
    color: var(--brand-green-dark);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: 50px;
}

/* Stats */
.stats-section {
    position: relative;
}
.stat-card {
    background: #fff;
    border: 1px solid rgba(59, 57, 80, .08);
    border-radius: 1.25rem;
    padding: 2rem 1.25rem;
    height: 100%;
    box-shadow: 0 1rem 2.5rem rgba(59, 57, 80, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.5rem 3rem rgba(59, 57, 80, .12);
}
.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    color: #fff;
    font-size: 1.5rem;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.1;
}
.stat-label {
    color: rgba(59, 57, 80, .65);
    font-weight: 600;
    margin-top: .35rem;
}

/* How it works */
.how-it-works-section {
    background: linear-gradient(180deg, rgba(35,191,142,.04), transparent 60%);
    border-radius: 2rem;
}
.step-card {
    background: #fff;
    border: 1px solid rgba(59, 57, 80, .08);
    border-radius: 1.25rem;
    padding: 2rem 1.25rem 1.5rem;
    height: 100%;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(59, 57, 80, .08);
}
.step-number {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
}

/* Streams preview */
.stream-card {
    background: #fff;
    border: 1px solid rgba(59, 57, 80, .08);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 .5rem 1.5rem rgba(59, 57, 80, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.stream-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(59, 57, 80, .1);
}
.stream-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(35, 191, 142, .12);
    color: var(--brand-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stream-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stream-body {
    color: rgba(59, 57, 80, .8);
    font-size: .95rem;
    line-height: 1.6;
}

/* Feature cards */
.feature-card {
    border: 1px solid rgba(59, 57, 80, .08);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    background: #fff;
    box-shadow: 0 .5rem 1.5rem rgba(59, 57, 80, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.5rem 3rem rgba(59, 57, 80, .12);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(35, 191, 142, .12);
    color: var(--brand-green-dark);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
    border-radius: 1.5rem;
    color: #fff;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2rem 4rem rgba(39, 37, 58, .25);
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(35,191,142,.25), transparent 55%);
    pointer-events: none;
}

/* Footer */
.footer-brand {
    background-color: var(--brand-navy-dark);
}
.text-light-50 {
    color: rgba(255, 255, 255, .65) !important;
}
.logo-light {
    filter: brightness(0) invert(1);
}

/* Auth cards */
.auth-card {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 4rem rgba(59, 57, 80, .12);
}
.auth-side {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
    color: #fff;
    border-radius: 1.25rem 0 0 1.25rem;
}
[dir="rtl"] .auth-side {
    border-radius: 0 1.25rem 1.25rem 0;
}

.account-type-option {
    cursor: pointer;
    border: 2px solid rgba(59, 57, 80, .1);
    border-radius: 1rem;
    padding: 1rem;
    transition: all .15s ease;
}
.account-type-option.active {
    border-color: var(--brand-green);
    background: rgba(35, 191, 142, .08);
}
.account-type-option input {
    display: none;
}

.field-hidden {
    display: none !important;
}

.hero-container {
    z-index: 1;
}
.hero-logo {
    max-width: 420px;
}
