/* =====================================================
   WOMB-INARY.COM - Harry Potter Library Aesthetic
   ===================================================== */

/* -------------------- CSS Variables -------------------- */
:root {
    /* Primary Colors - Gold & Bronze */
    --gold-primary: #D4AF37;
    --gold-light: #F1CF87;
    --gold-dark: #A67C00;
    --bronze: #CD7F32;
    --bronze-light: #E8A84C;
    --bronze-dark: #8B5A2B;

    /* Library Wood Tones */
    --mahogany: #4E2A1E;
    --mahogany-light: #6B4423;
    --mahogany-dark: #3A1F16;
    --warm-brown: #5D3A1A;
    --dark-wood: #2C1810;
    --deep-wood: #1A0F0A;

    /* Ambient Colors */
    --candlelight: #FDB863;
    --candlelight-glow: rgba(253, 184, 99, 0.4);
    --firelight: #FF6B35;

    /* Parchment & Paper */
    --parchment: #F4E8D0;
    --parchment-light: #FFF8E7;
    --parchment-dark: #E6D5B8;
    --cream: #FFFEF5;

    /* Text Colors */
    --ink-dark: #1A0F0A;
    --ink-medium: #3D2914;
    --ink-light: #6B5344;

    /* Shadows & Glows */
    --shadow-soft: 0 10px 40px rgba(26, 15, 10, 0.3);
    --shadow-deep: 0 20px 60px rgba(26, 15, 10, 0.5);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.3);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);

    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-elegant: 'Cormorant Garamond', serif;
    --font-body: 'Crimson Text', serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* -------------------- Reset & Base -------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-dark);
    background: var(--dark-wood);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gold-primary);
}

/* -------------------- Parchment Overlay -------------------- */
.parchment-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    background-image: url('images/img10.jpg');
    background-size: cover;
    opacity: 0.03;
    mix-blend-mode: multiply;
}

/* -------------------- Candle Particles -------------------- */
.candle-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--candlelight);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s infinite ease-in-out;
    box-shadow: 0 0 10px var(--candlelight), 0 0 20px var(--candlelight-glow);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 1.5s; }
.particle:nth-child(3) { left: 50%; animation-delay: 3s; }
.particle:nth-child(4) { left: 70%; animation-delay: 4.5s; }
.particle:nth-child(5) { left: 90%; animation-delay: 6s; }

@keyframes float-particle {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    90% {
        opacity: 0;
    }
    95% {
        transform: translateY(-20vh) scale(1);
    }
}

/* -------------------- Container -------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* -------------------- Hero Section -------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center top, transparent 0%, rgba(26, 15, 10, 0.4) 70%),
        linear-gradient(to bottom, rgba(26, 15, 10, 0.2) 0%, rgba(26, 15, 10, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    max-width: 1000px;
}

/* -------------------- Logo/Crest -------------------- */
.logo-container {
    margin-bottom: var(--space-xl);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 450px;
    height: auto;
    max-width: 90vw;
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.7));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logo-section {
    margin-bottom: var(--space-lg);
}

.crest-container {
    position: relative;
    display: inline-block;
    width: 180px;
    height: 200px;
}

.crown {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    z-index: 3;
}

