/* ========================================
   SKAPA — Marketplace de Prompts Design
   Design Premium - Identité Skapa.fr
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ========================================
   CSS VARIABLES - Skapa Color Palette
   ======================================== */
:root {
    /* Primary Colors - Skapa Brand */
    --skapa-navy: #1a1944;
    --skapa-navy-dark: #12122e;
    --skapa-navy-light: #252458;
    
    /* Accent Colors */
    --skapa-pink: #e61e68;
    --skapa-pink-light: #ff4081;
    --skapa-pink-dark: #c41854;
    
    --skapa-blue: #556dec;
    --skapa-blue-light: #7b8ff5;
    --skapa-purple: #8b5cf6;
    --skapa-purple-light: #a78bfa;
    --skapa-cyan: #5ba8d8;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, 
        #5ba8d8 0%, 
        #7b6dec 20%, 
        #9b5de5 40%, 
        #c44daa 60%, 
        #e06090 80%, 
        #e8a090 100%);
    
    --gradient-card: linear-gradient(145deg, 
        rgba(37, 36, 88, 0.9) 0%, 
        rgba(26, 25, 68, 0.95) 100%);
    
    --gradient-pink: linear-gradient(135deg, var(--skapa-pink) 0%, var(--skapa-pink-dark) 100%);
    --gradient-purple: linear-gradient(135deg, var(--skapa-purple) 0%, var(--skapa-blue) 100%);
    
    /* Glass Effect */
    --glass-bg: rgba(26, 25, 68, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-pink: 0 4px 20px rgba(230, 30, 104, 0.3);
    --shadow-glow: 0 0 40px rgba(230, 30, 104, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 100px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gradient-hero);
    background-attachment: fixed;
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(91, 168, 216, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(230, 30, 104, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-base);
}

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

/* ========================================
   NAVIGATION - Premium Glass Effect
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 25, 68, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--white);
    transition: var(--transition-base);
}

.logo:hover .logo-icon {
    transform: scale(1.1);
    color: var(--skapa-pink-light);
}

.logo-text {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--skapa-pink);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--white);
}

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

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: var(--radius-md);
}

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

.signup-btn {
    padding: 12px 28px;
    background: var(--gradient-pink);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-pink);
    position: relative;
    overflow: hidden;
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.signup-btn:hover::before {
    left: 100%;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 30, 104, 0.4);
}

/* ========================================
   HERO SECTION - Premium Design
   ======================================== */
.hero {
    position: relative;
    padding: 100px 24px 120px;
    text-align: center;
    z-index: 1;
}

/* Decorative Elements */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 40 40' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 8C14 8 9 13 9 19C9 21.5 9.8 23.8 11.2 25.6C12.5 18.5 18.5 13 25.8 13C27.3 13 28.7 13.2 30 13.6C27.8 10.2 24.2 8 20 8Z' fill='white'/%3E%3Cpath d='M30 13.6C28.7 13.2 27.3 13 25.8 13C18.5 13 12.5 18.5 11.2 25.6C13.3 28.3 16.5 30 20 30C26.6 30 32 24.6 32 18C32 16.4 31.6 14.9 31 13.5C30.7 13.5 30.3 13.5 30 13.6Z' fill='white' opacity='0.6'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 25%;
    right: 8%;
    width: 40px;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8c0-2 2-4 4-4s4 2 4 4M16 8c0-2 2-4 4-4M8 16c0 2 2 4 4 4s4-2 4-4'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.3;
    animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(230, 30, 104, 0.15);
    border: 1px solid rgba(230, 30, 104, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--skapa-pink);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--skapa-pink);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.3); }
}

.hero-badge span:last-child {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--skapa-pink-light);
    letter-spacing: 0.02em;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    color: var(--white);
    animation: fadeInUp 0.8s ease;
}

.highlight-word {
    position: relative;
    display: inline-block;
    color: var(--white);
}

.highlight-word::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -6px;
    right: -6px;
    height: 14px;
    background: linear-gradient(90deg, var(--skapa-pink), #f0a080);
    border-radius: 4px;
    z-index: -1;
    transform: skewX(-3deg);
    opacity: 0.9;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 44px;
    line-height: 1.8;
    animation: fadeInUp 1s ease;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: var(--white);
    border-radius: var(--radius-full);
    color: var(--skapa-navy);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 30, 104, 0.1), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

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

/* ========================================
   SECTIONS - Premium Layout
   ======================================== */
