/* ============================================
   CHILDREN'S BOOKNEST — NEW RELEASES PAGE
   Standalone Design System | No External CSS Dependencies
   ============================================ */

/* ============================================
   1. DESIGN TOKENS (Unique to New Releases)
   ============================================ */
:root {
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --container-max: 1400px;
    --container-padding: 24px;
    --section-padding: 110px;
}

.page-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('http://childrensbooknest.com/wp-content/uploads/2026/05/Untitled-design-16.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254, 249, 243, 0.75) 0%, rgba(255, 245, 235, 0.6) 40%, rgba(237, 246, 249, 0.5) 100%);
    z-index: 1;
}

.nr-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.nr-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: nrParticleFloat 15s ease-in-out infinite;
}

.nr-particle:nth-child(1) {
    width: 10px;
    height: 10px;
    background: var(--primary);
    left: 8%;
    top: 20%;
    animation-delay: 0s;
}

.nr-particle:nth-child(2) {
    width: 14px;
    height: 14px;
    background: var(--accent);
    left: 18%;
    top: 65%;
    animation-delay: 2s;
}

.nr-particle:nth-child(3) {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    left: 32%;
    top: 35%;
    animation-delay: 4s;
}

.nr-particle:nth-child(4) {
    width: 12px;
    height: 12px;
    background: var(--primary-light);
    left: 68%;
    top: 18%;
    animation-delay: 1s;
}

.nr-particle:nth-child(5) {
    width: 16px;
    height: 16px;
    background: var(--accent);
    left: 78%;
    top: 55%;
    animation-delay: 3s;
}

.nr-particle:nth-child(6) {
    width: 9px;
    height: 9px;
    background: var(--secondary-light);
    left: 52%;
    top: 75%;
    animation-delay: 5s;
}

.nr-particle:nth-child(7) {
    width: 11px;
    height: 11px;
    background: var(--primary);
    left: 12%;
    top: 85%;
    animation-delay: 6s;
}

.nr-particle:nth-child(8) {
    width: 7px;
    height: 7px;
    background: var(--accent);
    left: 88%;
    top: 30%;
    animation-delay: 7s;
}

.nr-particle:nth-child(9) {
    width: 13px;
    height: 13px;
    background: var(--primary-light);
    left: 42%;
    top: 12%;
    animation-delay: 8s;
}

.nr-particle:nth-child(10) {
    width: 10px;
    height: 10px;
    background: var(--secondary);
    left: 62%;
    top: 80%;
    animation-delay: 9s;
}

@keyframes nrParticleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-30px) scale(1.2) rotate(90deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-15px) scale(0.9) rotate(180deg);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-35px) scale(1.1) rotate(270deg);
        opacity: 0.5;
    }
}

.nr-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 60px;
    pointer-events: none;
    z-index: 2;
    animation: nrCloudDrift 25s linear infinite;
}

.nr-cloud::before,
.nr-cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.nr-cloud-1 {
    width: 120px;
    height: 45px;
    top: 18%;
    left: -150px;
    animation-duration: 30s;
}

.nr-cloud-1::before {
    width: 55px;
    height: 55px;
    top: -28px;
    left: 12px;
}

.nr-cloud-1::after {
    width: 65px;
    height: 45px;
    top: -18px;
    left: 45px;
}

.nr-cloud-2 {
    width: 90px;
    height: 38px;
    top: 48%;
    left: -150px;
    animation-duration: 35s;
    animation-delay: 8s;
}

.nr-cloud-2::before {
    width: 42px;
    height: 42px;
    top: -22px;
    left: 18px;
}

.nr-cloud-2::after {
    width: 52px;
    height: 38px;
    top: -12px;
    left: 38px;
}

.nr-cloud-3 {
    width: 140px;
    height: 50px;
    top: 12%;
    left: -150px;
    animation-duration: 28s;
    animation-delay: 15s;
}

