/* ============================================
   NABDI - NEW HOMEPAGE STYLES
   Enterprise-grade design system
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* REFINED COLOR PALETTE - Warm, Intimate, Poetic */
    --hp-canvas: #FFFBF7;
    --hp-canvas-warm: #F9F6F2;
    --hp-canvas-deep: #F0EBE6;
    --hp-canvas-accent: #E8E3DD;
    
    /* Text Colors */
    --hp-text-primary: #1A1614;
    --hp-text-secondary: #5D4E47;
    --hp-text-muted: #9B8F85;
    --hp-text-light: #B8ADA3;
    
    /* Accent Colors - Amber Gold Theme */
    --hp-accent: #D4925A;
    --hp-accent-hover: #B8763D;
    --hp-accent-light: #E8B88A;
    --hp-accent-glow: rgba(212, 146, 90, 0.2);
    --hp-accent-subtle: rgba(212, 146, 90, 0.08);
    
    /* Secondary Accent - Earth Tones */
    --hp-earth: #7A6A5D;
    --hp-earth-light: #A39485;
    --hp-earth-subtle: #E8E3DD;
    
    /* Category Colors */
    --hp-love: #C47D5C;
    --hp-loss: #8B7B7B;
    --hp-hope: #7B8B6F;
    --hp-reflection: #6B7B8B;
    --hp-solitude: #5D7B8B;
    
    /* Shadows */
    --hp-shadow-sm: 0 2px 8px rgba(26, 22, 20, 0.06);
    --hp-shadow-md: 0 4px 24px rgba(26, 22, 20, 0.08);
    --hp-shadow-lg: 0 12px 48px rgba(26, 22, 20, 0.12);
    --hp-shadow-xl: 0 24px 64px rgba(26, 22, 20, 0.16);
    --hp-shadow-glow: 0 8px 32px rgba(212, 146, 90, 0.15);
    
    /* Typography */
    --hp-font-display: 'Markazi Text', serif;
    --hp-font-body: 'Scheherazade New', serif;
    --hp-font-ui: 'Kufam', sans-serif;
    
    /* Spacing - 8px based */
    --hp-space-2xs: 4px;
    --hp-space-xs: 8px;
    --hp-space-sm: 16px;
    --hp-space-md: 24px;
    --hp-space-lg: 32px;
    --hp-space-xl: 48px;
    --hp-space-2xl: 64px;
    --hp-space-3xl: 96px;
    --hp-space-4xl: 128px;
    
    /* Border Radius */
    --hp-radius-sm: 8px;
    --hp-radius-md: 12px;
    --hp-radius-lg: 16px;
    --hp-radius-xl: 24px;
    --hp-radius-full: 9999px;
    
    /* Transitions */
    --hp-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --hp-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hp-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --hp-transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Layout */
    --hp-container-max: 1280px;
    --hp-container-narrow: 900px;
    --hp-header-height: 72px;
}

/* ===== RESET & BASE ===== */
.hp-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hp-page {
    font-family: var(--hp-font-body);
    background: var(--hp-canvas);
    color: var(--hp-text-primary);
    direction: rtl;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Smooth scroll */
.hp-page {
    scroll-behavior: smooth;
}

/* ===== UTILITY CLASSES ===== */
.hp-container {
    max-width: var(--hp-container-max);
    margin: 0 auto;
    padding: 0 var(--hp-space-md);
}

.hp-container--narrow {
    max-width: var(--hp-container-narrow);
}

.hp-section {
    padding: var(--hp-space-3xl) 0;
    position: relative;
}

.hp-section--compact {
    padding: var(--hp-space-2xl) 0;
}

/* ===== ANIMATED BACKGROUND ===== */
.hp-bg-pattern {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(212, 146, 90, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(122, 106, 93, 0.05) 0%, transparent 50%),
        var(--hp-canvas);
    pointer-events: none;
}

.hp-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}

/* ===== HEADER - REFINED ===== */
.hp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--hp-header-height);
    background: rgba(255, 251, 247, 0.92);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(122, 106, 93, 0.1);
    z-index: 1000;
    transition: var(--hp-transition-base);
}

.hp-header.scrolled {
    background: rgba(255, 251, 247, 0.98);
    box-shadow: var(--hp-shadow-sm);
}