.prompts-section,
.components-section {
    position: relative;
    padding: 80px 32px;
    max-width: 1440px;
    margin: 0 auto;
    z-index: 1;
}

/* Section Background */
.prompts-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 200px);
    max-width: 1800px;
    height: calc(100% + 120px);
    background: var(--skapa-navy);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    z-index: -1;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.2);
}

.components-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 200px);
    max-width: 1800px;
    height: 100%;
    background: var(--skapa-navy);
    z-index: -1;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-title-row svg {
    color: var(--skapa-pink);
    opacity: 0.9;
}

.section-title-row h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    background: rgba(230, 30, 104, 0.2);
    border: 1px solid rgba(230, 30, 104, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--skapa-pink-light);
}

/* Section Controls */
.section-controls {
    display: flex;
    gap: 12px;
}

.filter-btn,
.sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-btn:hover,
.sort-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: var(--gradient-pink);
    border-color: transparent;
    box-shadow: var(--shadow-pink);
}

/* ========================================
   CARDS GRID - Premium Layout
   ======================================== */
.prompts-grid,
.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

/* ========================================
   PROMPT CARDS - Premium Glass Design
   ======================================== */
.prompt-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
}

/* Card Glow Effect */
.prompt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, 
        rgba(230, 30, 104, 0.1) 0%, 
        transparent 50%, 
        rgba(85, 109, 236, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-base);
    pointer-events: none;
}

.prompt-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 30, 104, 0.4);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(230, 30, 104, 0.2),
        var(--shadow-glow);
}

.prompt-card:hover::before {
    opacity: 1;
}

/* Card Image Area */
.card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(145deg, var(--skapa-navy-dark), var(--skapa-navy));
    overflow: hidden;
}