.nr-cloud-3::before {
    width: 65px;
    height: 65px;
    top: -32px;
    left: 22px;
}

.nr-cloud-3::after {
    width: 75px;
    height: 50px;
    top: -22px;
    left: 55px;
}

@keyframes nrCloudDrift {
    0% {
        left: -200px;
    }

    100% {
        left: calc(100% + 200px);
    }
}

.nr-butterflies {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.nr-butterfly {
    position: absolute;
    font-size: 28px;
    opacity: 0.7;
    animation: nrButterflyFly 18s ease-in-out infinite;
}

.nr-butterfly:nth-child(1) {
    top: 20%;
    left: -50px;
    animation-delay: 0s;
}

.nr-butterfly:nth-child(2) {
    top: 35%;
    left: -50px;
    animation-delay: 4s;
    font-size: 22px;
}

.nr-butterfly:nth-child(3) {
    top: 15%;
    right: -50px;
    animation-delay: 8s;
    font-size: 32px;
}

.nr-butterfly:nth-child(4) {
    top: 50%;
    left: -50px;
    animation-delay: 12s;
    font-size: 24px;
}

.nr-butterfly:nth-child(5) {
    top: 30%;
    right: -50px;
    animation-delay: 16s;
    font-size: 26px;
}

@keyframes nrButterflyFly {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    20% {
        transform: translateX(20vw) translateY(-20px) rotate(15deg);
    }

    40% {
        transform: translateX(40vw) translateY(10px) rotate(-10deg);
    }

    60% {
        transform: translateX(60vw) translateY(-15px) rotate(20deg);
    }

    80% {
        transform: translateX(80vw) translateY(5px) rotate(-5deg);
    }

    100% {
        transform: translateX(100vw) translateY(0) rotate(0deg);
    }
}

.page-hero .container {
    position: relative;
    z-index: 4;
}

.page-hero-content {
    max-width: 650px;
    padding: var(--space-6) 0;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-glow);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
    border: 1.5px solid rgba(232, 93, 78, 0.12);
    animation: nrFadeUp 0.8s ease-out;
}

.page-title {
    font-size: 58px;
    line-height: 1.08;
    color: var(--dark);
    margin-bottom: var(--space-3);
    animation: nrFadeUp 1s ease-out 0.15s both;
}

.page-subtitle {
    font-size: 20px;
    line-height: 1.75;
    color: var(--text-light);
    max-width: 560px;
    animation: nrFadeUp 1.2s ease-out 0.3s both;
    font-weight: 400;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-5);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    cursor: pointer;
    color: var(--primary);
    opacity: 0.6;
    animation: nrBounce 2s ease-in-out infinite;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(232, 93, 78, 0.15);
    transition: var(--transition-base);
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

@keyframes nrBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes nrFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nr-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.nr-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 93, 78, 0.25), transparent 70%);
    top: -180px;
    right: -120px;
    animation: nrBlobPulse 12s ease-in-out infinite;
}

.nr-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.2), transparent 70%);
    bottom: -120px;
    left: -100px;
    animation: nrBlobPulse 12s ease-in-out infinite 4s;
}

.nr-blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(233, 196, 106, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: nrBlobPulse 15s ease-in-out infinite 2s;
}

@keyframes nrBlobPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.35;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

.nr-float {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.25;
    animation: nrFloatDrift 22s ease-in-out infinite;
}

.nr-float-1 {
    top: 12%;
    left: 6%;
    font-size: 22px;
    animation-delay: 0s;
}

.nr-float-2 {
    top: 22%;
    right: 10%;
    font-size: 16px;
    animation-delay: 5s;
}

.nr-float-3 {
    bottom: 18%;
    left: 12%;
    font-size: 18px;
    animation-delay: 10s;
}

.nr-float-4 {
    bottom: 28%;
    right: 6%;
    font-size: 20px;
    animation-delay: 15s;
}

.nr-float-5 {
    top: 55%;
    left: 4%;
    font-size: 14px;
    animation-delay: 8s;
}

