/* 
   PAW & SOUL — Design System & Stylesheet
   Premium Pet Care Branding
   Author: Antigravity
*/

/* ───── DESIGN TOKENS ───── */
:root {
    --primary: #1C2B1F;
    /* Dark Green */
    --secondary: #F5F0E8;
    /* Off White / Cream */
    --accent: #C8A96E;
    /* Gold */
    --bg-cream: #F5F0E8;
    --bg-ivory: #FFFDF9;
    --bg-white: #FFFFFF;
    --text-main: #1C2B1F;
    --text-muted: rgba(28, 43, 31, 0.6);
    --text-white: #FFFFFF;
    --border: rgba(28, 43, 31, 0.08);

    --font-serif: 'Manrope', sans-serif;
    --font-sans: 'Pretendard', sans-serif;
    --font-emotion: 'Pretendard', sans-serif;

    --container-w: 1400px;
    --section-py: 160px;
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 40px;

    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ───── RESET & BASE ───── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--primary);
    /* Pre-launch base color */
    color: var(--secondary);
    line-height: 1.7;
    overflow-x: hidden;
    word-break: keep-all;
    cursor: none; /* Hide default cursor */
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 50px;
}

.label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

/* ───── NAVIGATION (PRE-LAUNCH) ───── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    /* Transparent initially */
    transition: var(--transition);
    overflow: visible;
}

nav.scrolled {
    height: 70px;
    padding: 0 60px;
    background-color: rgba(28, 43, 31, 0.85);
    /* Glassmorphism on scroll */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(200, 169, 110, 0.1);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    transform: scale(2.0);
    transform-origin: left center;
    position: relative;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.7;
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--accent);
}

/* ───── HERO SECTION (PRE-LAUNCH) ───── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('img/hero_bg.png');
    /* Local path fixed */
    background-attachment: fixed;
    /* Parallax effect */
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1.1);
    animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(28, 43, 31, 0.8), rgba(28, 43, 31, 0.2));
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.tagline {
    display: block;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.15;
    color: var(--secondary);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.sub-copy {
    font-size: 1.1rem;
    color: #F5F0E8(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 500px;
    opacity: 0;
    transform: translateY(40px);
}

.form-container {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
}

.email-form {
    display: flex;
    gap: 12px;
    background: transparent;
    padding: 0;
    border: none;
    transition: var(--transition);
    margin-bottom: 15px;
    max-width: 550px;
}

.email-form:focus-within {
    /* Container focus effect removed as it's applied to the input */
}

.email-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    padding: 0 25px;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
}

.email-form input:-webkit-autofill,
.email-form input:-webkit-autofill:hover, 
.email-form input:-webkit-autofill:focus, 
.email-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}

.email-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-btn {
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(200, 169, 110, 0.3);
}

.micro-copy {
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.3);
    margin-left: 20px;
}

.social-proof {
    margin-top: 40px;
    font-size: 0.95rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.count-num {
    font-weight: 700;
    color: var(--accent);
}

/* Visual Right */
.hero-visual {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
}

.image-card {
    width: 100%;
    aspect-ratio: 0.85;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}




/* ───── MARQUEE BAR ───── */
.marquee-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent);
    color: var(--primary);
    padding: 15px 0;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    z-index: 10;
}

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

.marquee-item {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* ───── ANIMATION STATES ───── */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.animate-slide-left {
    opacity: 1 !important;
    transform: translateX(0) !important;
}






/* ───── REST OF SECTIONS (ORIGINAL) ───── */
.section {
    padding: var(--section-py) 0;
}

.bg-light {
    background-color: var(--secondary);
    color: var(--primary);
}

.bg-light .section-title {
    color: var(--primary);
}

.banner-section {
    padding: 160px 0;
    background-color: var(--bg-white);
    color: var(--primary);
}

.banner-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 120px;
}

.banner-text h2 {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.banner-img {
    margin-left: -100px; /* Expand only the left side into the gap */
    width: calc(100% + 100px); /* Maintain right alignment */
}

.banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(28, 43, 31, 0.1);
}