.hp-header__inner {
    max-width: var(--hp-container-max);
    margin: 0 auto;
    padding: 0 var(--hp-space-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hp-header__brand {
    display: flex;
    align-items: center;
    gap: var(--hp-space-sm);
    text-decoration: none;
}

.hp-header__logo {
    width: 40px;
    height: 40px;
    transition: transform var(--hp-transition-bounce);
}

.hp-header__brand:hover .hp-header__logo {
    transform: scale(1.1) rotate(-5deg);
}

.hp-header__title {
    font-family: var(--hp-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hp-text-primary);
    letter-spacing: 0.02em;
}

.hp-header__nav {
    display: flex;
    align-items: center;
    gap: var(--hp-space-lg);
}

.hp-header__link {
    font-family: var(--hp-font-ui);
    font-size: 0.95rem;
    color: var(--hp-text-secondary);
    text-decoration: none;
    padding: var(--hp-space-xs) var(--hp-space-sm);
    border-radius: var(--hp-radius-sm);
    transition: var(--hp-transition-fast);
    position: relative;
}

.hp-header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--hp-accent);
    transition: width var(--hp-transition-base);
}

.hp-header__link:hover {
    color: var(--hp-accent);
}

.hp-header__link:hover::after {
    width: 100%;
}

.hp-header__cta {
    font-family: var(--hp-font-ui);
    font-size: 0.9rem;
    background: var(--hp-accent);
    color: white;
    padding: var(--hp-space-xs) var(--hp-space-md);
    border-radius: var(--hp-radius-full);
    text-decoration: none;
    transition: var(--hp-transition-base);
    box-shadow: var(--hp-shadow-sm);
}

.hp-header__cta:hover {
    background: var(--hp-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--hp-shadow-glow);
}

/* Mobile menu toggle */
.hp-header__menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    position: relative;
}

.hp-header__menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--hp-text-primary);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--hp-transition-fast);
}

.hp-header__menu-toggle span:nth-child(1) { top: 14px; }
.hp-header__menu-toggle span:nth-child(2) { top: 21px; }
.hp-header__menu-toggle span:nth-child(3) { top: 28px; }

@media (max-width: 768px) {
    .hp-header__nav {
        display: none;
    }
    
    .hp-header__menu-toggle {
        display: block;
    }
}

/* ===== HERO SECTION - IMMERSIVE FULL-WIDTH ===== */
.hp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, var(--hp-canvas) 0%, var(--hp-canvas-warm) 50%, var(--hp-canvas-deep) 100%);
    padding-top: var(--hp-header-height, 70px);
    box-sizing: border-box;
}

/* ===== AMBIENT GRADIENT ORBS ===== */
.hp-hero__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hp-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

.hp-hero__orb--1 {
    width: min(600px, 50vw);
    height: min(600px, 50vw);
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(212, 146, 90, 0.35) 0%, transparent 70%);
    animation: orbFloat1 25s ease-in-out infinite;
}

.hp-hero__orb--2 {
    width: min(500px, 45vw);
    height: min(500px, 45vw);
    bottom: -10%;
    left: -8%;
    background: radial-gradient(circle, rgba(122, 106, 93, 0.25) 0%, transparent 70%);
    animation: orbFloat2 30s ease-in-out infinite;
}

.hp-hero__orb--3 {
    width: min(400px, 35vw);
    height: min(400px, 35vw);
    top: 45%;
    left: 25%;
    background: radial-gradient(circle, rgba(212, 146, 90, 0.2) 0%, transparent 70%);
    animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    33% { transform: translate3d(30px, -25px, 0); }
    66% { transform: translate3d(-20px, 15px, 0); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(25px, -30px, 0); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    25% { transform: translate3d(-15px, 20px, 0); }
    75% { transform: translate3d(20px, -15px, 0); }
}

/* ===== FLOATING POETRY VERSES ===== */
.hp-hero__verses {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.hp-hero__verse {
    position: absolute;
    top: var(--top, auto);
    bottom: var(--bottom, auto);
    left: var(--left, auto);
    right: var(--right, auto);
    font-family: var(--hp-font-body);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: var(--hp-text-muted);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--hp-radius-sm);
    border: 1px solid rgba(212, 146, 90, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    opacity: 0;
    animation: verseReveal 15s ease-in-out infinite;
    animation-delay: calc(var(--top, 0) * 0.1s);
    white-space: nowrap;
}

/* SENIOR: Show 2 verses simultaneously with offset timing */
.hp-hero__verse:nth-child(1) { animation-delay: 0s; }
.hp-hero__verse:nth-child(2) { animation-delay: 1.5s; } /* Paired with 1 */
.hp-hero__verse:nth-child(3) { animation-delay: 8s; }
.hp-hero__verse:nth-child(4) { animation-delay: 9.5s; } /* Paired with 3 */
.hp-hero__verse:nth-child(5) { animation-delay: 16s; }
.hp-hero__verse:nth-child(6) { animation-delay: 17.5s; } /* Paired with 5 */
.hp-hero__verse:nth-child(7) { animation-delay: 24s; }
.hp-hero__verse:nth-child(8) { animation-delay: 25.5s; } /* Paired with 7 */

@keyframes verseReveal {
    0%, 100% { opacity: 0; transform: translate3d(0, 12px, 0); }
    5%, 35% { opacity: 0.75; transform: translate3d(0, 0, 0); }
    45% { opacity: 0; transform: translate3d(0, -8px, 0); }
}

/* ===== GOLDEN DUST PARTICLES - Opening a Book of Poetry ===== */
/* 
   Concept: Golden dust particles gather at center then scatter outward
   Like opening a poetry book - magic and wonder in the air
*/

.hp-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.hp-hero__particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--hp-accent);
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
    box-shadow: 0 0 8px var(--hp-accent), 0 0 16px rgba(212, 146, 90, 0.3);
}

