*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb
}

:root {
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif
}

body {
    margin: 0;
    line-height: inherit;
    background-color: #f9fafb
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit
}

a {
    color: inherit;
    text-decoration: inherit
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle
}

img,
video {
    max-width: 100%;
    height: auto
}

[hidden] {
    display: none
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 1rem;
    padding-right: 1rem
}

@media (min-width:640px) {
    .container {
        max-width: 640px;
        padding-left: 1.5rem;
        padding-right: 1.5rem
    }
}

@media (min-width:768px) {
    .container {
        max-width: 768px
    }
}

@media (min-width:1024px) {
    .container {
        max-width: 1024px;
        padding-left: 2rem;
        padding-right: 2rem
    }
}

@media (min-width:1280px) {
    .container {
        max-width: 1280px
    }
}

.block {
    display: block
}

.inline-block {
    display: inline-block
}

.inline {
    display: inline
}

.flex {
    display: flex
}

.inline-flex {
    display: inline-flex
}

.grid {
    display: grid
}

.hidden {
    display: none
}

.flex-row {
    flex-direction: row
}

.flex-col {
    flex-direction: column
}

.flex-wrap {
    flex-wrap: wrap
}

.items-start {
    align-items: flex-start
}

.items-center {
    align-items: center
}

.items-stretch {
    align-items: stretch
}

.justify-start {
    justify-content: flex-start
}

.justify-center {
    justify-content: center
}

.justify-between {
    justify-content: space-between
}

.flex-1 {
    flex: 1 1 0%
}

.flex-shrink-0 {
    flex-shrink: 0
}

.flex-grow {
    flex-grow: 1
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr))
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.col-span-1 {
    grid-column: span 1/span 1
}

.col-span-2 {
    grid-column: span 2/span 2
}

.gap-2 {
    gap: .5rem
}

.gap-3 {
    gap: .75rem
}

.gap-4 {
    gap: 1rem
}

.gap-6 {
    gap: 1.5rem
}

.gap-8 {
    gap: 2rem
}

.space-x-2>:not([hidden])~:not([hidden]) {
    margin-left: .5rem
}

.space-x-3>:not([hidden])~:not([hidden]) {
    margin-left: .75rem
}

.space-x-4>:not([hidden])~:not([hidden]) {
    margin-left: 1rem
}

.space-y-2>:not([hidden])~:not([hidden]) {
    margin-top: .5rem
}

.space-y-3>:not([hidden])~:not([hidden]) {
    margin-top: .75rem
}

.space-y-4>:not([hidden])~:not([hidden]) {
    margin-top: 1rem
}

.static {
    position: static
}

.relative {
    position: relative
}

.absolute {
    position: absolute
}

.sticky {
    position: sticky
}

.top-0 {
    top: 0
}

.top-1 {
    top: .25rem
}

.right-1 {
    right: .25rem
}

.z-50 {
    z-index: 50
}

.w-4 {
    width: 1rem
}

.w-5 {
    width: 1.25rem
}

.w-6 {
    width: 1.5rem
}

.w-8 {
    width: 2rem
}

.w-12 {
    width: 3rem
}

.w-16 {
    width: 4rem
}

.w-20 {
    width: 5rem
}

.w-full {
    width: 100%
}

.h-4 {
    height: 1rem
}

.h-5 {
    height: 1.25rem
}

.h-6 {
    height: 1.5rem
}

.h-8 {
    height: 2rem
}

.h-12 {
    height: 3rem
}

.h-16 {
    height: 4rem
}

.h-20 {
    height: 5rem
}

.h-full {
    height: 100%
}

.h-screen {
    height: 100vh
}

.min-h-screen {
    min-height: 100vh
}

.min-h-\[45px\] {
    min-height: 45px
}

.max-w-2xl {
    max-width: 42rem
}

.max-w-3xl {
    max-width: 48rem
}

.max-w-4xl {
    max-width: 56rem
}

.max-w-7xl {
    max-width: 80rem
}

.m-auto {
    margin: auto
}

.mx-auto {
    margin-left: auto;
    margin-right: auto
}

.mt-1 {
    margin-top: .25rem
}

.mt-2 {
    margin-top: .5rem
}

.mt-4 {
    margin-top: 1rem
}

.mt-6 {
    margin-top: 1.5rem
}

.mt-8 {
    margin-top: 2rem
}

.mt-12 {
    margin-top: 3rem
}

.mt-20 {
    margin-top: 5rem
}

.mr-1 {
    margin-right: .25rem
}

.mr-2 {
    margin-right: .5rem
}

.mr-3 {
    margin-right: .75rem
}

.mb-2 {
    margin-bottom: .5rem
}

.mb-3 {
    margin-bottom: .75rem
}

.mb-4 {
    margin-bottom: 1rem
}

.mb-6 {
    margin-bottom: 1.5rem
}

.mb-8 {
    margin-bottom: 2rem
}

.mb-12 {
    margin-bottom: 3rem
}

.mb-16 {
    margin-bottom: 4rem
}

.ml-2 {
    margin-left: .5rem
}

.ml-4 {
    margin-left: 1rem
}

.p-2 {
    padding: .5rem
}

.p-4 {
    padding: 1rem
}

.p-6 {
    padding: 1.5rem
}

.p-8 {
    padding: 2rem
}

.px-2 {
    padding-left: .5rem;
    padding-right: .5rem
}

.px-3 {
    padding-left: .75rem;
    padding-right: .75rem
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem
}

.py-1 {
    padding-top: .25rem;
    padding-bottom: .25rem
}

.py-2 {
    padding-top: .5rem;
    padding-bottom: .5rem
}

.py-3 {
    padding-top: .75rem;
    padding-bottom: .75rem
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem
}

.pt-6 {
    padding-top: 1.5rem
}

.pt-8 {
    padding-top: 2rem
}

.gradient-bg.py-16,
.gradient-bg.sm\:py-20 {
    padding-top: 4rem !important;
    padding-bottom: 2rem !important
}

@media (min-width:640px) {

    .gradient-bg.py-16,
    .gradient-bg.sm\:py-20 {
        padding-top: 5rem !important;
        padding-bottom: 2.5rem !important
    }
}

.text-xs {
    font-size: .75rem;
    line-height: 1rem
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem
}

.text-5xl {
    font-size: 3rem;
    line-height: 1
}

.font-medium {
    font-weight: 500
}

.font-semibold {
    font-weight: 600
}

.font-bold {
    font-weight: 700
}

.uppercase {
    text-transform: uppercase
}

.capitalize {
    text-transform: capitalize
}

.leading-tight {
    line-height: 1.25
}

.tracking-wider {
    letter-spacing: .05em
}

.text-left {
    text-align: left
}

.text-center {
    text-align: center
}

.text-right {
    text-align: right
}

.text-white {
    color: rgb(255 255 255)
}

.text-gray-300 {
    color: rgb(209 213 219)
}

.text-gray-400 {
    color: rgb(156 163 175)
}

.text-gray-500 {
    color: rgb(107 114 128)
}

.text-gray-600 {
    color: rgb(75 85 99)
}

.text-gray-700 {
    color: rgb(55 65 81)
}

.text-gray-900 {
    color: rgb(17 24 39)
}

.text-indigo-100 {
    color: rgb(224 231 255)
}

.text-indigo-200 {
    color: rgb(199 210 254)
}

.text-indigo-600 {
    color: rgb(79 70 229)
}

.text-yellow-300 {
    color: rgb(253 224 71)
}

.text-green-500 {
    color: rgb(34 197 94)
}

.text-red-700 {
    color: rgb(185 28 28)
}

.bg-white {
    background-color: rgb(255 255 255)
}

.bg-gray-50 {
    background-color: rgb(249 250 251)
}

.bg-gray-100 {
    background-color: rgb(243 244 246)
}

.bg-gray-200 {
    background-color: rgb(229 231 235)
}

.bg-gray-800 {
    background-color: rgb(31 41 55)
}

.bg-indigo-50 {
    background-color: rgb(238 242 255)
}

.bg-indigo-600 {
    background-color: rgb(79 70 229)
}

.bg-red-50 {
    background-color: rgb(254 242 242)
}

.bg-orange-50 {
    background-color: rgb(255 247 237)
}

.hover\:bg-gray-50:hover {
    background-color: rgb(249 250 251)
}

.hover\:bg-gray-100:hover {
    background-color: rgb(243 244 246)
}

.hover\:bg-gray-200:hover {
    background-color: rgb(229 231 235)
}

.hover\:bg-indigo-700:hover {
    background-color: rgb(67 56 202)
}

.hover\:text-indigo-600:hover {
    color: rgb(79 70 229)
}

.opacity-50 {
    opacity: .5
}

.opacity-60 {
    opacity: .6
}

.opacity-80 {
    opacity: .8
}

.opacity-90 {
    opacity: .9
}

.border {
    border-width: 1px
}

.border-2 {
    border-width: 2px
}

.border-t {
    border-top-width: 1px
}

.border-b {
    border-bottom-width: 1px
}

.border-dashed {
    border-style: dashed
}

.border-gray-200 {
    border-color: rgb(229 231 235)
}

.border-gray-300 {
    border-color: rgb(209 213 219)
}

.border-indigo-200 {
    border-color: rgb(199 210 254)
}

.border-orange-200 {
    border-color: rgb(254 215 170)
}

