/**
 * Bitly Landing Page Design System
 * Primary Brand Color: #0072c6
 * Font: Montserrat | Theme: Dark Hero + Crisp White Content Sections
 */

:root {
    --bitly-primary: #0072c6;
    --bitly-primary-hover: #005fa5;
    --bitly-primary-light: rgba(0, 114, 198, 0.12);
    --bitly-primary-glow: rgba(0, 114, 198, 0.35);
    --bitly-dark-bg: #070d19;
    --bitly-dark-surface: #0b1528;
    --bitly-dark-card: #0f1d38;
    --bitly-dark-border: #1a2a4a;
    --bitly-accent-cyan: #38bdf8;
    --bitly-accent-orange: #f97316;
    --bitly-text-light: #f8fafc;
    --bitly-text-muted: #94a3b8;
    --bitly-text-subtle: #64748b;
    --bitly-text-dark: #0f172a;
    --bitly-body-bg: #ffffff;
    --bitly-card-bg: #ffffff;
    --bitly-border-light: #e2e8f0;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: var(--bitly-text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */
#main-header,
#menu-top {
    background-color: var(--bitly-dark-bg) !important;
    border-bottom: 1px solid var(--bitly-dark-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.25s ease;
}

#main-header .navbar,
#menu-top .navbar {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.bitly-navbar-logo img,
#navbar-logo {
    max-height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}
.bitly-navbar-logo:hover img {
    transform: scale(1.02);
}

.bitly-nav-link,
#main-header .nav-link,
#menu-top .nav-link {
    color: var(--bitly-text-muted) !important;
    font-weight: 500 !important;
    font-size: 0.93rem !important;
    padding: 0.5rem 0.85rem !important;
    transition: color 0.15s ease, background-color 0.15s ease;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.bitly-nav-link:hover,
#main-header .nav-link:hover,
#menu-top .nav-link:hover {
    color: #ffffff !important;
}

/* Remove default Bootstrap dropdown-toggle caret to prevent duplicate arrows */
.bitly-nav-link.dropdown-toggle::after,
#main-header .dropdown-toggle::after,
#menu-top .dropdown-toggle::after {
    display: none !important;
}

.bitly-nav-dropdown {
    background-color: var(--bitly-dark-surface) !important;
    border: 1px solid var(--bitly-dark-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45) !important;
    padding: 0.75rem !important;
    min-width: 280px;
}
.bitly-nav-dropdown .dropdown-item {
    color: var(--bitly-text-light) !important;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}
.bitly-nav-dropdown .dropdown-item:hover {
    background-color: var(--bitly-dark-card) !important;
    color: var(--bitly-primary) !important;
}
.bitly-nav-dropdown .dropdown-item .icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--bitly-primary-light);
    color: var(--bitly-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 1rem;
}

