/* ============================================
   CATALOGADOR - Site-Specific Styles
   Complements bootstrap-catalogador.css
   ============================================ */

/* ============================================
   BASE ADJUSTMENTS
   ============================================ */

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0;
}

/* Ensure main content fills available space */
main {
    min-height: calc(100vh - 160px);
}

/* ============================================
   FORM ENHANCEMENTS
   ============================================ */

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--c-text-muted, #9ca3af);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--c-bg-subtle, #f5f5f5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--c-border, #e5e7eb);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--c-text-light, #d1d5db);
}

/* ============================================
   TEXT UTILITIES
   ============================================ */

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   IMAGE PLACEHOLDERS
   ============================================ */

.img-placeholder {
    background-color: var(--c-bg-subtle, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-placeholder i {
    color: var(--c-text-light, #d1d5db);
    font-size: 2rem;
}

/* ============================================
   PRODUCT/ITEM IMAGES
   ============================================ */

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--c-bg-subtle, #f5f5f5);
}

/* ============================================
   STATUS INDICATORS
   ============================================ */

.status-available {
    color: var(--c-success, #10b981);
}

.status-loaned {
    color: var(--c-warning, #f59e0b);
}

.status-overdue {
    color: var(--c-danger, #ef4444);
}

/* ============================================
   QUICK STAT CARDS (Bottom of pages)
   ============================================ */

.quick-stat-card {
    background-color: var(--c-white, #fff);
    border: 1px solid var(--c-border, #e5e7eb);
    border-radius: var(--radius-lg, 0.75rem);
    padding: 1rem 1.25rem;
    text-align: center;
}

.quick-stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.quick-stat-card .stat-label {
    font-size: 0.8125rem;
    color: var(--c-text-muted, #9ca3af);
}

.quick-stat-card.orange {
    border-left: 3px solid var(--c-orange, #F56400);
}

.quick-stat-card.orange .stat-value {
    color: var(--c-orange, #F56400);
}

.quick-stat-card.teal {
    border-left: 3px solid var(--c-teal, #1C808C);
}

.quick-stat-card.teal .stat-value {
    color: var(--c-teal, #1C808C);
}

.quick-stat-card.success {
    border-left: 3px solid var(--c-success, #10b981);
}

.quick-stat-card.success .stat-value {
    color: var(--c-success, #10b981);
}

.quick-stat-card.danger {
    border-left: 3px solid var(--c-danger, #ef4444);
}

.quick-stat-card.danger .stat-value {
    color: var(--c-danger, #ef4444);
}

/* ============================================
   FILTER CARDS
   ============================================ */

.filter-card {
    background-color: var(--c-white, #fff);
    border: 1px solid var(--c-border, #e5e7eb);
    border-radius: var(--radius-xl, 1rem);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.filter-card .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

/* ============================================
   AVATAR PLACEHOLDERS
   ============================================ */

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--c-orange-light, rgba(245, 100, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-orange, #F56400);
    font-weight: 600;
    font-size: 0.875rem;
}

.avatar.lg {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
}

.avatar.sm {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
}

/* ============================================
   SHELF TREE STYLES
   ============================================ */

.shelf-tree {
    padding: 0;
}

.shelf-tree .shelf-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--c-border-light, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.15s ease;
}

.shelf-tree .shelf-item:hover {
    background-color: var(--c-bg-subtle, #f5f5f5);
}

.shelf-tree .shelf-item:last-child {
    border-bottom: none;
}

.shelf-tree .shelf-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shelf-tree .shelf-name i {
    color: var(--c-orange, #F56400);
}

.shelf-tree .shelf-children {
    padding-left: 1.5rem;
    border-left: 2px solid var(--c-border, #e5e7eb);
    margin-left: 1rem;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .footer,
    .btn,
    .dropdown,
    .page-actions,
    .filter-card {
        display: none !important;
    }

    body {
        background-color: white !important;
        color: black !important;
    }

    .card,
    .card-catalogador {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }

    .card-header {
        background-color: #f8f8f8 !important;
    }

    main {
        min-height: auto;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* ============================================
   RESPONSIVE HELPERS
   ============================================ */

@media (max-width: 767.98px) {
    .hide-mobile {
        display: none !important;
    }

    .table-responsive {
        font-size: 0.875rem;
    }

    .quick-stat-card {
        margin-bottom: 0.75rem;
    }

    .quick-stat-card .stat-value {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* ============================================
   LANDING PAGE - "Digital Curator" Design System
   ============================================ */

/* Landing Page Color Variables */
.landing-page {
    --lp-midnight: #0F172A;
    --lp-midnight-light: #1E293B;
    --lp-gold: #D4A853;
    --lp-gold-light: rgba(212, 168, 83, 0.15);
    --lp-gold-dark: #B8923F;
    --lp-cream: #FAF9F6;
    --lp-white: #FFFFFF;
    --lp-text: #1E293B;
    --lp-text-muted: #64748B;
    --lp-text-light: #94A3B8;
    --lp-sage: #6B8E7B;
    --lp-sage-light: rgba(107, 142, 123, 0.15);
    --lp-border: #E2E8F0;
    --lp-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    --lp-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
    --lp-shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Landing Page Base */
.landing-page {
    background-color: var(--lp-cream);
    font-family: var(--font-body);
    color: var(--lp-text);
    overflow-x: hidden;
}

.landing-page main {
    min-height: auto;
}

/* ============================================
   LANDING NAVBAR
   ============================================ */

.landing-page .navbar {
    background: transparent !important;
    border-bottom: none;
    box-shadow: none;
    padding: 1.25rem 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.landing-page .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--lp-shadow);
    position: fixed;
}

.landing-page .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--lp-midnight) !important;
}

.landing-page .navbar-brand i {
    color: var(--lp-gold);
}

.landing-page .navbar-nav .nav-link {
    color: var(--lp-text) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem !important;
}

.landing-page .navbar-nav .nav-link:hover {
    color: var(--lp-gold) !important;
    background: transparent;
}

/* Landing Auth Buttons */
.landing-page .btn-landing-outline {
    background: transparent;
    border: 1.5px solid var(--lp-midnight);
    color: var(--lp-midnight);
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.landing-page .btn-landing-outline:hover {
    background: var(--lp-midnight);
    color: var(--lp-white);
}

.landing-page .btn-landing-primary {
    background: var(--lp-gold);
    border: 1.5px solid var(--lp-gold);
    color: var(--lp-midnight);
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.landing-page .btn-landing-primary:hover {
    background: var(--lp-gold-dark);
    border-color: var(--lp-gold-dark);
    transform: translateY(-1px);
    box-shadow: var(--lp-shadow);
}

/* ============================================
   HERO SECTION
   ============================================ */

.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--lp-cream) 0%, #F5F3EF 50%, #EBE9E4 100%);
    overflow: hidden;
}

/* Animated background pattern */
.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(107, 142, 123, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(15, 23, 42, 0.03) 0%, transparent 30%);
    animation: heroGradient 15s ease-in-out infinite;
}

@keyframes heroGradient {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Geometric decoration */
.hero-decoration {
    position: absolute;
    pointer-events: none;
}

.hero-decoration-1 {
    top: 15%;
    right: 10%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(212, 168, 83, 0.2);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-decoration-2 {
    bottom: 20%;
    left: 5%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(107, 142, 123, 0.15);
    transform: rotate(45deg);
    animation: float 10s ease-in-out infinite reverse;
}

.hero-decoration-3 {
    top: 40%;
    right: 25%;
    width: 80px;
    height: 80px;
    background: rgba(212, 168, 83, 0.1);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--lp-gold-light);
    color: var(--lp-gold-dark);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.hero-eyebrow i {
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--lp-midnight);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .highlight {
    color: var(--lp-gold);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: var(--lp-gold-light);
    z-index: -1;
}

/* Typewriter Effect */
.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid var(--lp-gold);
    white-space: nowrap;
    animation: typing 3s steps(20, end), blink 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--lp-gold); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--lp-text-muted);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-hero-primary {
    background: var(--lp-midnight);
    color: var(--lp-white);
    padding: 1rem 2rem;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: var(--lp-midnight-light);
    color: var(--lp-white);
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow-lg);
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(4px);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--lp-text);
    padding: 1rem 2rem;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--lp-border);
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    border-color: var(--lp-midnight);
    color: var(--lp-midnight);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--lp-midnight);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--lp-text-muted);
}

/* Hero Mockup */
.hero-mockup {
    position: relative;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.mockup-container {
    position: relative;
    perspective: 1000px;
}

.mockup-card {
    background: var(--lp-white);
    border-radius: 1rem;
    box-shadow: var(--lp-shadow-xl);
    padding: 1.5rem;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-container:hover .mockup-card {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lp-border);
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background: #EF4444; }
.mockup-dot.yellow { background: #F59E0B; }
.mockup-dot.green { background: #10B981; }

.mockup-title {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--lp-midnight);
}

.mockup-content {
    display: grid;
    gap: 1rem;
}

.mockup-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--lp-cream);
    border-radius: 0.5rem;
    transition: transform 0.2s ease;
}

.mockup-item:hover {
    transform: translateX(4px);
}

.mockup-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.mockup-item-icon.book { background: var(--lp-gold-light); color: var(--lp-gold-dark); }
.mockup-item-icon.movie { background: rgba(239, 68, 68, 0.1); color: #EF4444; }
.mockup-item-icon.music { background: var(--lp-sage-light); color: var(--lp-sage); }
.mockup-item-icon.game { background: rgba(99, 102, 241, 0.1); color: #6366F1; }

.mockup-item-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lp-text);
    margin-bottom: 0.125rem;
}

.mockup-item-info p {
    font-size: 0.8125rem;
    color: var(--lp-text-muted);
    margin: 0;
}

/* Floating accent card */
.mockup-float-card {
    position: absolute;
    bottom: -20px;
    right: -30px;
    background: var(--lp-midnight);
    color: var(--lp-white);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: var(--lp-shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mockup-float-card i {
    font-size: 1.5rem;
    color: var(--lp-gold);
}

.mockup-float-card span {
    font-size: 0.875rem;
    font-weight: 600;
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
    background: var(--lp-white);
    padding: 3rem 0;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

.trust-bar-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
}

.trust-stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--lp-midnight);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.trust-stat-value .counter {
    display: inline-block;
}

.trust-stat-label {
    font-size: 0.9375rem;
    color: var(--lp-text-muted);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 6rem 0;
    background: var(--lp-cream);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lp-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--lp-midnight);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--lp-text-muted);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--lp-white);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--lp-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--lp-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon.gold { 
    background: var(--lp-gold-light); 
    color: var(--lp-gold-dark); 
}

.feature-icon.sage { 
    background: var(--lp-sage-light); 
    color: var(--lp-sage); 
}

.feature-icon.midnight { 
    background: rgba(15, 23, 42, 0.08); 
    color: var(--lp-midnight); 
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--lp-midnight);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--lp-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works-section {
    padding: 6rem 0;
    background: var(--lp-white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

/* Connecting line */
.steps-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: calc(16.67% + 40px);
    right: calc(16.67% + 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--lp-gold), var(--lp-sage));
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--lp-midnight);
    color: var(--lp-gold);
    font-family: var(--font-display);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px var(--lp-gold-light);
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--lp-midnight);
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--lp-text-muted);
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

/* ============================================
   SHOWCASE SECTION
   ============================================ */

.showcase-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--lp-cream) 0%, var(--lp-white) 100%);
}

.showcase-container {
    background: var(--lp-midnight);
    border-radius: 1.5rem;
    padding: 3rem;
    overflow: hidden;
    position: relative;
}

.showcase-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 168, 83, 0.15) 0%, transparent 50%);
}

.showcase-content {
    position: relative;
    z-index: 1;
}

.showcase-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--lp-white);
    margin-bottom: 1rem;
}

.showcase-content p {
    font-size: 1.125rem;
    color: var(--lp-text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.showcase-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lp-white);
    font-size: 0.9375rem;
}

.showcase-feature i {
    color: var(--lp-gold);
}

.showcase-preview {
    position: relative;
    z-index: 1;
}

.showcase-image {
    background: var(--lp-white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--lp-shadow-xl);
}

.showcase-placeholder {
    background: var(--lp-cream);
    border-radius: 0.75rem;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--lp-text-muted);
}

.showcase-placeholder i {
    font-size: 3rem;
    color: var(--lp-gold);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    padding: 6rem 0;
    background: var(--lp-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--lp-cream);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--lp-border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--lp-gold);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--lp-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lp-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--lp-gold-dark);
}

.testimonial-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lp-midnight);
    margin-bottom: 0.125rem;
}

.testimonial-info p {
    font-size: 0.8125rem;
    color: var(--lp-text-muted);
    margin: 0;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.cta-section {
    padding: 6rem 0;
    background: var(--lp-midnight);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 50%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 142, 123, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--lp-white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--lp-text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lp-white);
    font-size: 0.9375rem;
}

.cta-feature i {
    color: var(--lp-gold);
}

.btn-cta {
    background: var(--lp-gold);
    color: var(--lp-midnight);
    padding: 1.125rem 2.5rem;
    border-radius: 0.625rem;
    font-weight: 700;
    font-size: 1.0625rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background: var(--lp-gold-dark);
    color: var(--lp-midnight);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 168, 83, 0.3);
}

/* ============================================
   LANDING FOOTER
   ============================================ */

.landing-footer {
    background: var(--lp-midnight-light);
    padding: 4rem 0 2rem;
}

.landing-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.landing-footer-brand {
    max-width: 300px;
}

.landing-footer-brand .brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--lp-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.landing-footer-brand .brand-name i {
    color: var(--lp-gold);
}

.landing-footer-brand p {
    color: var(--lp-text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--lp-gold);
    color: var(--lp-midnight);
}

.landing-footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--lp-white);
    margin-bottom: 1.25rem;
}