/* about section 보완 - Tone down to Soft Beige for better contrast */
.about {
    background-color: var(--bg-cream);
    color: var(--primary);
}

.about .section-title {
    color: var(--primary);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 150px;
    align-items: center;
}

.feature-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.feature-list li {
    display: flex;
    gap: 20px;
}

.feature-icon {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    height: fit-content;
}

.feature-text strong {
    display: block;
    font-size: 1.3rem;
    color: var(--primary);
    /* Changed from white to primary for light bg */
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.feature-text p {
    color: var(--text-muted);
    /* Changed from semi-transparent white to muted dark */
    line-height: 1.6;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    /* 깊이감 추가 */
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent);
    padding: 15px 20px;
    border-radius: 10px;
    color: #000;
    /* 배지는 시인성을 위해 어두운 텍스트 권장 */
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.badge-num {
    font-size: 1.4rem;
    font-weight: 900;
}

.badge-txt {
    font-size: 0.65rem;
    text-transform: uppercase;
    margin-top: 3px;
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-bottom: 40px;
    margin-left: -100px; /* Expand grid to the left into the gap area */
    width: calc(100% + 100px); /* Increase total width while keeping right edge anchored */
}

.phil-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(28, 43, 31, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    aspect-ratio: 2 / 5;
    --y-offset: 0px;
    transform: translateY(var(--y-offset)) scale(1);
    animation: sequentialHighlight 3s infinite;
    will-change: transform, filter, opacity, box-shadow;
}

.phil-card:nth-child(1) { animation-delay: 0s; }
.phil-card:nth-child(2) { --y-offset: 40px; animation-delay: 1s; }
.phil-card:nth-child(3) { animation-delay: 2s; }

@keyframes sequentialHighlight {
    0%, 25% {
        filter: brightness(1.1);
        opacity: 1;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        transform: translateY(var(--y-offset)) scale(1.03);
    }
    33%, 90% {
        filter: brightness(0.6);
        opacity: 0.6;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transform: translateY(var(--y-offset)) scale(1);
    }
    100% {
        filter: brightness(1.1);
        opacity: 1;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        transform: translateY(var(--y-offset)) scale(1.03);
    }
}

.phil-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .philosophy-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 0;
        margin-left: 0;
        width: 100%;
    }
    .phil-card {
        aspect-ratio: 4 / 5;
        animation-play-state: running !important; /* Explicitly ensure animation is enabled */
    }
    .phil-card:nth-child(2) {
        --y-offset: 0px; /* Disable staggered zigzag offset for straight vertical stack */
    }
}





.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.guide-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: visible;
    /* To allow characters to peek */
    transition: var(--transition);
    color: var(--primary);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 15px 35px rgba(28, 43, 31, 0.05);
}

.guide-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(28, 43, 31, 0.12);
}

.guide-card:hover .card-poka {
    transform: translateY(-20px) rotate(5deg);
}

