/* Google Fonts werden non-blocking im HTML-Head geladen (kein @import = kein Render-Block) */
/* Fallback-Fonts bis Fonts geladen sind */

/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Outfit', 'Segoe UI', system-ui, sans-serif;
}

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #0f3460;
    --highlight: #e94560;
    --light: #f5f5f5;
    --text: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    color: var(--highlight);
}

.logo span {
    color: var(--highlight);
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--highlight);
    border-color: var(--highlight);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 8rem 0 5rem;
    text-align: center;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero .highlight-text {
    color: var(--highlight);
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FEATURES
   ======================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-item i {
    font-size: 2rem;
    color: var(--highlight);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
#services {
    background-color: #06070f;
    padding: 5rem 0;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(233, 69, 96, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.service-icon {
    width: 85px;
    height: 85px;
    background: radial-gradient(circle at 30% 30%, #2e3f62, #1a1a2e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    transition: transform 0.4s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(3deg);
}

.service-icon i {
    font-size: 2.2rem;
    color: var(--highlight);
    filter: drop-shadow(0 0 10px rgba(233, 69, 96, 0.4));
}

.service-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 700;
}

.service-content .badge {
    display: inline-block;
    background: rgba(233, 69, 96, 0.15);
    color: var(--highlight);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(233, 69, 96, 0.3);
}

.service-content p {
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--highlight), #d13855);
    color: white;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

/* ========================================
   FOOTER (UNIFIED & PREMIUM)
   ======================================== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust-badges .trust-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.footer-trust-badges .trust-badge:hover {
    background: rgba(233, 69, 96, 0.1);
    border-color: var(--highlight);
    transform: translateY(-3px);
}

.footer-main-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: white;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 130px;
    height: 2px;
    background: var(--highlight);
    border-radius: 2px;
}

.footer-column p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--highlight);
    transform: translateX(5px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: var(--highlight);
    width: 18px;
    font-size: 1rem;
    text-align: center;
}

.footer-contact-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: white;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.copyright {
    color: #64748b;
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .footer-main-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-main-content {
        grid-template-columns: 1fr;
    }

    .footer-trust-badges {
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

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

    .section-title h2 {
        font-size: 2rem;
    }

    .language-switcher {
        gap: 0.3rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}

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

    .service-card {
        padding: 2rem 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }
}

/* ========================================
   PWA SPECIFIC STYLES
   ======================================== */

/* Install Prompt Styles */
.install-prompt {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 400px;
    width: 90%;
    border: 2px solid var(--highlight);
}

.install-content {
    text-align: center;
}

.install-content p {
    margin-bottom: 15px;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

.btn-cancel {
    background: transparent;
    color: #666;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 10px;
    border-radius: 20px;
    transition: all 0.3s;
}

.btn-cancel:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.05);
}

/* Network Status Indicator */
#networkStatus {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--highlight);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    z-index: 10000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

/* PWA Install Animations */
@keyframes slideInUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    to {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
}

/* Loading Animation for PWA */
.pwa-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.pwa-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--highlight);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Standalone Mode Adjustments */
@media (display-mode: standalone) {
    header {
        padding-top: env(safe-area-inset-top);
    }

    .hero {
        margin-top: calc(70px + env(safe-area-inset-top));
    }
}

/* Safe Area Support for Notch Phones */
@supports(padding: max(0px)) {
    .hero {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .install-prompt {
        bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Enhanced Touch Interactions */
@media (hover: none) and (pointer: coarse) {

    .btn,
    .lang-btn,
    .service-card {
        min-height: 44px;
    }

    .btn {
        padding: 1rem 2.5rem;
    }
}

/* Print Styles for PWA */
@media print {

    .install-prompt,
    #networkStatus,
    .language-switcher {
        display: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid var(--text);
    }

    .feature-item {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .service-card,
    .feature-item,
    .btn {
        transition: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .install-prompt {
        background: var(--primary);
        color: white;
    }

    .install-content p {
        color: white;
    }

    .btn-cancel {
        color: #ccc;
    }

    .btn-cancel:hover {
        color: white;
        background: rgba(255, 255, 255, 0.1);
    }
}

/* ========================================
   ENHANCED SERVICE CARD ANIMATIONS FOR PWA
   ======================================== */
.service-card {
    /* Existing styles remain */
    will-change: transform, opacity;
}

.feature-item {
    /* Existing styles remain */
    will-change: transform;
}

/* Optimize for mobile performance */
.hero h1,
.hero .subtitle {
    will-change: transform, opacity;
}

/* ========================================
   PWA SPECIFIC RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .install-prompt {
        bottom: 10px;
        padding: 15px;
        max-width: 350px;
    }

    .install-content p {
        font-size: 0.9rem;
    }

    #networkStatus {
        top: 70px;
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .install-prompt {
        width: 95%;
        max-width: none;
        margin: 0 10px;
    }

    .install-content .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Landscape Mode Optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .install-prompt {
        bottom: 5px;
        padding: 10px;
    }

    .hero {
        padding: 4rem 0 2rem;
    }

    .section {
        padding: 2rem 0;
    }
}

/* ========================================
   INSTALL APP BUTTON STYLES
   ======================================== */
.install-app-btn {
    display: none;
    /* Initial versteckt */
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--highlight), #d13855) !important;
    border: 2px solid var(--highlight) !important;
    color: white !important;
    padding: 0.7rem 1.2rem !important;
    border-radius: 25px !important;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4) !important;
    position: relative;
    z-index: 1000;
}

/* Sichtbar wenn verfügbar */
.install-app-btn.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.install-app-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.6) !important;
}

/* Pulsierende Animation für Aufmerksamkeit */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(233, 69, 96, 0.8);
    }

    100% {
        box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    }
}