.landing-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-footer-col li {
    margin-bottom: 0.75rem;
}

.landing-footer-col a {
    color: var(--lp-text-light);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.landing-footer-col a:hover {
    color: var(--lp-gold);
}

.landing-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.landing-footer-bottom p {
    color: var(--lp-text-light);
    font-size: 0.875rem;
    margin: 0;
}

.landing-footer-bottom a {
    color: var(--lp-text-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.landing-footer-bottom a:hover {
    color: var(--lp-gold);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   LANDING PAGE RESPONSIVE
   ============================================ */

@media (max-width: 1199.98px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .landing-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991.98px) {
    .landing-hero {
        padding: 7rem 0 4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-container {
        text-align: center;
    }
    
    .showcase-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .showcase-features {
        justify-content: center;
    }
    
    .landing-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 767.98px) {
    .landing-hero {
        min-height: auto;
        padding: 6rem 0 3rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .hero-mockup {
        margin-top: 3rem;
    }
    
    .mockup-float-card {
        right: 0;
        bottom: -30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-stats {
        gap: 2rem;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .landing-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .landing-footer-brand {
        max-width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .landing-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .hero-decoration-1,
    .hero-decoration-2,
    .hero-decoration-3 {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
    }
    
    .trust-stat-value {
        font-size: 2rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .typewriter {
        animation: none;
        border-right: none;
        overflow: visible;
    }
}

/* ============================================
   LANDING PAGE MOBILE NAVBAR
   ============================================ */

.landing-page .navbar-toggler {
    border: 1.5px solid var(--lp-midnight);
    padding: 0.5rem 0.75rem;
}

.landing-page .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 23, 42, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .landing-page .navbar-collapse {
        background: var(--lp-white);
        border-radius: 0.75rem;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: var(--lp-shadow-lg);
        border: 1px solid var(--lp-border);
    }
    
    .landing-page .navbar-collapse .d-flex {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .landing-page .navbar-collapse .btn-landing-outline,
    .landing-page .navbar-collapse .btn-landing-primary {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }
    
    .landing-page .navbar.scrolled {
        background: var(--lp-white) !important;
    }
}

/* ============================================
   ADDITIONAL MICRO-INTERACTIONS
   ============================================ */

/* Button ripple effect */
.btn-hero-primary,
.btn-hero-secondary,
.btn-cta,
.btn-landing-primary {
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::after,
.btn-cta::after,
.btn-landing-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-hero-primary:active::after,
.btn-cta:active::after,
.btn-landing-primary:active::after {
    width: 300px;
    height: 300px;
}

/* Feature card icon pulse on hover */
.feature-card:hover .feature-icon {
    animation: iconPulse 0.5s ease;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.1); }
}

/* Testimonial card subtle lift */
.testimonial-card {
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

/* Star rating shimmer */
.testimonial-rating i {
    transition: transform 0.2s ease;
}

.testimonial-card:hover .testimonial-rating i:nth-child(1) { transform: scale(1.1); transition-delay: 0s; }
.testimonial-card:hover .testimonial-rating i:nth-child(2) { transform: scale(1.1); transition-delay: 0.05s; }
.testimonial-card:hover .testimonial-rating i:nth-child(3) { transform: scale(1.1); transition-delay: 0.1s; }
.testimonial-card:hover .testimonial-rating i:nth-child(4) { transform: scale(1.1); transition-delay: 0.15s; }
.testimonial-card:hover .testimonial-rating i:nth-child(5) { transform: scale(1.1); transition-delay: 0.2s; }

/* Step number glow effect */
.step-number {
    box-shadow: 0 0 0 0 rgba(212, 168, 83, 0);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step-card:hover .step-number {
    box-shadow: 0 0 0 8px var(--lp-gold-light);
}

/* Trust stat counter animation */
.trust-stat-value {
    transition: transform 0.3s ease;
}

.trust-stat:hover .trust-stat-value {
    transform: scale(1.05);
}

/* Smooth focus states for accessibility */
.landing-page a:focus-visible,
.landing-page button:focus-visible {
    outline: 3px solid var(--lp-gold);
    outline-offset: 2px;
}

/* CTA section background animation */
.cta-section::before,
.cta-section::after {
    transition: transform 20s ease-in-out;
}

.cta-section:hover::before {
    transform: translateX(10%);
}

.cta-section:hover::after {
    transform: translateX(-10%);
}

/* Mockup item slide effect */
.mockup-item {
    position: relative;
}

.mockup-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--lp-gold);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.mockup-item:hover::before {
    transform: scaleY(1);
}

/* Social link hover effects */
.social-link {
    transform: translateY(0);
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Footer link underline animation */
.landing-footer-col a {
    position: relative;
}

.landing-footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--lp-gold);
    transition: width 0.3s ease;
}

.landing-footer-col a:hover::after {
    width: 100%;
}

/* ============================================
   AUTHENTICATION PAGES - "Digital Curator" Design
   ============================================ */

/* Auth Page Variables (reuse landing page vars) */
.auth-page {
    --auth-midnight: #0F172A;
    --auth-midnight-light: #1E293B;
    --auth-gold: #D4A853;
    --auth-gold-light: rgba(212, 168, 83, 0.15);
    --auth-gold-dark: #B8923F;
    --auth-cream: #FAF9F6;
    --auth-white: #FFFFFF;
    --auth-text: #1E293B;
    --auth-text-muted: #64748B;
    --auth-text-light: #94A3B8;
    --auth-sage: #6B8E7B;
    --auth-sage-light: rgba(107, 142, 123, 0.15);
    --auth-border: #E2E8F0;
    --auth-danger: #EF4444;
    --auth-danger-light: rgba(239, 68, 68, 0.1);
    --auth-success: #10B981;
    --auth-success-light: rgba(16, 185, 129, 0.1);
    --auth-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    --auth-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
    --auth-shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Auth Page Base Layout */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--auth-cream) 0%, #F5F3EF 50%, #EBE9E4 100%);
    font-family: var(--font-body);
    color: var(--auth-text);
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

/* Animated Background Pattern */
.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(212, 168, 83, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(107, 142, 123, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.02) 0%, transparent 50%);
    animation: authBgPulse 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes authBgPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
}

/* Decorative Elements */
.auth-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.auth-decoration-1 {
    top: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(212, 168, 83, 0.15);
    border-radius: 50%;
    animation: authFloat 12s ease-in-out infinite;
}

.auth-decoration-2 {
    bottom: 15%;
    left: 3%;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(107, 142, 123, 0.12);
    transform: rotate(45deg);
    animation: authFloat 15s ease-in-out infinite reverse;
}

.auth-decoration-3 {
    top: 50%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: rgba(212, 168, 83, 0.08);
    border-radius: 50%;
    animation: authPulse 6s ease-in-out infinite;
}

@keyframes authFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes authPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 0.2; }
}

/* Auth Container */
.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    animation: authFadeIn 0.5s ease;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Card */
.auth-card {
    background: var(--auth-white);
    border-radius: 1.25rem;
    box-shadow: var(--auth-shadow-xl);
    overflow: hidden;
    position: relative;
}

/* Gold Top Accent */
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--auth-gold), var(--auth-gold-dark));
}

/* Auth Header */
.auth-header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--auth-midnight);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease;
}

.auth-brand:hover {
    transform: scale(1.02);
    color: var(--auth-midnight);
}

.auth-brand i {
    color: var(--auth-gold);
    font-size: 1.75rem;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--auth-midnight);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.9375rem;
    color: var(--auth-text-muted);
    line-height: 1.6;
}