/* Header Buttons */
.btn-bitly-ghost {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 0.5rem 1.15rem !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}
.btn-bitly-ghost:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.btn-bitly-primary {
    background-color: var(--bitly-primary) !important;
    border: 1px solid var(--bitly-primary) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px var(--bitly-primary-glow) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-bitly-primary:hover {
    background-color: var(--bitly-primary-hover) !important;
    border-color: var(--bitly-primary-hover) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--bitly-primary-glow) !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.bitly-hero-section {
    background-color: var(--bitly-dark-bg);
    background-image: 
        radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 40%, rgba(0, 114, 198, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 60%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
    position: relative;
    padding-top: 4.5rem;
    padding-bottom: 5rem;
    color: #ffffff;
    overflow: hidden;
}

/* Star/Sparkle particles */
.bitly-hero-sparkle {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.25rem;
    pointer-events: none;
    user-select: none;
    animation: sparklePulse 3s ease-in-out infinite alternate;
}
.bitly-hero-sparkle.s1 { top: 15%; left: 12%; font-size: 1.5rem; animation-delay: 0s; }
.bitly-hero-sparkle.s2 { top: 25%; right: 15%; font-size: 1.8rem; animation-delay: 1s; }
.bitly-hero-sparkle.s3 { top: 60%; left: 8%; font-size: 1.2rem; animation-delay: 1.5s; }
.bitly-hero-sparkle.s4 { top: 70%; right: 10%; font-size: 1.4rem; animation-delay: 2s; }

@keyframes sparklePulse {
    0% { opacity: 0.2; transform: scale(0.85); }
    100% { opacity: 0.65; transform: scale(1.15); }
}

.bitly-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: #ffffff;
}
.bitly-hero-title .accent-cyan {
    color: var(--bitly-accent-cyan);
    background: linear-gradient(135deg, #38bdf8 0%, #0072c6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bitly-hero-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--bitly-text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

/* Tab Switcher */
.bitly-tab-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 29, 56, 0.7);
    border: 1px solid var(--bitly-dark-border);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 0.35rem 0.35rem 0 0.35rem;
}
.bitly-tab-btn {
    border: none;
    background: transparent;
    color: var(--bitly-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.35rem;
    border-radius: 8px 8px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.bitly-tab-btn i,
.bitly-tab-btn svg {
    font-size: 1rem;
}
.bitly-tab-btn.active {
    background: #ffffff;
    color: var(--bitly-text-dark);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}
.bitly-tab-btn.active i {
    color: var(--bitly-primary);
}
.bitly-tab-btn:not(.active):hover {
    color: #ffffff;
}

/* White Shortener Card */
.bitly-shortener-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.55);
    color: var(--bitly-text-dark);
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}
@media (max-width: 768px) {
    .bitly-shortener-card {
        border-radius: 16px;
        padding: 1.5rem;
    }
    .bitly-hero-title {
        font-size: 2.25rem;
    }
}

.bitly-shortener-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bitly-text-dark);
    margin-bottom: 0.2rem;
}
.bitly-shortener-sub {
    font-size: 0.85rem;
    color: var(--bitly-text-subtle);
    margin-bottom: 1.25rem;
}

.bitly-input-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--bitly-text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.bitly-input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}
.bitly-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bitly-text-muted);
    font-size: 1.05rem;
}
.bitly-input-field {
    width: 100%;
    height: 52px;
    border: 1.5px solid var(--bitly-border-light);
    border-radius: 10px;
    padding-left: 2.75rem;
    padding-right: 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background-color: #ffffff;
    color: var(--bitly-text-dark);
}
.bitly-input-field:focus {
    border-color: var(--bitly-primary);
    box-shadow: 0 0 0 4px var(--bitly-primary-light);
    outline: none;
}