.card-preview {
    position: absolute;
    inset: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Preview Styles */
.preview-saas {
    flex-direction: column;
    padding: 16px;
    gap: 8px;
}

.mock-nav {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mock-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mock-title {
    width: 70%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.mock-subtitle {
    width: 50%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mock-buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.mock-btn {
    width: 40px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.mock-btn.primary {
    background: var(--skapa-pink);
    width: 50px;
}

.mock-dashboard {
    width: 80%;
    height: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Typography Preview */
.preview-typography {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.mock-kinetic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mock-kinetic span {
    font-size: 1.8rem;
    font-weight: 800;
    font-style: italic;
    color: var(--white);
    letter-spacing: -0.02em;
}

.mock-kinetic .dot {
    width: 8px;
    height: 8px;
    background: var(--skapa-pink);
    border-radius: 50%;
    margin-top: 8px;
}

/* Neobrutalist Preview */
.preview-neobrutalist {
    background: linear-gradient(135deg, #fff5eb, #ffe4d4);
}

.neo-shapes {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neo-box {
    position: absolute;
    border-radius: 8px;
    border: 3px solid #1a1944;
}

.neo-box.box-1 {
    width: 50px;
    height: 50px;
    background: #ffb6c1;
    top: 20%;
    left: 20%;
    transform: rotate(-10deg);
}

.neo-box.box-2 {
    width: 40px;
    height: 40px;
    background: #87ceeb;
    bottom: 25%;
    right: 25%;
    transform: rotate(15deg);
}

.neo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--skapa-navy);
    z-index: 1;
}

/* 3D Preview */
.preview-3d {
    background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
    flex-direction: column;
}

.orb-container {
    position: relative;
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
}

.orb {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--skapa-purple), var(--skapa-pink));
    border-radius: 50%;
    animation: orbPulse 3s ease-in-out infinite;
}

.orb-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
    border-radius: 50%;
    animation: orbGlow 3s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes orbGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.preview-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.1em;
}

/* Emoticon Preview */
.preview-emoticon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

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

.emoticon-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--skapa-navy);
    margin-bottom: 8px;
}

.emoticon-title .highlight {
    background: linear-gradient(90deg, var(--skapa-pink), var(--skapa-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.emoticon-emojis {
    font-size: 1.5rem;
    letter-spacing: 0.3em;
}

/* E-commerce Preview */
.preview-ecommerce {
    background: linear-gradient(135deg, #0f0f23, #1a1a3e);
}

.ecom-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ecom-product {
    width: 50px;
    height: 60px;
    background: linear-gradient(135deg, #4a4a6a, #3a3a5a);
    border-radius: var(--radius-sm);
}

.ecom-text {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

/* Hero Preview */
.preview-hero {
    background: linear-gradient(135deg, #0a0a1a, #1a0a2a);
}

.hero-mock {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.1em;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(230, 30, 104, 0.2), transparent 70%);
}

/* Cursor Preview */
.preview-cursor {
    background: linear-gradient(135deg, #1a1a2e, #2a2a4e);
}

.cursor-mock {
    position: relative;
    width: 100%;
    height: 100%;
}

.cursor-trail {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--skapa-pink), var(--skapa-purple), transparent);
    transform: rotate(-10deg);
    border-radius: 2px;
}

.cursor-dot {
    position: absolute;
    top: 28%;
    right: 25%;
    width: 12px;
    height: 12px;
    background: var(--skapa-pink);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--skapa-pink);
}

/* Component Badge */
.component-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Card Content */
.card-content {
    padding: 24px;
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.bookmark-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.bookmark-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Card Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tag {
    padding: 6px 14px;
    background: rgba(230, 30, 104, 0.12);
    border: 1px solid rgba(230, 30, 104, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--skapa-pink-light);
    transition: var(--transition-fast);
}

.tag:hover {
    background: rgba(230, 30, 104, 0.2);
    transform: translateY(-1px);
}

.tag-ai {
    background: rgba(85, 109, 236, 0.12);
    border-color: rgba(85, 109, 236, 0.25);
    color: var(--skapa-blue-light);
}

.tag-ai:hover {
    background: rgba(85, 109, 236, 0.2);
}

/* Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.author {
    font-weight: 500;
}

.separator {
    opacity: 0.4;
}

/* ========================================
   CARD ACTIONS (Copy & Example buttons)
   ======================================== */
.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.action-btn svg {
    color: var(--white);
    opacity: 0.8;
}

.action-btn:hover svg {
    opacity: 1;
}

.copy-btn:hover {
    background: rgba(230, 30, 104, 0.2);
    border-color: rgba(230, 30, 104, 0.4);
    color: var(--skapa-pink);
}

.copy-btn:hover svg {
    color: var(--skapa-pink);
}

.example-btn:hover {
    background: rgba(77, 102, 249, 0.2);
    border-color: rgba(77, 102, 249, 0.4);
    color: var(--skapa-blue);
}

.example-btn:hover svg {
    color: var(--skapa-blue);
}

/* ========================================
   SECTION ACTIONS
   ======================================== */
.section-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.load-more-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-pink);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-pink);
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 30, 104, 0.4);
}

.more-count {
    opacity: 0.8;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.view-all-btn:hover {
    color: var(--white);
}

.view-all-btn svg {
    transition: var(--transition-base);
}

.view-all-btn:hover svg {
    transform: translateX(4px);
}

/* ========================================
   FOOTER - Premium Design
   ======================================== */
.footer {
    background: linear-gradient(180deg, var(--skapa-navy) 0%, var(--skapa-navy-dark) 100%);
    padding: 80px 32px 48px;
    position: relative;
    z-index: 1;
}

/* Decorative Top Border */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--skapa-pink), var(--skapa-purple), var(--skapa-pink), transparent);
    border-radius: 3px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-brand {
    max-width: 340px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
}

.footer-col a:hover {
    color: var(--skapa-pink-light);
    transform: translateX(4px);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Entrance Animation */
.prompt-card {
    animation: fadeInUp 0.6s ease backwards;
}

.prompt-card:nth-child(1) { animation-delay: 0.1s; }
.prompt-card:nth-child(2) { animation-delay: 0.2s; }
.prompt-card:nth-child(3) { animation-delay: 0.3s; }
.prompt-card:nth-child(4) { animation-delay: 0.4s; }
.prompt-card:nth-child(5) { animation-delay: 0.5s; }
.prompt-card:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   SCROLLBAR - Custom Design
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--skapa-navy-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--skapa-purple), var(--skapa-pink));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--skapa-purple-light), var(--skapa-pink-light));
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .prompts-grid,
    .components-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .prompts-section,
    .components-section {
        padding: 60px 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .prompts-grid,
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 12px 16px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
    }
    
    .signup-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
    
    .card-image {
        height: 160px;
    }
}

/* ========================================
   SELECTION & FOCUS
   ======================================== */
::selection {
    background: rgba(230, 30, 104, 0.3);
    color: var(--white);
}

:focus-visible {
    outline: 2px solid var(--skapa-pink);
    outline-offset: 2px;
}

/* ========================================
   NOTIFICATION (for copy feedback)
   ======================================== */