.border-white {
    border-color: rgb(255 255 255)
}

.rounded {
    border-radius: .25rem
}

.rounded-md {
    border-radius: .375rem
}

.rounded-lg {
    border-radius: .5rem
}

.rounded-full {
    border-radius: 9999px
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgb(0 0 0/.05)
}

.shadow {
    box-shadow: 0 1px 3px 0 rgb(0 0 0/.1), 0 1px 2px -1px rgb(0 0 0/.1)
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0/.1), 0 4px 6px -4px rgb(0 0 0/.1)
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgb(0 0 0/.1), 0 8px 10px -6px rgb(0 0 0/.1)
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0/.1), 0 4px 6px -4px rgb(0 0 0/.1)
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0/.1), 0 8px 10px -6px rgb(0 0 0/.1)
}

.transition {
    transition-property: color, background-color, border-color, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 150ms
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 150ms
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: 150ms
}

.duration-200 {
    transition-duration: 200ms
}

.duration-300 {
    transition-duration: 300ms
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.scale-105 {
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05
}

.hover\:-translate-y-0\.5:hover {
    --tw-translate-y: -.125rem
}

.hover\:-translate-y-1:hover {
    --tw-translate-y: -.25rem
}

.cursor-pointer {
    cursor: pointer
}

.cursor-not-allowed {
    cursor: not-allowed
}

.select-none {
    -webkit-user-select: none;
    user-select: none
}

.pointer-events-none {
    pointer-events: none
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px
}

.focus\:ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}

.focus\:ring-white:focus {
    --tw-ring-color: rgb(255 255 255)
}

.focus\:ring-offset-2:focus {
    --tw-ring-offset-width: 2px
}

.focus\:ring-offset-indigo-600:focus {
    --tw-ring-offset-color: rgb(79 70 229)
}

@media (min-width:640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem
    }

    .sm\:flex-row {
        flex-direction: row
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .sm\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .sm\:col-span-2 {
        grid-column: span 2/span 2
    }

    .sm\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem
    }

    .sm\:mt-8 {
        margin-top: 2rem
    }

    .sm\:pt-8 {
        padding-top: 2rem
    }

    .sm\:space-y-0>:not([hidden])~:not([hidden]) {
        margin-top: 0
    }

    .sm\:space-x-4>:not([hidden])~:not([hidden]) {
        margin-left: 1rem
    }

    .sm\:text-base {
        font-size: 1rem;
        line-height: 1.5rem
    }

    .sm\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem
    }

    .sm\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem
    }

    .sm\:gap-8 {
        gap: 2rem
    }

    .sm\:inline {
        display: inline
    }

    .sm\:hidden {
        display: none
    }
}

@media (min-width:768px) {
    .md\:block {
        display: block
    }

    .md\:flex {
        display: flex
    }

    .md\:hidden {
        display: none
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .md\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr))
    }

    .md\:flex-row {
        flex-direction: row
    }

    .md\:items-center {
        align-items: center
    }

    .md\:justify-between {
        justify-content: space-between
    }

    .md\:space-y-0>:not([hidden])~:not([hidden]) {
        margin-top: 0
    }

    .md\:px-4 {
        padding-left: 1rem;
        padding-right: 1rem
    }

    .md\:mb-8 {
        margin-bottom: 2rem
    }

    .md\:text-base {
        font-size: 1rem;
        line-height: 1.5rem
    }

    .md\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem
    }

    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem
    }

    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1
    }
}

@media (min-width:1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .lg\:col-span-2 {
        grid-column: span 2/span 2
    }

    .lg\:col-span-4 {
        grid-column: span 4/span 4
    }
}

@media (max-width:768px) {
    .mobile-touch {
        min-height: 44px;
        min-width: 44px
    }

    .mobile-padding {
        padding: 1rem
    }
}

.modern-nav {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 1px 20px rgba(0, 0, 0, .08);
    transition: all .3s ease
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative
}

.nav-logo {
    flex-shrink: 0
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform .3s ease
}

.logo-link:hover {
    transform: scale(1.02)
}

.logo-icon {
    font-size: 4rem;
    line-height: 1
}

.logo-image {
    width: 250%;
    height: 250%;
    -o-object-fit: contain;
    object-fit: contain;
    display: block
}

@media (max-width:768px) {
    .logo-image {
        width: auto;
        height: 100%;
        max-width: 100%
    }
}

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

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #1a202c
}

.logo-sub {
    font-size: .7rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 40px
}

@media (min-width:768px) {
    .nav-desktop {
        display: flex
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: .95rem;
    padding: 8px 0;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center
}

.nav-link:hover {
    color: #667eea
}

.link-text {
    transition: transform .3s ease
}

.nav-link:hover .link-text {
    transform: translateY(-2px)
}

.link-indicator {
    height: 2px;
    width: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: width .3s ease;
    margin-top: 4px
}

.nav-link:hover .link-indicator {
    width: 100%
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 16px
}

.auth-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: .9rem
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite
}

.auth-guest {
    display: flex;
    align-items: center;
    gap: 12px
}

.auth-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all .3s ease
}

.auth-link:hover {
    background: #f7fafc;
    color: #667eea
}

.auth-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer
}

.primary-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, .3)
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, .4)
}

.button-arrow {
    transition: transform .3s ease
}

.primary-button:hover .button-arrow {
    transform: translateX(4px)
}

.dashboard-button {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0
}

.dashboard-button:hover {
    background: #edf2f7;
    color: #667eea
}

.logout-button {
    background: #fed7d7;
    color: #c53030;
    padding: 10px;
    border-radius: 8px
}

.logout-button:hover {
    background: #feb2b2
}

.logout-icon {
    width: 18px;
    height: 18px
}

.auth-user {
    display: flex;
    align-items: center;
    gap: 16px
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .9rem
}

.user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2
}

.user-email {
    font-size: .85rem;
    color: #4a5568;
    font-weight: 500;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.user-plan {
    font-size: .75rem;
    font-weight: 600;
    text-transform: capitalize
}

.plan-free {
    color: #718096
}

.plan-premium {
    color: #667eea
}

.plan-pro {
    color: #9f7aea
}

.mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: 0 0;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color .3s ease
}

@media (min-width:768px) {
    .mobile-menu-button {
        display: none
    }
}

.mobile-menu-button:hover {
    background: #f7fafc
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: #4a5568;
    border-radius: 2px;
    transition: all .3s ease;
    transform-origin: center
}

.menu-open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg)
}

.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.menu-open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg)
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto
}

@media (min-width:768px) {
    .mobile-menu {
        display: none
    }
}

.mobile-menu-content {
    padding: 24px 20px
}

.mobile-nav-section {
    margin-bottom: 32px
}

.mobile-section-title {
    font-size: .8rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 16px
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f7fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all .3s ease;
    border: 1px solid transparent
}

.mobile-nav-link:hover {
    background: #edf2f7;
    border-color: #667eea;
    transform: translateX(4px)
}

.mobile-link-icon {
    font-size: 1.2rem;
    margin-right: 12px
}

.mobile-link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.mobile-link-title {
    font-weight: 600;
    color: #1a202c;
    font-size: .95rem
}

.mobile-link-desc {
    font-size: .8rem;
    color: #718096
}

.mobile-link-arrow {
    color: #cbd5e0;
    font-weight: 600;
    transition: all .3s ease
}

.mobile-nav-link:hover .mobile-link-arrow {
    color: #667eea;
    transform: translateX(4px)
}

.mobile-auth-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    margin-top: 24px
}

.mobile-auth-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    color: #718096
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.mobile-auth-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
    border: none;
    cursor: pointer;
    font-size: .95rem;
    width: 100%;
    text-align: left
}

.mobile-auth-button.login-button {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0
}

.mobile-auth-button.login-button:hover {
    background: #edf2f7;
    color: #667eea
}

.mobile-auth-button.signup-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff
}

.mobile-auth-button.signup-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, .3)
}

.mobile-auth-button.dashboard-button {
    background: #e6fffa;
    color: #00a3a3;
    border: 1px solid #b2f5ea
}

.mobile-auth-button.logout-button {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2
}

.mobile-button-icon {
    font-size: 1.1rem
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0
}

.mobile-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem
}

.mobile-user-details {
    flex: 1
}

.mobile-user-email {
    font-size: .95rem;
    color: #1a202c;
    font-weight: 600;
    margin-bottom: 2px
}

.mobile-user-plan {
    font-size: .8rem;
    font-weight: 500;
    text-transform: capitalize
}