/* Entrance: Particles gather at center then scatter outward */
.hp-hero__particle:nth-child(1) { animation: dustGather 1.8s ease-out 0.1s forwards, dustDrift 14s ease-in-out 2s infinite; --end-x: -35vw; --end-y: -25vh; }
.hp-hero__particle:nth-child(2) { animation: dustGather 2s ease-out 0.2s forwards, dustDrift 16s ease-in-out 2.2s infinite; --end-x: 30vw; --end-y: -30vh; }
.hp-hero__particle:nth-child(3) { animation: dustGather 1.6s ease-out 0s forwards, dustDrift 12s ease-in-out 1.8s infinite; --end-x: -40vw; --end-y: 20vh; }
.hp-hero__particle:nth-child(4) { animation: dustGather 2.2s ease-out 0.35s forwards, dustDrift 18s ease-in-out 2.5s infinite; --end-x: 35vw; --end-y: 25vh; }
.hp-hero__particle:nth-child(5) { animation: dustGather 1.7s ease-out 0.15s forwards, dustDrift 13s ease-in-out 1.9s infinite; --end-x: -20vw; --end-y: -35vh; }
.hp-hero__particle:nth-child(6) { animation: dustGather 1.9s ease-out 0.25s forwards, dustDrift 15s ease-in-out 2.1s infinite; --end-x: 25vw; --end-y: -20vh; }
.hp-hero__particle:nth-child(7) { animation: dustGather 2.1s ease-out 0.3s forwards, dustDrift 17s ease-in-out 2.4s infinite; --end-x: -30vw; --end-y: 30vh; }
.hp-hero__particle:nth-child(8) { animation: dustGather 1.5s ease-out 0.05s forwards, dustDrift 11s ease-in-out 1.7s infinite; --end-x: 40vw; --end-y: 15vh; }
.hp-hero__particle:nth-child(9) { animation: dustGather 2.3s ease-out 0.4s forwards, dustDrift 19s ease-in-out 2.6s infinite; --end-x: -15vw; --end-y: 35vh; }
.hp-hero__particle:nth-child(10) { animation: dustGather 1.8s ease-out 0.18s forwards, dustDrift 14s ease-in-out 2s infinite; --end-x: 20vw; --end-y: -35vh; }
.hp-hero__particle:nth-child(11) { animation: dustGather 2s ease-out 0.22s forwards, dustDrift 16s ease-in-out 2.2s infinite; --end-x: -45vw; --end-y: 10vh; }
.hp-hero__particle:nth-child(12) { animation: dustGather 1.7s ease-out 0.12s forwards, dustDrift 13s ease-in-out 1.9s infinite; --end-x: 45vw; --end-y: -10vh; }

