/* Glass Umbrella Custom Styles - Updated 2025-08-20 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Matomo noscript image - replaces inline style */
.matomo-noscript-img {
    border: 0;
}

html, body {
    overflow-x: hidden;
    font-family: Merriweather, serif !important;
    height: 100%;
}

/* Use 100% width instead of 100vw */
.container-fluid {
    width: 100%;
    padding: 0;
    margin-top: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;  /* ensures full viewport height */
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: #EBEBEB;
}

.shade {
    background: rgba(0, 0, 0, 0.3);
}

.navbar {
    background-color: rgb(50, 48, 49);
    font-family: Merriweather, serif;
}

.navbar-brand-name {
    display: none;
}

.navbar-dark .navbar-nav .nav-link {
    display: flex;
    flex-wrap: wrap;
    text-wrap: wrap;
    color: #EBEBEB;
}

a.cta-button, button.cta-button {
    box-shadow: 0px 1px 10px 5px #9AD5CA;
    background: #7B44C1 !important;
    border-radius: 12px;
    border: 1px solid #EBEBEB;
    display: inline-block;
    cursor: pointer;
    color: #EBEBEB;
    font-size: 19px;
    padding: 14px 37px;
    text-decoration: none;
    text-shadow: 0px 1px 0px rgb(50, 48, 49);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

a.cta-button:hover, button.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 3px 15px 7px #1E96FC;
    background: linear-gradient(to bottom, #1792F7 5%, #6A3DB3 100%);
}

.hero {
    display: flex;
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #EBEBEB;
    text-shadow: 1px 1px 3px #323031;
    font-family: Merriweather, serif;
}

.hero h1 {
    font-size: 3rem;  /* or larger, depending on your design */
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 2rem;
    align-items: center;
    justify-content: center;

}
.hero p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.video-container {
    position: fixed;    /* or absolute, depending on your layout needs */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;   /* hides any overflow if aspect ratio changes */
    z-index: -1;        /* place behind other content (optional) */
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;  /* ensures video covers the container fully */
}

#video-player {
    width: 100%;
}

#mobile-video-player {
    width: 100%;
}

.background-video-landscape {
    display: flex;
}

.background-video-portrait {
    display: none;
}

.contributors::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: rgba(30, 150, 252, 0.3); /* adjust for contrast */
    z-index: 1;
}

.contributors > * {
    position: relative;
    z-index: 2;
}

.contributors {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #EBEBEB;
    text-shadow: 1px 1px 3px #323031;
    font-family: Merriweather, serif;
    padding: 4rem 0;
}

.contributors h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contributors-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contributor-card {
    flex: 0 1 calc(33.333% - 1.5rem);
    min-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contributor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(123, 68, 193, 0.05) 0%, transparent 50%, rgba(30, 150, 252, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contributor-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(154, 213, 202, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contributor-card:hover::before {
    opacity: 1;
}

.contributor-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.contributor-icon {
    width: 100px !important;
    height: 100px !important;
    /* Bright white using full filter chain */
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%) drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.8)) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.contributor-card:hover .contributor-icon {
    transform: scale(1.15) rotate(5deg);
    /* Vibrant mint color on hover */
    filter: brightness(0) saturate(100%) invert(83%) sepia(50%) saturate(800%) hue-rotate(100deg) brightness(110%) contrast(90%) drop-shadow(0 0 25px rgba(154, 213, 202, 1)) !important;
}

.contributor-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #EBEBEB;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.contributor-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.projects {
    position: relative;
    padding: 4rem 0;
    background: transparent;
}

.projects h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #EBEBEB;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.projects p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.projects-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Project Cards - Glass-morphism style matching hero */
.project-card {
    background: transparent !important;
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin: 0;
    max-width: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(123, 68, 193, 0.1) 0%, transparent 50%, rgba(30, 150, 252, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card img.project-logo {
    width: 160px !important;
    height: 160px !important;
    max-height: 160px !important;
    margin: 0 auto 2rem;
    display: block;
    /* Keep original logo colors */
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.8)) !important;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.project-card:hover img.project-logo {
    transform: scale(1.1);
    /* Keep original colors, just add glow */
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) !important;
}

.project-card h3 {
    color: #EBEBEB !important; /* White text */
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.project-card:hover h3 {
    color: #EBEBEB !important; /* Keep white on hover */
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.project-logo {
    max-height: 120px;
    transition: transform 0.3s ease;
}

.trust-icon {
    margin-right: 4px;
}

/* Special hover effects for each project - colored glows */
.project-card:nth-child(1):hover .project-logo {
    /* The Smithy - Purple glow */
    filter: drop-shadow(0 0 25px rgba(123, 68, 193, 0.8)) !important;
}

.project-card:nth-child(2):hover .project-logo {
    /* PocketWatch - Blue glow */
    filter: drop-shadow(0 0 25px rgba(30, 150, 252, 0.8)) !important;
}

.project-card:nth-child(3):hover .project-logo {
    /* Rhapsody - Mint glow */
    filter: drop-shadow(0 0 25px rgba(154, 213, 202, 0.8)) !important;
}

/* Medieval SVG Icons */
.medieval-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) saturate(100%);
    opacity: 0.9;
    margin-right: 0.75rem;
}