/* Card Action Row */
.bitly-card-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.btn-bitly-shorten-submit {
    background-color: var(--bitly-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px var(--bitly-primary-glow);
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-bitly-shorten-submit:hover {
    background-color: var(--bitly-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px var(--bitly-primary-glow);
    color: #ffffff;
}

/* Shortener Terms Notice */
.bitly-shortener-terms-notice {
    font-size: 0.88rem;
    color: #475569;
    border-left: 1.5px solid #cbd5e1 !important;
    padding-left: 1.25rem;
    margin-left: 0.25rem;
    line-height: 1.45;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
}
.bitly-shortener-terms-notice a {
    color: #0f172a;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 0.25rem;
    transition: color 0.15s ease;
}
.bitly-shortener-terms-notice a:hover {
    color: var(--bitly-primary);
}
@media (max-width: 768px) {
    .bitly-shortener-terms-notice {
        border-left: none !important;
        padding-left: 0;
        margin-left: 0;
        width: 100%;
        margin-top: 0.5rem;
        min-height: auto;
    }
}
[data-theme="dark"] .bitly-shortener-terms-notice,
.c_darkmode .bitly-shortener-terms-notice {
    border-left-color: #334155 !important;
    color: #94a3b8;
}
[data-theme="dark"] .bitly-shortener-terms-notice a,
.c_darkmode .bitly-shortener-terms-notice a {
    color: #38bdf8;
}

/* G2 Social Proof Badge */
.bitly-g2-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.bitly-g2-icon {
    width: 28px;
    height: 28px;
    background: #ff492c;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bitly-stars {
    color: #f59e0b;
    font-size: 0.82rem;
    letter-spacing: 1px;
}
.bitly-rating-score {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--bitly-text-dark);
}
.bitly-rating-text {
    font-size: 0.78rem;
    color: var(--bitly-text-subtle);
    display: block;
}

/* Advanced Options Collapse */
.bitly-advanced-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bitly-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}
.bitly-advanced-link:hover {
    color: var(--bitly-primary-hover);
    text-decoration: underline;
}

/* ==========================================================================
   PUBLIC QR GENERATOR IN TAB
   ========================================================================== */
.bitly-qr-type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}
.bitly-qr-type-btn {
    border: 1px solid var(--bitly-border-light);
    background: #ffffff;
    color: var(--bitly-text-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.bitly-qr-type-btn:hover {
    background: var(--bitly-primary-light);
    color: var(--bitly-primary);
    border-color: var(--bitly-primary);
}
.bitly-qr-type-btn.active {
    background: var(--bitly-primary);
    color: #ffffff;
    border-color: var(--bitly-primary);
    box-shadow: 0 2px 8px var(--bitly-primary-glow);
}

.bitly-qr-preview-box {
    background: #f8fafc;
    border: 1px solid var(--bitly-border-light);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}
.bitly-qr-preview-img-wrap {
    background: #ffffff;
    border: 1px solid var(--bitly-border-light);
    border-radius: 10px;
    padding: 1rem;
    display: inline-block;
    max-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    margin-bottom: 1rem;
}
.bitly-qr-preview-img-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
}

.bitly-qr-download-btn {
    background: #ffffff;
    border: 1px solid var(--bitly-border-light);
    color: var(--bitly-text-dark);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}
.bitly-qr-download-btn:hover {
    background: var(--bitly-primary-light);
    border-color: var(--bitly-primary);
    color: var(--bitly-primary);
}

.bitly-qr-color-input {
    height: 40px;
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
    border: 1.5px solid var(--bitly-border-light);
    cursor: pointer;
    width: 100%;
}

/* ==========================================================================
   STATS BAR (UNDER HERO)
   ========================================================================== */
.bitly-stats-bar {
    background-color: var(--bitly-dark-bg);
    border-top: 1px solid var(--bitly-dark-border);
    padding: 3rem 0;
    color: #ffffff;
}
.bitly-stat-item {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}
.bitly-stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bitly-primary-light);
    border: 1px solid rgba(0, 114, 198, 0.25);
    color: var(--bitly-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.bitly-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.bitly-stat-label {
    font-size: 0.85rem;
    color: var(--bitly-text-muted);
    margin-top: 0.2rem;
    font-weight: 400;
}

/* ==========================================================================
   FEATURES SECTION ("TÍNH NĂNG NỔI BẬT")
   ========================================================================== */
.bitly-section {
    padding: 5.5rem 0;
}
.bitly-section-badge {
    display: inline-block;
    color: var(--bitly-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.bitly-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--bitly-text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.bitly-section-subtitle {
    font-size: 1rem;
    color: var(--bitly-text-subtle);
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

/* Feature Cards */
.bitly-feature-card {
    background: #ffffff;
    border: 1px solid var(--bitly-border-light);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.25s ease-in-out;
    text-align: left;
}
.bitly-feature-card:hover {
    border-color: rgba(0, 114, 198, 0.4);
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}
.bitly-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--bitly-primary-light);
    color: var(--bitly-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}
.bitly-feature-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bitly-text-dark);
    margin-bottom: 0.6rem;
}
.bitly-feature-card-desc {
    font-size: 0.88rem;
    color: var(--bitly-text-subtle);
    line-height: 1.6;
    margin-bottom: 0;
}

.btn-bitly-outline {
    border: 1.5px solid var(--bitly-primary);
    color: var(--bitly-primary);
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.65rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-bitly-outline:hover {
    background: var(--bitly-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--bitly-primary-glow);
}

/* ==========================================================================
   HOW IT WORKS SECTION ("CÁCH HOẠT ĐỘNG")
   ========================================================================== */
.bitly-how-it-works {
    background-color: #fafbfc;
    border-top: 1px solid var(--bitly-border-light);
    border-bottom: 1px solid var(--bitly-border-light);
}

.bitly-step-card {
    background: #ffffff;
    border: 1px solid var(--bitly-border-light);
    border-radius: 12px;
    padding: 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}
.bitly-step-card:hover {
    border-color: rgba(0, 114, 198, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.bitly-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bitly-primary-light);
    color: var(--bitly-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.bitly-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bitly-text-dark);
    margin-bottom: 0.2rem;
}
.bitly-step-desc {
    font-size: 0.82rem;
    color: var(--bitly-text-subtle);
    margin-bottom: 0;
    line-height: 1.45;
}

.bitly-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bitly-primary);
    font-size: 1.25rem;
    opacity: 0.6;
}
@media (max-width: 991px) {
    .bitly-step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.bitly-cta-banner {
    background: linear-gradient(135deg, #070e1d 0%, #0d1a33 100%);
    border: 1px solid var(--bitly-dark-border);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.bitly-cta-watermark {
    position: absolute;
    color: rgba(255, 255, 255, 0.03);
    font-size: 8rem;
    pointer-events: none;
    user-select: none;
}
.bitly-cta-watermark.left {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(56, 189, 248, 0.08);
}
.bitly-cta-watermark.right {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 114, 198, 0.08);
}

.bitly-cta-title {
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.bitly-cta-subtitle {
    font-size: 0.98rem;
    color: var(--bitly-text-muted);
    margin-bottom: 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer-main,
.bitly-footer {
    background-color: #040810 !important;
    border-top: 1px solid #141f33 !important;
    padding-top: 4.5rem !important;
    padding-bottom: 2rem !important;
    color: var(--bitly-text-muted) !important;
}

.bitly-footer-logo img,
#footer-main #navbar-logo {
    max-height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}

.bitly-footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--bitly-text-subtle);
    margin-bottom: 1.5rem;
}

.bitly-social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bitly-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-right: 0.5rem;
}
.bitly-social-link:hover {
    background: var(--bitly-primary);
    border-color: var(--bitly-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.bitly-footer-col-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.bitly-footer-nav {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.bitly-footer-nav li {
    margin-bottom: 0.65rem;
}
.bitly-footer-nav a {
    color: var(--bitly-text-muted);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.15s ease;
}
.bitly-footer-nav a:hover {
    color: #ffffff;
}

.bitly-vietnam-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--bitly-primary-light);
    border: 1px solid rgba(0, 114, 198, 0.25);
    color: #38bdf8;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50rem;
    margin-top: 1rem;
}

.bitly-footer-bottom {
    border-top: 1px solid #141f33;
    padding-top: 1.75rem;
    margin-top: 3.5rem;
    font-size: 0.82rem;
    color: var(--bitly-text-subtle);
}

.bitly-footer-legal-link {
    color: var(--bitly-text-muted);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.15s ease;
}
.bitly-footer-legal-link:hover {
    color: var(--bitly-accent-cyan);
    text-decoration: underline;
}

/* ==========================================================================
   INNER PAGES HERO BANNER
   ========================================================================== */
.bitly-inner-hero {
    background-color: var(--bitly-dark-bg);
    background-image: 
        radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 40%, rgba(0, 114, 198, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 60%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4.5rem;
    color: #ffffff;
    overflow: hidden;
    text-align: center;
}
.bitly-inner-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.bitly-inner-hero-title .accent-cyan {
    color: var(--bitly-accent-cyan);
    background: linear-gradient(135deg, #38bdf8 0%, #0072c6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bitly-inner-hero-subtitle {
    font-size: 1.05rem;
    color: var(--bitly-text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Breadcrumbs */
.bitly-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--bitly-text-muted);
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 1rem;
    border-radius: 50rem;
    border: 1px solid var(--bitly-dark-border);
}
.bitly-breadcrumb a {
    color: var(--bitly-text-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.bitly-breadcrumb a:hover {
    color: #ffffff;
}
.bitly-breadcrumb .active {
    color: var(--bitly-primary);
    font-weight: 600;
}

/* ==========================================================================
   AUTH PAGES (LOGIN / REGISTER / FORGOT)
   ========================================================================== */
.bitly-auth-section {
    min-height: 100vh;
    background-color: var(--bitly-dark-bg);
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(0, 114, 198, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    position: relative;
}
.bitly-auth-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 2;
}
.bitly-auth-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bitly-text-dark);
    margin-bottom: 0.35rem;
}
.bitly-auth-card-subtitle {
    font-size: 0.88rem;
    color: var(--bitly-text-subtle);
    margin-bottom: 1.75rem;
}
.bitly-auth-input-group {
    position: relative;
    margin-bottom: 1.25rem;
}
.bitly-auth-input-group .icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bitly-text-muted);
    font-size: 1rem;
}
.bitly-auth-input-group .form-control {
    height: 48px;
    padding-left: 2.65rem;
    border: 1.5px solid var(--bitly-border-light);
    border-radius: 8px;
    font-size: 0.92rem;
    transition: all 0.15s ease;
}
.bitly-auth-input-group .form-control:focus {
    border-color: var(--bitly-primary);
    box-shadow: 0 0 0 4px var(--bitly-primary-light);
}

.btn-social-auth {
    border: 1.5px solid var(--bitly-border-light);
    background: #ffffff;
    color: var(--bitly-text-dark);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-social-auth:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--bitly-text-dark);
}