/* Gather at center then scatter - like opening a book of poetry */
@keyframes dustGather {
    0% {
        left: 50%;
        top: 50%;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    25% {
        left: 50%;
        top: 50%;
        opacity: 1;
        transform: translate(-50%, -50%) scale(2);
    }
    50% {
        left: 50%;
        top: 50%;
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        left: calc(50% + var(--end-x));
        top: calc(50% + var(--end-y));
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Continuous gentle drift after scatter */
@keyframes dustDrift {
    0%, 100% {
        transform: translate(0, 0) scale(0.7);
        opacity: 0.4;
    }
    33% {
        transform: translate(15px, -12px) scale(0.9);
        opacity: 0.6;
    }
    66% {
        transform: translate(-10px, 8px) scale(0.8);
        opacity: 0.5;
    }
}

/* Add subtle glow pulse to particles */
.hp-hero__particle::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 146, 90, 0.4) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* ===== DECORATIVE LINES ===== */
.hp-hero__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hp-hero__line {
    stroke: var(--hp-accent);
    stroke-width: 1;
    stroke-linecap: round;
    opacity: 0.25;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: lineReveal 2s ease-out forwards;
}

.hp-hero__line:nth-child(1) { animation-delay: 0.5s; }
.hp-hero__line:nth-child(2) { animation-delay: 0.8s; }
.hp-hero__line:nth-child(3) { animation-delay: 1.1s; }
.hp-hero__line:nth-child(4) { animation-delay: 1.4s; }

@keyframes lineReveal {
    to { stroke-dashoffset: 0; }
}

.hp-hero__dot {
    fill: var(--hp-accent);
    opacity: 0;
    animation: dotReveal 0.4s ease-out forwards;
}

.hp-hero__dot:nth-child(5) { animation-delay: 1.5s; }
.hp-hero__dot:nth-child(6) { animation-delay: 1.8s; }
.hp-hero__dot:nth-child(7) { animation-delay: 2.1s; }
.hp-hero__dot:nth-child(8) { animation-delay: 2.4s; }

@keyframes dotReveal {
    to { opacity: 0.4; }
}

/* ===== CENTERED CONTENT ===== */
.hp-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: var(--hp-space-xl) var(--hp-space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--hp-accent);
    font-family: var(--hp-font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--hp-radius-full);
    margin-bottom: var(--hp-space-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    opacity: 0;
    animation: fadeInUp 0.7s ease-out 0.2s forwards;
}

.hp-hero__title {
    font-family: var(--hp-font-display);
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--hp-text-primary);
    margin-bottom: var(--hp-space-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.35s forwards;
}

.hp-hero__accent {
    color: var(--hp-accent);
    font-style: normal;
    position: relative;
}

.hp-hero__accent::after {
    content: '';
    position: absolute;
    bottom: 0.08em;
    left: 0;
    right: 0;
    height: 0.12em;
    background: linear-gradient(90deg, var(--hp-accent-light), var(--hp-accent));
    opacity: 0.4;
    border-radius: 2px;
}

.hp-hero__title-sub {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    color: var(--hp-text-secondary);
    margin-top: 0.3em;
}

.hp-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--hp-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--hp-space-xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

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

/* ===== ACTION BUTTONS ===== */
.hp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--hp-space-sm);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.65s forwards;
}

.hp-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--hp-font-ui);
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--hp-radius-full);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-hero__btn--primary {
    background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-accent-hover) 100%);
    color: white;
    box-shadow: 0 6px 24px rgba(212, 146, 90, 0.35);
}

.hp-hero__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(212, 146, 90, 0.45);
}

.hp-hero__btn--primary svg {
    transition: transform 0.2s ease;
}

.hp-hero__btn--primary:hover svg {
    transform: translateX(-3px);
}

.hp-hero__btn--ghost {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--hp-text-primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.hp-hero__btn--ghost:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ===== SCROLL INDICATOR ===== */
.hp-hero__scroll {
    position: absolute;
    bottom: var(--hp-space-xl);
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--hp-text-muted);
    font-family: var(--hp-font-ui);
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
    transition: color 0.2s ease;
    z-index: 10;
}

.hp-hero__scroll:hover {
    color: var(--hp-accent);
}

.hp-hero__scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}


/* ===== HERO RESPONSIVE ===== */
@media (min-width: 1024px) {
    .hp-hero {
        min-height: auto;
        height: calc(100vh - var(--hp-header-height, 70px));
        padding-top: 0;
        align-items: flex-start;
        padding-bottom: var(--hp-space-3xl);
    }
    
    .hp-hero__content {
        max-width: 800px;
        margin-top: var(--hp-space-2xl);
    }
    
    .hp-hero__title {
        font-size: clamp(2.75rem, 5vw, 4rem);
    }
    
    .hp-hero__scroll {
        bottom: var(--hp-space-lg);
    }
}

