/* sora.market - Opulent Scholarly Commerce */
/* Colors: #f5f0e8, #1a1a2e, #4a90d9, #e8b84b, #6c757d */
/* Fonts: Sora, Space Grotesk, Inter */

:root {
    --warm-cream: #f5f0e8;
    --deep-base: #1a1a2e;
    --primary-blue: #4a90d9;
    --accent-gold: #e8b84b;
    --muted-gray: #6c757d;
    --burnt-orange: #c4722a;
    --amber: #d4943a;
    --rust: #a0522d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a2e;
    color: #f5f0e8;
    overflow-x: hidden;
    cursor: default;
}

/* Cursor Follow Orb */
#cursor-orb {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,184,75,0.12) 0%, rgba(232,184,75,0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: left 0.3s ease-out, top 0.3s ease-out;
    will-change: left, top;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 184, 75, 0.1);
    transition: background 0.4s ease, padding 0.4s ease;
}

#main-nav.scrolled {
    padding: 12px 0;
    background: rgba(26, 26, 46, 0.95);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-sora {
    color: #f5f0e8;
}

.logo-dot {
    color: #e8b84b;
}

.logo-market {
    color: #4a90d9;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #6c757d;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e8b84b;
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-bg {
    background: linear-gradient(170deg, #1a1a2e 0%, #0f0f1e 50%, #1a1a2e 100%);
}

#hero .parallax-bg {
    background: linear-gradient(170deg, #1a1a2e 0%, #12122a 40%, #1a1a2e 100%);
}

#collections .parallax-bg {
    background: linear-gradient(190deg, #1a1a2e 0%, #151528 60%, #1a1a2e 100%);
}

#featured .parallax-bg {
    background: linear-gradient(160deg, #12122a 0%, #1a1a2e 50%, #0f0f1e 100%);
}

#scholarly .parallax-bg {
    background: linear-gradient(180deg, #1a1a2e 0%, #161630 50%, #1a1a2e 100%);
}

#about .parallax-bg {
    background: linear-gradient(170deg, #0f0f1e 0%, #1a1a2e 50%, #12122a 100%);
}

.parallax-mid {
    z-index: 1;
}

.parallax-fg {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Glyphs */
.floating-glyph {
    position: absolute;
    font-size: 2rem;
    color: rgba(232, 184, 75, 0.08);
    animation: floatGlyph 20s ease-in-out infinite;
}

.glyph-1 { top: 15%; left: 10%; animation-delay: 0s; font-size: 3rem; }
.glyph-2 { top: 60%; left: 85%; animation-delay: -4s; font-size: 2.5rem; }
.glyph-3 { top: 30%; left: 70%; animation-delay: -8s; font-size: 1.8rem; color: rgba(74, 144, 217, 0.06); }
.glyph-4 { top: 75%; left: 20%; animation-delay: -12s; font-size: 2rem; }
.glyph-5 { top: 45%; left: 50%; animation-delay: -16s; font-size: 2.2rem; color: rgba(74, 144, 217, 0.05); }

@keyframes floatGlyph {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    25% { transform: translateY(-30px) rotate(5deg); opacity: 0.6; }
    50% { transform: translateY(-10px) rotate(-3deg); opacity: 0.4; }
    75% { transform: translateY(-25px) rotate(2deg); opacity: 0.5; }
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    padding: 0 40px;
    max-width: 900px;
}

.hero-announcement {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.kinetic-word {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e8b84b;
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.kinetic-word.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
}

.title-accent {
    background: linear-gradient(135deg, #e8b84b, #4a90d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a2e;
    background: linear-gradient(135deg, #e8b84b, #d4943a);
    padding: 18px 48px;
    border-radius: 60px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(232, 184, 75, 0.25);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(232, 184, 75, 0.35);
}

/* Section Commons */
.section-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e8b84b;
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(232, 184, 75, 0.3);
    border-radius: 20px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #f5f0e8;
}

/* Glass Cards */
.glass-card {
    background: rgba(245, 240, 232, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(232, 184, 75, 0.1);
    border-radius: 16px;
    padding: 40px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(232, 184, 75, 0.08);
    border-color: rgba(232, 184, 75, 0.25);
}

/* Neomorphic Cards */
.neo-card {
    background: #1e1e38;
    border-radius: 20px;
    box-shadow:
        8px 8px 24px rgba(0, 0, 0, 0.4),
        -8px -8px 24px rgba(40, 40, 70, 0.3),
        inset 0 1px 0 rgba(232, 184, 75, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.neo-card:hover {
    transform: translateY(-6px);
    box-shadow:
        12px 12px 36px rgba(0, 0, 0, 0.5),
        -12px -12px 36px rgba(40, 40, 70, 0.35),
        inset 0 1px 0 rgba(232, 184, 75, 0.1);
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.collection-card {
    cursor: pointer;
}

.card-icon {
    margin-bottom: 24px;
    opacity: 0.9;
}

.card-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f5f0e8;
}

.card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-count {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e8b84b;
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.featured-card {
    overflow: hidden;
}

.featured-image {
    padding: 24px 24px 0;
}

.featured-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
}

.featured-placeholder svg {
    width: 100%;
    height: auto;
}

.featured-info {
    padding: 24px;
}

.featured-category {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4a90d9;
    margin-bottom: 8px;
    display: block;
}

.featured-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #f5f0e8;
    margin-bottom: 8px;
    line-height: 1.3;
}

.featured-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 16px;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-price {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #e8b84b;
}

.featured-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #4a90d9;
    background: transparent;
    border: 1px solid rgba(74, 144, 217, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.featured-btn:hover {
    background: rgba(74, 144, 217, 0.1);
    border-color: #4a90d9;
    color: #f5f0e8;
}

/* Scholarly Grid */
.scholarly-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.scholarly-panel {
    position: relative;
}

.scholarly-number {
    font-family: 'Sora', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(232, 184, 75, 0.08);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.scholarly-heading {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #f5f0e8;
    margin-bottom: 16px;
}

.scholarly-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
}

.scholarly-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e8b84b;
    cursor: pointer;
    transition: color 0.3s ease;
}

.scholarly-link:hover {
    color: #4a90d9;
}

/* About Section */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text-col .section-label {
    display: inline-block;
    margin-bottom: 16px;
}

.about-text-col .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(232, 184, 75, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #e8b84b;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6c757d;
}

.about-visual-col {
    display: flex;
    justify-content: center;
}

.about-visual-card {
    padding: 0;
    overflow: hidden;
}

.about-visual-card svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Footer */
#site-footer {
    position: relative;
    background: #0f0f1e;
    border-top: 1px solid rgba(232, 184, 75, 0.1);
    padding: 60px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

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

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e8b84b;
}

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(108, 117, 125, 0.6);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .featured-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .scholarly-grid {
        grid-template-columns: 1fr;
    }
    .about-layout {
        grid-template-columns: 1fr;
    }
    .about-visual-col {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .collections-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .section-inner {
        padding: 80px 24px;
    }
    .hero-content {
        padding: 0 24px;
    }
    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
}