/* Auth Body */
.auth-body {
    padding: 0 2rem 2rem;
}

/* Social Login Section */
.auth-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-social-google {
    background: var(--auth-white);
    border: 1.5px solid var(--auth-border);
    color: var(--auth-text);
}

.btn-social-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    color: var(--auth-text);
    transform: translateY(-1px);
    box-shadow: var(--auth-shadow);
}

.btn-social-google svg {
    width: 20px;
    height: 20px;
}

.btn-social-microsoft {
    background: var(--auth-white);
    border: 1.5px solid var(--auth-border);
    color: var(--auth-text);
}

.btn-social-microsoft:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    color: var(--auth-text);
    transform: translateY(-1px);
    box-shadow: var(--auth-shadow);
}

.btn-social-microsoft svg {
    width: 20px;
    height: 20px;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--auth-border);
}

.auth-divider span {
    font-size: 0.8125rem;
    color: var(--auth-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Form Group */
.auth-form-group {
    position: relative;
}

.auth-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--auth-text);
    margin-bottom: 0.5rem;
}

/* Auth Input */
.auth-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--auth-border);
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--auth-text);
    background: var(--auth-white);
    transition: all 0.2s ease;
}

.auth-input::placeholder {
    color: var(--auth-text-light);
}

.auth-input:focus {
    outline: none;
    border-color: var(--auth-gold);
    box-shadow: 0 0 0 3px var(--auth-gold-light);
}