@media (max-width: 768px) {
    .hp-hero__verses {
        display: none;
    }
    
    .hp-hero__lines {
        opacity: 0.15;
    }
    
    .hp-hero__orb--3 {
        display: none;
    }
    
    .hp-hero__particle:nth-child(n+9) {
        display: none;
    }
    
    .hp-hero__content {
        padding: var(--hp-space-lg) var(--hp-space-md);
    }
    
    .hp-hero__badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    
    .hp-hero__title {
        font-size: 1.85rem;
    }
    
    .hp-hero__title-sub {
        font-size: 0.55em;
    }
    
    .hp-hero__subtitle {
        font-size: 0.95rem;
    }
    
    .hp-hero__actions {
        flex-direction: column;
        width: 100%;
        gap: var(--hp-space-xs);
    }
    
    .hp-hero__btn {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .hp-hero__scroll {
        bottom: var(--hp-space-md);
    }
    
    .hp-hero__scroll span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-hero__orb,
    .hp-hero__verse,
    .hp-hero__particle,
    .hp-hero__line,
    .hp-hero__dot,
    .hp-hero__scroll svg {
        animation: none;
    }
    
    .hp-hero__verse {
        opacity: 0.6;
    }
    
    .hp-hero__line {
        stroke-dashoffset: 0;
    }
    
    .hp-hero__dot {
        opacity: 0.4;
    }
}


/* Legacy discover - keeping for backward compatibility */
.hp-hero__discover {
    position: absolute;
    bottom: var(--hp-space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Hidden - using new scroll indicator */
    flex-direction: column;
    align-items: center;
    gap: var(--hp-space-sm);
    text-decoration: none;
    animation: fadeInUp 1s ease-out 0.8s backwards;
    cursor: pointer;
    transition: var(--hp-transition-base);
}

.hp-hero__discover:hover {
    transform: translateX(-50%) translateY(-4px);
}

.hp-hero__discover-text {
    font-family: var(--hp-font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hp-text-secondary);
    letter-spacing: 0.03em;
    transition: var(--hp-transition-fast);
}

.hp-hero__discover:hover .hp-hero__discover-text {
    color: var(--hp-accent);
}

.hp-hero__discover-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--hp-accent-light) 0%, var(--hp-accent) 100%);
    position: relative;
    overflow: hidden;
}

.hp-hero__discover-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, white 50%, transparent 100%);
    animation: lineShimmer 2s ease-in-out infinite;
}

@keyframes lineShimmer {
    0% { top: -50%; }
    100% { top: 150%; }
}

.hp-hero__discover-arrow {
    color: var(--hp-accent);
    transition: var(--hp-transition-fast);
    animation: arrowBounce 2s ease-in-out infinite;
}

.hp-hero__discover:hover .hp-hero__discover-arrow {
    color: var(--hp-accent-hover);
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== STATS SECTION ===== */
.hp-stats {
    background: linear-gradient(180deg, var(--hp-canvas) 0%, var(--hp-canvas-warm) 100%);
    position: relative;
    overflow: hidden;
}

.hp-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--hp-earth-light) 50%, transparent 100%);
}

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

.hp-stats__item {
    text-align: center;
    padding: var(--hp-space-xl) var(--hp-space-md);
    position: relative;
}

.hp-stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--hp-earth-subtle);
}

.hp-stats__number {
    font-family: var(--hp-font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--hp-accent);
    line-height: 1;
    margin-bottom: var(--hp-space-xs);
}

.hp-stats__number[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--hp-transition-slow);
}

.hp-stats__number.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hp-stats__label {
    font-family: var(--hp-font-ui);
    font-size: 0.95rem;
    color: var(--hp-text-secondary);
}

.hp-stats__sublabel {
    font-size: 0.8rem;
    color: var(--hp-text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .hp-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hp-stats__item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hp-stats__grid {
        grid-template-columns: 1fr;
    }
    
    .hp-stats__item::after {
        display: none;
    }
    
    .hp-stats__item:not(:last-child) {
        border-bottom: 1px solid var(--hp-earth-subtle);
    }
}

/* ===== CATEGORIES SECTION ===== */
.hp-categories {
    background: var(--hp-canvas-warm);
}

.hp-section-header {
    text-align: center;
    margin-bottom: var(--hp-space-2xl);
}

.hp-section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--hp-space-xs);
    font-family: var(--hp-font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hp-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--hp-space-sm);
}

.hp-section-label::before,
.hp-section-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--hp-accent-light);
}

.hp-section-title {
    font-family: var(--hp-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--hp-text-primary);
    margin-bottom: var(--hp-space-sm);
}

.hp-section-subtitle {
    font-size: 1.1rem;
    color: var(--hp-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.hp-category-card {
    background: white;
    border-radius: var(--hp-radius-lg);
    padding: var(--hp-space-xl) var(--hp-space-md);
    text-align: center;
    text-decoration: none;
    transition: var(--hp-transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.hp-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--category-color, var(--hp-accent-subtle)) 100%);
    opacity: 0;
    transition: var(--hp-transition-base);
}

.hp-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hp-shadow-lg);
    border-color: var(--category-color, var(--hp-accent-light));
}