/* Trust bar icons */
.trust-bar-icon {
    width: 20px !important;
    height: 20px !important;
}

/* Trust icon in newsletter */
.trust-icon {
    width: 16px !important;
    height: 16px !important;
    margin-right: 4px !important;
}

/* Make medieval icons inherit current text color */
.trust-item .medieval-icon {
    /* Match bright white style of other icons */
    filter: invert(1) brightness(1.5) contrast(2) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.6));
}

.icon-wrapper .medieval-icon {
    /* Match bright white style */
    filter: invert(1) brightness(1.5) contrast(2);
}

.medieval-icon.nav-icon {
    width: 20px;
    height: 20px;
    filter: invert(97%) sepia(3%) saturate(132%) hue-rotate(161deg) brightness(115%) contrast(85%); /* Cloud color */
}

/* Hover states for better interactivity */
.trust-item:hover .medieval-icon {
    filter: brightness(0) saturate(100%) invert(83%) sepia(50%) saturate(800%) hue-rotate(100deg) brightness(110%) contrast(90%) drop-shadow(0 0 15px rgba(154, 213, 202, 0.8)); /* Vibrant mint on hover */
}

.nav-link:hover .medieval-icon {
    filter: invert(1) sepia(1) saturate(3) hue-rotate(100deg) brightness(1.3) contrast(1.5); /* Mint color */
}

/* Project CTA Buttons - Brand Blue */
.project-cta {
    background: #1E96FC !important; /* Brand Blue color */
    color: #EBEBEB !important; /* Brand Cloud color for contrast */
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    padding: 14px 37px !important; /* Match brand primary button padding */
    font-size: 16px !important; /* Brand component font size */
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 1rem !important;
    transition: all 0.3s ease !important;
    opacity: 0;
    transform: translateY(10px);
    box-shadow: 0px 1px 10px 5px rgba(30, 150, 252, 0.3) !important;
    text-shadow: 0px 1px 0px #323031 !important;
    letter-spacing: 0.05em !important;
    text-transform: lowercase !important;
}