.bitly-auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--bitly-text-subtle);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bitly-auth-divider::before,
.bitly-auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--bitly-border-light);
}
.bitly-auth-divider::before { margin-right: 0.75em; }
.bitly-auth-divider::after { margin-left: 0.75em; }

/* ==========================================================================
   PRICING CARDS & SLIDING PILL SWITCHER
   ========================================================================== */
.bitly-pricing-switch-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(15, 29, 56, 0.85);
    border: 1px solid var(--bitly-dark-border);
    padding: 5px;
    border-radius: 50rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.bitly-pricing-slider-pill {
    position: absolute;
    top: 5px;
    left: 0;
    height: calc(100% - 10px);
    background: var(--bitly-primary);
    border-radius: 50rem;
    box-shadow: 0 4px 16px var(--bitly-primary-glow);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    pointer-events: none;
}
.bitly-pricing-switch-btn {
    position: relative;
    z-index: 2;
    border: none;
    background: transparent !important;
    color: var(--bitly-text-muted);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.55rem 1.45rem;
    border-radius: 50rem;
    cursor: pointer;
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: none !important;
}
.bitly-pricing-switch-btn:hover {
    color: #ffffff;
}
.bitly-pricing-switch-btn.active {
    color: #ffffff !important;
    font-weight: 700;
}