.hp-category-card:hover::before {
    opacity: 0.1;
}

.hp-category-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--hp-space-md);
    background: var(--category-color, var(--hp-accent-subtle));
    border-radius: var(--hp-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hp-transition-base);
    position: relative;
    z-index: 1;
}

.hp-category-card:hover .hp-category-card__icon {
    transform: scale(1.1) rotate(-5deg);
}

.hp-category-card__icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.hp-category-card__name {
    font-family: var(--hp-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hp-text-primary);
    margin-bottom: var(--hp-space-xs);
    position: relative;
    z-index: 1;
}

.hp-category-card__count {
    font-family: var(--hp-font-ui);
    font-size: 0.85rem;
    color: var(--hp-text-muted);
    position: relative;
    z-index: 1;
}

/* Category colors */
.hp-category-card[data-category="love"] { --category-color: var(--hp-love); }
.hp-category-card[data-category="loss"] { --category-color: var(--hp-loss); }
.hp-category-card[data-category="hope"] { --category-color: var(--hp-hope); }
.hp-category-card[data-category="reflection"] { --category-color: var(--hp-reflection); }
.hp-category-card[data-category="solitude"] { --category-color: var(--hp-solitude); }

@media (max-width: 1024px) {
    .hp-categories__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .hp-categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== FEATURED POEMS SECTION ===== */
.hp-featured {
    background: var(--hp-canvas);
    position: relative;
}

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

.hp-poem-card {
    background: white;
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    transition: var(--hp-transition-base);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--hp-earth-subtle);
}

.hp-poem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hp-shadow-xl);
}

.hp-poem-card__image {
    height: 180px;
    background: linear-gradient(135deg, var(--hp-canvas-warm) 0%, var(--hp-canvas-deep) 100%);
    position: relative;
    overflow: hidden;
}

.hp-poem-card__image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: var(--hp-transition-slow);
}

.hp-poem-card:hover .hp-poem-card__image-bg {
    transform: scale(1.1);
    opacity: 0.4;
}

.hp-poem-card__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 22, 20, 0.6) 100%);
}

.hp-poem-card__category {
    position: absolute;
    top: var(--hp-space-sm);
    right: var(--hp-space-sm);
    font-family: var(--hp-font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    background: white;
    color: var(--hp-accent);
    padding: 4px 12px;
    border-radius: var(--hp-radius-full);
}

.hp-poem-card__content {
    padding: var(--hp-space-lg);
}

.hp-poem-card__title {
    font-family: var(--hp-font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--hp-text-primary);
    margin-bottom: var(--hp-space-sm);
    line-height: 1.4;
}

.hp-poem-card__excerpt {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--hp-text-secondary);
    margin-bottom: var(--hp-space-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-poem-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--hp-space-sm);
    border-top: 1px solid var(--hp-earth-subtle);
}

.hp-poem-card__author {
    font-family: var(--hp-font-ui);
    font-size: 0.85rem;
    color: var(--hp-text-muted);
}

.hp-poem-card__stats {
    display: flex;
    align-items: center;
    gap: var(--hp-space-sm);
}

.hp-poem-card__stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--hp-font-ui);
    font-size: 0.8rem;
    color: var(--hp-text-muted);
}

.hp-poem-card__stat svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 1024px) {
    .hp-featured__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hp-featured__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== POEM OF THE DAY SECTION ===== */
.hp-potd {
    background: linear-gradient(180deg, var(--hp-canvas-warm) 0%, var(--hp-canvas) 100%);
    position: relative;
    overflow: hidden;
}

.hp-potd::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--hp-earth-light) 50%, transparent 100%);
}

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

.hp-potd__text {
    background: white;
    border-radius: var(--hp-radius-xl);
    padding: var(--hp-space-2xl);
    box-shadow: var(--hp-shadow-lg);
    position: relative;
}

.hp-potd__text::before {
    content: '"';
    position: absolute;
    top: var(--hp-space-md);
    right: var(--hp-space-lg);
    font-family: var(--hp-font-display);
    font-size: 6rem;
    line-height: 1;
    color: var(--hp-accent-light);
    opacity: 0.3;
}

.hp-potd__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--hp-space-xs);
    background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-accent-hover) 100%);
    color: white;
    font-family: var(--hp-font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    padding: var(--hp-space-xs) var(--hp-space-sm);
    border-radius: var(--hp-radius-full);
    margin-bottom: var(--hp-space-lg);
}