.card-img {
    height: 280px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.guide-card:hover .card-img img {
    transform: scale(1.1);
}

.card-body {
    padding: 40px 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-poka {
    width: 60px;
    height: auto;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.tag-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.guide-card .tag {
    display: inline-block;
    padding: 6px 14px;
    background: #F0F4F1;
    color: #4A6741;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-bottom: 0;
    /* Removed margin-bottom since it's in tag-header */
}

.guide-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.3;
}

.guide-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex: 1;
}

.link-more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.link-more:hover {
    gap: 15px;
    color: var(--primary);
}

/* ───── NEWSLETTER ───── */
.cta-card {
    background-color: var(--primary);
    border-radius: var(--radius-lg);
    padding: 100px;
    text-align: center;
    color: var(--secondary);
}

.cta-form {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-form input {
    width: 400px;
    padding: 18px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
    outline: none;
}

/* ───── FOOTER ───── */
.footer {
    background-color: #0A1612;
    padding: 120px 0 60px;
    color: var(--secondary);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 100px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 0.1em;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.6;
}

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

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.footer-col ul li {
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* ───── MODAL ───── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    color: var(--primary);
}

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

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 18, 0.9);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1100px;
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    height: 90vh; /* Use fixed height to enable internal scrolling */
    max-height: 800px; /* Cap for very large screens */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-container.cute-modal {
    height: auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    /* Ensure content encapsulates properly and scrolls if needed */
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
}

.lush-modal-content {
    display: flex;
    flex: 1;
    min-height: 0; /* Allow the flex item to shrink below content size */
    height: 100%;
}

.lush-left {
    flex: 1;
    background: #F8F8F8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.lush-left img {
    width: 100%;
    height: auto;
    max-width: 400px;
    max-height: 100%;
    object-fit: contain;
}

.lush-right {
    flex: 1.2;
    padding: 80px 60px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Custom Scrollbar for Lush Modal */
.lush-right::-webkit-scrollbar {
    width: 6px;
}

.lush-right::-webkit-scrollbar-track {
    background: transparent;
}

.lush-right::-webkit-scrollbar-thumb {
    background: rgba(28, 43, 31, 0.1);
    border-radius: 10px;
}

.lush-right::-webkit-scrollbar-thumb:hover {
    background: rgba(28, 43, 31, 0.2);
}

.guide-info h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.guide-text-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guide-text-content li {
    font-size: 1rem;
    color: var(--text-main);
    position: relative;
    padding-left: 20px;
}

.guide-text-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.product-info-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(28, 43, 31, 0.05);
}

.product-info-box h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.product-summary {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.product-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.product-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.stat-tag {
    padding: 6px 15px;
    background: #F0F4F1;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4A6741;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-buy {
    background: #000;
    color: #fff;
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-buy:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.emotional-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ───── CUTE MODAL (PRODUCT COMING SOON) ───── */
.cute-modal {
    padding: 60px 40px 40px 40px; /* bottom padding added for breathable room */
    text-align: center;
    background: #FFF;
    border: 10px solid var(--accent);
    border-radius: 40px;
    box-shadow: 0 50px 150px rgba(0, 0, 0, 0.2);
    position: relative;
    height: auto;
    max-height: 90vh;
    overflow-y: auto; /* Fallback for small screens */
}

.cute-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cute-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cute-header h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--primary);
    margin: 0;
    animation: bounceIn 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) both;
    letter-spacing: -0.02em;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.cute-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 5px;
}

.floating-poka {
    width: 160px;
    /* Increased size */
    margin-bottom: -15px;
    animation: wiggle 3s infinite ease-in-out, bounce 2s infinite ease-in-out;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.preview-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0; /* Reduced margin to lift the button */
    flex-wrap: wrap;
}

.preview-item {
    width: 130px;
    height: 130px;
    background: #F8F8F8;
    border-radius: 30px;
    overflow: hidden;
    border: 3px solid rgba(200, 169, 110, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: popUp 0.6s backwards;
}

/* Staggered pop-up for items */
.preview-item:nth-child(1) {
    animation-delay: 0.1s;
}

.preview-item:nth-child(2) {
    animation-delay: 0.2s;
}

.preview-item:nth-child(3) {
    animation-delay: 0.3s;
}

.preview-item:nth-child(4) {
    animation-delay: 0.4s;
}

.preview-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes popUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.preview-item:hover {
    transform: translateY(-15px) scale(1.1) rotate(5deg);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(200, 169, 110, 0.3);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cute-footer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.peek-poka {
    position: absolute;
    width: 140px;
    /* Increased size */
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.15));
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.peek-poka.bottom-left {
    bottom: -30px;
    left: -30px;
    transform: rotate(15deg);
    animation: swing 4s infinite ease-in-out;
}

.peek-poka.bottom-right {
    bottom: -30px;
    right: -30px;
    transform: rotate(-15deg);
    animation: swing 4s infinite ease-in-out reverse;
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(10deg) translateY(0);
    }

    50% {
        transform: rotate(20deg) translateY(-10px);
    }
}