.mobile-menu-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.mobile-footer-text {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.footer-logo {
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #1a202c
}

.footer-tagline {
    font-size: .75rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: .5px
}

.mobile-footer-social {
    display: flex;
    align-items: center
}

.social-icons {
    display: flex;
    gap: 8px
}

.social-icon {
    font-size: 1.1rem;
    opacity: .6
}

.mobile-menu-enter {
    transition: all .3s ease-out
}

.mobile-menu-enter-start {
    opacity: 0;
    transform: translateY(-10px)
}

.mobile-menu-enter-end {
    opacity: 1;
    transform: translateY(0)
}

.mobile-menu-leave {
    transition: all .2s ease-in
}

.mobile-menu-leave-start {
    opacity: 1;
    transform: translateY(0)
}

.mobile-menu-leave-end {
    opacity: 0;
    transform: translateY(-10px)
}

@media (max-width:480px) {
    .nav-container {
        padding: 0 16px
    }

    .nav-content {
        height: 60px
    }

    .logo-main {
        font-size: 1.3rem
    }

    .mobile-menu-content {
        padding: 20px 16px
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 2rem;
    border-radius: 9999px;
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
    min-width: 120px;
    min-height: 48px
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, .4)
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 2rem;
    border: 2px solid #764ba2;
    border-radius: 9999px;
    font-size: .875rem;
    font-weight: 600;
    color: #764ba2;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
    min-width: 120px;
    min-height: 48px
}

.btn-secondary:hover {
    background-color: #fff;
    color: #4f46e5
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 400px
}

@media (max-width:768px) {
    .gradient-bg {
        min-height: 400px
    }
}

.card-hover {
    transition: all .3s ease-in-out
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .1)
}

.upload-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border: 2px dashed #d1d5db;
    border-radius: .5rem;
    text-align: center;
    background: #fff;
    min-height: 240px;
    transition: all .3s ease
}

.upload-area:hover {
    border-color: #6366f1;
    background-color: #f0f9ff
}

.upload-area.drag-over {
    border-color: #6366f1;
    background-color: #eff6ff;
    transform: scale(1.02)
}

@media (max-width:768px) {
    .upload-area {
        padding: 1.5rem;
        min-height: 180px
    }
}

.score-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #10b981 calc(var(--score)*1%), #e5e7eb calc(var(--score)*1%));
    flex-shrink: 0
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    min-width: 100px;
    flex-shrink: 0
}

.pricing-card {
    position: relative;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    text-align: center;
    background: #fff;
    overflow: hidden;
    transition: all .3s ease
}

.pricing-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1);
    transform: translateY(-2px)
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .7
    }
}

.animate-pulse,
.animate-pulse-slow {
    animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite
}

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

.animate-spin {
    animation: spin 1s linear infinite
}

.fa-spin {
    animation: spin 1s linear infinite
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    border-radius: 4px
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

.aspect-square {
    aspect-ratio: 1/1
}

.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)
}

section[aria-labelledby=cta-heading] {
    background-color: rgb(79 70 229) !important
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem
}

@media (min-width:768px) {
    .cta-section h2 {
        font-size: 2.5rem
    }
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, .9);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem
}

@media (min-width:640px) {
    .cta-buttons {
        flex-direction: row
    }
}

.trust-signals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    color: rgba(255, 255, 255, .8)
}

.trust-signals .trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap
}

.cta-primary-btn,
.cta-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    min-height: 56px;
    transition: all .2s ease
}

.cta-primary-btn {
    background-color: #fff;
    color: #4f46e5;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1);
    min-width: 200px
}

.cta-primary-btn:hover {
    background-color: #f3f4f6;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
    transform: translateY(-1px)
}

.cta-secondary-btn {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    min-width: 160px
}

.cta-secondary-btn:hover {
    background-color: #fff;
    color: #4f46e5
}

footer {
    padding: 2rem 0 1.5rem 0 !important;
    border-top: 1px solid #e5e7eb;
    background-color: #fff !important
}

footer .py-8,
footer .py-12,
footer .sm\:py-12 {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem
}

@media (min-width:640px) {
    .footer-container {
        padding: 0 1.5rem
    }
}

@media (min-width:1024px) {
    .footer-container {
        padding: 0 2rem
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem
}

@media (min-width:768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem
    }
}

@media (min-width:1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr
    }
}

.footer-brand {
    display: flex;
    flex-direction: column
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem
}

.footer-logo img {
    height: 2rem;
    width: auto;
    margin-right: .5rem
}

.footer-brand h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin: 0
}

.footer-brand p {
    color: #6b7280;
    line-height: 1.5 !important;
    margin: 1rem 0;
    max-width: 24rem
}

.social-links {
    display: flex;
    gap: .75rem;
    margin-top: 1rem
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #f3f4f6;
    border-radius: 50%;
    color: #6b7280;
    text-decoration: none;
    transition: all .2s ease
}

.social-link:hover {
    background-color: #4f46e5;
    color: #fff;
    transform: translateY(-1px)
}

.footer-section {
    display: flex;
    flex-direction: column
}

.footer-section h4,
footer h3 {
    font-size: .875rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    margin-bottom: .75rem !important;
    margin-top: 0
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-section li {
    margin-bottom: .75rem;
    line-height: 1.4 !important
}

.footer-section a {
    color: #6b7280;
    text-decoration: none;
    font-size: .875rem;
    transition: color .2s ease !important
}

.footer-section a:hover {
    color: #4f46e5
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center
}

footer .mt-6,
footer .mt-8,
footer .sm\:mt-8 {
    margin-top: 1.5rem !important
}

footer .pt-6,
footer .pt-8,
footer .sm\:pt-8 {
    padding-top: 1.5rem !important
}

.footer-bottom p {
    color: #6b7280;
    font-size: .875rem;
    margin: 0
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0
}

.fas,
.fab {
    width: 1em;
    height: 1em;
    display: inline-block
}

footer .fas.fa-tshirt {
    font-size: 1.5rem;
    color: rgb(79 70 229)
}

footer .fab {
    font-size: 1.125rem
}

footer .space-y-2>:not([hidden])~:not([hidden]) {
    margin-top: .375rem !important
}

.disabled\:opacity-50:disabled {
    opacity: .5
}

.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops))
}

.from-purple-500 {
    --tw-gradient-from: #a855f7;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(168, 85, 247, 0))
}

.to-indigo-600 {
    --tw-gradient-to: #4f46e5
}

.from-yellow-50 {
    --tw-gradient-from: #fffbeb;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 251, 235, 0))
}

.to-yellow-100 {
    --tw-gradient-to: #fef3c7
}

.from-indigo-600 {
    --tw-gradient-from: #4f46e5;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(79, 70, 229, 0))
}

.to-purple-600 {
    --tw-gradient-to: #9333ea
}

.bg-gradient-to-r.from-indigo-600.to-purple-600 button svg {
    stroke: #fff
}

.bg-green-50 {
    background-color: #f0fdf4
}

.bg-green-100 {
    background-color: #dcfce7
}

.bg-green-500 {
    background-color: #22c55e
}

.bg-yellow-50 {
    background-color: #fefce8
}

.bg-yellow-100 {
    background-color: #fef9c3
}

.bg-yellow-500 {
    background-color: #eab308
}

.bg-yellow-600 {
    background-color: #ca8a04
}

.bg-red-100 {
    background-color: #fee2e2
}

.bg-red-500 {
    background-color: #ef4444
}

.bg-red-600 {
    background-color: #dc2626
}

.bg-blue-50 {
    background-color: #eff6ff
}

.bg-blue-500 {
    background-color: #3b82f6
}

.bg-indigo-50 {
    background-color: #eef2ff
}

.bg-indigo-100 {
    background-color: #e0e7ff
}

.bg-indigo-400 {
    background-color: #818cf8
}

.bg-indigo-700 {
    background-color: #4338ca
}

.bg-purple-50 {
    background-color: #faf5ff
}

.bg-purple-100 {
    background-color: #f3e8ff
}

.bg-purple-500 {
    background-color: #a855f7
}

.bg-purple-600 {
    background-color: #9333ea
}

.bg-pink-50 {
    background-color: #fdf2f8
}

.bg-pink-100 {
    background-color: #fce7f3
}

.bg-pink-600 {
    background-color: #db2777
}

.bg-teal-50 {
    background-color: #f0fdfa
}

.text-green-600 {
    color: #16a34a
}

.text-green-700 {
    color: #15803d
}

.text-green-800 {
    color: #166534
}

.text-green-900 {
    color: #14532d
}

.text-yellow-400 {
    color: #facc15
}

.text-yellow-500 {
    color: #eab308
}

.text-yellow-700 {
    color: #b45309
}

.text-yellow-800 {
    color: #92400e
}

.text-red-400 {
    color: #f87171
}

.text-red-600 {
    color: #dc2626
}

.text-red-800 {
    color: #991b1b
}

.text-blue-500 {
    color: #3b82f6
}

.text-blue-600 {
    color: #2563eb
}

.text-blue-700 {
    color: #1d4ed8
}

.text-blue-800 {
    color: #1e40af
}

.text-blue-900 {
    color: #1e3a8a
}

.text-indigo-500 {
    color: #6366f1
}

.text-indigo-700 {
    color: #4338ca
}

.text-indigo-800 {
    color: #3730a3
}

.text-purple-100 {
    color: #f3e8ff
}

.text-purple-500 {
    color: #a855f7
}

.text-purple-600 {
    color: #9333ea
}

.text-purple-700 {
    color: #7e22ce
}

.text-purple-800 {
    color: #6b21a8
}

.text-purple-900 {
    color: #581c87
}

.text-pink-400 {
    color: #f472b6
}

.text-pink-500 {
    color: #ec4899
}

.text-pink-600 {
    color: #db2777
}

.text-pink-700 {
    color: #be185d
}

.text-pink-800 {
    color: #9d174d
}

.text-pink-900 {
    color: #831843
}

.text-teal-600 {
    color: #0d9488
}

.text-teal-800 {
    color: #115e59
}

.text-teal-900 {
    color: #134e4a
}

.text-orange-500 {
    color: #f97316
}