@keyframes nrFloatDrift {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-25px) rotate(8deg);
    }

    50% {
        transform: translateY(-12px) rotate(-5deg);
    }

    75% {
        transform: translateY(-30px) rotate(12deg);
    }
}

.book-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

.book-card:hover {
    transform: translateY(-14px) scale(1.015);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(232, 93, 78, 0.08);
    border-color: rgba(232, 93, 78, 0.15);
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-warm);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3;
}

.book-card:hover::before {
    opacity: 0.6;
}

.book-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card.featured:hover::after {
    transform: scaleX(1);
}

.book-card .shine-sweep {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 3;
}

.book-card:hover .shine-sweep {
    transform: translateX(100%) rotate(45deg);
}

.book-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 4;
    box-shadow: var(--shadow-sm);
}

.book-badge.new {
    background: var(--gradient-warm);
    color: var(--white);
    animation: nrBadgePulse 2.5s ease-in-out infinite;
}

.book-badge.soon {
    background: var(--gradient-cool);
    color: var(--white);
}

@keyframes nrBadgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(232, 93, 78, 0.35);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(232, 93, 78, 0);
    }
}

.book-cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #f3ede5, #e8dfd3);
    position: relative;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.book-card:hover .book-cover img {
    transform: scale(1.1) rotate(1deg);
}

.book-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(29, 53, 87, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.book-card:hover .book-cover::after {
    opacity: 1;
}

.book-cover.dimmed img {
    opacity: 0.65;
    filter: grayscale(0.25) saturate(0.7);
    transition: all 0.6s ease;
}

.book-card.soon:hover .book-cover.dimmed img {
    opacity: 0.9;
    filter: grayscale(0) saturate(1);
}

.soon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 53, 87, 0.2);
    transition: background 0.5s ease;
}

.book-card.soon:hover .soon-overlay {
    background: rgba(29, 53, 87, 0.05);
}

.soon-text {
    background: var(--white);
    color: var(--dark);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.5px;
}

.book-card.soon:hover .soon-text {
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

.book-info {
    padding: var(--space-4) var(--space-3) var(--space-3);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.book-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2);
    width: fit-content;
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 93, 78, 0.08);
}

.book-card:hover .book-tag {
    background: rgba(232, 93, 78, 0.12);
    transform: translateY(-2px);
}

.book-title {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--dark);
    line-height: 1.25;
    transition: color 0.3s ease;
}

.book-card:hover .book-title {
    color: var(--primary);
}

.book-author {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
    font-style: italic;
}

.book-meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.book-age {
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(42, 157, 143, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.book-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.book-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: var(--space-3);
    flex-grow: 1;
}

.book-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    transition: all 0.35s ease;
    position: relative;
    width: fit-content;
    letter-spacing: 0.3px;
}

.book-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: var(--gradient-warm);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-link:hover {
    color: var(--primary);
    gap: 10px;
}

.book-link:hover::after {
    width: 100%;
}

.book-link.pre-order {
    color: var(--primary);
}

.book-link.pre-order:hover {
    color: var(--color-primary-dark);
}

.this-month {
    background: var(--white);
}

.coming-soon {
    background: var(--color-bg-warm);
}

.newsletter {
    background: var(--gradient-2);
}

.newsletter-card {
    background: var(--gradient-1);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    will-change: transform;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(232, 93, 78, 0.12), transparent 70%);
    border-radius: 50%;
    animation: nrBlobPulse 10s ease-in-out infinite;
}

.newsletter-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.1), transparent 70%);
    border-radius: 50%;
    animation: nrBlobPulse 12s ease-in-out infinite 3s;
}

.newsletter-icon {
    width: 68px;
    height: 68px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: var(--space-3);
    box-shadow: var(--shadow-md);
    animation: nrBellRing 2.5s infinite;
    position: relative;
    z-index: 2;
}