.crown-svg {
    color: var(--gold-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.shield {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 120px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 50%, var(--gold-light) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
    box-shadow: var(--shadow-glow), inset 0 2px 10px rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.shield-inner {
    position: absolute;
    inset: 4px;
    background: linear-gradient(180deg, var(--mahogany) 0%, var(--mahogany-dark) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.shield-w {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.shield-icons {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.shield-icons svg {
    width: 20px;
    height: 20px;
    color: var(--gold-light);
}

.laurel-left, .laurel-right {
    position: absolute;
    top: 40px;
    width: 40px;
    height: 100px;
    z-index: 1;
}

.laurel-left {
    left: 10px;
}

.laurel-right {
    right: 10px;
}

.laurel-left svg, .laurel-right svg {
    width: 100%;
    height: 100%;
    color: var(--gold-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* -------------------- Brand Name -------------------- */
.brand-name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--parchment-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
    text-shadow:
        0 0 20px rgba(212, 175, 55, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.5);
}

.brand-womb, .brand-inary {
    color: var(--parchment-light);
}

.brand-dash {
    color: var(--gold-primary);
}

.brand-com {
    color: var(--gold-light);
    font-size: 0.6em;
}

/* -------------------- Tagline -------------------- */
.tagline {
    font-family: var(--font-elegant);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: var(--space-xl);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* -------------------- Navigation Buttons (OLD - kept for other pages) -------------------- */
.nav-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

/* -------------------- NEW Hero Navigation -------------------- */
.nav-buttons-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Main Card */
.nav-card.featured {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg,
        rgba(40, 22, 15, 0.92) 0%,
        rgba(30, 16, 10, 0.96) 100%);
    border: 2px solid var(--gold-primary);
    border-radius: 60px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.nav-card.featured:hover {
    transform: translateY(-4px);
    border-color: var(--gold-light);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(212, 175, 55, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-card-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink-dark);
    background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    border-radius: 50%;
    box-shadow:
        0 4px 20px rgba(212, 175, 55, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.nav-card.featured:hover .nav-card-symbol {
    transform: scale(1.05);
    box-shadow:
        0 6px 30px rgba(212, 175, 55, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.nav-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--parchment-light);
    letter-spacing: 0.04em;
}

.nav-card-desc {
    font-family: var(--font-elegant);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gold-light);
    opacity: 0.9;
}

/* Secondary Navigation Links */
.nav-secondary {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(26, 15, 10, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.nav-link:hover {
    background: rgba(40, 22, 15, 0.8);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.nav-link-symbol {
    font-size: 1.1rem;
    color: var(--gold-primary);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-link-symbol {
    opacity: 1;
    transform: scale(1.1);
}

.nav-link-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--parchment);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-link:hover .nav-link-text {
    color: var(--gold-light);
}

/* -------------------- Section Backgrounds -------------------- */
.section-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.section-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(26, 15, 10, 0.85) 0%,
        rgba(26, 15, 10, 0.7) 50%,
        rgba(26, 15, 10, 0.85) 100%);
    z-index: -1;
}

.section-gradient.dark {
    background: linear-gradient(180deg,
        rgba(26, 15, 10, 0.9) 0%,
        rgba(26, 15, 10, 0.8) 50%,
        rgba(26, 15, 10, 0.9) 100%);
}

.section-gradient.warm {
    background: linear-gradient(180deg,
        rgba(26, 15, 10, 0.8) 0%,
        rgba(93, 58, 26, 0.6) 50%,
        rgba(26, 15, 10, 0.8) 100%);
}

/* -------------------- Section Headers -------------------- */
.section-header {
    margin-bottom: var(--space-xl);
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
    text-shadow: var(--text-shadow);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--parchment-dark);
    max-width: 600px;
}

.section-header.center p {
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    margin-bottom: var(--space-sm);
}

/* -------------------- Chat Section -------------------- */
.chat-section {
    position: relative;
    padding: var(--space-xxl) 0;
    min-height: 100vh;
}

.chat-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.chat-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.chat-panel {
    background: rgba(255, 248, 231, 0.95);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gold-dark);
    box-shadow: var(--shadow-deep);
    overflow: hidden;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: linear-gradient(90deg, var(--mahogany) 0%, var(--mahogany-light) 100%);
    border-bottom: 2px solid var(--gold-dark);
}

.chat-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.chat-icon {
    width: 30px;
    height: 30px;
    background: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-status {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--candlelight);
    padding: 4px 12px;
    background: rgba(253, 184, 99, 0.2);
    border-radius: 20px;
    border: 1px solid var(--candlelight);
}

.chat-messages {
    padding: var(--space-md);
    min-height: 350px;
    max-height: 450px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background: linear-gradient(180deg, var(--parchment-light) 0%, var(--parchment) 100%);
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--parchment-dark);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

.message {
    display: flex;
    gap: var(--space-sm);
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--cream);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.message.user .message-avatar {
    background: linear-gradient(135deg, var(--mahogany) 0%, var(--mahogany-light) 100%);
}

.message-content {
    max-width: 80%;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: var(--cream);
    border: 1px solid var(--parchment-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message.user .message-content {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    border-color: var(--gold-dark);
    color: var(--ink-dark);
}

.message-content p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.chat-input-area {
    padding: var(--space-md);
    background: var(--parchment);
    border-top: 2px solid var(--parchment-dark);
}

.chat-form {
    display: flex;
    gap: var(--space-sm);
}

.chat-form input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink-dark);
    background: var(--cream);
    border: 2px solid var(--gold-dark);
    border-radius: 30px;
    outline: none;
    transition: var(--transition-fast);
}

.chat-form input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.chat-form input::placeholder {
    color: var(--ink-light);
}

.send-button {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-dark);
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition-fast);
}

.send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.send-button svg {
    transition: var(--transition-fast);
}

.send-button:hover svg {
    transform: translateX(3px);
}

/* -------------------- Chat Sidebar -------------------- */
.chat-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sidebar-panel {
    background: rgba(255, 248, 231, 0.9);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gold-dark);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(90deg, var(--mahogany) 0%, var(--mahogany-light) 100%);
    border-bottom: 2px solid var(--gold-dark);
}

.panel-header h3 {
    font-size: 0.95rem;
    color: var(--gold-primary);
}

.term-count, .demo-badge {
    font-family: var(--font-body);
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 15px;
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
    border: 1px solid var(--gold-dark);
}

.panel-body {
    padding: var(--space-md);
    background: var(--parchment-light);
}

.panel-body p {
    font-size: 0.9rem;
    color: var(--ink-medium);
    line-height: 1.6;
}

.empty-state {
    font-style: italic;
    color: var(--ink-light);
}

.term-suggestion {
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
    background: var(--cream);
    border: 1px solid var(--parchment-dark);
    border-radius: var(--radius-sm);
}

.term-suggestion:last-child {
    margin-bottom: 0;
}

.term-suggestion h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gold-dark);
    margin-bottom: 4px;
}

.term-suggestion p {
    font-size: 0.85rem;
}

/* -------------------- Preview Section -------------------- */
.preview-section {
    position: relative;
    padding: var(--space-xxl) 0;
}

.preview-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.word-card {
    position: relative;
    background: rgba(255, 248, 231, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-medium);
}

.word-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.word-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--gold-primary);
}

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

.word-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: var(--mahogany);
}

.word-card .definition {
    font-size: 0.95rem;
    color: var(--ink-medium);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    font-family: var(--font-elegant);
    font-style: italic;
}

.word-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 12px;
    background: transparent;
    color: var(--gold-dark);
    border-radius: 3px;
    border: 1px solid var(--gold-dark);
}