.peek-poka:hover {
    transform: scale(1.15) rotate(0deg) translateY(-20px);
    filter: drop-shadow(0 15px 40px rgba(200, 169, 110, 0.4));
}

.peek-poka::after {
    content: 'Hello! ✨';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    opacity: 0;
    transition: 0.3s;
    white-space: nowrap;
}

.peek-poka:hover::after {
    opacity: 1;
    top: -45px;
}

.cute-footer p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

.cute-footer .btn-primary {
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(28, 43, 31, 0.25);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
    0% {
        box-shadow: 0 10px 30px rgba(28, 43, 31, 0.2);
    }

    50% {
        box-shadow: 0 15px 45px rgba(200, 169, 110, 0.4);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 10px 30px rgba(28, 43, 31, 0.2);
    }
}

.cute-footer .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--accent);
    color: var(--primary);
}

/* ───── CURSOR ───── */

#sparkles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.sparkle-particle {
    position: absolute;
    border-radius: 50% !important;
    pointer-events: none;
    background: #FFD700 !important;
    box-shadow: 0 0 8px #FFD700;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}


/* ───── REDESIGNED NEWSLETTER (Emotional & Bright) ───── */
.emotional-parallax {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    background-image: url('img/emotional_bg.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(254, 251, 247, 0.45); /* Warm milk tone overlay */
    backdrop-filter: blur(1px); /* Soft focus effect for readability */
    z-index: 1;
}

.emotional-parallax .container {
    position: relative;
    z-index: 2;
}

.emotional-parallax .cta-card {
    background: transparent;
    /* Made transparent as requested */
    padding: 80px 60px;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    /* Text shadow for readability */
}

.emotional-parallax h2 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    font-family: var(--font-serif);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.5));
}

.emotional-parallax p {
    font-size: 1.25rem;
    color: var(--primary);
    /* Darker text for contrast */
    font-weight: 600;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.emotional-parallax .cta-form {
    display: flex;
    gap: 12px;
    max-width: 550px;
    margin: 0 auto;
    align-items: center;
}

.emotional-parallax input {
    flex: 1;
    padding: 18px 25px;
    border-radius: 12px;
    border: 1px solid rgba(28, 43, 31, 0.15);
    background: #FFF;
    font-size: 1rem;
    color: var(--primary);
    transition: var(--transition);
}

.emotional-parallax input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(28, 43, 31, 0.08);
}

.emotional-parallax .btn-primary {
    padding: 18px 35px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.emotional-parallax .btn-primary:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(28, 43, 31, 0.15);
}

/* ───── REDESIGNED FOOTER (Light & Warm) ───── */
.footer-light {
    background: #FAF9F6;
    padding: 120px 0 60px;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.footer-light .footer-logo {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-light p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 300px;
}

.footer-light h4 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    font-family: var(--font-serif);
}

.footer-light ul li {
    margin-bottom: 1rem;
}

.footer-light ul li a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-light ul li a:hover {
    color: var(--accent);
    transform: translateX(8px);
    display: inline-block;
}

.footer-bottom {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: #CCC;
}

.footer-story {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    align-items: flex-end;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    transition: var(--transition);
}

.story-item span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition);
}

.story-item:hover span {
    opacity: 1;
    transform: translateY(0);
}

.poka-story-img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
}

.story-item:hover .poka-story-img {
    transform: scale(1.1);
}

/* Story Animations */
.poka-story-img.bounce {
    animation: gentleBounce 3s infinite ease-in-out;
}

.poka-story-img.wiggle {
    animation: gentleWiggle 4s infinite ease-in-out;
    animation-delay: 0.5s;
}

.poka-story-img.float {
    animation: gentleFloat 5s infinite ease-in-out;
    animation-delay: 1s;
}

.poka-story-img.wave {
    animation: gentleWave 4s infinite ease-in-out;
    animation-delay: 1.5s;
}

@keyframes gentleBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes gentleWiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(3deg);
    }

    75% {
        transform: rotate(-3deg);
    }
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(2deg);
    }
}

@keyframes gentleWave {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(10deg) translateY(-3px);
    }
}