@keyframes nrBellRing {

    0%,
    100% {
        transform: rotate(0);
    }

    8% {
        transform: rotate(18deg);
    }

    16% {
        transform: rotate(-18deg);
    }

    24% {
        transform: rotate(12deg);
    }

    32% {
        transform: rotate(-12deg);
    }

    40% {
        transform: rotate(0);
    }
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--dark);
    margin-bottom: var(--space-2);
    position: relative;
    z-index: 2;
}

.newsletter-text {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 0;
    max-width: 480px;
    position: relative;
    z-index: 2;
}

.newsletter-form {
    display: flex;
    gap: var(--space-2);
    position: relative;
    z-index: 2;
}

.newsletter-form .form-input {
    flex: 1;
    min-width: 200px;
    height: 56px;
    padding: 0 var(--space-3);
    border: 2px solid var(--white);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: var(--font-body);
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
    box-shadow: var(--shadow-sm);
}

.newsletter-form .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(232, 93, 78, 0.1), var(--shadow-md);
}

.newsletter-form .btn {
    position: relative;
    z-index: 2;
}

.privacy-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: var(--space-2);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.cta-section {
    background: var(--gradient-2);
    background-size: 400% 400%;
    position: relative;
    overflow: hidden;
    padding: 110px 0 130px;
    animation: nrCtaGradient 15s ease infinite;
}

@keyframes nrCtaGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.cta-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.25;
    animation: nrMeshFloat 22s ease-in-out infinite;
}

.cta-mesh-blob-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.4), transparent 70%);
    top: -180px;
    left: -120px;
    animation-delay: 0s;
}

.cta-mesh-blob-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(233, 196, 106, 0.3), transparent 70%);
    bottom: -140px;
    right: -80px;
    animation-delay: -8s;
}

.cta-mesh-blob-3 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(72, 201, 176, 0.25), transparent 70%);
    top: 45%;
    left: 55%;
    animation-delay: -16s;
}

@keyframes nrMeshFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(40px, -25px) scale(1.08);
    }

    50% {
        transform: translate(-25px, 15px) scale(0.95);
    }

    75% {
        transform: translate(15px, 35px) scale(1.05);
    }
}

.cta-float {
    position: absolute;
    pointer-events: none;
    animation: nrCtaDrift 18s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.cta-float-1 {
    top: 10%;
    left: 6%;
    font-size: 40px;
    animation-delay: 0s;
}

.cta-float-2 {
    top: 16%;
    right: 8%;
    font-size: 34px;
    animation-delay: 3s;
}

.cta-float-3 {
    bottom: 20%;
    left: 5%;
    font-size: 46px;
    animation-delay: 6s;
}

.cta-float-4 {
    bottom: 12%;
    right: 6%;
    font-size: 36px;
    animation-delay: 9s;
}

.cta-float-5 {
    top: 42%;
    left: 3%;
    font-size: 26px;
    animation-delay: 12s;
}

.cta-float-6 {
    top: 52%;
    right: 4%;
    font-size: 30px;
    animation-delay: 15s;
}

@keyframes nrCtaDrift {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.2;
    }

    25% {
        transform: translateY(-22px) rotate(10deg) scale(1.12);
        opacity: 0.35;
    }

    50% {
        transform: translateY(-12px) rotate(-6deg) scale(0.95);
        opacity: 0.25;
    }

    75% {
        transform: translateY(-28px) rotate(14deg) scale(1.08);
        opacity: 0.3;
    }
}

.cta-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-sparkle {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    animation: nrSparkleTwinkle 3.5s ease-in-out infinite;
}

.cta-sparkle:nth-child(1) {
    top: 18%;
    left: 22%;
    animation-delay: 0s;
}

.cta-sparkle:nth-child(2) {
    top: 28%;
    right: 28%;
    animation-delay: 0.6s;
}

.cta-sparkle:nth-child(3) {
    top: 58%;
    left: 18%;
    animation-delay: 1.2s;
}