.text-orange-600 {
    color: #ea580c
}

.text-orange-800 {
    color: #9a3412
}

.text-orange-900 {
    color: #7c2d12
}

.border-green-200 {
    border-color: #bbf7d0
}

.border-green-400 {
    border-color: #4ade80
}

.border-yellow-200 {
    border-color: #fef08a
}

.border-yellow-400 {
    border-color: #facc15
}

.border-red-200 {
    border-color: #fecaca
}

.border-red-400 {
    border-color: #f87171
}

.border-indigo-400 {
    border-color: #818cf8
}

.border-purple-200 {
    border-color: #e9d5ff
}

.border-purple-400 {
    border-color: #c084fc
}

.border-pink-200 {
    border-color: #fbcfe8
}

.border-pink-300 {
    border-color: #f9a8d4
}

.border-pink-400 {
    border-color: #f472b6
}

.border-blue-200 {
    border-color: #bfdbfe
}

.border-orange-400 {
    border-color: #fb923c
}

.hover\:bg-purple-50:hover {
    background-color: #faf5ff
}

.hover\:bg-purple-700:hover {
    background-color: #7e22ce
}

.hover\:bg-pink-700:hover {
    background-color: #be185d
}

.hover\:bg-yellow-700:hover {
    background-color: #a16207
}

.hover\:bg-red-700:hover {
    background-color: #b91c1c
}

.hover\:border-indigo-400:hover {
    border-color: #818cf8
}

.hover\:border-purple-400:hover {
    border-color: #c084fc
}

.hover\:border-pink-400:hover {
    border-color: #f472b6
}

.hover\:text-gray-700:hover {
    color: #374151
}

.hover\:text-gray-800:hover {
    color: #1f2937
}

.hover\:text-purple-800:hover {
    color: #6b21a8
}

.hover\:text-pink-800:hover {
    color: #9d174d
}

.hover\:text-indigo-800:hover {
    color: #3730a3
}

.focus\:border-purple-500:focus {
    border-color: #a855f7
}

.focus\:ring-purple-500:focus {
    --tw-ring-color: #a855f7
}

.divide-y>:not([hidden])~:not([hidden]) {
    border-top-width: 1px
}

.divide-gray-200>:not([hidden])~:not([hidden]) {
    border-color: #e5e7eb
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}

@media (prefers-contrast:high) {
    .modern-nav {
        border-bottom: 2px solid #000
    }

    .nav-link {
        border: 1px solid transparent
    }

    .nav-link:hover {
        border-color: #000
    }
}

.fixed {
    position: fixed
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0
}

.bg-black {
    --tw-bg-opacity: 1;
    background-color: rgb(0 0 0/var(--tw-bg-opacity))
}

.bg-opacity-50 {
    --tw-bg-opacity: .5
}

.overflow-y-auto {
    overflow-y: auto
}

.max-h-96 {
    max-height: 24rem
}

.max-h-full {
    max-height: 100%
}

.z-50 {
    z-index: 50
}

.z-50 .max-w-md {
    max-width: 30rem
}

.z-50 .p-6 {
    padding: 1rem
}

.z-50 .px-6.py-4 {
    padding: .75rem 1rem
}

.z-50 .mb-6 {
    margin-bottom: 1rem
}

.z-50 .space-y-3>:not([hidden])~:not([hidden]) {
    margin-top: .5rem
}

.z-70 {
    z-index: 70
}

.fixed .bg-white.rounded-lg,
.fixed .bg-white.rounded-2xl {
    background-color: #f9fafb !important;
    box-shadow: 0 20px 25px -5px rgb(0 0 0/.1), 0 8px 10px -6px rgb(0 0 0/.1) !important;
    border: 1px solid #e5e7eb
}

.fixed .border-b.border-gray-200,
.fixed .p-6.border-b {
    border-color: #f3f4f6
}

.fixed h3.text-lg,
.fixed h3.text-xl {
    font-weight: 700;
    color: #111827
}

.grid .group,
.grid>template>div {
    transition: all .3s ease-in-out
}

.grid .group:hover,
.grid>template>div:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08), 0 4px 6px rgba(0, 0, 0, .06)
}

.grid .group .object-cover {
    transition: transform .4s ease-in-out
}

.grid .group:hover .object-cover {
    transform: scale(1.08)
}

.grid .group .aspect-square {
    border-radius: .5rem;
    overflow: hidden
}

.bg-gradient-to-t.from-black\/70 {
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .5) 40%, transparent 100%)
}

.group-hover\:translate-y-0 {
    transition: transform .35s cubic-bezier(.4, 0, .2, 1)
}

.font-bold.text-2xl {
    text-shadow: 0 2px 4px rgba(0, 0, 0, .5)
}

.group .absolute.inset-0.bg-black.bg-opacity-0.group-hover\:bg-opacity-20 {
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 80%);
    transition: opacity .3s ease;
    opacity: 0
}

.group:hover .absolute.inset-0.bg-black.bg-opacity-0.group-hover\:bg-opacity-20 {
    opacity: 1
}

.group .w-full.p-2.text-white.opacity-0.group-hover\:opacity-100 {
    padding: 1rem;
    transition: opacity .3s ease, transform .3s ease;
    transform: translateY(8px)
}

.group:hover .w-full.p-2.text-white.opacity-0.group-hover\:opacity-100 {
    transform: translateY(0)
}

.group .bg-black.bg-opacity-75.rounded.px-2.py-1 {
    background: transparent;
    padding: 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6)
}

.absolute.top-2.right-2>.text-xs {
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    border: 1px solid rgba(0, 0, 0, .05)
}

.bg-green-500.text-white.text-xs.px-2.py-1.rounded-full {
    background-color: #10b981;
    box-shadow: 0 2px 6px rgba(16, 185, 129, .4);
    font-weight: 600
}

.bg-blue-500.text-white.text-xs.px-2.py-1.rounded-full {
    box-shadow: 0 2px 6px rgba(59, 130, 246, .4);
    font-weight: 600
}

.mt-1.text-center,
.mt-2 {
    padding: .25rem .25rem 0
}

.text-gray-500.text-center,
.text-gray-500.mt-1 {
    color: #6b7280
}

.text-gray-600.text-center.capitalize {
    color: #1f2937;
    font-weight: 500
}

.flex.items-center.justify-center.w-full.h-full[x-show^="!analysis.thumbnail"],
.flex.items-center.justify-center.w-full.h-full[x-show^="!makeup.thumbnail"] {
    transition: background-color .3s ease
}

.group:hover .flex.items-center.justify-center.w-full.h-full {
    background-color: #e5e7eb !important
}

.group:hover .flex.items-center.justify-center.w-full.h-full i {
    transform: scale(1.1);
    transition: transform .3s ease
}

.text-center.py-12 {
    opacity: .8
}

.text-center.py-12 i {
    transition: transform .5s ease
}

.text-center.py-12:hover i {
    transform: rotate(3deg) scale(1.05)
}

.p-6.overflow-y-auto {
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f9fafb
}

.p-6.overflow-y-auto::-webkit-scrollbar {
    width: 8px
}

.p-6.overflow-y-auto::-webkit-scrollbar-track {
    background: #f9fafb
}

.p-6.overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 10px;
    border: 2px solid #f9fafb
}

div[x-show=showAllAnalyses],
div[x-show="showAllComparisons === true && !isLoading"],
div[x-show=showAllMakeupAnalyses] {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important
}

div[x-show=showAllAnalyses] .bg-white.rounded-2xl,
div[x-show="showAllComparisons === true && !isLoading"] .bg-white.rounded-2xl,
div[x-show=showAllMakeupAnalyses] .bg-white.rounded-2xl {
    background: linear-gradient(135deg, #fafbfc 0%, #f4f6f8 100%) !important;
    border: 1px solid rgba(148, 163, 184, .15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .15), 0 0 0 1px rgba(255, 255, 255, .1) !important
}

div[x-show=showAllAnalyses] .border-b.border-gray-200,
div[x-show="showAllComparisons === true && !isLoading"] .border-b.border-gray-200,
div[x-show=showAllMakeupAnalyses] .border-b.border-gray-200 {
    background: rgba(255, 255, 255, .8);
    border-bottom: 1px solid rgba(148, 163, 184, .1) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px)
}

div[x-show=showAllAnalyses] .grid.grid-cols-2.sm\:grid-cols-3.md\:grid-cols-4.lg\:grid-cols-5,
div[x-show="showAllComparisons === true && !isLoading"] .grid.grid-cols-2.sm\:grid-cols-3.md\:grid-cols-4.lg\:grid-cols-5,
div[x-show=showAllMakeupAnalyses] .grid.grid-cols-2.sm\:grid-cols-3.md\:grid-cols-4.lg\:grid-cols-5 {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 1.25rem !important;
    padding: 1.5rem !important
}

div[x-show=showAllAnalyses] .grid>template>div,
div[x-show="showAllComparisons === true && !isLoading"] .grid>template>div,
div[x-show=showAllMakeupAnalyses] .grid>template>div {
    position: relative !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04) !important;
    transition: all .4s cubic-bezier(.4, 0, .2, 1) !important;
    border: 1px solid rgba(148, 163, 184, .1) !important;
    padding: 0 !important;
    height: auto !important;
    width: 100% !important;
    display: block !important;
    cursor: pointer !important
}