.bitly-price-card {
    background: #ffffff;
    border: 1px solid var(--bitly-border-light);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    height: 100%;
    position: relative;
    transition: all 0.25s ease;
    text-align: left;
}
.bitly-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}
.bitly-price-card.popular {
    border: 2px solid var(--bitly-primary);
    box-shadow: 0 15px 35px -5px var(--bitly-primary-light);
}
.bitly-price-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bitly-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: 50rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bitly-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bitly-text-dark);
    line-height: 1;
}
.bitly-price-currency {
    font-size: 1.25rem;
    font-weight: 700;
    vertical-align: super;
}
.bitly-price-period {
    font-size: 0.88rem;
    color: var(--bitly-text-subtle);
}
.bitly-price-features {
    list-style: none;
    padding-left: 0;
    margin: 1.75rem 0 2rem 0;
}
.bitly-price-features li {
    font-size: 0.9rem;
    color: var(--bitly-text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.bitly-price-features li i {
    color: var(--bitly-primary);
    font-size: 0.85rem;
}

/* ==========================================================================
   BLOG CARDS & SINGLE POST
   ========================================================================== */
.bitly-blog-card {
    background: #ffffff;
    border: 1px solid var(--bitly-border-light);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.bitly-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 114, 198, 0.3);
}
.bitly-blog-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #f1f5f9;
}
.bitly-blog-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.bitly-blog-badge {
    display: inline-block;
    background: var(--bitly-primary-light);
    color: var(--bitly-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.bitly-blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bitly-text-dark);
    line-height: 1.4;
    margin-bottom: 0.6rem;
    text-decoration: none;
    transition: color 0.15s;
}
.bitly-blog-title:hover {
    color: var(--bitly-primary);
}
.bitly-blog-excerpt {
    font-size: 0.88rem;
    color: var(--bitly-text-subtle);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}