/* Password Input with Toggle */
.auth-password-wrapper {
    position: relative;
}

.auth-password-wrapper .auth-input {
    padding-right: 3rem;
}

.auth-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.375rem;
    color: var(--auth-text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-password-toggle:hover {
    color: var(--auth-gold);
}

.auth-password-toggle i {
    font-size: 1.125rem;
}

/* Validation States */
.auth-input.is-valid {
    border-color: var(--auth-success);
}

.auth-input.is-valid:focus {
    box-shadow: 0 0 0 3px var(--auth-success-light);
}

.auth-input.is-invalid {
    border-color: var(--auth-danger);
}

.auth-input.is-invalid:focus {
    box-shadow: 0 0 0 3px var(--auth-danger-light);
}

.auth-validation-icon {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
}

.auth-validation-icon.valid {
    color: var(--auth-success);
}

.auth-validation-icon.invalid {
    color: var(--auth-danger);
}

.auth-password-wrapper .auth-validation-icon {
    right: 3rem;
}

.auth-error-message {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--auth-danger);
    margin-top: 0.375rem;
}

.auth-error-message i {
    font-size: 0.875rem;
}

/* Checkbox */
.auth-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.auth-checkbox {
    width: 1.125rem;
    height: 1.125rem;
    border: 1.5px solid var(--auth-border);
    border-radius: 0.25rem;
    cursor: pointer;
    accent-color: var(--auth-gold);
}