div[x-show=showAllAnalyses] .grid>template>div:hover,
div[x-show="showAllComparisons === true && !isLoading"] .grid>template>div:hover,
div[x-show=showAllMakeupAnalyses] .grid>template>div:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .12), 0 8px 10px -6px rgba(0, 0, 0, .08), 0 0 0 1px rgba(99, 102, 241, .1) !important;
    border-color: rgba(99, 102, 241, .2) !important
}

div[x-show=showAllAnalyses] .aspect-square,
div[x-show="showAllComparisons === true && !isLoading"] .aspect-square,
div[x-show=showAllMakeupAnalyses] .aspect-square {
    position: relative !important;
    width: 100% !important;
    height: 140px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #f1f5f9 !important
}

div[x-show=showAllAnalyses] .aspect-square img,
div[x-show="showAllComparisons === true && !isLoading"] .aspect-square img,
div[x-show=showAllMakeupAnalyses] .aspect-square img {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: cover !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1) !important;
    filter: brightness(1) contrast(1.02) !important
}

div[x-show=showAllAnalyses] .group:hover .aspect-square img,
div[x-show="showAllComparisons === true && !isLoading"] .group:hover .aspect-square img,
div[x-show=showAllMakeupAnalyses] .group:hover .aspect-square img {
    transform: scale(1.08) !important;
    filter: brightness(1.05) contrast(1.05) !important
}

div[x-show=showAllAnalyses] .aspect-square .absolute.inset-0,
div[x-show="showAllComparisons === true && !isLoading"] .aspect-square .absolute.inset-0,
div[x-show=showAllMakeupAnalyses] .aspect-square .absolute.inset-0 {
    position: static !important;
    background: 0 0 !important
}

div[x-show=showAllAnalyses] .absolute.top-2.left-2>div {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: #fff !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, .4) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    min-width: 40px !important;
    text-align: center !important;
    line-height: 1.2 !important;
    transition: all .3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important
}

div[x-show=showAllMakeupAnalyses] .absolute.top-2.left-2>div {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%) !important;
    color: #fff !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(236, 72, 153, .4) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    min-width: 40px !important;
    text-align: center !important;
    line-height: 1.2 !important;
    transition: all .3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important
}

div[x-show="showAllComparisons === true && !isLoading"] .absolute.top-2.left-2>div {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, .4) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    transition: all .3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important
}

div[x-show=showAllAnalyses] .group:hover .absolute.top-2.left-2>div,
div[x-show=showAllMakeupAnalyses] .group:hover .absolute.top-2.left-2>div,
div[x-show="showAllComparisons === true && !isLoading"] .group:hover .absolute.top-2.left-2>div {
    transform: scale(1.05) !important
}

div[x-show=showAllAnalyses] .text-xs.text-gray-300,
div[x-show="showAllComparisons === true && !isLoading"] .text-xs.text-gray-500.mt-2.text-center,
div[x-show=showAllMakeupAnalyses] .text-xs.text-gray-500:last-child {
    display: none !important
}

div[x-show=showAllAnalyses] .grid>template>div::after,
div[x-show="showAllComparisons === true && !isLoading"] .grid>template>div::after,
div[x-show=showAllMakeupAnalyses] .grid>template>div::after {
    display: none !important
}

div[x-show=showAllAnalyses] .flex.items-center.justify-center.w-full.h-full.bg-gray-100,
div[x-show="showAllComparisons === true && !isLoading"] .flex.items-center.justify-center.w-full.h-full.bg-gray-100,
div[x-show="showAllComparisons === true && !isLoading"] .flex.items-center.justify-center.w-full.h-full.bg-gray-200,
div[x-show=showAllMakeupAnalyses] .flex.items-center.justify-center.w-full.h-full.bg-pink-100 {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    border: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    height: 140px !important;
    transition: all .3s ease !important
}

div[x-show=showAllAnalyses] .group:hover .flex.items-center.justify-center.w-full.h-full.bg-gray-100,
div[x-show="showAllComparisons === true && !isLoading"] .group:hover .flex.items-center.justify-center.w-full.h-full.bg-gray-100,
div[x-show="showAllComparisons === true && !isLoading"] .group:hover .flex.items-center.justify-center.w-full.h-full.bg-gray-200,
div[x-show=showAllMakeupAnalyses] .group:hover .flex.items-center.justify-center.w-full.h-full.bg-pink-100 {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important
}

div[x-show=showAllAnalyses] .flex.items-center.justify-center.w-full.h-full i,
div[x-show="showAllComparisons === true && !isLoading"] .flex.items-center.justify-center.w-full.h-full i,
div[x-show=showAllMakeupAnalyses] .flex.items-center.justify-center.w-full.h-full i {
    font-size: 2rem !important;
    opacity: .4 !important;
    color: #6b7280 !important;
    transition: all .4s cubic-bezier(.4, 0, .2, 1) !important
}

div[x-show=showAllAnalyses] .group:hover .flex.items-center.justify-center.w-full.h-full i,
div[x-show="showAllComparisons === true && !isLoading"] .group:hover .flex.items-center.justify-center.w-full.h-full i,
div[x-show=showAllMakeupAnalyses] .group:hover .flex.items-center.justify-center.w-full.h-full i {
    transform: scale(1.1) !important;
    opacity: .6 !important
}

div[x-show=showAllAnalyses] .bg-gradient-to-t,
div[x-show="showAllComparisons === true && !isLoading"] .bg-black.bg-opacity-0,
div[x-show=showAllMakeupAnalyses] .bg-black.bg-opacity-0 {
    display: none !important
}

div[x-show=showAllMakeupAnalyses] .text-xs.text-gray-600.capitalize.font-medium {
    display: none !important
}

div[x-show=showAllAnalyses] .text-center.py-12,
div[x-show="showAllComparisons === true && !isLoading"] .text-center.py-12,
div[x-show=showAllMakeupAnalyses] .text-center.py-12 {
    background: #fff !important;
    border-radius: 12px !important;
    border: 2px dashed rgba(148, 163, 184, .2) !important;
    margin: 1.5rem !important;
    padding: 3rem 2rem !important;
    transition: all .3s ease !important
}

div[x-show=showAllAnalyses] .text-center.py-12:hover,
div[x-show="showAllComparisons === true && !isLoading"] .text-center.py-12:hover,
div[x-show=showAllMakeupAnalyses] .text-center.py-12:hover {
    border-color: rgba(99, 102, 241, .3) !important;
    background: #fafbfc !important
}

div[x-show=showAllAnalyses] .text-center.py-12 i,
div[x-show="showAllComparisons === true && !isLoading"] .text-center.py-12 i,
div[x-show=showAllMakeupAnalyses] .text-center.py-12 i {
    color: rgba(99, 102, 241, .6) !important;
    transition: all .6s cubic-bezier(.4, 0, .2, 1) !important
}

div[x-show=showAllAnalyses] .text-center.py-12:hover i,
div[x-show="showAllComparisons === true && !isLoading"] .text-center.py-12:hover i,
div[x-show=showAllMakeupAnalyses] .text-center.py-12:hover i {
    transform: scale(1.1) rotate(-3deg) !important;
    color: rgba(99, 102, 241, .8) !important
}

div[x-show=showAllAnalyses] .overflow-y-auto,
div[x-show="showAllComparisons === true && !isLoading"] .overflow-y-auto,
div[x-show=showAllMakeupAnalyses] .overflow-y-auto {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, .3) transparent
}

div[x-show=showAllAnalyses] .overflow-y-auto::-webkit-scrollbar,
div[x-show="showAllComparisons === true && !isLoading"] .overflow-y-auto::-webkit-scrollbar,
div[x-show=showAllMakeupAnalyses] .overflow-y-auto::-webkit-scrollbar {
    width: 6px
}

div[x-show=showAllAnalyses] .overflow-y-auto::-webkit-scrollbar-track,
div[x-show="showAllComparisons === true && !isLoading"] .overflow-y-auto::-webkit-scrollbar-track,
div[x-show=showAllMakeupAnalyses] .overflow-y-auto::-webkit-scrollbar-track {
    background: transparent
}

div[x-show=showAllAnalyses] .overflow-y-auto::-webkit-scrollbar-thumb,
div[x-show="showAllComparisons === true && !isLoading"] .overflow-y-auto::-webkit-scrollbar-thumb,
div[x-show=showAllMakeupAnalyses] .overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: rgba(148, 163, 184, .3);
    border-radius: 3px
}

div[x-show=showAllAnalyses] .overflow-y-auto::-webkit-scrollbar-thumb:hover,
div[x-show="showAllComparisons === true && !isLoading"] .overflow-y-auto::-webkit-scrollbar-thumb:hover,
div[x-show=showAllMakeupAnalyses] .overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background-color: rgba(148, 163, 184, .5)
}

div[x-show=showAllAnalyses] .text-gray-400.bg-transparent.hover\:bg-gray-200,
div[x-show="showAllComparisons === true && !isLoading"] .text-gray-400.bg-transparent.hover\:bg-gray-200,
div[x-show=showAllMakeupAnalyses] .text-gray-400.bg-transparent.hover\:bg-gray-200 {
    transition: all .3s ease !important;
    border-radius: 6px !important;
    color: #9ca3af !important
}

