/* ============================================
   KanjiOS Notes Page Styles

   A minimalist, contemplative design for infrequent
   community updates about KanjiOS, Japanese, and life.

   Uses --lp-* variables from styles.css
   Body must have class="landing-page" for variables to work
   ============================================ */

.landing-page .notes {
    padding: 8rem 1.5rem 4rem;
    min-height: calc(100vh - 200px);
}

.landing-page .notes__container {
    max-width: 700px;
    margin: 0 auto;
}

/* Header */
.landing-page .notes__header {
    text-align: center;
    margin-bottom: 3rem;
}

.landing-page .notes__eyebrow {
    font-family: var(--lp-font-jp);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--lp-purple);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.landing-page .notes__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--lp-text-primary) 0%, var(--lp-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-page .notes__subtitle {
    font-size: 1.1rem;
    color: var(--lp-text-secondary);
    font-weight: bold;
}

/* Intro Section */
.landing-page .notes__intro {
    margin-bottom: 3rem;
}

.landing-page .notes__philosophy {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.04) 0%, rgba(59, 130, 246, 0.04) 100%);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 16px;
}

.landing-page .notes__philosophy p {
    color: var(--lp-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.landing-page .notes__philosophy p:last-child {
    margin-bottom: 0;
    color: var(--lp-text-primary);
    font-weight: 500;
}

/* Subscribe Card */
.landing-page .notes__subscribe {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--lp-bg-secondary);
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* Animated gradient orbs behind the card */
.landing-page .notes__subscribe::before,
.landing-page .notes__subscribe::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
}

.landing-page .notes__subscribe::before {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    background: var(--lp-purple);
    animation: notes-orb-float 8s ease-in-out infinite;
}

.landing-page .notes__subscribe::after {
    width: 250px;
    height: 250px;
    bottom: -120px;
    left: -80px;
    background: var(--lp-blue);
    animation: notes-orb-float 8s ease-in-out infinite 4s;
}

.landing-page .notes__subscribe-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    position: relative;
    z-index: 1;
    animation: notes-icon-breathe 4s ease-in-out infinite;
}

.landing-page .notes__subscribe-icon svg {
    width: 32px;
    height: 32px;
    color: var(--lp-purple);
}

/* Animations */
@keyframes notes-icon-breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px 5px rgba(168, 85, 247, 0.15);
    }
}

@keyframes notes-orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(20px, 20px) scale(1.1);
        opacity: 0.25;
    }
}

.landing-page .notes__subscribe-title {
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    color: var(--lp-text-primary);
    margin-bottom: 0.75rem;
}

.landing-page .notes__subscribe-desc {
    font-size: 0.95rem;
    color: var(--lp-text-secondary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Subscribe Form */
.landing-page .notes__subscribe-form {
    position: relative;
    z-index: 1;
    margin-bottom: 1.25rem;
}

.landing-page .notes__subscribe-input-wrapper {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-page .notes__subscribe-input {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--lp-text-primary);
    background: var(--lp-bg-primary);
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.landing-page .notes__subscribe-input::placeholder {
    color: var(--lp-text-muted);
}

.landing-page .notes__subscribe-input:focus {
    border-color: var(--lp-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.landing-page .notes__subscribe-btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.landing-page .notes__subscribe-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.landing-page .notes__subscribe-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.landing-page .notes__subscribe-status.success {
    color: var(--lp-green);
}

.landing-page .notes__subscribe-status.error {
    color: #f87171;
}

.landing-page .notes__subscribe-note {
    font-size: 0.8rem;
    color: var(--lp-text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Divider */
.landing-page .notes__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    position: relative;
}

.landing-page .notes__divider::before,
.landing-page .notes__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lp-border), transparent);
}

.landing-page .notes__divider-kanji {
    font-family: var(--lp-font-jp);
    font-size: 1.5rem;
    color: var(--lp-text-muted);
    padding: 0 1.5rem;
    opacity: 0.5;
}

/* Section Title */
.landing-page .notes__section-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--lp-text-muted);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--lp-border);
}

/* Recent Notes Section */
.landing-page .notes__recent {
    margin-bottom: 3rem;
}

/* Empty State */
.landing-page .notes__empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--lp-bg-card);
    border: 1px dashed var(--lp-border);
    border-radius: 12px;
}

.landing-page .notes__empty-jp {
    font-family: var(--lp-font-jp);
    font-size: 1.75rem;
    color: var(--lp-text-muted);
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.landing-page .notes__empty-text {
    font-size: 0.95rem;
    color: var(--lp-text-secondary);
    margin-bottom: 0.5rem;
}

.landing-page .notes__empty-hint {
    font-size: 0.85rem;
    color: var(--lp-text-muted);
}

/* Individual Note (for future use) */
.landing-page .note {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--lp-border);
}

.landing-page .note:last-child {
    border-bottom: none;
}

.landing-page .note__date {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--lp-text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.landing-page .note__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--lp-text-primary);
    margin-bottom: 0.5rem;
}

.landing-page .note__excerpt {
    font-size: 0.95rem;
    color: var(--lp-text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.landing-page .note__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--lp-purple);
    transition: color 0.2s;
}

.landing-page .note__link:hover {
    color: var(--lp-text-primary);
}

/* About Section */
.landing-page .notes__about {
    margin-bottom: 2rem;
}

.landing-page .notes__about-content p {
    color: var(--lp-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.landing-page .notes__about-content p:last-child {
    margin-bottom: 0;
}

.landing-page .notes__about-reply {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(34, 197, 94, 0.06);
    border-left: 3px solid var(--lp-green);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* Responsive */
@media (max-width: 640px) {
    .landing-page .notes {
        padding: 6rem 1rem 3rem;
    }

    .landing-page .notes__philosophy {
        padding: 1.5rem;
    }

    .landing-page .notes__subscribe {
        padding: 2rem 1.5rem;
    }

    .landing-page .notes__empty {
        padding: 2rem 1.5rem;
    }
}