.cta-sparkle:nth-child(4) {
    top: 72%;
    right: 22%;
    animation-delay: 1.8s;
}

.cta-sparkle:nth-child(5) {
    top: 38%;
    left: 48%;
    animation-delay: 2.4s;
}

.cta-sparkle:nth-child(6) {
    top: 12%;
    left: 65%;
    animation-delay: 3s;
}

@keyframes nrSparkleTwinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.4) rotate(0deg);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.3) rotate(200deg);
    }
}

.cta-books {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: -12px;
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
}

.cta-book {
    width: 45px;
    height: 65px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px 5px 5px 3px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cta-book::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    bottom: 3px;
    width: 2px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 1px;
}

.cta-book:nth-child(1) {
    transform: rotate(-16deg) translateY(8px);
    height: 55px;
}

.cta-book:nth-child(2) {
    transform: rotate(-4deg) translateY(-4px);
    height: 70px;
    margin-left: -8px;
}

.cta-book:nth-child(3) {
    transform: rotate(7deg) translateY(2px);
    height: 62px;
    margin-left: -8px;
}

.cta-book:nth-child(4) {
    transform: rotate(18deg) translateY(6px);
    height: 50px;
    margin-left: -8px;
}

.cta-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 2;
}

.cta-wave svg {
    display: block;
    width: 100%;
    height: 55px;
}

.cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: var(--space-4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: nrBadgeGlow 3s ease-in-out infinite;
}

@keyframes nrBadgeGlow {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 25px rgba(244, 162, 97, 0.15);
    }
}

.cta-badge-icon {
    font-size: 16px;
    animation: nrIconBounce 2s ease-in-out infinite;
}

@keyframes nrIconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: 52px;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: var(--space-3);
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.5px;
}

.cta-headline-line {
    display: block;
}

.cta-headline-line:nth-child(2) {
    background: linear-gradient(90deg, #FFE4B5, #F4A261, #FFE4B5);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: nrTextShine 5s linear infinite;
}

@keyframes nrTextShine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.cta-magic-icon {
    display: inline-block;
    font-size: 0.75em;
    animation: nrMagicSpin 3.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

@keyframes nrMagicSpin {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
    }

    25% {
        transform: rotate(18deg) scale(1.25);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    }

    50% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
    }

    75% {
        transform: rotate(-18deg) scale(1.25);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    }
}

.cta-subtext {
    font-size: 19px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-5);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 50px;
    background: var(--white);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.5px;
}

.cta-btn-main:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 5px rgba(255, 255, 255, 0.1);
    color: var(--primary-dark);
}

.cta-btn-main:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-btn-arrow {
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 20px;
}

.cta-btn-main:hover .cta-btn-arrow {
    transform: translateX(8px);
}

.cta-btn-main .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(232, 93, 78, 0.25);
    transform: scale(0);
    animation: nrRipple 0.7s ease-out;
    pointer-events: none;
}

@keyframes nrRipple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-4);
    padding: 12px 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
    transform: translateY(-2px);
    gap: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.cta-secondary-arrow {
    transition: transform 0.3s ease;
}

.cta-secondary:hover .cta-secondary-arrow {
    transform: translateX(4px);
}

.cta-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: var(--space-6);
    flex-wrap: wrap;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.35s ease;
}