/* Emergency visible state for debugging */
.install-app-btn.debug-visible {
    display: flex !important;
    background: red !important;
    color: white !important;
    border: 3px solid yellow !important;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.install-app-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4) !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(233, 69, 96, 0.6);
    }

    100% {
        box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
    }
}

/* ========================================
   MOBILE LANGUAGE SWITCHER
   ======================================== */

/* Desktop Version ausblenden auf Mobile */
@media (max-width: 768px) {
    .desktop-language-switcher {
        display: none !important;
    }

    .mobile-language-switcher {
        display: block;
        position: relative;
    }
}

/* Mobile Version ausblenden auf Desktop */
@media (min-width: 769px) {
    .mobile-language-switcher {
        display: none !important;
    }

    .desktop-language-switcher {
        display: flex;
        gap: 0.5rem;
    }
}

/* Mobile Language Toggle Button */
.mobile-lang-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: space-between;
}

.mobile-lang-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mobile-lang-toggle .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-lang-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Mobile Language Dropdown */
.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

/* Verbesserte Dropdown Animation */
.mobile-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 200px;
    z-index: 1001;
    display: none;
    animation: slideDown 0.2s ease;
    transform-origin: top right;
}

.mobile-lang-dropdown.show {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* Mobile Language Options */
.mobile-lang-option {
    width: 100%;
    background: none;
    border: none;
    padding: 0.8rem 1rem;
    text-align: left;
    cursor: pointer;
    border-radius: 10px;
    color: var(--text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.mobile-lang-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-lang-option.active {
    background: linear-gradient(135deg, var(--highlight), #d13855);
    color: white;
}

.mobile-lang-option .fa-check {
    font-size: 0.8rem;
    opacity: 0;
}

.mobile-lang-option.active .fa-check {
    opacity: 1;
}

/* Mobile Install Button */
.mobile-install-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--highlight), #d13855);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    text-align: left;
}

.mobile-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}



/* Verbesserte Responsive Styles für sehr kleine Displays */
@media (max-width: 480px) {
    .mobile-lang-toggle {
        padding: 0.5rem 0.8rem;
        min-width: 80px;
        font-size: 0.9rem;
    }

    .mobile-lang-dropdown {
        min-width: 180px;
        right: -10px;
    }

    .mobile-lang-option,
    .mobile-install-btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    .current-lang {
        font-size: 0.9rem;
    }
}

/* Landscape Mode Optimierungen */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-lang-dropdown {
        max-height: 200px;
        overflow-y: auto;
    }
}

/* Touch-friendly Größen */
@media (hover: none) and (pointer: coarse) {

    .mobile-lang-toggle,
    .mobile-lang-option,
    .mobile-install-btn {
        min-height: 44px;
    }
}

/* ---- How it works (Modernized) ---- */
#how-it-works {
    background-color: #0c1221 !important;
    /* Force dark background */
    padding: 6rem 0;
    position: relative;
}

#how-it-works::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.2), transparent);
}