.bitly-blog-meta {
    font-size: 0.8rem;
    color: var(--bitly-text-muted);
    border-top: 1px solid var(--bitly-border-light);
    padding-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   HELP CENTER & FAQ
   ========================================================================== */
.bitly-help-search-input {
    height: 56px;
    border-radius: 50rem;
    padding-left: 3rem;
    padding-right: 1.5rem;
    font-size: 1rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.bitly-help-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bitly-text-muted);
    font-size: 1.15rem;
}

.bitly-help-cat-card {
    background: #ffffff;
    border: 1px solid var(--bitly-border-light);
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
    color: var(--bitly-text-dark);
}
.bitly-help-cat-card:hover {
    border-color: var(--bitly-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.06);
    color: var(--bitly-primary);
}
.bitly-help-cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bitly-primary-light);
    color: var(--bitly-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.bitly-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.bitly-contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bitly-primary-light);
    color: var(--bitly-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* ==========================================================================
   DEVELOPER API DOCS
   ========================================================================== */
.bitly-api-sidebar {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding-right: 1rem;
}
.bitly-api-sidebar::-webkit-scrollbar {
    width: 4px;
}
.bitly-api-sidebar::-webkit-scrollbar-thumb {
    background: var(--bitly-border-light);
    border-radius: 4px;
}
.bitly-api-nav-link {
    display: block;
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--bitly-text-muted);
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--bitly-transition);
    margin-bottom: 2px;
}
.bitly-api-nav-link:hover {
    color: var(--bitly-primary);
    background: var(--bitly-primary-light);
}
.bitly-api-nav-link.active {
    color: var(--bitly-primary) !important;
    background: var(--bitly-primary-light);
    font-weight: 700;
}
.bitly-api-section-header {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bitly-text-subtle);
    padding: 0.85rem 0.85rem 0.35rem;
}
.bitly-api-code-box {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 1.25rem;
    color: #e2e8f0;
    font-family: 'Fira Code', 'Cascadia Code', Consolas, Monaco, monospace;
    font-size: 0.86rem;
    position: relative;
    overflow-x: auto;
}
.bitly-api-code-box pre {
    margin: 0;
    color: #e2e8f0;
}
.bitly-api-lang-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #1e293b;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}
.bitly-api-lang-tab {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    background: transparent;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--bitly-transition);
}
.bitly-api-lang-tab:hover {
    color: #fff;
}
.bitly-api-lang-tab.active {
    color: #fff;
    background: var(--bitly-primary);
}