.section-cta {
    text-align: center;
}

/* -------------------- Buttons -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 30px;
    transition: var(--transition-fast);
}

.btn-primary {
    color: var(--ink-dark);
    background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    border: none;
    box-shadow:
        0 4px 20px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(212, 175, 55, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    color: var(--gold-primary);
    background: transparent;
    border: 1px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--parchment);
    background: rgba(40, 22, 15, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-ghost:hover {
    background: rgba(60, 32, 22, 0.9);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

/* -------------------- Features Section -------------------- */
.features-section {
    position: relative;
    padding: var(--space-xxl) 0;
}

.features-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
}

.features-copy h2 {
    margin-bottom: var(--space-md);
}

.features-copy p {
    color: var(--parchment-dark);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.text-link {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.text-link span {
    transition: var(--transition-fast);
}

.text-link:hover span {
    transform: translateX(5px);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(255, 248, 231, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-fast);
}

.feature-item:hover {
    background: rgba(255, 248, 231, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.feature-number {
    font-family: var(--font-elegant);
    font-size: 2.5rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gold-primary);
    line-height: 1;
    opacity: 0.7;
    min-width: 50px;
}

.feature-content h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-xs);
    color: var(--parchment-light);
}

.feature-content p {
    color: var(--parchment-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* -------------------- Trust Section -------------------- */
.trust-section {
    position: relative;
    padding: var(--space-xl) 0;
}

.trust-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.trust-section .section-header {
    margin-bottom: var(--space-lg);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 248, 231, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    flex: 0 1 200px;
}

.trust-item:hover {
    background: rgba(255, 248, 231, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
}

.trust-item h3 {
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
    color: var(--gold-primary);
}

.trust-item p {
    color: rgba(244, 232, 208, 0.55);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* -------------------- CTA Section -------------------- */
.cta-section {
    position: relative;
    padding: var(--space-xxl) 0;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl) calc(var(--space-xl) * 1.5);
    background: linear-gradient(135deg, rgba(60, 32, 22, 0.95) 0%, rgba(40, 22, 15, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-sm);
}

.cta-content p {
    color: var(--parchment-dark);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
}

/* -------------------- Footer -------------------- */
.footer {
    padding: var(--space-xl) 0 var(--space-lg);
    background: linear-gradient(180deg, var(--dark-wood) 0%, var(--deep-wood) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 0.02em;
}

.footer-brand p {
    color: rgba(244, 232, 208, 0.5);
    font-size: 0.9rem;
    margin-top: var(--space-xs);
    font-family: var(--font-elegant);
    font-style: italic;
}

.footer-nav {
    display: flex;
    gap: var(--space-lg);
}

.footer-nav a {
    font-family: var(--font-display);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(244, 232, 208, 0.5);
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(244, 232, 208, 0.35);
    letter-spacing: 0.02em;
}

/* -------------------- Page Headers (for other pages) -------------------- */
.page-header {
    position: relative;
    padding: 120px 0 var(--space-xl);
    text-align: center;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-sm);
    text-shadow: var(--text-shadow);
}

.page-header .lead {
    font-size: 1.2rem;
    color: var(--parchment-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* -------------------- Sticky Header (for inner pages) -------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-sm) 0;
    background: rgba(26, 15, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-dark);
    transition: var(--transition-fast);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.site-nav {
    display: flex;
    gap: var(--space-lg);
}

.site-nav a {
    font-family: var(--font-display);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--parchment-dark);
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition-fast);
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--gold-primary);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    width: 100%;
}

/* -------------------- Content Sections -------------------- */
.content-section {
    padding: var(--space-xxl) 0;
}

.content-section.alt {
    background: rgba(78, 42, 30, 0.3);
}

/* -------------------- Grid Layouts -------------------- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

/* -------------------- Cards (for various pages) -------------------- */
.card {
    background: rgba(255, 248, 231, 0.95);
    border: 2px solid var(--gold-dark);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep), var(--shadow-glow);
    border-color: var(--gold-primary);
}

.card h3 {
    margin-bottom: var(--space-sm);
}

.card p {
    color: var(--ink-medium);
}

/* -------------------- Event Cards -------------------- */
.event-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg);
    background: rgba(255, 248, 231, 0.95);
    border: 2px solid var(--gold-dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep);
    border-color: var(--gold-primary);
}