.auth-checkbox:checked {
    background-color: var(--auth-gold);
    border-color: var(--auth-gold);
}

.auth-checkbox-label {
    font-size: 0.875rem;
    color: var(--auth-text);
    cursor: pointer;
    user-select: none;
}

/* Form Row (Remember me + Forgot password) */
.auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.auth-link {
    font-size: 0.875rem;
    color: var(--auth-gold-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--auth-gold);
    text-decoration: underline;
}

/* Submit Button */
.btn-auth-primary {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--auth-midnight);
    color: var(--auth-white);
    border: none;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    position: relative;
    overflow: hidden;
}

.btn-auth-primary:hover:not(:disabled) {
    background: var(--auth-midnight-light);
    transform: translateY(-1px);
    box-shadow: var(--auth-shadow-lg);
}

.btn-auth-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-auth-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading State */
.btn-auth-primary .spinner {
    display: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: authSpin 0.8s linear infinite;
}

.btn-auth-primary.loading .spinner {
    display: inline-block;
}

.btn-auth-primary.loading .btn-text {
    opacity: 0.7;
}

@keyframes authSpin {
    to { transform: rotate(360deg); }
}

/* Alt Button (Secondary) */
.btn-auth-secondary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: transparent;
    color: var(--auth-text);
    border: 1.5px solid var(--auth-border);
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-auth-secondary:hover {
    border-color: var(--auth-midnight);
    color: var(--auth-midnight);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--auth-border);
    background: rgba(250, 249, 246, 0.5);
}