div[x-show=showAllAnalyses] .text-gray-400.bg-transparent.hover\:bg-gray-200:hover,
div[x-show="showAllComparisons === true && !isLoading"] .text-gray-400.bg-transparent.hover\:bg-gray-200:hover,
div[x-show=showAllMakeupAnalyses] .text-gray-400.bg-transparent.hover\:bg-gray-200:hover {
    background-color: rgba(239, 68, 68, .1) !important;
    color: #ef4444 !important;
    transform: scale(1.05) !important
}

div[x-show=showAllAnalyses] .absolute.top-2.left-2,
div[x-show="showAllComparisons === true && !isLoading"] .absolute.top-2.left-2,
div[x-show=showAllMakeupAnalyses] .absolute.top-2.left-2 {
    position: absolute !important;
    top: .5rem !important;
    left: .5rem !important;
    z-index: 20 !important;
    pointer-events: none !important
}

div[x-show=showAllAnalyses] .absolute.top-2.left-2>div,
div[x-show="showAllComparisons === true && !isLoading"] .absolute.top-2.left-2>div,
div[x-show=showAllMakeupAnalyses] .absolute.top-2.left-2>div {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    min-width: 32px !important;
    height: auto !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1) !important
}

div[x-show=showAllAnalyses] .absolute.top-2.left-2>div {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .2) !important
}

div[x-show=showAllMakeupAnalyses] .absolute.top-2.left-2>div {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .2) !important
}

div[x-show="showAllComparisons === true && !isLoading"] .absolute.top-2.left-2>div {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .2) !important
}

div[x-show=showAllAnalyses] .aspect-square,
div[x-show="showAllComparisons === true && !isLoading"] .aspect-square,
div[x-show=showAllMakeupAnalyses] .aspect-square {
    position: relative !important
}

div[x-show=showAllAnalyses] .absolute.top-2.left-2 span,
div[x-show="showAllComparisons === true && !isLoading"] .absolute.top-2.left-2 span,
div[x-show=showAllMakeupAnalyses] .absolute.top-2.left-2 span {
    color: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important
}

.absolute.top-2.left-2 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important
}

@supports not (background:linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%)) {
    div[x-show=showAllAnalyses] .absolute.top-2.left-2>div {
        background: #3b82f6 !important
    }

    div[x-show=showAllMakeupAnalyses] .absolute.top-2.left-2>div {
        background: #ec4899 !important
    }

    div[x-show="showAllComparisons === true && !isLoading"] .absolute.top-2.left-2>div {
        background: #10b981 !important
    }
}

div[x-show=showAllAnalyses].fixed.inset-0.bg-black.bg-opacity-50.flex.items-center.justify-center,
div[x-show="showAllComparisons === true && !isLoading"].fixed.inset-0.bg-black.bg-opacity-50.flex.items-center.justify-center,
div[x-show=showAllMakeupAnalyses].fixed.inset-0.bg-black.bg-opacity-50.flex.items-center.justify-center {
    align-items: flex-start !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    overflow-y: hidden
}

div[x-show=showAllAnalyses] .bg-white.rounded-lg,
div[x-show="showAllComparisons === true && !isLoading"] .bg-white.rounded-lg,
div[x-show=showAllMakeupAnalyses] .bg-white.rounded-lg {
    max-height: calc(100vh - 4rem) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important
}

div[x-show=showAllAnalyses] .bg-white.rounded-lg>.p-6,
div[x-show="showAllComparisons === true && !isLoading"] .bg-white.rounded-lg>.p-6,
div[x-show=showAllMakeupAnalyses] .bg-white.rounded-lg>.p-6 {
    overflow-y: auto !important;
    flex-grow: 1 !important
}

.fixed.inset-0 .bg-white.rounded-lg {
    max-height: calc(100vh - 4rem) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important
}

.fixed.inset-0 .bg-white.rounded-lg>.p-6 {
    overflow-y: auto !important;
    flex-grow: 1 !important
}

.p-6>.flex.justify-between.items-center {
    position: sticky !important;
    top: 0 !important;
    background: rgba(255, 255, 255, .95) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 10 !important;
    margin: -1.5rem -1.5rem 1.5rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb
}

.p-6>.flex.justify-center.space-x-4.pt-6.border-t {
    position: sticky !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, .95) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 10 !important;
    margin: 1.5rem -1.5rem -1.5rem;
    padding: 1rem 1.5rem
}

@media (max-width:768px) {
    .fixed.inset-0.bg-black.bg-opacity-50.flex.items-center.justify-center {
        padding: 1rem !important
    }

    .fixed.inset-0 .bg-white.rounded-lg {
        max-height: calc(100vh - 2rem) !important
    }
}

div[x-show="showPlanModal === true && !isLoading"] {
    align-items: flex-start !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important
}

div[x-show="showPlanModal === true && !isLoading"]>.bg-white.rounded-2xl {
    max-height: calc(100vh - 4rem) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important
}

div[x-show="showPlanModal === true && !isLoading"]>.bg-white.rounded-2xl>.p-6 {
    overflow-y: auto !important;
    flex-grow: 1 !important
}

body.modal-open {
    overflow: hidden !important
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%) !important;
    position: relative;
    overflow: hidden
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, .1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .08) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(255, 255, 255, .06) 0%, transparent 50%);
    pointer-events: none
}

.gradient-bg>div {
    position: relative;
    z-index: 2
}

.gradient-bg .bg-white\/20 {
    background: rgba(255, 255, 255, .25) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    transition: all .3s ease !important;
    font-weight: 500 !important
}

.gradient-bg .bg-white\/20:hover {
    background: rgba(255, 255, 255, .35) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1) !important
}

.bg-white.rounded-2xl.shadow-xl.overflow-hidden.card-hover {
    border: 1px solid rgba(0, 0, 0, .05) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .08), 0 8px 10px -6px rgba(0, 0, 0, .05) !important;
    transition: all .4s cubic-bezier(.4, 0, .2, 1) !important;
    overflow: hidden !important
}

.bg-white.rounded-2xl.shadow-xl.overflow-hidden.card-hover:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, .15), 0 0 0 1px rgba(102, 126, 234, .1) !important;
    border-color: rgba(102, 126, 234, .2) !important
}

.bg-white.rounded-2xl .md\:w-1\/2 img {
    transition: transform .6s cubic-bezier(.4, 0, .2, 1) !important;
    filter: brightness(1) contrast(1.05) !important
}

.bg-white.rounded-2xl:hover .md\:w-1\/2 img {
    transform: scale(1.08) !important;
    filter: brightness(1.05) contrast(1.1) !important
}

.bg-indigo-100.text-indigo-800 {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%) !important;
    color: #3730a3 !important;
    font-weight: 600 !important;
    border: 1px solid rgba(79, 70, 229, .1) !important;
    box-shadow: 0 2px 4px rgba(79, 70, 229, .1) !important
}

article.bg-white.rounded-xl.shadow-lg.overflow-hidden.card-hover {
    border: 1px solid rgba(0, 0, 0, .05) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04) !important;
    transition: all .4s cubic-bezier(.4, 0, .2, 1) !important;
    background: #fff !important
}

article.bg-white.rounded-xl.shadow-lg.overflow-hidden.card-hover:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .12), 0 8px 10px -6px rgba(0, 0, 0, .08) !important;
    border-color: rgba(102, 126, 234, .15) !important
}

article img.w-full.h-48.object-cover {
    transition: transform .5s cubic-bezier(.4, 0, .2, 1) !important;
    filter: brightness(1) contrast(1.02) !important
}

article:hover img.w-full.h-48.object-cover {
    transform: scale(1.05) !important;
    filter: brightness(1.05) contrast(1.05) !important
}

.bg-purple-100.text-purple-800 {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%) !important;
    color: #6b21a8 !important;
    border: 1px solid rgba(147, 51, 234, .1) !important
}

.bg-green-100.text-green-800 {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
    color: #15803d !important;
    border: 1px solid rgba(34, 197, 94, .1) !important
}

.bg-pink-100.text-pink-800 {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%) !important;
    color: #9d174d !important;
    border: 1px solid rgba(236, 72, 153, .1) !important
}

.bg-yellow-100.text-yellow-800 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    color: #92400e !important;
    border: 1px solid rgba(245, 158, 11, .1) !important
}

img.w-8.h-8.rounded-full,
img.w-10.h-10.rounded-full {
    border: 2px solid rgba(255, 255, 255, .8) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1) !important;
    transition: all .3s ease !important
}

article:hover img.w-8.h-8.rounded-full,
.bg-white.rounded-2xl:hover img.w-10.h-10.rounded-full {
    border-color: rgba(102, 126, 234, .3) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, .2) !important;
    transform: scale(1.05) !important
}

.text-indigo-600.hover\:text-indigo-800 {
    font-weight: 500 !important;
    transition: all .3s ease !important;
    position: relative !important
}

.text-indigo-600.hover\:text-indigo-800::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transition: width .3s ease
}

.text-indigo-600.hover\:text-indigo-800:hover::after {
    width: 100%
}

article:hover .text-indigo-600.hover\:text-indigo-800 {
    transform: translateX(4px) !important
}

.bg-indigo-600.text-white.px-8.py-3.rounded-lg.hover\:bg-indigo-700 {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, .3) !important;
    transition: all .3s ease !important;
    font-weight: 600 !important;
    position: relative !important;
    overflow: hidden !important
}