@media (max-width: 1280px) {
    .emotional-parallax h2 {
        font-size: 2.4rem;
    }

    .emotional-parallax .cta-form {
        flex-direction: column;
    }

    .emotional-parallax .cta-card {
        padding: 50px 30px;
    }

    .about-container,
    .banner-wrapper,
    .guide-grid,
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .lush-modal-content {
        flex-direction: column;
        overflow-y: auto;
    }

    .lush-left {
        padding: 40px;
    }

    .lush-right {
        padding: 40px 30px;
        overflow-y: visible;
    }
}

/* ───── NEWSLETTER SUCCESS MODAL ───── */
.modal-container.success-modal {
    width: 90%;
    max-width: 480px;
    height: auto;
    max-height: 90vh;
    padding: 50px 30px;
    border-radius: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.15); /* 반투명 배경 */
    backdrop-filter: blur(15px); /* 블러 효과 */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 80px rgba(10, 22, 18, 0.3);
    overflow: visible;
}

.success-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.success-modal-content h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #FFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); /* 가독성을 위한 그림자 */
    margin: 0;
    font-weight: 800;
}

.success-modal-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); /* 가독성을 위한 그림자 */
    line-height: 1.6;
    margin-bottom: 15px;
    word-break: keep-all; /* 모바일에서 어색한 줄바꿈 방지 */
}

.btn-confirm {
    width: 100%;
    padding: 16px 0;
    background: var(--accent);
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(28, 43, 31, 0.15);
    transition: var(--transition);
}

.btn-confirm:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(200, 169, 110, 0.3);
}

/* ───── MOBILE RESPONSIVENESS (768px & Below) ───── */

/* Hamburger Menu Base Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    /* Container Width Optimization */
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 80px 0;
    }

    /* Typography & Responsive Text */
    .section-title {
        font-size: 28px !important;
        margin-bottom: 1.5rem;
    }

    .headline {
        font-size: 32px !important;
        margin-bottom: 1.5rem;
    }

    .banner-text h2 {
        font-size: 28px !important;
    }

    .emotional-parallax h2 {
        font-size: 28px !important;
    }

    .guide-card h3 {
        font-size: 22px;
    }

    .guide-info h2 {
        font-size: 24px;
    }

    p {
        font-size: 15px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* Navigation Bar Mobile UI */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        font-size: 1.5rem;
        opacity: 1;
    }

    /* Hero Section Adjustments */
    .hero {
        padding: 0 20px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .email-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 15px;
    }

    .email-form input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50px;
        padding: 15px 25px;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .social-proof {
        justify-content: center;
    }

    /* Banner Adjustments */
    .banner-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .banner-img {
        margin-left: 0;
        width: 100%;
    }

    /* About Section */
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-list {
        text-align: left;
    }

    /* Guide Grid / Flex Columns */
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .guide-card {
        margin-bottom: 20px;
    }

    /* Newsletter CTA */
    .emotional-parallax .cta-card {
        padding: 40px 20px;
    }

    .emotional-parallax .cta-form {
        flex-direction: column;
        width: 100%;
    }

    .emotional-parallax input, 
    .emotional-parallax .btn-primary {
        width: 100%;
    }

    /* Footer adjustments */
    .footer-top {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }

    .footer-light {
        padding: 60px 0 40px;
        text-align: center;
    }
    
    .footer-light p {
        margin: 0 auto;
    }
    
    .footer-story {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Modal / Popup */
    .modal-container {
        width: 95%;
        height: 85vh;
        max-height: 90vh;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }

    .lush-modal-content {
        flex-direction: column;
    }

    .lush-left, .lush-right {
        padding: 20px;
    }

    .product-info-box {
        padding: 20px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn-buy {
        width: 100%;
    }
    
    .cute-modal {
        padding: 40px 20px;
    }
    
    .cute-header h2 {
        font-size: 2.5rem;
    }
    
    .preview-grid {
        gap: 10px;
    }
    
    .preview-item {
        width: 100px;
        height: 100px;
    }
    
    .peek-poka {
        width: 100px;
    }
}