.project-card:hover .project-cta {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.project-cta:hover {
    background: linear-gradient(to bottom, #1792F7 5%, #1E96FC 100%) !important; /* Gradient on hover */
    text-decoration: none !important;
    color: #EBEBEB !important;
    transform: scale(1.05) !important; /* Match other CTAs */
    box-shadow: 0px 3px 15px 7px rgba(30, 150, 252, 0.4) !important; /* Enhanced shadow */
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Guiding Principles - Match Contributors Style */
.guiding-principles::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: rgba(123, 68, 193, 0.3); /* Purple overlay like contributors */
    z-index: 1;
}

.guiding-principles > * {
    position: relative;
    z-index: 2;
}

.guiding-principles {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #EBEBEB;
    text-shadow: 1px 1px 3px #323031;
    font-family: Merriweather, serif;
    padding: 4rem 0;
}

.guiding-principles h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.guiding-principles-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.guiding-principle-card {
    flex: 0 1 calc(25% - 1.5rem);
    min-width: 200px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guiding-principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(123, 68, 193, 0.1) 0%, transparent 50%, rgba(30, 150, 252, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guiding-principle-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.guiding-principle-card:hover::before {
    opacity: 1;
}

.guiding-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #EBEBEB;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.6));
    transition: all 0.3s ease;
}

.guiding-principle-card:hover .guiding-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(154, 213, 202, 0.8));
}

.guiding-principles h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #EBEBEB;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.guiding-principles .btn-primary {
    background: #7B44C1; /* Brand Purple */
    color: #EBEBEB;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    padding: 14px 37px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0px 1px 10px 5px rgba(154, 213, 202, 0.3);
    text-shadow: 0px 1px 0px #323031;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.guiding-principles .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0px 3px 15px 7px rgba(30, 150, 252, 0.4);
    background: linear-gradient(to bottom, #1792F7 5%, #6A3DB3 100%);
}


/* Loading spinner */
.loading-spinner {
    display: none !important;
}

/* Progress bar initial state - removed to allow dynamic width */

/* Text muted light for dark backgrounds */
.text-muted-light {
    color: rgba(235, 235, 235, 0.7) !important;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

a.playbutton .register-cta {
    animation: pulse 2s infinite;
}

/* Remove gap before footer */
.guiding-principles {
    margin-bottom: 0 !important;
}

/* Global button styles - lowercase all CTAs */
.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-outline-success,
.cta-button,
.register-cta,
.nav-cta-join-free,
.hero-submit-btn,
a[href*="register"] {
    text-transform: lowercase !important;
}

/* Override for persona island buttons - keep proper capitalization */
.hero .persona-paths .path-card .btn.btn-primary,
.hero .persona-paths .path-card a.btn.btn-primary {
    text-transform: none !important;
}

/* Registration Page Styles */
body {
    background-color: #1a1a1a !important;
}

.main-content {
    background-color: transparent !important;
    color: #EBEBEB;
}

.registration-card {
    background: rgba(50, 48, 49, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: #EBEBEB;
}

.registration-card .card-body {
    padding: 3rem;
}

.registration-icon {
    width: 80px;
    height: 80px;
    filter: brightness(0) saturate(100%) invert(100%);
}

.registration-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.glass-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #EBEBEB !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #9AD5CA !important;
    box-shadow: 0 0 0 0.2rem rgba(154, 213, 202, 0.25) !important;
}

.glass-input::placeholder {
    color: rgba(235, 235, 235, 0.5);
}

.form-label {
    color: #EBEBEB;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.glass-help-text {
    color: rgba(235, 235, 235, 0.7) !important;
    font-size: 0.875rem;
}

.registration-submit {
    background: linear-gradient(to bottom, #9AD5CA 5%, #7DCBB8 100%);
    border: none;
    text-transform: lowercase;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.registration-submit:hover {
    transform: scale(1.05);
    box-shadow: 0px 3px 15px 7px rgba(154, 213, 202, 0.4);
    background: linear-gradient(to bottom, #7DCBB8 5%, #9AD5CA 100%);
}

.trust-indicators {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.trust-item-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(235, 235, 235, 0.8);
}

.trust-icon-small {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(100%);
}

.glass-alert {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #EBEBEB;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.glass-alert.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.glass-alert.alert-info {
    background: rgba(30, 150, 252, 0.1);
    border-color: rgba(30, 150, 252, 0.3);
}

.alert-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(100%);
}

.alternative-login {
    text-align: center;
}

.social-login-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-login-btn {
    flex: 1;
    max-width: 150px;
    text-transform: lowercase;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.social-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Authenticated Dashboard Styles */
.authenticated-dashboard {
    min-height: 80vh;
    padding-bottom: 3rem;
}

/* Dashboard Hero with Progress */
.dashboard-hero {
    /* Enhanced glass morphism foundation */
    background: linear-gradient(135deg, 
        rgba(50, 48, 49, 0.35) 0%,
        rgba(30, 30, 30, 0.25) 50%,
        rgba(45, 45, 45, 0.35) 100%
    );
    
    /* Improved backdrop filtering */
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    
    /* Enhanced border */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    
    /* Multi-layered shadow for depth */
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.2),
        0 2px 16px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    /* Subtle animation on load */
    animation: glassEntry 0.8s ease-out;
    
    /* Enhanced positioning context */
    position: relative;
    z-index: 10;
    
    /* Better text rendering on glass */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    
    /* Performance optimization */
    transform: translate3d(0, 0, 0);
    will-change: backdrop-filter;
}

/* Entry animation */
@keyframes glassEntry {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Hover state for interactive feeling */
.dashboard-hero:hover {
    background: linear-gradient(135deg, 
        rgba(50, 48, 49, 0.45) 0%,
        rgba(30, 30, 30, 0.35) 50%,
        rgba(45, 45, 45, 0.45) 100%
    );
    
    box-shadow: 
        0 12px 40px 0 rgba(31, 38, 135, 0.25),
        0 4px 20px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Feature detection fallback */
@supports not (backdrop-filter: blur(20px)) {
    .dashboard-hero {
        background: rgba(35, 35, 35, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.level-progress {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.user-avatar-wrapper {
    position: relative;
}

.user-avatar {
    width: 100px;
    height: 100px;
    filter: brightness(0) saturate(100%) invert(100%) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.5));
    border: 3px solid #9AD5CA;
    border-radius: 50%;
    padding: 1rem;
    background: rgba(154, 213, 202, 0.1);
}

.level-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #9AD5CA;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1a1a;
    transition: all 0.2s ease;
    cursor: pointer;
}

.level-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(154, 213, 202, 0.4);
}

.level-info {
    flex: 1;
}

.level-info h1 {
    color: #EBEBEB;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.9);
    font-weight: 600;
}

.level-info h2 {
    color: #9AD5CA;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: lowercase;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.9);
    font-weight: 600;
}

.xp-progress-bar {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.xp-progress-bar:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(154, 213, 202, 0.3);
}

.xp-fill {
    background: linear-gradient(
        90deg,
        #7B44C1 0%,
        #9AD5CA 50%,
        #7B44C1 100%
    );
    background-size: 200% 100%;
    height: 100%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.xp-progress-bar:hover .xp-fill {
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.xp-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #EBEBEB;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.streak-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 165, 0, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid #FFA500;
    border-radius: 50px;
    padding: 1.2rem 2rem;
    box-shadow: 
        0 0 20px rgba(255, 165, 0, 0.5),
        0 4px 16px rgba(255, 165, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: streakGlow 3s ease-in-out infinite;
}

@keyframes streakGlow {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(255, 165, 0, 0.5),
            0 4px 16px rgba(255, 165, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(255, 165, 0, 0.8),
            0 6px 20px rgba(255, 165, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.streak-counter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: streakShine 4s infinite;
}

@keyframes streakShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.streak-counter:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 186, 8, 0.25);
    border-color: #FFD700;
    box-shadow: 
        0 0 40px rgba(255, 165, 0, 0.9),
        0 8px 25px rgba(255, 165, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.streak-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(73%) sepia(85%) saturate(580%) hue-rotate(356deg) brightness(102%) contrast(102%) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.5));
}

.streak-info {
    position: relative;
    z-index: 1;
}

.streak-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.8);
    display: inline-block;
    line-height: 1;
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.streak-label {
    color: #EBEBEB;
    text-transform: lowercase;
    font-weight: 600;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 165, 0, 0.3);
    display: inline-block;
    margin-left: 0.25rem;
}

/* Achievement Banner */
.achievement-banner {
    text-align: center;
    margin-bottom: 2rem;
}

.achievement-banner h3 {
    color: #EBEBEB;
    text-transform: lowercase;
    margin-bottom: 1rem;
}

.achievement-card {
    background: rgba(50, 48, 49, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glow-effect {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(154, 213, 202, 0.6); }
    50% { box-shadow: 0 0 30px rgba(154, 213, 202, 0.9); }
}

.achievement-icon {
    width: 60px;
    height: 60px;
    filter: brightness(0) saturate(100%) invert(84%) sepia(15%) saturate(969%) hue-rotate(116deg) brightness(96%) contrast(87%) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.5));
}

.achievement-details {
    text-align: left;
}

.achievement-details h4 {
    color: #9AD5CA;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.achievement-details p {
    color: rgba(235, 235, 235, 0.8);
    margin-bottom: 0.5rem;
}

.reward {
    color: #FFA500;
    font-weight: 600;
    font-size: 0.9rem;
}

.dashboard-icon {
    width: 100px;
    height: 100px;
    filter: brightness(0) saturate(100%) invert(100%);
}

.section-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(100%) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.5));
    margin-right: 1rem;
    vertical-align: middle;
}

.section-title {
    color: #EBEBEB;
    font-weight: 700;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 
                 -1px -1px 2px rgba(0, 0, 0, 0.5),
                 0 0 10px rgba(0, 0, 0, 0.6);
}

/* Quick Actions Container */
.quick-actions .row {
    display: flex;
    flex-wrap: wrap;
}

.quick-actions .col-md-4 {
    display: flex;
    flex-direction: column;
}

/* Action Cards */
.action-card {
    background: rgba(50, 48, 49, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    color: #EBEBEB;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(154, 213, 202, 0.2);
    border-color: rgba(154, 213, 202, 0.3);
}

.action-icon {
    width: 60px;
    height: 60px;
    filter: brightness(0) saturate(100%) invert(100%) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.5));
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.action-card:hover .action-icon {
    filter: brightness(0) saturate(100%) invert(84%) sepia(15%) saturate(969%) hue-rotate(116deg) brightness(96%) contrast(87%) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.5));
}