.bg-indigo-600.text-white.px-8.py-3.rounded-lg.hover\:bg-indigo-700::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .6s ease
}

.bg-indigo-600.text-white.px-8.py-3.rounded-lg.hover\:bg-indigo-700:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(79, 70, 229, .4) !important
}

.bg-indigo-600.text-white.px-8.py-3.rounded-lg.hover\:bg-indigo-700:hover::before {
    left: 100%
}

.bg-gradient-to-r.from-indigo-600.to-purple-600 {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #4f46e5 100%) !important;
    position: relative !important;
    overflow: hidden !important
}

.bg-gradient-to-r.from-indigo-600.to-purple-600::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .1) 0%, transparent 50%), radial-gradient(circle at 90% 80%, rgba(255, 255, 255, .08) 0%, transparent 50%);
    pointer-events: none
}

.bg-gradient-to-r.from-indigo-600.to-purple-600>div {
    position: relative;
    z-index: 2
}

.bg-gradient-to-r.from-indigo-600.to-purple-600 .flex.gap-4 {
    background: rgba(255, 255, 255, .1) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    transition: all .3s ease !important
}

.bg-gradient-to-r.from-indigo-600.to-purple-600 .flex.gap-4:hover {
    background: rgba(255, 255, 255, .15) !important;
    border-color: rgba(255, 255, 255, .3) !important
}

.bg-gradient-to-r.from-indigo-600.to-purple-600 input[type=email] {
    background: rgba(255, 255, 255, .95) !important;
    border: 1px solid rgba(255, 255, 255, .3) !important;
    transition: all .3s ease !important
}

.bg-gradient-to-r.from-indigo-600.to-purple-600 input[type=email]:focus {
    background: #fff !important;
    border-color: rgba(255, 255, 255, .6) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .1) !important
}

.bg-gradient-to-r.from-indigo-600.to-purple-600 button {
    background: linear-gradient(135deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .8) 100%) !important;
    color: #4f46e5 !important;
    font-weight: 600 !important;
    transition: all .3s ease !important;
    border: 1px solid rgba(255, 255, 255, .2) !important
}

.bg-gradient-to-r.from-indigo-600.to-purple-600 button:hover {
    background: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1) !important
}

article .p-6 {
    padding: 1.75rem !important
}

@media (max-width:768px) {
    .bg-white.rounded-2xl.shadow-xl.overflow-hidden.card-hover:hover {
        transform: translateY(-4px) scale(1.01) !important
    }

    article.bg-white.rounded-xl.shadow-lg.overflow-hidden.card-hover:hover {
        transform: translateY(-4px) !important
    }

    .gradient-bg .bg-white\/20 {
        margin-bottom: .5rem !important
    }
}

article h3.text-xl.font-bold.text-gray-900 a {
    transition: all .3s ease !important;
    position: relative !important;
    display: inline-block !important
}

article:hover h3.text-xl.font-bold.text-gray-900 a {
    color: #4f46e5 !important;
    transform: translateY(-1px) !important
}

.text-sm.text-gray-500 {
    color: #6b7280 !important;
    font-weight: 500 !important
}

article:hover .text-sm.text-gray-500 {
    color: #4b5563 !important
}

.grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3.gap-8 {
    gap: 2rem !important
}

@media (min-width:768px) {
    .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3.gap-8 {
        gap: 2.5rem !important
    }
}

section h2.text-3xl.font-bold.text-gray-900 {
    background: linear-gradient(135deg, #1f2937 0%, #4f46e5 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    position: relative !important
}

section h2.text-3xl.font-bold.text-gray-900::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 2px
}

nav[aria-label=Breadcrumb] {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem
}

nav[aria-label=Breadcrumb] ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    margin: 0;
    padding: 0
}

nav[aria-label=Breadcrumb] li {
    display: flex;
    align-items: center;
    font-size: .875rem;
    line-height: 1.25rem
}

nav[aria-label=Breadcrumb] a {
    color: #6b7280;
    text-decoration: none;
    transition: color .2s ease;
    font-weight: 500
}

nav[aria-label=Breadcrumb] a:hover {
    color: #4f46e5;
    text-decoration: underline
}

nav[aria-label=Breadcrumb] .text-gray-900 {
    color: #111827;
    font-weight: 600
}

nav[aria-label=Breadcrumb] .mx-2 {
    color: #d1d5db;
    margin: 0 .5rem;
    font-weight: 400
}

@media (max-width:768px) {
    nav[aria-label=Breadcrumb] {
        margin-bottom: 1.5rem
    }

    nav[aria-label=Breadcrumb] li {
        font-size: .8rem
    }
}

nav[aria-label=Breadcrumb] {
    background: rgba(249, 250, 251, .8);
    border: 1px solid rgba(229, 231, 235, .5);
    border-radius: 8px;
    padding: .75rem 1rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

nav[aria-label=Breadcrumb] .mx-2::before {
    content: "›";
    font-size: 1rem;
    font-weight: 600;
    color: #9ca3af
}

nav[aria-label=Breadcrumb] .mx-2 {
    font-size: 0
}

.bg-gradient-to-r.from-purple-600.to-indigo-600 {
    background: linear-gradient(to right, #9333ea, #4f46e5) !important;
    color: #fff !important
}

section.bg-gradient-to-r.from-purple-600.to-indigo-600 {
    background-image: linear-gradient(to right, #9333ea 0%, #4f46e5 100%) !important;
    background-color: #9333ea !important
}

section.bg-gradient-to-r.from-purple-600.to-indigo-600 {
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 25%, #6366f1 75%, #4f46e5 100%) !important;
    position: relative;
    overflow: hidden
}

section.bg-gradient-to-r.from-purple-600.to-indigo-600::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .1) 0%, transparent 50%);
    pointer-events: none
}

section.bg-gradient-to-r.from-purple-600.to-indigo-600>* {
    position: relative;
    z-index: 2
}

section.bg-gradient-to-r.from-purple-600.to-indigo-600 .bg-white.text-purple-600 {
    background: rgba(255, 255, 255, .95) !important;
    color: #9333ea !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15) !important;
    transition: all .3s ease !important
}

section.bg-gradient-to-r.from-purple-600.to-indigo-600 .bg-white.text-purple-600:hover {
    background: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2) !important
}

.blurred-content {
    -webkit-filter: blur(3px) !important;
    filter: blur(3px) !important;
    transition: filter .3s ease !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important
}

.blurred-content:hover {
    filter: blur(3px) !important
}

.blurred-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 1
}

.login-wrapper,
.register-wrapper {
    min-height: calc(100vh - 64px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .1;
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, .3) 2px, transparent 2px), radial-gradient(circle at 75% 75%, rgba(255, 255, 255, .3) 2px, transparent 2px);
    background-size: 100px 100px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none
}

.login-container,
.register-container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1400px;
    width: 100%;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, .2);
    overflow: hidden;
    position: relative;
    z-index: 1;
    animation: fadeInUp .8s ease-out
}

.brand-side {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden
}

.brand-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .1) 1px, transparent 1px), radial-gradient(circle at 70% 80%, rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: float 25s ease-in-out infinite
}

.brand-logo {
    font-size: 3rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 2
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -.02em;
    position: relative;
    z-index: 2
}

.brand-subtitle {
    font-size: 1.2rem;
    opacity: .9;
    margin-bottom: 40px;
    max-width: 300px;
    position: relative;
    z-index: 2
}

.benefits-list {
    margin-bottom: 40px;
    position: relative;
    z-index: 2
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: .95rem;
    background: rgba(255, 255, 255, .1);
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px)
}

.benefit-icon {
    font-size: 1.2rem;
    flex-shrink: 0
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 25px;
    font-size: .9rem;
    position: relative;
    z-index: 2
}

.social-proof::before {
    content: "✨";
    font-size: 1.2rem
}

.form-side {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 90vh;
    overflow-y: auto
}

.form-header {
    text-align: center;
    margin-bottom: 30px
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px
}

.form-subtitle {
    color: #718096;
    font-size: 1rem
}

.form-subtitle a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600
}

.form-subtitle a:hover {
    text-decoration: underline
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    color: #166534
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626
}

.alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px
}

.alert-content h3 {
    font-weight: 600;
    margin-bottom: 4px
}

.alert-content p {
    margin: 0;
    line-height: 1.4
}

.form-group {
    margin-bottom: 20px
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: .95rem
}

.input-wrapper {
    position: relative
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all .3s ease;
    background: #fafbfc;
    color: #1a202c
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .1)
}

.form-input:disabled {
    opacity: .6;
    cursor: not-allowed
}

.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700
}

.success-icon {
    color: #10b981
}

.error-icon {
    color: #ef4444
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    border-radius: 4px;
    transition: color .2s ease
}

.password-toggle:hover {
    color: #667eea
}

.field-error {
    color: #ef4444;
    font-size: .8rem;
    margin-top: 4px
}

.password-strength {
    margin-top: 8px
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px
}

.strength-fill {
    height: 100%;
    transition: all .3s ease;
    border-radius: 2px
}

.strength-fill.weak {
    background: #ef4444
}

.strength-fill.medium {
    background: #f59e0b
}

.strength-fill.strong {
    background: #10b981
}

.strength-text {
    font-size: .8rem;
    font-weight: 500;
    text-align: right
}

