@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&family=Nunito:wght@400;700;800&display=swap");

:root {
    --primary-color: #7986cb; /* Muted Blue from AppColors.primary */
    --secondary-color: #b39ddb; /* Soft Purple */
    --accent-color: #ff8a65; /* Deep Orange/Muted Red from AppColors.accent */
    --bg-color: #fdfcf5; /* Warm White */
    --text-color: #4a4a4a;
    --text-light: #9e9e9e;
    --card-bg: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Softer shadow */
    --radius: 12px; /* Slightly squarer for sticky note feel */
}

/* Post day specific: Sticky Note look */
.sticky-note-look {
    background-color: #fff9c4; /* Yellow sticky note */
    transform: rotate(-1deg);
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Nunito", "Noto Sans KR", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0; /* Hidden until loaded */
    transition: opacity 0.3s ease-in;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(253, 252, 245, 0.95); /* Matches bg-color */
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 700;
}

.nav-links a {
    color: var(--text-light);
}

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

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(121, 134, 203, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.download-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(121, 134, 203, 0.4);
    background: #5c6bc0;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color);
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-visual {
    margin-top: 40px;
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Sticky Note Visuals */
.note-visual {
    width: 180px;
    height: 180px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #555;
    position: absolute;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.note-1 {
    background-color: #fff9c4; /* Yellow */
    transform: rotate(-5deg) translate(-100px, 10px);
    z-index: 1;
}

.note-2 {
    background-color: #e1bee7; /* Purple */
    transform: rotate(5deg) translate(0, -20px);
    z-index: 2;
}

.note-3 {
    background-color: #c8e6c9; /* Green */
    transform: rotate(-2deg) translate(100px, 10px);
    z-index: 1;
}

.hero:hover .note-1 {
    transform: rotate(-8deg) translate(-110px, 0);
}
.hero:hover .note-2 {
    transform: rotate(0deg) translate(0, -30px) scale(1.05);
}
.hero:hover .note-3 {
    transform: rotate(-4deg) translate(110px, 0);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: #f5f5f5;
    color: var(--text-light);
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.copyright {
    color: #999;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero-visual {
        transform: scale(0.8);
    }
}

/* Legal Pages */
.legal-content {
    background: white;
    padding: 60px;
    margin: 40px auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 800px;
    border: 1px solid #eee;
}

.legal-content h1 {
    margin-bottom: 30px;
    font-size: 2rem;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 15px;
    color: var(--text-color);
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
    color: #666;
    font-size: 1rem;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}
