/* from html/signup.twig (moved out of an inline <style> block) */
        @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');

        body, html {
            /* Sol üst yumuşak kalırken sol alt biraz daha maviye dönük (blue-200 tonu) */
            background: radial-gradient(ellipse at top right, #ffffff 0%, #eff6ff 50%, #bfdbfe 100%) !important;
            background-attachment: fixed !important;
            color: #1E293B;
            overflow-x: hidden;
        }

        .font-outfit { font-family: 'Outfit', sans-serif; }

        /* Animations Disabled for Performance Optimization */
        .anim-float-slow, .anim-float-medium, .anim-float-fast { transform: none !important; animation: none !important; }

        /* Custom Button Gradients */
        .btn-gradient-blue {
            background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
            box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
        }
        
        /* Abstract Background Lines SVG */
        .bg-lines {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
            opacity: 0.6;
        }

        /* Mobile responsive shadow hiding */
        @media (max-width: 768px) {
            .shadow-2xl {
                box-shadow: none !important;
            }
        }

        /* Reduce gap to fit screen perfectly */
        .hero {
            padding-top: 2rem !important;
            padding-bottom: 3rem !important;
            min-height: calc(100vh - 100px);
            display: flex;
            align-items: center;
        }

        /* Mobile: remove top gap so the form fits on screen */
        @media (max-width: 1023px) {
            .hero {
                padding-top: 0.5rem !important;
                padding-bottom: 1.5rem !important;
                min-height: auto;
                align-items: flex-start;
            }
            /* Layout header: smaller bottom gap on mobile */
            .header {
                padding-bottom: 0.25rem !important;
            }
        }

        /* Hide the layout's header on signup so only one (centered) logo shows */
        body:has(.signup-topbar) header.header {
            display: none !important;
        }
        .signup-logo {
            height: 34px;
            max-width: 150px;
        }
        @media (min-width: 768px) {
            .signup-logo { height: 40px; max-width: 170px; }
        }

        /* Old Signup Navbar CSS */
        .header {
            padding: 20px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            width: 100%;
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            max-width: 1280px; /* max-w-7xl */
            width: 100%;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.75);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 0, 0, 0.05);
            border-radius: 9999px;
            padding: 12px 25px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.07);
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 1.1rem;
            color: #1e293b;
            text-decoration: none;
        }
        .logo-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background-color: #2563eb;
            color: white;
            font-weight: 900;
            font-size: 1rem;
        }
        .logo-icon img {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            object-fit: contain;
        }
        .logo-text {
            font-weight: 600;
        }

        /* Fix PerfectPanel Backend Captcha Modal Styling - Simplified for Performance */
        .modal {
            display: none !important;
            position: fixed;
            inset: 0;
            z-index: 99999;
            background: rgba(0, 0, 0, 0.6);
            align-items: center;
            justify-content: center;
        }
        .modal.show-modal {
            display: flex !important;
        }
        .modal-dialog {
            width: 100%;
            max-width: 380px;
            margin: 0 auto;
            padding: 1rem;
        }
        .modal-content {
            background: #ffffff;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            position: relative;
        }
        .modal-header {
            text-align: center;
            margin-bottom: 1rem;
        }
        .modal-title {
            font-size: 1.125rem;
            font-weight: 600;
            color: #1e293b;
            margin: 0;
            font-family: inherit;
        }
        .modal-header .close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 2rem;
            height: 2rem;
            background: transparent;
            color: #64748b;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .modal-body {
            display: flex;
            justify-content: center;
        }
    

/* Non-English hero layout fixes (longer translated headlines & stat labels) */
html:not([lang="en"]):not([lang^="en-"]) .hero .lg\:order-1 {
    gap: 1.25rem;
}

html:not([lang="en"]):not([lang^="en-"]) .hero .lg\:order-1 h1 {
    flex-wrap: wrap !important;
    white-space: normal !important;
    font-size: clamp(1.75rem, 2.1vw, 2.3rem) !important;
    line-height: 1.15 !important;
    row-gap: 0.15rem;
    margin-bottom: 1.125rem !important;
}

html:not([lang="en"]):not([lang^="en-"]) .hero .lg\:order-1 h1 > div {
    flex-shrink: 0;
    white-space: nowrap;
}

html:not([lang="en"]):not([lang^="en-"]) .hero .lg\:order-1 h1 img {
    height: 1.12em !important;
}

/* Keep stats card from colliding with the form and prevent number/word mid-breaks */
html:not([lang="en"]):not([lang^="en-"]) .hero .lg\:order-1 > .absolute.bottom-0 {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    margin-top: auto;
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem 1.25rem !important;
    padding: 1rem 1.25rem !important;
}

@media (min-width: 1280px) {
    html:not([lang="en"]):not([lang^="en-"]) .hero .lg\:order-1 > .absolute.bottom-0 {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: max-content !important;
        max-width: calc(100% + 5.5rem) !important;
        gap: 1.25rem !important;
        padding: 1.1rem 1.5rem !important;
    }
}

html:not([lang="en"]):not([lang^="en-"]) .hero .lg\:order-1 > .absolute.bottom-0 > div {
    flex: 0 1 auto;
    gap: 0.625rem !important;
}

html:not([lang="en"]):not([lang^="en-"]) .hero .lg\:order-1 > .absolute.bottom-0 > div > div:first-child {
    flex-shrink: 0;
    width: 2.25rem !important;
    height: 2.25rem !important;
}

html:not([lang="en"]):not([lang^="en-"]) .hero .lg\:order-1 > .absolute.bottom-0 .font-outfit {
    white-space: nowrap !important;
    font-size: 15px !important;
}

html:not([lang="en"]):not([lang^="en-"]) .hero .lg\:order-1 > .absolute.bottom-0 [data-t]:not(span) {
    line-height: 1.2 !important;
    font-size: 11px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}