.hp-potd__badge svg {
    width: 16px;
    height: 16px;
}

.hp-potd__title {
    font-family: var(--hp-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--hp-text-primary);
    margin-bottom: var(--hp-space-md);
}

.hp-potd__verse {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    line-height: 2;
    color: var(--hp-text-secondary);
    margin-bottom: var(--hp-space-lg);
    position: relative;
    z-index: 1;
}

.hp-potd__author {
    font-family: var(--hp-font-ui);
    font-size: 0.95rem;
    color: var(--hp-text-muted);
    margin-bottom: var(--hp-space-lg);
}

.hp-potd__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--hp-space-xs);
    font-family: var(--hp-font-ui);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--hp-accent);
    text-decoration: none;
    transition: var(--hp-transition-fast);
}

.hp-potd__cta:hover {
    color: var(--hp-accent-hover);
}

.hp-potd__cta svg {
    width: 18px;
    height: 18px;
    transition: transform var(--hp-transition-fast);
}

.hp-potd__cta:hover svg {
    transform: translateX(-4px);
}

.hp-potd__visual {
    position: relative;
}

.hp-potd__image-frame {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--hp-radius-xl);
    overflow: hidden;
    box-shadow: var(--hp-shadow-xl);
}

.hp-potd__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-potd__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 22, 20, 0.4) 100%);
}

.hp-potd__floating-badge {
    position: absolute;
    bottom: var(--hp-space-lg);
    left: var(--hp-space-lg);
    background: white;
    padding: var(--hp-space-sm) var(--hp-space-md);
    border-radius: var(--hp-radius-md);
    box-shadow: var(--hp-shadow-md);
}

.hp-potd__floating-badge-label {
    font-family: var(--hp-font-ui);
    font-size: 0.75rem;
    color: var(--hp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hp-potd__floating-badge-value {
    font-family: var(--hp-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hp-accent);
}

@media (max-width: 1024px) {
    .hp-potd__content {
        grid-template-columns: 1fr;
    }
    
    .hp-potd__visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ===== VERSE MARQUEE SECTION ===== */
.hp-marquee {
    background: var(--hp-text-primary);
    padding: var(--hp-space-lg) 0;
    overflow: hidden;
}

.hp-marquee__track {
    display: flex;
    animation: marquee 30s linear infinite;
}

.hp-marquee__content {
    display: flex;
    gap: var(--hp-space-2xl);
    padding: 0 var(--hp-space-xl);
    flex-shrink: 0;
}

.hp-marquee__item {
    font-family: var(--hp-font-display);
    font-size: 1.5rem;
    color: var(--hp-canvas);
    white-space: nowrap;
    opacity: 0.8;
}

.hp-marquee__separator {
    color: var(--hp-accent);
    font-size: 1.5rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== TESTIMONIALS SECTION ===== */
.hp-testimonials {
    background: var(--hp-canvas);
}

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

.hp-testimonial-card {
    background: white;
    border-radius: var(--hp-radius-lg);
    padding: var(--hp-space-xl);
    position: relative;
    transition: var(--hp-transition-base);
    border: 1px solid var(--hp-earth-subtle);
}

.hp-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-shadow-lg);
}

.hp-testimonial-card__quote {
    position: absolute;
    top: var(--hp-space-md);
    right: var(--hp-space-md);
    font-family: var(--hp-font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--hp-accent-light);
    opacity: 0.2;
}

.hp-testimonial-card__text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--hp-text-secondary);
    margin-bottom: var(--hp-space-lg);
    position: relative;
    z-index: 1;
}

.hp-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--hp-space-sm);
}

.hp-testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hp-accent-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hp-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hp-accent);
}

.hp-testimonial-card__info {
    flex: 1;
}

.hp-testimonial-card__name {
    font-family: var(--hp-font-ui);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hp-text-primary);
}

.hp-testimonial-card__role {
    font-size: 0.85rem;
    color: var(--hp-text-muted);
}