.notification {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 18px 32px;
    background: var(--skapa-navy);
    border: 1px solid rgba(230, 30, 104, 0.3);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 10000;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* ========================================
   FEATURE POPUP (Coming Soon)
   ======================================== */
.feature-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feature-popup.active {
    opacity: 1;
    visibility: visible;
}

.feature-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.feature-popup-content {
    position: relative;
    background: linear-gradient(135deg, var(--skapa-navy) 0%, #1a1a2e 100%);
    border: 1px solid rgba(230, 30, 104, 0.3);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(230, 30, 104, 0.15), 0 0 60px rgba(230, 30, 104, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.feature-popup.active .feature-popup-content {
    transform: scale(1) translateY(0);
}

.feature-popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--skapa-pink), var(--skapa-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(230, 30, 104, 0.4); }
    50% { box-shadow: 0 0 40px rgba(230, 30, 104, 0.6); }
}

.feature-popup-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(230, 30, 104, 0.15);
    border: 1px solid rgba(230, 30, 104, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--skapa-pink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.feature-popup-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--skapa-pink);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.feature-popup h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.feature-popup p {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 12px;
}

.feature-popup-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(77, 102, 249, 0.1);
    border: 1px solid rgba(77, 102, 249, 0.2);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin: 24px 0;
    text-align: left;
}

.feature-popup-highlight svg {
    width: 24px;
    height: 24px;
    color: var(--skapa-blue);
    flex-shrink: 0;
}

.feature-popup-highlight span {
    font-size: 0.9rem;
    color: var(--gray-300);
    line-height: 1.5;
}

.feature-popup-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--skapa-pink), #c91860);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 8px;
}

.feature-popup-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 30, 104, 0.4);
}

/* ========================================
   MODAL - Prompt Details
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: linear-gradient(145deg, var(--skapa-navy) 0%, var(--skapa-navy-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

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

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    gap: 16px;
}

.modal-close {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.modal-title-section {
    flex: 1;
    min-width: 200px;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.modal-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.modal-bookmark,
.modal-example {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
}

.modal-bookmark:hover {
    background: rgba(230, 30, 104, 0.15);
    border-color: rgba(230, 30, 104, 0.3);
    color: var(--skapa-pink);
}

.modal-example:hover {
    background: rgba(85, 109, 236, 0.15);
    border-color: rgba(85, 109, 236, 0.3);
    color: var(--skapa-blue-light);
}

/* Modal Body */
.modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.modal-main {
    flex: 1;
    padding: 28px;
    overflow-y: auto;
}

.modal-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 20px;
}

.modal-featured-badge svg {
    color: #ffc107;
}

/* Prompt Section */
.modal-prompt-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.prompt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 12px;
}

.prompt-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.prompt-label svg {
    color: var(--skapa-pink);
}

.interactive-badge {
    padding: 4px 10px;
    background: rgba(85, 109, 236, 0.2);
    border: 1px solid rgba(85, 109, 236, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--skapa-blue-light);
}

.copy-prompt-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--gradient-pink);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-pink);
}

.copy-prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 30, 104, 0.4);
}

.prompt-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(85, 109, 236, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.prompt-hint svg {
    color: var(--skapa-blue-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.prompt-content {
    padding: 20px;
    margin: 0;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
}

/* Modal Sidebar */
.modal-sidebar {
    width: 280px;
    padding: 28px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 28px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.sidebar-section h3 svg {
    color: var(--skapa-pink);
}

.ai-model-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(85, 109, 236, 0.15);
    border: 1px solid rgba(85, 109, 236, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--skapa-blue-light);
    transition: var(--transition-base);
}

.ai-model-tag:hover {
    background: rgba(85, 109, 236, 0.25);
    transform: translateY(-1px);
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-tag {
    padding: 6px 12px;
    background: rgba(230, 30, 104, 0.12);
    border: 1px solid rgba(230, 30, 104, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--skapa-pink-light);
    transition: var(--transition-base);
}

.modal-tag:hover {
    background: rgba(230, 30, 104, 0.2);
    transform: translateY(-1px);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-base);
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
}

.implementations-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.implementation-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.implementation-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.implementation-link svg {
    color: rgba(255, 255, 255, 0.4);
}

/* Modal Responsive */
@media (max-width: 900px) {
    .modal-body {
        flex-direction: column;
    }
    
    .modal-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 600px) {
    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .modal-main {
        padding: 20px;
    }
    
    .modal-sidebar {
        padding: 20px;
    }
}
