:root {
    --cork: #DEB887;
    --cork-dark: #A0522D;
    --paper: #FFFFF0;
    --shadow: rgba(0,0,0,0.15);
    --pin-red: #E53935;
    --pin-blue: #1E88E5;
    --pin-green: #43A047;
    --tape: rgba(255,235,59,0.4);
    --font-hand: 'Caveat', cursive;
    --font-body: 'Noto Sans KR', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--cork);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 240, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 3px solid var(--cork-dark);
    transition: all 0.3s ease;
}

.site-header.scrolled { box-shadow: 0 4px 15px var(--shadow); }

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--cork-dark);
}

.logo-icon { font-size: 1.5rem; }

.logo-text {
    font-family: var(--font-hand);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover { color: var(--cork-dark); }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cork-dark);
    font-size: 1.3rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px; left: 0;
    width: 100%;
    background: rgba(255, 255, 240, 0.98);
    padding: 1.5rem 2rem;
    border-bottom: 3px solid var(--cork-dark);
    z-index: 999;
}

.mobile-nav.active { display: block; }

.mobile-nav a {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: #555;
    text-decoration: none;
    padding: 0.5rem 0;
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

.cork-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
}

.hero-polaroid { margin-bottom: 2rem; }

.polaroid-frame {
    display: inline-block;
    background: var(--paper);
    padding: 1rem 1rem 3rem;
    box-shadow: 3px 5px 15px var(--shadow);
    transform: rotate(-3deg);
}

.polaroid-image {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #FFE0B2, #FFCC80);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--pin-red);
}

.polaroid-caption {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: #555;
    margin-top: 0.5rem;
    text-align: center;
}

.hero-title {
    font-family: var(--font-hand);
    font-size: clamp(3rem, 8vw, 5rem);
    color: #3E2723;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.btn-polaroid {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--cork-dark);
    color: var(--paper);
    font-family: var(--font-hand);
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-polaroid:hover {
    background: #8D6E63;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Features */
.features-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title.handwriting {
    font-family: var(--font-hand);
    font-size: 2.5rem;
    color: #3E2723;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-polaroid {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.push-pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 5;
}

.polaroid-card {
    background: var(--paper);
    padding: 1rem;
    box-shadow: 2px 4px 12px var(--shadow);
    transition: transform 0.3s ease;
    width: 100%;
}

.polaroid-card:hover { transform: rotate(0deg) scale(1.03); }

.polaroid-img-area {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--cork-dark);
    margin-bottom: 1rem;
}

.polaroid-text h3 {
    font-family: var(--font-hand);
    font-size: 1.3rem;
    color: #3E2723;
    margin-bottom: 0.3rem;
}

.polaroid-text p {
    font-size: 0.85rem;
    color: #777;
}

/* Stats */
.stats-section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sticky-notes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.sticky-note {
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 2px 3px 8px var(--shadow);
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.sticky-note:nth-child(2) { transform: rotate(1deg); }
.sticky-note:nth-child(3) { transform: rotate(-2deg); }
.sticky-note:nth-child(4) { transform: rotate(2deg); }
.sticky-note:hover { transform: rotate(0deg) scale(1.05); }

.sticky-number {
    display: block;
    font-family: var(--font-hand);
    font-size: 2.5rem;
    font-weight: 700;
    color: #3E2723;
}

.sticky-label {
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: #555;
}

/* Footer */
.site-footer {
    background: #3E2723;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-inner { max-width: 800px; margin: 0 auto; }

.footer-polaroid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--paper);
    font-size: 1.3rem;
}

.footer-brand {
    font-family: var(--font-hand);
    font-size: 1.8rem;
}

.footer-desc {
    color: rgba(255, 255, 240, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: rgba(255, 255, 240, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--paper); }

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 240, 0.4);
}

/* Responsive */
@media (max-width: 359px) { html { font-size: 13px; } }
@media (min-width: 360px) and (max-width: 767px) {
    html { font-size: 14px; }
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .sticky-notes { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    html { font-size: 15px; }
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) and (max-width: 1279px) { html { font-size: 15px; } }
@media (min-width: 1280px) and (max-width: 1919px) { html { font-size: 16px; } }
@media (min-width: 1920px) and (max-width: 2559px) { html { font-size: 17px; } }
@media (min-width: 2560px) and (max-width: 3839px) { html { font-size: 19px; } }
@media (min-width: 3840px) { html { font-size: 22px; } }