.event-date {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
    border-radius: var(--radius-sm);
    text-align: center;
}

.event-month {
    font-family: var(--font-display);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cream);
}

.event-day {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
}

.event-info h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.event-info p {
    color: var(--ink-medium);
    font-size: 0.95rem;
}

.event-meta {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    color: var(--ink-light);
}

/* -------------------- Product Cards -------------------- */
.product-card {
    background: rgba(255, 248, 231, 0.95);
    border: 2px solid var(--gold-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep), var(--shadow-glow);
    border-color: var(--gold-primary);
}

.product-image {
    height: 280px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-elegant);
    font-style: italic;
    color: var(--ink-light);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-info {
    padding: var(--space-md);
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.product-info p {
    color: var(--ink-medium);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-dark);
}

/* -------------------- Rights Page Sections -------------------- */
.rights-section {
    padding: var(--space-xl) 0;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.rights-card {
    padding: var(--space-xl);
    background: rgba(255, 248, 231, 0.95);
    border: 2px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.rights-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.rights-card h3 svg {
    width: 30px;
    height: 30px;
    color: var(--gold-primary);
}

.rights-card ul {
    list-style: none;
    margin-top: var(--space-md);
}

.rights-card li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--ink-medium);
}

.rights-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
}

/* -------------------- Dictionary Page -------------------- */
.dictionary-toolbar {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: rgba(255, 248, 231, 0.9);
    border: 2px solid var(--gold-dark);
    border-radius: var(--radius-md);
}

.search-input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink-dark);
    background: var(--cream);
    border: 2px solid var(--gold-dark);
    border-radius: 30px;
    outline: none;
}

.search-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.filter-chips {
    display: flex;
    gap: var(--space-sm);
}

.filter-chip {
    padding: var(--space-xs) var(--space-md);
    font-family: var(--font-display);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-medium);
    background: var(--parchment);
    border: 1px solid var(--parchment-dark);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-chip:hover,
.filter-chip.active {
    color: var(--ink-dark);
    background: var(--gold-light);
    border-color: var(--gold-primary);
}

.dictionary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

/* -------------------- Responsive Design -------------------- */
@media (max-width: 1024px) {
    .nav-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-card.featured {
        padding: var(--space-md) var(--space-lg);
    }

    .nav-card-symbol {
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
    }

    .nav-card-title {
        font-size: 1.2rem;
    }

    .chat-container {
        grid-template-columns: 1fr;
    }

    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .dictionary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xxl: 3rem;
    }

    .nav-buttons {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .nav-btn {
        flex-direction: row;
        text-align: left;
        padding: var(--space-md);
    }

    .nav-btn-icon {
        margin-bottom: 0;
        margin-right: var(--space-sm);
    }

    .nav-buttons-new {
        gap: var(--space-lg);
    }

    .nav-card.featured {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
        border-radius: 24px;
    }

    .nav-card-content {
        align-items: center;
    }

    .nav-secondary {
        gap: var(--space-xs);
    }

    .nav-link {
        padding: var(--space-xs) var(--space-sm);
    }

    .nav-link-text {
        font-size: 0.75rem;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-header .container {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }

    .dictionary-toolbar {
        flex-direction: column;
    }

    .filter-chips {
        flex-wrap: wrap;
    }

    .dictionary-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .event-date {
        margin: 0 auto;
    }

    .event-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
    }

    .crest-container {
        transform: scale(0.8);
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* -------------------- Animations -------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

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

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

/* -------------------- Utility Classes -------------------- */
.text-center { text-align: center; }
.text-gold { color: var(--gold-primary); }
.text-parchment { color: var(--parchment); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