.auth-footer-text {
    font-size: 0.9375rem;
    color: var(--auth-text-muted);
}

.auth-footer-text a {
    color: var(--auth-gold-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-footer-text a:hover {
    color: var(--auth-gold);
    text-decoration: underline;
}

/* Status/Confirmation Pages */
.auth-status {
    text-align: center;
    padding: 3rem 2rem;
}

.auth-status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.auth-status-icon.success {
    background: var(--auth-success-light);
    color: var(--auth-success);
}

.auth-status-icon.warning {
    background: var(--auth-gold-light);
    color: var(--auth-gold-dark);
}

.auth-status-icon.error {
    background: var(--auth-danger-light);
    color: var(--auth-danger);
}

.auth-status-icon.info {
    background: rgba(99, 102, 241, 0.1);
    color: #6366F1;
}

.auth-status-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--auth-midnight);
    margin-bottom: 0.75rem;
}

.auth-status-message {
    font-size: 0.9375rem;
    color: var(--auth-text-muted);
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto 1.5rem;
}

.auth-status-message strong {
    color: var(--auth-text);
}

.auth-status-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.08);
    color: #4F46E5;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1.5rem;
}

.auth-status-hint i {
    font-size: 1rem;
}

/* Alert Messages */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.auth-alert i {
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.0625rem;
}

.auth-alert.error {
    background: var(--auth-danger-light);
    color: var(--auth-danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-alert.success {
    background: var(--auth-success-light);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.auth-alert.info {
    background: rgba(99, 102, 241, 0.08);
    color: #4338CA;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Back to Home Link */
.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--auth-text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: 2rem;
    transition: color 0.2s ease;
}

.auth-back-link:hover {
    color: var(--auth-gold);
}

.auth-back-link i {
    transition: transform 0.2s ease;
}

.auth-back-link:hover i {
    transform: translateX(-3px);
}

/* Auth Page Responsive */
@media (max-width: 575.98px) {
    .auth-page {
        padding: 1rem;
    }
    
    .auth-container {
        max-width: 100%;
    }
    
    .auth-header {
        padding: 2rem 1.5rem 1.25rem;
    }
    
    .auth-body {
        padding: 0 1.5rem 1.5rem;
    }
    
    .auth-footer {
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .auth-decoration {
        display: none;
    }
}

/* Focus Visible States for Accessibility */
.auth-page a:focus-visible,
.auth-page button:focus-visible,
.auth-page input:focus-visible {
    outline: 3px solid var(--auth-gold);
    outline-offset: 2px;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .auth-page *,
    .auth-page *::before,
    .auth-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}