@media (max-width: 1024px) {
    .hp-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hp-testimonials__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== NEWSLETTER SECTION ===== */
.hp-newsletter {
    background: linear-gradient(135deg, var(--hp-text-primary) 0%, #2A2420 100%);
    position: relative;
    overflow: hidden;
}

.hp-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hp-newsletter__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hp-newsletter__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--hp-space-lg);
    background: var(--hp-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-newsletter__icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.hp-newsletter__title {
    font-family: var(--hp-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--hp-canvas);
    margin-bottom: var(--hp-space-sm);
}

.hp-newsletter__subtitle {
    font-size: 1.05rem;
    color: var(--hp-text-light);
    margin-bottom: var(--hp-space-xl);
}

.hp-newsletter__form {
    display: flex;
    gap: var(--hp-space-sm);
    max-width: 480px;
    margin: 0 auto;
}

.hp-newsletter__input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--hp-radius-full);
    padding: var(--hp-space-sm) var(--hp-space-lg);
    font-family: var(--hp-font-ui);
    font-size: 1rem;
    color: white;
    outline: none;
    transition: var(--hp-transition-fast);
}

.hp-newsletter__input::placeholder {
    color: var(--hp-text-light);
}

.hp-newsletter__input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--hp-accent);
}

.hp-newsletter__btn {
    background: var(--hp-accent);
    color: white;
    border: none;
    border-radius: var(--hp-radius-full);
    padding: var(--hp-space-sm) var(--hp-space-lg);
    font-family: var(--hp-font-ui);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--hp-transition-base);
    white-space: nowrap;
}

.hp-newsletter__btn:hover {
    background: var(--hp-accent-hover);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .hp-newsletter__form {
        flex-direction: column;
    }
    
    .hp-newsletter__btn {
        width: 100%;
    }
}

/* ===== FOOTER ===== */
.hp-footer {
    background: var(--hp-text-primary);
    color: var(--hp-canvas);
    padding: var(--hp-space-3xl) 0 var(--hp-space-lg);
}

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

.hp-footer__brand {
    max-width: 280px;
}

.hp-footer__logo {
    display: flex;
    align-items: center;
    gap: var(--hp-space-sm);
    margin-bottom: var(--hp-space-md);
}

.hp-footer__logo img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.hp-footer__logo-text {
    font-family: var(--hp-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hp-canvas);
}

.hp-footer__desc {
    font-size: 0.95rem;
    color: var(--hp-text-light);
    line-height: 1.7;
    margin-bottom: var(--hp-space-lg);
}

.hp-footer__social {
    display: flex;
    gap: var(--hp-space-sm);
}

.hp-footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-canvas);
    transition: var(--hp-transition-fast);
}

.hp-footer__social-link:hover {
    background: var(--hp-accent);
    transform: translateY(-3px);
}

.hp-footer__social-link svg {
    width: 18px;
    height: 18px;
}

.hp-footer__column-title {
    font-family: var(--hp-font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hp-canvas);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--hp-space-md);
}

.hp-footer__links {
    list-style: none;
}

.hp-footer__links li {
    margin-bottom: var(--hp-space-xs);
}

.hp-footer__links a {
    font-size: 0.95rem;
    color: var(--hp-text-light);
    text-decoration: none;
    transition: var(--hp-transition-fast);
}

.hp-footer__links a:hover {
    color: var(--hp-accent);
}

.hp-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--hp-space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-footer__copyright {
    font-size: 0.85rem;
    color: var(--hp-text-light);
}

.hp-footer__legal {
    display: flex;
    gap: var(--hp-space-lg);
}

.hp-footer__legal a {
    font-size: 0.85rem;
    color: var(--hp-text-light);
    text-decoration: none;
    transition: var(--hp-transition-fast);
}

.hp-footer__legal a:hover {
    color: var(--hp-accent);
}

@media (max-width: 1024px) {
    .hp-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hp-footer__brand {
        grid-column: span 2;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .hp-footer__grid {
        grid-template-columns: 1fr;
    }
    
    .hp-footer__brand {
        grid-column: span 1;
    }
    
    .hp-footer__bottom {
        flex-direction: column;
        gap: var(--hp-space-md);
        text-align: center;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.hp-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hp-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hp-animate--delay-1 { transition-delay: 0.1s; }
.hp-animate--delay-2 { transition-delay: 0.2s; }
.hp-animate--delay-3 { transition-delay: 0.3s; }
.hp-animate--delay-4 { transition-delay: 0.4s; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hp-marquee__track {
        animation: none;
    }
}

/* Focus styles */
.hp-page :focus-visible {
    outline: 2px solid var(--hp-accent);
    outline-offset: 4px;
}

/* Skip link */
.hp-skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hp-accent);
    color: white;
    padding: var(--hp-space-sm) var(--hp-space-lg);
    border-radius: var(--hp-radius-md);
    text-decoration: none;
    z-index: 10000;
    transition: top var(--hp-transition-fast);
}

.hp-skip-link:focus {
    top: var(--hp-space-sm);
}