.cta-trust-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cta-trust-icon {
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@media (max-width: 1200px) {
    .page-title {
        font-size: 50px;
    }

    .section-title {
        font-size: 40px;
    }

    .cta-headline {
        font-size: 44px;
    }
}

@media (max-width: 992px) {
    .nav-container {
        height: 70px;
    }

    .logo img {
        height: 48px;
    }

    .desktop-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .page-hero {
        min-height: 420px;
    }

    .page-hero-content {
        padding: var(--space-5) 0;
    }

    .page-title {
        font-size: 42px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 36px;
    }

    .cta-headline {
        font-size: 38px;
    }

    .cta-subtext {
        font-size: 17px;
    }

    .nr-blob,
    .nr-float {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding-top: 70px;
    }

    .nav-container {
        padding: 0 var(--space-2);
        height: 65px;
    }

    .logo img {
        height: 44px;
    }

    .mobile-menu {
        width: 100%;
        right: -100%;
    }

    .page-hero {
        min-height: 360px;
    }

    .page-hero-content {
        padding: var(--space-4) 0;
    }

    .page-title {
        font-size: 34px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .section {
        padding: 55px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .section-desc {
        font-size: 16px;
    }

    .book-title {
        font-size: 20px;
    }

    .book-info {
        padding: var(--space-3) var(--space-2) var(--space-2);
    }

    .newsletter-card {
        padding: var(--space-5) var(--space-3);
    }

    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .form-input,
    .newsletter-form .btn {
        width: 100%;
    }

    .cta-section {
        padding: 80px 0 100px;
    }

    .cta-headline {
        font-size: 32px;
    }

    .cta-subtext {
        font-size: 16px;
        margin-bottom: var(--space-4);
    }

    .cta-btn-main {
        padding: 16px 36px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta-trust {
        gap: 14px;
        margin-top: var(--space-5);
    }

    .cta-trust-item {
        font-size: 12px;
        padding: 8px 16px;
    }

    .cta-badge {
        font-size: 11px;
        padding: 10px 24px;
    }

    .cta-books {
        display: none;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--space-4);
    }

    .footer-brand .social-links {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
        margin-bottom: var(--space-4);
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .modal-container {
        width: 95%;
        padding: var(--space-4);
        border-radius: var(--radius-lg);
        max-height: 85vh;
    }

    .modal-form .grid-2 {
        display: flex !important;
        flex-direction: column;
        gap: var(--space-3) !important;
    }

    .file-custom-label {
        padding: var(--space-3);
    }

    .file-icon {
        font-size: 1.5rem;
    }

    .file-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 26px;
    }

    .book-badge {
        font-size: 10px;
        padding: 3px 10px;
    }

    .soon-text {
        font-size: 11px;
        padding: var(--space-1) var(--space-2);
    }

    .book-card {
        border-radius: var(--radius-md);
    }

    .newsletter-title {
        font-size: 24px;
    }

    .cta-headline {
        font-size: 28px;
    }

    .cta-btn-main {
        padding: 14px 28px;
    }

    .cta-trust {
        flex-direction: column;
        gap: 10px;
    }

    .cta-trust-item {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: var(--space-3);
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .modal-form {
        gap: var(--space-3);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .book-card:hover,
    .book-card:hover::before,
    .book-card:hover::after,
    .book-card:hover .book-cover img,
    .book-card:hover .book-tag,
    .book-card:hover .book-title,
    .book-card:hover .book-link::after,
    .book-card.soon:hover .book-cover.dimmed img,
    .book-card.soon:hover .soon-overlay,
    .book-card.soon:hover .soon-text,
    .newsletter-card,
    .newsletter-icon,
    .newsletter-form .form-input,
    .cta-btn-main,
    .cta-secondary,
    .cta-trust-item,
    .back-to-top,
    .social-links a,
    .modal-container,
    .modal-close,
    .file-custom-label {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

@media (pointer: coarse) {

    .mobile-toggle,
    .back-to-top,
    .social-links a,
    .book-card,
    .cta-btn-main,
    .cta-secondary {
        min-width: 44px;
        min-height: 44px;
    }
}

.book-card,
.book-cover img,
.nr-particle,
.nr-cloud,
.nr-butterfly,
.nr-blob,
.nr-float,
.cta-mesh-blob,
.cta-float,
.cta-sparkle,
.cta-book,
.newsletter-card,
.newsletter-icon,
.back-to-top {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.page-hero,
.this-month,
.coming-soon,
.newsletter,
.cta-section {
    contain: layout paint;
}