.strength-text.weak {
    color: #ef4444
}

.strength-text.medium {
    color: #f59e0b
}

.strength-text.strong {
    color: #10b981
}

.password-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    transition: color .2s ease
}

.requirement-item.valid {
    color: #10b981
}

.requirement-item.invalid {
    color: #6b7280
}

.requirement-icon {
    font-weight: 700;
    width: 12px
}

.plan-selection {
    margin-bottom: 24px
}

.selected-plan-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #7dd3fc;
    border-radius: 12px;
    padding: 16px 20px
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px
}

.plan-header h4 {
    color: #0369a1;
    font-weight: 600;
    margin: 0
}

.plan-badge {
    background: #0369a1;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: .8rem;
    font-weight: 600;
    text-transform: capitalize
}

.plan-description {
    color: #075985;
    font-size: .9rem;
    margin: 0
}

.btn-primary.login-register {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px
}

.btn-primary.login-register:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, .4)
}

.btn-primary.login-register:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none
}

.btn-primary.login-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s
}

.btn-primary.login-register:hover::before {
    left: 100%
}

.form-terms {
    text-align: center;
    margin-bottom: 20px
}

.form-terms p {
    color: #6b7280;
    font-size: .8rem;
    line-height: 1.4
}

.form-terms a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500
}

.form-terms a:hover {
    text-decoration: underline
}

.form-divider {
    text-align: center;
    margin: 20px 0;
    position: relative
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb
}

.form-divider span {
    background: #fff;
    padding: 0 20px;
    color: #6b7280;
    font-size: .9rem;
    position: relative
}

.social-signin {
    margin-bottom: 24px
}

.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
    margin-bottom: 12px
}

.social-btn:hover:not(:disabled) {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.social-btn:disabled {
    opacity: .5;
    cursor: not-allowed
}

.social-icon {
    width: 20px;
    height: 20px
}

.social-note {
    text-align: center;
    color: #9ca3af;
    font-size: .8rem;
    margin: 0
}

.form-footer {
    text-align: center;
    margin-top: 24px
}

.form-footer p {
    color: #718096;
    font-size: .9rem;
    margin-bottom: 12px
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600
}

.form-footer a:hover {
    text-decoration: underline
}

.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    font-size: .8rem;
    font-weight: 500
}

.trust-icon {
    width: 16px;
    height: 16px;
    color: #10b981
}

@media (min-width:1024px) {
    .register-container {
        grid-template-columns: 2fr 3fr
    }

    .login-container {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:1023px) {
    .brand-side {
        padding: 40px 30px
    }

    .brand-title {
        font-size: 2rem
    }

    .benefits-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 30px
    }

    .benefit-item {
        font-size: .85rem;
        padding: 8px 12px
    }

    .login-wrapper,
    .register-wrapper {
        padding: 10px
    }

    .login-container,
    .register-container {
        margin: 0
    }

    .password-requirements {
        grid-template-columns: 1fr;
        gap: 6px
    }

    .trust-indicators {
        gap: 15px;
        flex-direction: column
    }

    .form-side {
        padding: 40px 30px;
        max-height: none
    }
}

@media (max-width:767px) {
    .login-container .brand-side {
        display: none
    }
}

.users-count {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    color: #fff;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 10px
}

.users-count::before {
    content: "👥";
    margin-right: 8px
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    z-index: 10000;
    font-size: 14px;
    font-weight: 500
}

.notification-success {
    background: #10b981;
    color: #fff
}

.notification-error {
    background: #ef4444;
    color: #fff
}

.notification-info {
    background: #3b82f6;
    color: #fff
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start
}

.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 32px 48px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .15), 0 0 0 1px rgba(255, 255, 255, .05);
    transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
    border: 2px solid transparent;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    backface-visibility: hidden;
    animation: fadeInUp .8s ease-out;
    animation-fill-mode: both
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 24px 24px 0 0
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .1)
}

.pricing-card:nth-child(1) {
    animation-delay: .1s
}

.pricing-card:nth-child(2) {
    animation-delay: .2s
}

.pricing-card:nth-child(3) {
    animation-delay: .3s
}

.pricing-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: scale(1.05);
    z-index: 10;
    border: 3px solid rgba(255, 255, 255, .2)
}

.pricing-card.featured::before {
    background: rgba(255, 255, 255, .2);
    height: 3px
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.07)
}

.current-plan-badge,
.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px
}

.current-plan-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, .4)
}

.popular-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 107, .4)
}

.cta-container {
    margin-top: auto
}

.cta-button {
    width: 100%;
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    background: none
}

.cta-button:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none !important
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s
}

.cta-button:hover::before {
    left: 100%
}

.cta-button.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, .3)
}

.cta-button.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, .4)
}

.cta-button.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea
}

.cta-button.secondary:hover:not(:disabled) {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px)
}

.cta-button.featured {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .3)
}

.cta-button.featured:hover:not(:disabled) {
    background: #fff;
    color: #667eea;
    transform: translateY(-2px)
}

.cta-button.current {
    background: #10b981;
    color: #fff;
    cursor: default
}

.cta-button.current:hover {
    transform: none
}

.paypal-container {
    margin-top: 16px;
    width: 100%;
    min-height: 45px
}

.social-proof,
.trust-section {
    grid-column: 1 / -1
}

.social-proof h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px
}

.testimonial {
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .2)
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    font-size: .95rem;
    line-height: 1.5
}

.testimonial-author {
    font-weight: 600;
    font-size: .9rem
}

.trust-title {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: .9;
    font-weight: 500
}

.payment-methods {
    margin-top: 8px;
    text-align: center;
    font-size: .75rem;
    opacity: .7;
    color: #6b7280
}

.pricing-card.featured .payment-methods {
    color: rgba(255, 255, 255, .8)
}

.loading-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    animation: shimmer 1.5s infinite
}

@keyframes shimmer {
    0% {
        left: -100%
    }

    100% {
        left: 100%
    }
}

.section-card {
    transition: all .3s ease;
    backdrop-filter: blur(10px)
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12)
}

.progress-bar {
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width .3s ease;
    border-radius: 0 2px 2px 0
}

.floating-icon {
    animation: float-icon 4s ease-in-out infinite
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

.icon-bounce {
    animation: bounce 2s infinite
}

@keyframes bounce {

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

    40% {
        transform: translateY(-8px)
    }

    60% {
        transform: translateY(-4px)
    }
}

.highlight-box {
    position: relative;
    overflow: hidden
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
    transition: left .6s
}

.highlight-box:hover::before {
    left: 100%
}

.gradient-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden
}

.gradient-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, .1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .08) 0%, transparent 50%);
    pointer-events: none
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0)
    }

    33% {
        transform: translateY(-10px) rotate(1deg)
    }

    66% {
        transform: translateY(5px) rotate(-1deg)
    }
}

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

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

[x-cloak] {
    display: none !important
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }

    .btn-primary:hover,
    .btn-primary.login-register:hover,
    .pricing-card:hover,
    .cta-button:hover {
        transform: none
    }

    .spinner {
        animation: none
    }

    .loading-button::before {
        animation: none
    }
}

/* Analysis Type Selection Styles */
.analysis-type-option {
    display: block;
    width: 100%;
}

.analysis-type-option.selected .analysis-type-content {
    border-color: #4f46e5;
    background-color: #f0f9ff;
    transform: scale(1.02);
}
.analysis-type-option:hover .analysis-type-content {
    border-color: #6366f1;
    background-color: #fafbff;
    transform: translateY(-2px);
}

.analysis-type-content {
    height: 8rem;
    /* Fixed height of 128px */
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Enhanced Score Circle */
.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            #6366f1 0deg,
            #6366f1 calc(var(--score) * 3.6deg),
            #e5e7eb calc(var(--score) * 3.6deg),
            #e5e7eb 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.score-circle div {
    position: relative;
    z-index: 1;
}

@keyframes scoreAnimation {
    from {
        transform: scale(0.8) rotate(-180deg);
        opacity: 0;
    }

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

/* Enhanced Upload Area */
.upload-area {
    min-height: 240px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.upload-area.drag-over {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    transform: scale(1.02);
}

.upload-area:hover:not(.drag-over) {
    border-color: #9ca3af;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

/* Makeup Analysis Button Styling */
.btn-primary.bg-gradient-to-r.from-pink-500.to-purple-600 {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    border: none;
    color: white;
}

.btn-primary.bg-gradient-to-r.from-pink-500.to-purple-600:hover {
    background: linear-gradient(135deg, #db2777 0%, #7c3aed 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

/* Enhanced Trust Indicators */
.trust-indicator {
    transition: all 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-2px);
}

.btn-primary {
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-1px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .analysis-type-option div {
        height: 7rem;
        /* Slightly shorter on mobile */
        padding: 0.75rem;
    }

    .score-circle {
        width: 100px;
        height: 100px;
    }

    .upload-area {
        min-height: 200px;
        padding: 1.5rem;
    }

    .trust-indicator {
        min-width: auto;
        gap: 0.25rem;
    }

    .trust-indicator span {
        font-size: 0.75rem;
    }
}

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

    .analysis-type-option div,
    .upload-area,
    .score-circle,
    .btn-primary,
    .btn-secondary {
        transition: none;
        transform: none;
    }

    .analysis-type-option div:hover,
    .upload-area.drag-over,
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}