.action-card h3 {
    color: #EBEBEB;
    margin-bottom: 1rem;
    text-transform: lowercase;
}

.action-card p {
    color: rgba(235, 235, 235, 0.8);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-card .btn {
    margin-top: auto;
    align-self: center;
}

/* Character Management Card */
.character-management-card {
    background: rgba(50, 48, 49, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Stat Cards */
.stat-card {
    background: rgba(50, 48, 49, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.stat-card:hover {
    border-color: rgba(154, 213, 202, 0.3);
    box-shadow: 0 4px 12px rgba(154, 213, 202, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9AD5CA;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(235, 235, 235, 0.8);
    text-transform: lowercase;
    font-size: 0.9rem;
    margin: 0;
}

/* Tool Cards */
.tool-card {
    background: rgba(50, 48, 49, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.tool-card:hover {
    border-color: rgba(30, 150, 252, 0.3);
    box-shadow: 0 4px 12px rgba(30, 150, 252, 0.2);
}

.tool-card h3 {
    color: #EBEBEB;
    text-transform: lowercase;
    margin-bottom: 1rem;
}

.tool-card p {
    color: rgba(235, 235, 235, 0.8);
    margin-bottom: 1.5rem;
}

/* Connection Info */
.connection-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.connection-info .text-muted {
    color: rgba(235, 235, 235, 0.6) !important;
    font-family: monospace;
}

/* Activity Feed Styles */
.activity-pulse {
    background: rgba(50, 48, 49, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.activity-stream {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 8px;
    animation: slideInRight 0.5s ease-out;
}

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

.mini-avatar {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(100%) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.5));
    background: rgba(154, 213, 202, 0.1);
    border-radius: 50%;
    padding: 0.5rem;
    flex-shrink: 0;
}

.event-icon {
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin: 0;
    color: #EBEBEB;
}

.activity-content strong {
    color: #9AD5CA;
}

.timestamp {
    color: rgba(235, 235, 235, 0.5);
    font-size: 0.875rem;
}

.micro-cta {
    background: #1E96FC;
    color: #EBEBEB;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    text-transform: lowercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.micro-cta:hover {
    background: #7B44C1;
    transform: scale(1.05);
}

/* Online Stats */
.online-stats {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.1);
}

.stat-highlight {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.pulse-dot {
    position: absolute;
    top: 0;
    right: 30%;
    width: 12px;
    height: 12px;
    background: #00ff00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

.stat-highlight .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #9AD5CA;
    display: block;
}

.stat-highlight .stat-label {
    color: rgba(235, 235, 235, 0.8);
    text-transform: lowercase;
}

.mini-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.mini-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #7B44C1;
    display: block;
}

.mini-label {
    color: rgba(235, 235, 235, 0.6);
    font-size: 0.875rem;
    text-transform: lowercase;
}

/* Footer Styles - Responsive Design */
footer {
    background: #323031 !important;
    color: #EBEBEB;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-family: Merriweather, serif;
    padding: 3rem 0 0;
    margin-top: 0 !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

footer a {
    color: #EBEBEB;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

footer a:hover {
    color: #9AD5CA;
    transform: translateY(-2px);
    opacity: 1;
    text-decoration: none;
}

footer i {
    font-size: 1.25rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer img {
    width: 60px;
    height: auto;
    /* Show full logo without filter */
}

footer h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.copyright {
    border-top: 1px solid rgba(235, 235, 235, 0.1);
    text-align: center;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}

.copyright p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
    footer {
        padding: 2rem 0 0;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    footer img {
        width: 50px;
    }
    
    footer h4 {
        font-size: 1.125rem;
    }
    
    footer a {
        font-size: 0.875rem;
    }
    
    .footer-socials .d-none.d-md-inline {
        display: none !important;
    }
}

/* Newsletter Section Styles */
.newsletter-section {
    background: #323031;
    position: relative;
    color: #EBEBEB;
    border-top: 4px solid #7B44C1;
    border-bottom: 4px solid #7B44C1;
}

.newsletter-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7B44C1 0%, #1E96FC 50%, #7B44C1 100%);
}

.newsletter-section h2 {
    color: #EBEBEB;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-section .lead {
    color: #EBEBEB;
    opacity: 0.9;
    font-size: 1.125rem;
}

.newsletter-form .form-control {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #EBEBEB;
    font-size: 1.1rem;
    padding: 0.875rem 1.25rem;
    transition: all 0.3s ease;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-control:focus {
    border-color: #9AD5CA;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 0.2rem rgba(154, 213, 202, 0.25);
    color: #EBEBEB;
    outline: none;
}

.newsletter-form .btn-primary {
    background: #9AD5CA;
    border: none;
    color: #323031;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form .btn-primary:hover {
    background: #7DCBB8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(154, 213, 202, 0.4);
}

.newsletter-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#newsletter-message {
    min-height: 0;
    transition: all 0.3s ease;
}

#newsletter-message.alert {
    margin-top: 1rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.newsletter-incentive {
    color: #9AD5CA;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    a.cta-button {
        font-size: 17px;
        padding: 12px 30px;
    }

    .navbar-brand {
        margin: 0;
    }

    .navbar-brand img {
        width: 56px;
        height: auto;
    }

    .navbar-brand-logo {
        margin: 0 !important;
    }

    .navbar-brand-name{
        display: contents;
        color: #EBEBEB;
        text-shadow: 1px 1px 3px #323031;
    }

    .navbar-brand-name h3{
        margin: 0;
    }

    .background-video-landscape {
        display: none;
    }

    .background-video-portrait {
        display: flex;
    }
    
    /* Newsletter responsive styles */
    .newsletter-section {
        padding: 3rem 1rem;
    }
    
    .newsletter-section h2 {
        font-size: 2rem;
    }
    
    .newsletter-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        width: 100%;
        border-radius: 0.25rem !important;
        margin-bottom: 0.75rem;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .newsletter-form .btn-primary {
        width: 100%;
        border-radius: 0.25rem !important;
        padding: 0.875rem 1.5rem;
        font-size: 1.125rem;
    }
}

/* Multi-Persona Navbar Styles */
.gu-navbar-multi {
    padding: 1rem 2rem;
    background: rgba(50, 48, 49, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10000;
    overflow: visible !important;
}

.gu-navbar-multi .navbar-brand h3 {
    margin: 5px 0 0 0;
    line-height: 0.9;
}

.gu-navbar-multi .navbar-brand .media {
    align-items: center;
}

.gu-navbar-multi .nav-link {
    color: #EBEBEB;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: lowercase;
}

.gu-navbar-multi .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #9AD5CA !important; /* Override any other nav-link color rules */
}

/* Navigation items use consistent brand color scheme */
/* All nav items: Brand Cloud (#EBEBEB) with Brand Mint (#9AD5CA) hover */




/* CTA Buttons - Brand Compliant Primary Button */
.nav-cta-join-free {
    background: #7B44C1; /* Brand Purple */
    color: #EBEBEB; /* Brand Cloud */
    border: 1px solid #EBEBEB; /* Brand primary button border */
    border-radius: 12px; /* Brand border radius */
    padding: 14px 37px; /* Brand primary button padding */
    font-size: 16px; /* Adjusted for navbar context */
    font-weight: 600;
    box-shadow: 0px 1px 10px 5px rgba(154, 213, 202, 0.3); /* Brand shadow with transparency for navbar */
    text-shadow: 0px 1px 0px #323031; /* Brand text shadow */
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.nav-cta-join-free:hover {
    transform: scale(1.05); /* Brand primary button hover transform */
    box-shadow: 0px 3px 15px 7px rgba(30, 150, 252, 0.4); /* Brand primary button hover shadow */
    background: linear-gradient(to bottom, #1792F7 5%, #6A3DB3 100%); /* Brand primary button hover gradient */
}

.nav-sign-in {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.5);
    text-transform: lowercase;
}

.nav-sign-in:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #9AD5CA;
}

/* Navbar divider */
.nav-divider {
    color: rgba(255, 255, 255, 0.3);
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1;
    position: relative;
    top: 80%;
}

/* Dropdown menu items */
.gu-navbar-multi .dropdown-menu {
    background: rgba(50, 48, 49, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    margin-top: 0.5rem;
    position: absolute;
    will-change: transform;
    top: 100%;
    right: 0;
}

.gu-navbar-multi .dropdown-item {
    text-transform: lowercase;
    color: #EBEBEB;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    background: transparent;
}

.gu-navbar-multi .dropdown-item:hover,
.gu-navbar-multi .dropdown-item:focus {
    background: rgba(154, 213, 202, 0.2) !important;
    color: #9AD5CA !important;
    text-decoration: none;
}

/* Style logout button to match links */
.gu-navbar-multi form {
    margin: 0;
    padding: 0;
}

.gu-navbar-multi button.dropdown-item {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
    text-align: left;
    border: none;
}

.gu-navbar-multi .dropdown-item.disabled {
    color: rgba(235, 235, 235, 0.3);
}

.gu-navbar-multi .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown toggle styling */
.gu-navbar-multi .dropdown-toggle {
    color: #EBEBEB !important;
    cursor: pointer;
}

.gu-navbar-multi .dropdown-toggle:hover,
.gu-navbar-multi .dropdown-toggle:focus {
    color: #9AD5CA !important;
}

.gu-navbar-multi .dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Ensure dropdown is properly positioned and clickable */
.gu-navbar-multi .dropdown {
    position: relative;
    z-index: 10000;
}

.gu-navbar-multi .dropdown-toggle {
    position: relative;
    z-index: 1001;
    pointer-events: all;
}

.gu-navbar-multi .dropdown-menu {
    display: none;
}

.gu-navbar-multi .dropdown-menu.show {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Hero Mobile Optimization */
@media (max-width: 768px) {
    .dashboard-hero {
        /* Reduce blur on mobile for better performance */
        backdrop-filter: blur(15px) saturate(1.1);
        -webkit-backdrop-filter: blur(15px) saturate(1.1);
        
        /* Adjust padding for mobile */
        padding: 1.5rem;
        border-radius: 16px;
        
        /* Simplify shadows on mobile */
        box-shadow: 0 4px 20px 0 rgba(31, 38, 135, 0.2);
        
        /* Disable entry animation on mobile */
        animation: none;
    }
    
    .level-progress {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .user-avatar-wrapper {
        margin: 0 auto;
    }
    
    .level-info {
        width: 100%;
    }
    
    .level-info h1 {
        font-size: 1.5rem;
    }
    
    .streak-counter {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .streak-number {
        font-size: 2rem;
    }
}

/* Mobile Optimizations */
@media (max-width: 991px) {
    .gu-navbar-multi {
        padding: 0.75rem 1rem;
    }
    
    .gu-navbar-multi .navbar-nav {
        padding-top: 1rem;
    }
    
    .gu-navbar-multi .nav-item {
        margin: 0.25rem 0;
    }
    
    .gu-navbar-multi .nav-link {
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
    }
    
    .gu-navbar-multi .nav-link i {
        width: 24px;
        margin-right: 0.75rem;
        text-align: center;
    }
    
    .nav-cta-join-free,
    .nav-sign-in {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Persona Path Cards - Glass-morphism styling matching dancing_with_shadows */
.persona-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.path-card {
    background: transparent; /* Completely transparent by default */
    backdrop-filter: none; /* No blur by default */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle border */
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(123, 68, 193, 0.1) 0%, transparent 50%, rgba(123, 68, 193, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(123, 68, 193, 0.2);
    border-color: rgba(123, 68, 193, 0.3);
    background: rgba(255, 255, 255, 0.08); /* Semi-opaque on hover */
    backdrop-filter: blur(10px); /* Add blur on hover */
}

.path-card:hover::before {
    opacity: 1;
}

.path-card .persona-icon {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
    /* Bright white using full inversion */
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%) drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.8));
    opacity: 1;
    transition: all 0.3s ease;
}

.path-card:hover .persona-icon {
    transform: scale(1.15) rotate(5deg);
    /* Default to mint color on hover */
    filter: brightness(0) saturate(100%) invert(83%) sepia(50%) saturate(800%) hue-rotate(100deg) brightness(110%) contrast(90%) drop-shadow(0 0 20px rgba(154, 213, 202, 0.8));
}

.path-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.path-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.path-card .btn {
    min-width: 150px;
    position: relative;
    z-index: 1;
    background: #7B44C1; /* Brand Purple like Join Free button */
    color: #EBEBEB; /* Brand Cloud */
    border: 1px solid #EBEBEB; /* Brand primary button border */
    border-radius: 12px; /* Brand border radius */
    padding: 14px 37px; /* Brand primary button padding */
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0px 1px 10px 5px rgba(154, 213, 202, 0.3); /* Brand shadow */
    text-shadow: 0px 1px 0px #323031; /* Brand text shadow */
    text-transform: lowercase;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    margin-top: auto;
    display: inline-block;
    text-decoration: none;
}

.path-card:hover .btn {
    /* No change on card hover - button hover is handled separately */
}

.path-card .btn:hover {
    transform: scale(1.05); /* Brand primary button hover transform */
    box-shadow: 0px 3px 15px 7px rgba(30, 150, 252, 0.4); /* Brand primary button hover shadow */
    background: linear-gradient(to bottom, #1792F7 5%, #6A3DB3 100%); /* Brand primary button hover gradient */
    color: #EBEBEB;
    text-decoration: none;
}

.path-card .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(123, 68, 193, 0.4);
}

.path-card:hover h3 {
    color: #fff; /* Full white on hover */
}

.path-card:hover p {
    color: rgba(255, 255, 255, 0.9); /* Less transparent on hover */
}

/* Special hover effects for each persona */
.path-card.kids:hover::before {
    background: linear-gradient(135deg, rgba(30, 150, 252, 0.1) 0%, transparent 50%, rgba(30, 150, 252, 0.05) 100%);
}

.path-card.kids:hover .persona-icon {
    /* Vibrant blue tint on hover */
    filter: brightness(0) saturate(100%) invert(51%) sepia(95%) saturate(1449%) hue-rotate(172deg) brightness(110%) contrast(95%) drop-shadow(0 0 25px rgba(30, 150, 252, 1));
}

.path-card.parents:hover::before {
    background: linear-gradient(135deg, rgba(154, 213, 202, 0.1) 0%, transparent 50%, rgba(154, 213, 202, 0.05) 100%);
}

.path-card.parents:hover .persona-icon {
    /* Vibrant mint tint on hover */
    filter: brightness(0) saturate(100%) invert(83%) sepia(50%) saturate(800%) hue-rotate(100deg) brightness(110%) contrast(90%) drop-shadow(0 0 25px rgba(154, 213, 202, 1));
}

.path-card.investors:hover::before {
    background: linear-gradient(135deg, rgba(123, 68, 193, 0.1) 0%, transparent 50%, rgba(123, 68, 193, 0.05) 100%);
}

.path-card.investors:hover .persona-icon {
    /* Vibrant purple tint on hover */
    filter: brightness(0) saturate(100%) invert(31%) sepia(95%) saturate(2000%) hue-rotate(248deg) brightness(110%) contrast(95%) drop-shadow(0 0 25px rgba(123, 68, 193, 1));
}

/* Trust Bar */
.trust-bar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Trust item links should maintain the same styling */
.trust-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.trust-link:hover {
    color: #9AD5CA;
    text-decoration: none;
}

.trust-link:focus {
    color: #9AD5CA;
    text-decoration: none;
}

.trust-item i {
    color: #7B44C1;
    font-size: 1.25rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .persona-paths {
        gap: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }
    
    .path-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .trust-items {
        gap: 1.5rem;
        font-size: 0.875rem;
    }
    
    .trust-item i {
        font-size: 1rem;
    }
}

/* Parent Reassurance Section - Newsletter Style */
.parent-reassurance {
    background: #323031; /* Match newsletter section */
    position: relative;
    color: #EBEBEB;
    border-top: 4px solid #7B44C1;
    border-bottom: 4px solid #7B44C1;
}

.parent-reassurance::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7B44C1 0%, #9AD5CA 50%, #7B44C1 100%);
}

.parent-reassurance h2 {
    color: #EBEBEB;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.parent-reassurance .lead {
    color: #EBEBEB;
    opacity: 0.9;
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 3rem;
}

.reassurance-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
}

.reassurance-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.reassurance-item .icon-wrapper {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: rgba(123, 68, 193, 0.2);
    border: 2px solid #7B44C1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.reassurance-item:hover .icon-wrapper {
    transform: scale(1.05);
    background: rgba(123, 68, 193, 0.3);
    box-shadow: 0 0 20px rgba(123, 68, 193, 0.5);
}

.reassurance-item .icon-wrapper .medieval-icon {
    filter: brightness(0) saturate(100%) invert(95%) sepia(10%) saturate(200%) hue-rotate(120deg) brightness(110%) contrast(90%);
    width: 36px;
    height: 36px;
    display: block;
    margin: 0 auto;
}

.reassurance-item .content h4 {
    color: #EBEBEB;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.reassurance-item .content p {
    color: rgba(235, 235, 235, 0.85);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.parent-reassurance .btn-primary {
    background: #9AD5CA;
    border: none;
    color: #323031;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0px 1px 10px 5px rgba(154, 213, 202, 0.3);
}

.parent-reassurance .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0px 3px 15px 7px rgba(30, 150, 252, 0.4);
    background: linear-gradient(to bottom, #9AD5CA 5%, #7DCBB8 100%);
}

.parent-reassurance .text-muted {
    color: rgba(235, 235, 235, 0.7) !important;
}

/* Success Metrics Section - Newsletter/Parent Style */
.success-metrics {
    background: #323031; /* Match newsletter/parent sections */
    position: relative;
    color: #EBEBEB;
    border-top: 4px solid #7B44C1;
    border-bottom: 4px solid #7B44C1;
}

.success-metrics::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7B44C1 0%, #1E96FC 50%, #7B44C1 100%);
}

.success-metrics h2 {
    color: #EBEBEB;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.success-metrics .lead {
    color: #EBEBEB;
    opacity: 0.9;
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 3rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.metric-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.metric-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1E96FC; /* Brand Blue for metrics */
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

.metric-percent, .metric-prefix, .metric-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: #9AD5CA; /* Brand Mint for units */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline-block;
    vertical-align: top;
}

.metric-label {
    color: rgba(235, 235, 235, 0.85);
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.3;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-metrics .btn-success {
    background: #9AD5CA;
    border: none;
    color: #323031;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0px 1px 10px 5px rgba(154, 213, 202, 0.3);
}

.success-metrics .btn-success:hover {
    transform: scale(1.05);
    box-shadow: 0px 3px 15px 7px rgba(30, 150, 252, 0.4);
    background: linear-gradient(to bottom, #9AD5CA 5%, #7DCBB8 100%);
}

.success-metrics .btn-outline-success {
    background: transparent;
    border: 2px solid #9AD5CA;
    color: #9AD5CA;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.success-metrics .btn-outline-success:hover {
    background: rgba(154, 213, 202, 0.1);
    border-color: #7DCBB8;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(154, 213, 202, 0.3);
}

.success-metrics h4 {
    color: #EBEBEB;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-metrics p {
    color: rgba(235, 235, 235, 0.85);
    line-height: 1.6;
}

/* Mobile responsive for contributors and guiding principles */
@media (max-width: 768px) {
    .contributors-items {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .contributor-card {
        flex: 0 1 calc(50% - 0.5rem);
        min-width: 150px;
        padding: 1.5rem 1rem;
    }
    
    .contributor-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .contributor-icon {
        width: 60px;
        height: 60px;
    }
    
    .contributor-card h3 {
        font-size: 1rem;
    }
    
    /* Guiding principles mobile */
    .guiding-principles-items {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .guiding-principle-card {
        flex: 0 1 calc(50% - 0.5rem);
        min-width: 140px;
        padding: 1.5rem 1rem;
    }
    
    .guiding-icon {
        font-size: 2.5rem;
    }
    
    .guiding-principles h3 {
        font-size: 1rem;
    }
    
    .contributor-card p {
        font-size: 0.75rem;
    }
}

/* Mobile responsive for new sections */
@media (max-width: 768px) {
    .parent-reassurance h2,
    .success-metrics h2 {
        font-size: 2rem;
    }
    
    .reassurance-item {
        flex-direction: column;
        text-align: center;
    }
    
    .reassurance-item .icon-wrapper {
        margin: 0 auto;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .success-metrics .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
    }
}

/* Enhanced Newsletter Form Styling (DWS-inspired) */
.hero-form-group {
    display: flex;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-form-group:focus-within {
    border-color: #9AD5CA;
    box-shadow: 0 0 0 4px rgba(154, 213, 202, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.hero-email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 20px;
    color: #EBEBEB;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.hero-email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-submit-btn {
    background: #9AD5CA;
    color: #323031;
    border: none;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-submit-btn:hover {
    background: #7DCBB8;
    transform: translateX(-2px);
    box-shadow: -4px 0 12px rgba(154, 213, 202, 0.3);
}

.hero-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Progress Bar Styling */
.signup-progress {
    margin: 16px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #9AD5CA 0%, #7DCBB8 100%);
    border-radius: 20px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: block;
}

/* Loading Spinner */
.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(50, 48, 49, 0.3);
    border-top-color: #323031;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Trust Indicator Improvements */
.trust-indicator {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 16px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Newsletter Incentive Styling */
.newsletter-incentive {
    color: #9AD5CA;
    font-size: 15px;
    font-weight: 600;
    margin: 12px 0 0 0;
    display: block;
    text-align: center;
}

/* Mobile Newsletter Form */
@media (max-width: 768px) {
    .hero-form-group {
        flex-direction: column;
        max-width: 320px;
    }
    
    .hero-email-input {
        text-align: center;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .hero-submit-btn {
        justify-content: center;
        padding: 18px 24px;
    }
}
