/* Outfits Check AI - Custom CSS Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --primary: #FF6B35;
    --primary-hover: #FA571A;
    --primary-glow: rgba(255, 107, 53, 0.35);
    --dark-bg: #070709;
    --card-bg: #121217;
    --card-border: #21212B;
    --gold: #FFD700;
    --green-accent: #22C55E;
    --red-accent: #EF4444;
}

* {
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: #F3F4F6;
    overflow-x: hidden;
}

/* Headings font */
h1, h2, h3, .font-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFB28A 40%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-orange-gold {
    background: linear-gradient(135deg, #FF6B35 0%, #FFB800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Primary Button Glow */
.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #E85016 100%);
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.85rem 2rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.55);
    background: linear-gradient(135deg, #FF7D4D 0%, #FA571A 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.85rem 2rem;
    transition: all 0.2s ease;
    border: 1px solid var(--card-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Cards */
.dark-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.dark-card:hover {
    border-color: rgba(255, 107, 53, 0.3);
}

.glow-card {
    position: relative;
}

.glow-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,107,53,0.5), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* FIT RATED Badge & Score Representation (Brand Match) */
.fit-rated-badge {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.4);
    color: #FFB28A;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    display: inline-block;
}

.score-display-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    color: #FFFFFF;
    text-shadow: 0 4px 25px rgba(0,0,0,0.8);
}

/* Drag & Drop Upload Zone */
.upload-zone {
    border: 2px dashed rgba(255, 107, 53, 0.4);
    border-radius: 1.5rem;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.04) 0%, rgba(18, 18, 23, 0.6) 100%);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: #FF6B35;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, rgba(18, 18, 23, 0.8) 100%);
    transform: scale(1.008);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.15);
}

/* Progress bar */
.animated-progress-bar {
    height: 8px;
    border-radius: 9999px;
    background: #1F2029;
    overflow: hidden;
    position: relative;
}

.animated-progress-fill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #22C55E 0%, #EAB308 50%, #FF6B35 100%);
    transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Spinner */
.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 107, 53, 0.15);
    border-left-color: #FF6B35;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Pulse Glow */
.pulse-glow {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 35px rgba(255, 107, 53, 0.7); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0D0D12;
}

::-webkit-scrollbar-thumb {
    background: #262633;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6B35;
}

/* Tag Pills */
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
}

.tag-pill-primary {
    background: rgba(255, 107, 53, 0.12);
    border-color: rgba(255, 107, 53, 0.3);
    color: #FF976F;
}

/* Rating Thumbs */
.thumb-rating-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