.slogan-badge {
    display: inline-block;
    background: #1a1a2e !important;
    /* Solid dark background */
    color: #ff4d6d !important;
    /* Vibrant coral-red */
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 2px solid #e94560;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.hero-slogan {
    margin: 0 auto 1.5rem;
    display: table;
}

.workflow-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.workflow-step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
}

.workflow-step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(233, 69, 96, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.step-num {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    user-select: none;
}

.step-icon-box {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #2e3f62, #1a1a2e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.workflow-step-card:hover .step-icon-box {
    transform: rotate(5deg) scale(1.1);
}

.step-icon-box i {
    font-size: 2rem;
    color: var(--highlight);
    filter: drop-shadow(0 0 8px rgba(233, 69, 96, 0.4));
}

.workflow-step-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    color: white;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.workflow-step-card p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}

.workflow-arrow {
    display: none;
    /* Removed arrows for a cleaner card layout */
}

.hero-mockup {
    max-width: 720px;
    margin: 2.5rem auto 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-mockup-bar {
    background: #2d2d2d;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.mock-bar-title {
    font-size: 0.72rem;
    color: #888;
    margin-left: 0.6rem;
}

.hero-mockup-img {
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .workflow-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .workflow-step {
        max-width: 100%;
        width: 100%;
    }

    .hero-mockup {
        display: none;
    }
}

/* ========================================
   ECOSYSTEM SECTION — Improved Visualization
   ================================================================ */
.ecosystem-section {
    background: #06070f;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

/* Subtle dot-grid background */
.ecosystem-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(233, 69, 96, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

/* Ambient light bloom behind center */
.ecosystem-section::after {
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(ellipse, rgba(233, 69, 96, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Section header */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title p {
    color: #64748b;
    font-size: 1.05rem;
}

/* ---- Tabs ---- */
.eco-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.eco-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 1.35rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    color: #64748b;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.eco-tab:hover {
    border-color: rgba(233, 69, 96, 0.35);
    color: #cbd5e0;
    background: rgba(233, 69, 96, 0.07);
}

.eco-tab.active {
    background: var(--highlight);
    color: white;
    border-color: var(--highlight);
    box-shadow: 0 0 18px rgba(233, 69, 96, 0.45), 0 4px 14px rgba(233, 69, 96, 0.25);
}

/* ---- SVG Graph ---- */
.eco-graph-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    aspect-ratio: 1/1;
    z-index: 1;
}

#ecoGraph {
    width: 100%;
    height: 100%;
    overflow: visible !important;
}

/* Node base */
.eco-node.actor {
    cursor: pointer;
}

.eco-node.actor .main-circle,
.eco-node.actor .node-icon {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), fill 0.3s;
    transform-origin: center;
    transform-box: fill-box;
}

.eco-node.actor:hover .main-circle {
    transform: scale(1.15);
    stroke: rgba(233, 69, 96, 0.4);
}

.eco-node.actor:hover .node-icon {
    transform: scale(1.1);
    fill: var(--highlight);
}

.eco-node circle {
    cursor: pointer;
}

/* Icon text inside nodes — CSS-controlled fill */
.node-icon {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    pointer-events: none;
    transition: fill 0.4s;
}

.actor .node-icon {
    font-size: 20px;
    fill: #475569;
}

.driver .node-icon {
    font-size: 12px;
    fill: #334155;
}

.core .node-icon {
    font-size: 26px;
    fill: rgba(255, 255, 255, 0.92);
}

/* Active / highlight icon */
.eco-node.active .node-icon {
    fill: var(--highlight);
}

.eco-node.highlight .node-icon {
    fill: rgba(233, 69, 96, 0.65);
}

/* Node main circle */
.main-circle {
    transition: fill 0.35s, stroke 0.35s, filter 0.35s;
}

.eco-node.active .main-circle {
    filter: drop-shadow(0 0 10px rgba(233, 69, 96, 0.65)) drop-shadow(0 0 22px rgba(233, 69, 96, 0.3));
}

/* Pulse ring on active node */
@keyframes ring-pulse {
    0% {
        r: 38px;
        opacity: 0.65;
    }

    100% {
        r: 60px;
        opacity: 0;
    }
}

.pulse-ring {
    display: none;
}

.eco-node.active .pulse-ring {
    display: block;
    animation: ring-pulse 1.8s ease-out infinite;
}

/* Sonar rings from core */
@keyframes sonar {
    0% {
        r: 54px;
        opacity: 0.55;
        stroke-width: 2px;
    }

    100% {
        r: 115px;
        opacity: 0;
        stroke-width: 0.5px;
    }
}

.sonar-ring {
    animation: sonar 3.2s ease-out infinite;
}

.sonar-ring:nth-child(2) {
    animation-delay: 1.07s;
}

.sonar-ring:nth-child(3) {
    animation-delay: 2.14s;
}

/* Node labels */
.node-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    fill: #94a3b8;
    pointer-events: none;
    transition: fill 0.3s;
}

.eco-node.active .node-label {
    fill: #e2e8f0;
}

/* Connection lines */
.eco-link {
    fill: none;
    stroke: rgba(233, 69, 96, 0.55);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.eco-link.secondary {
    stroke: rgba(96, 165, 250, 0.45);
    /* Soft sky blue */
    stroke-width: 1.4;
}

/* ---- Description card ---- */
.eco-description-card {
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 1.7rem 2.4rem;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(18px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.eco-description-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.eco-description-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.eco-description-card h3 {
    color: var(--highlight);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    letter-spacing: -0.2px;
}

.eco-description-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.8;
}

/* ---- Mobile ---- */
@media (max-width:768px) {
    .eco-graph-container {
        max-width: 100%;
    }

    .eco-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ---- ECO MODAL ---- */
.eco-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
}

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

.eco-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 7, 15, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.eco-modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: rgba(25, 25, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 3rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    overflow: hidden;
}

.eco-modal.active .eco-modal-content {
    transform: scale(1) translateY(0);
}

/* Internal glow for modal */
.eco-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(233, 69, 96, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.eco-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    padding-bottom: 4px;
}

.eco-modal-close:hover {
    background: rgba(233, 69, 96, 0.2);
    color: white;
    transform: rotate(90deg);
}

.eco-modal-icon-box {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 30% 30%, #2e3f62, #1a1a2e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.eco-modal-icon-box i {
    font-size: 2.5rem;
    color: var(--highlight);
    filter: drop-shadow(0 0 10px rgba(233, 69, 96, 0.4));
}

.eco-modal-body h2 {
    font-family: 'Outfit', sans-serif;
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.modal-divider {
    width: 60px;
    height: 4px;
    background: var(--highlight);
    border-radius: 2px;
    margin: 1.2rem auto;
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.4);
}

.eco-modal-body p {
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-btn {
    width: 100%;
    max-width: 200px;
}

/* ---- REVEAL ON SCROLL & ANIMATIONS ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-reveal {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 1, 0.3, 1) backwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays - refined */
.reveal-stagger>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger>*:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-stagger>*:nth-child(6) {
    transition-delay: 0.6s;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .hero-reveal,
    .reveal-stagger>* {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---- MOCKUP DEMO SECTION ---- */
.agency-demo-section {
    background: linear-gradient(to bottom, #06070f, #0a0c14);
    padding: 6rem 0;
}

.mockup-wrap {
    background: #0d1017;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6);
    max-width: 800px;
    margin: 0 auto;
}

.mockup-bar {
    background: #1a1f2e;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-bar .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-bar span {
    font-size: 0.75rem;
    color: #64748b;
    margin-left: 0.8rem;
    font-weight: 500;
}

.mockup-body {
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group select {
    width: 100%;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #f8fafc;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--highlight);
    background: #1a1f2e;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.submit-btn-demo {
    width: 100%;
    background: linear-gradient(135deg, var(--highlight), #c73652);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    margin-top: 0.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.submit-btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(233, 69, 96, 0.45);
}

.success-msg-demo {
    display: none;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1.2rem;
    color: #10b981;
    font-size: 0.95rem;
    font-weight: 500;
    align-items: center;
    gap: 0.8rem;
    animation: fadeInUp 0.4s ease forwards;
}

.success-msg-demo.show {
    display: flex;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .mockup-body {
        padding: 1.5rem;
    }
}

/* ---- REISEBUERO DEMO ENHANCEMENTS ---- */
.demo-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.demo-tab-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.demo-tab-btn i {
    font-size: 1rem;
}

.demo-tab-btn.active {
    background: rgba(233, 69, 96, 0.1);
    border-color: var(--highlight);
    color: white;
}

.demo-form-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.demo-form-section.active {
    display: block;
}

.demo-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--highlight);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.demo-flow-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    color: var(--highlight);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
}

.demo-flow-indicator i {
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

.dashboard-result-mockup {
    margin-top: 0;
    border-color: rgba(233, 69, 96, 0.2);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s;
}

.dashboard-result-mockup:hover {
    transform: scale(1.02);
}


/* ========================================
   BETA STATUS & AVAILABILITY
   ======================================== */
.beta-status-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.beta-availability-badge {
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid rgba(39, 201, 63, 0.3);
    color: #27c93f;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #27c93f;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #27c93f;
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* ========================================
   DEMO DUAL LAYOUT (FORM + DRIVER)
   ======================================== */
.demo-dual-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .demo-dual-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.demo-form-wrap {
    margin-bottom: 0 !important;
}

.field-info-tag {
    display: block;
    font-size: 0.75rem;
    color: var(--highlight);
    margin-top: 0.3rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ========================================
   IPHONE MOCKUP (DRIVER SIDE)
   ======================================== */
.driver-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.iphone-mockup {
    width: 280px;
    height: 560px;
    background: #111;
    border-radius: 40px;
    border: 8px solid #222;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.iphone-speaker {
    width: 50px;
    height: 4px;
    background: #333;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
}

.driver-app-status-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
}

.driver-app-content {
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    color: white;
}

.driver-wait-state i {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    animation: rotate-slow 4s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.driver-order-received {
    display: none;
    background: #1e293b;
    border: 2px solid var(--highlight);
    border-radius: 20px;
    padding: 1.5rem;
    width: 100%;
    animation: slide-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slide-up {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.notif-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--highlight);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.notif-body {
    margin-bottom: 1.5rem;
}

.notif-body p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.notif-accept-btn {
    width: 100%;
    background: var(--highlight);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.notif-accept-btn:hover {
    transform: scale(1.05);
}

.preview-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ========================================
   BETA PARTNER CTA
   ======================================== */
.beta-partner-cta {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(15, 52, 96, 0.2) 100%);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 30px;
    padding: 3.5rem;
    margin-top: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .beta-partner-cta {
        flex-direction: column;
        padding: 2.5rem;
        text-align: center;
    }
}

.cta-content {
    flex: 2;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-benefits {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e2e8f0;
    font-weight: 500;
}

.benefit-item i {
    color: #27c93f;
    font-size: 1.2rem;
}

.btn-premium {
    background: linear-gradient(135deg, var(--highlight), #d13855);
    color: white !important;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

/* ========================================
   APP STORE & PLAY STORE BADGES
   ======================================== */
.app-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.app-store-btn,
.play-store-btn {
    background: #000;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: left;
}

.app-store-btn:hover,
.play-store-btn:hover {
    background: #111;
    border-color: var(--highlight);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.app-store-btn i,
.play-store-btn i {
    font-size: 1.8rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-text span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.btn-text strong {
    font-size: 1.1rem;
    font-weight: 700;
}

@media (max-width: 480px) {
    .app-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .app-store-btn,
    .play-store-btn {
        width: 100%;
        max-width: 220px;
    }
}

.feature-app-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.feature-app-links a {
    color: var(--highlight);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: opacity 0.3s;
}

.feature-app-links a:hover {
    opacity: 0.8;
}



/* ========================================
   MOBILE APP SHOWCASE
   ======================================== */
.app-showcase {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-showcase .section-title h2 {
    color: white;
}

.app-showcase .section-title p {
    color: #94a3b8;
}

.app-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.app-screenshot-item {
    text-align: center;
    transition: transform 0.4s ease;
}

.app-screenshot-item:hover {
    transform: translateY(-15px);
}

.phone-frame {
    background: #000;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(233, 69, 96, 0.1);
    border: 6px solid #1e293b;
    position: relative;
    aspect-ratio: 9 / 19.5;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.app-screenshot-item:hover .phone-frame {
    border-color: var(--highlight);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(233, 69, 96, 0.3);
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

.screenshot-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .app-screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .app-screenshot-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ============================================
   GRÜNDER / ÜBER UNS SEKTION
   In styles.css einfügen
   ============================================ */

#gruender {
    background: linear-gradient(165deg, #0f172a 0%, #1a1a2e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6rem 0;
}

#gruender .section-title h2 {
    color: white;
}

#gruender .section-title p {
    color: #94a3b8;
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.founder-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.3);
}

.founder-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}

.founder-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.founder-quote {
    background: rgba(233, 69, 96, 0.07);
    border-left: 3px solid #e94560;
    border-radius: 0 12px 12px 0;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.founder-quote .fa-quote-left {
    color: #e94560;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.7;
}

.founder-quote p {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-style: italic;
}

.founder-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.founder-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.founder-stat:hover {
    background: rgba(233, 69, 96, 0.08);
    border-color: rgba(233, 69, 96, 0.3);
}

.founder-stat i {
    font-size: 1.4rem;
    color: #e94560;
    margin-bottom: 2px;
}

.founder-stat .stat-val {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.founder-stat .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.founder-story {
    margin-bottom: 2.5rem;
}

.founder-story p {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.founder-story p:last-child {
    margin-bottom: 0;
}

.founder-status {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem 2rem;
}

.founder-status h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.status-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.status-item i {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.status-item.done i {
    color: #27c93f;
}

.status-item.progress i {
    color: #ffbd2e;
}

.status-item.planned i {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
    .founder-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-quote {
        padding: 1.25rem;
    }

    .founder-status {
        padding: 1.25rem;
    }
}
.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


/* ========================================
   ONBOARDING SERVICE SECTION (DARK THEME)
   ======================================== */
.onboarding-section {
    background: linear-gradient(165deg, #1a1a2e 0%, #0f172a 100%);
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.onboarding-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 4rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.onboarding-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.onboarding-text h2 {
    font-size: 2.8rem;
    color: white;
    margin: 1.5rem 0;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.onboarding-text p {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.onboarding-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.onboarding-step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.onboarding-step-item:hover {
    transform: translateX(12px);
    background: rgba(233, 69, 96, 0.1);
    border-color: rgba(233, 69, 96, 0.3);
}

.onboarding-step-item.highlight {
    background: rgba(233, 69, 96, 0.12);
    border-color: rgba(233, 69, 96, 0.4);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.15);
}

.onboarding-step-item .step-icon {
    width: 60px;
    height: 60px;
    background: rgba(233, 69, 96, 0.15);
    color: var(--highlight);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

.onboarding-step-item.highlight .step-icon {
    background: var(--highlight);
    color: white;
}

.onboarding-step-item .step-info h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--highlight);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.onboarding-step-item .step-info p {
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

@media (max-width: 1100px) {
    .onboarding-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .onboarding-text h2 {
        font-size: 2.2rem;
    }
    
    .onboarding-card {
        padding: 3rem 2rem;
    }
}


/* ========================================
   FAQ SECTION (DARK THEME)
   ======================================== */
.faq-section {
    background: #0f172a;
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(233, 69, 96, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(233, 69, 96, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.faq-question {
    padding: 1.75rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: white;
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
}

.faq-question i {
    font-size: 1rem;
    color: #e94560;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2.5rem 2.5rem;
}

.faq-answer p {
    color: #94a3b8;
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.5rem 1.75rem;
        font-size: 1.05rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.75rem 1.75rem;
    }
}

/* ========================================
   HEADER NAVIGATION
   ======================================== */
.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: white;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 992px) {
    .main-nav {
        display: none; /* Hide on mobile by default */
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        z-index: 1000;
    }

    .main-nav.active {
        display: flex;
        right: 0;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .mobile-nav-toggle {
        display: block;
    }
    
    .desktop-language-switcher {
        display: none;
    }
}

.onboarding-no-risk {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.no-risk-badge {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(39, 201, 63, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(39, 201, 63, 0.2);
}

.no-risk-badge i {
    font-size: 1.8rem;
    color: #27c93f;
    margin-top: 5px;
}

.no-risk-text h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.no-risk-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* =================================================================
   3D ECOSYSTEM GRAPH STYLES
   ================================================================= */
.eco-canvas-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: grab;
    outline: none;
}
.eco-canvas-3d:active {
    cursor: grabbing;
}

.eco-3d-labels-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.eco-3d-label {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.2s;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform, left, top;
}

.eco-3d-label:hover {
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 10;
}

.eco-3d-label .eco-label-icon {
    width: 48px;
    height: 48px;
    background: radial-gradient(circle at 50% 35%, #2e3f62 0%, #111828 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.eco-3d-label .eco-label-icon i {
    font-size: 18px;
    color: #94a3b8;
    transition: color 0.3s, transform 0.3s;
}

/* Core node style styling */
.eco-3d-label.core-label {
    z-index: 5;
}
.eco-3d-label.core-label .eco-label-icon {
    width: 68px;
    height: 68px;
    background: radial-gradient(circle at 50% 35%, #ff7a92 0%, #e94560 55%, #9e1f35 100%);
    box-shadow: 0 0 24px rgba(233, 69, 96, 0.45);
    border-color: rgba(255, 255, 255, 0.15);
}

.eco-3d-label.core-label .eco-label-icon i {
    font-size: 26px;
    color: white;
}

.eco-3d-label.core-label:hover .eco-label-icon {
    transform: scale(1.05);
}

/* Active node label styles */
.eco-3d-label.active-label .eco-label-icon {
    background: #2a0d18;
    border-color: rgba(233, 69, 96, 0.7);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.65), 0 0 40px rgba(233, 69, 96, 0.3);
}

.eco-3d-label.active-label .eco-label-icon i {
    color: var(--highlight);
    transform: scale(1.1);
}

.eco-3d-label.active-label .eco-label-text {
    color: #e2e8f0;
    font-weight: 700;
}

/* Label text styling */
.eco-3d-label .eco-label-text {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
    white-space: nowrap;
    text-align: center;
    transition: color 0.3s;
}

/* Hover effects */
.eco-3d-label:hover .eco-label-icon {
    border-color: rgba(233, 69, 96, 0.4);
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.35);
}

.eco-3d-label:hover .eco-label-icon i {
    color: var(--highlight);
}

/* Driver label style (smaller nodes) */
.eco-3d-label.driver-label {
    transform: translate(-50%, -50%) scale(0.85);
    z-index: 1;
}
.eco-3d-label.driver-label:hover {
    transform: translate(-50%, -50%) scale(0.95);
}
.eco-3d-label.driver-label .eco-label-icon {
    width: 28px;
    height: 28px;
    background: radial-gradient(circle at 50% 35%, #1e293b 0%, #0c1321 100%);
    margin-bottom: 4px;
}
.eco-3d-label.driver-label .eco-label-icon i {
    font-size: 10px;
    color: #475569;
}
.eco-3d-label.driver-label .eco-label-text {
    font-size: 9.5px;
    color: #64748b;
}

/* Hide fallback 2D SVG when WebGL is active */
.eco-graph-container.webgl-active #ecoGraph {
    display: none !important;
}

.eco-graph-container.webgl-active .pulse-ring,
.eco-graph-container.webgl-active .sonar-ring {
    animation: none !important;
    display: none !important;
}

/* =================================================================
   HEADER LOGIN DROPDOWN STYLES
   ================================================================= */
.login-dropdown-container {
    position: relative;
    display: inline-block;
    z-index: 1002; /* ensure it stays on top of header elements */
}

.btn-login {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(233, 69, 96, 0.22));
    border: 1px solid rgba(233, 69, 96, 0.38);
    color: white;
    padding: 0.5rem 1.15rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.12);
    outline: none;
    user-select: none;
}

.btn-login i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.btn-login .chevron-icon {
    font-size: 0.75rem;
    opacity: 0.7;
}

.btn-login:hover {
    background: var(--highlight);
    border-color: var(--highlight);
    box-shadow: 0 0 16px rgba(233, 69, 96, 0.5), 0 4px 12px rgba(233, 69, 96, 0.2);
    transform: translateY(-1px);
}

.btn-login.active {
    background: var(--highlight);
    border-color: var(--highlight);
}

.btn-login.active .chevron-icon {
    transform: rotate(180deg);
}

.login-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    background: rgba(10, 15, 28, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 290px;
    padding: 0.7rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-dropdown-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.login-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.22s ease;
}

.login-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: white;
}

.login-item i {
    font-size: 1.05rem;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.login-item:hover i {
    background: rgba(233, 69, 96, 0.1);
    color: var(--highlight);
    border-color: rgba(233, 69, 96, 0.2);
}

.login-item .title {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #e2e8f0;
    margin-bottom: 2px;
}

.login-item .desc {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .btn-login span, 
    .btn-login .chevron-icon {
        display: none;
    }
    .btn-login {
        padding: 0.55rem;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        justify-content: center;
        gap: 0;
    }
    .btn-login i {
        font-size: 1rem;
    }
    .login-dropdown-menu {
        position: fixed;
        right: 12px;
        left: 12px;
        width: auto;
        top: 75px;
    }
}


