/* Cohere-inspired Design System — Birthday Edition */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Unica77', 'Arial', ui-sans-serif, system-ui;
    background-color: #ffffff;
    color: #212121;
    overflow-x: hidden;
}

.font-display {
    font-family: 'Playfair Display', 'Georgia', serif;
    letter-spacing: -0.01em;
}

.font-anime {
    font-family: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui;
    letter-spacing: -0.02em;
}

.text-sakura {
    color: #4A90D9;
}

.bg-navy {
    background-color: #17171c;
}

/* Sakura Canvas */
#sakura-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== HERO ===== */
.cohere-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cohere-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,144,217,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cohere-hero h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(56px, 12vw, 120px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1.92px;
    color: #17171c;
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.cohere-hero p {
    font-size: clamp(16px, 2vw, 18px);
    color: #616161;
    max-width: 560px;
    margin: 0 auto;
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.cohere-hero .countdown {
    font-family: 'Space Grotesk', monospace;
    font-size: clamp(18px, 2.5vw, 28px);
    letter-spacing: 0.28px;
    color: #75758a;
    margin-top: 32px;
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.cohere-hero .coral-label {
    font-family: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui;
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #4A90D9;
    text-transform: uppercase;
    margin-bottom: 16px;
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

/* ===== CARDS ===== */
.cohere-card {
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 22px;
    padding: 32px;
    box-shadow: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.cohere-card:hover {
    border-color: #d9d9dd;
    transform: translateY(-2px);
}

.cohere-card-dark {
    background: #17171c;
    color: #ffffff;
    border-radius: 22px;
    padding: 80px 32px;
}

.cohere-card-soft {
    background: #eeece7;
    border-radius: 16px;
    padding: 24px;
}

/* ===== BUTTONS ===== */
.cohere-btn {
    font-family: 'Inter', 'Unica77', ui-sans-serif, system-ui;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.71;
    padding: 12px 24px;
    border-radius: 32px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-block;
    text-decoration: none;
}

.cohere-btn-primary {
    background-color: #17171c;
    color: #ffffff;
}

.cohere-btn-primary:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cohere-btn-secondary {
    background: transparent;
    color: #212121;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 8px 0;
    border-radius: 0;
}

.cohere-btn-accent {
    background: transparent;
    color: #4A90D9;
    border: 1.5px solid #4A90D9;
}

.cohere-btn-accent:hover {
    background: #4A90D9;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74,144,217,0.2);
}

/* ===== SECTION TITLE ===== */
.cohere-section-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #17171c;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.cohere-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #87CEEB;
    border-radius: 2px;
    margin: 16px auto 0;
}

.cohere-section-sub {
    font-family: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui;
    font-size: 16px;
    color: #93939f;
    text-align: center;
    margin-top: -40px;
    margin-bottom: 48px;
    letter-spacing: 0.02em;
}

/* ===== LETTER ===== */
.cohere-letter {
    max-width: 640px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 22px;
    padding: 48px;
    font-size: 16px;
    line-height: 1.8;
    color: #212121;
    transition: border-color 0.3s ease;
}

.cohere-letter:hover {
    border-color: #d9d9dd;
}

.cohere-letter p {
    margin-bottom: 20px;
}

.cohere-letter .signature {
    text-align: right;
    margin-top: 32px;
    font-size: 18px;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
}

/* ===== TIMELINE ===== */
.cohere-timeline-item {
    padding: 32px;
    border: 1px solid #f2f2f2;
    border-left: 4px solid #87CEEB;
    border-radius: 22px;
    transition: border-color 0.3s ease, transform 0.3s ease;
    background: #ffffff;
}

.cohere-timeline-item:hover {
    border-color: #d9d9dd;
    transform: translateY(-2px);
}

.cohere-timeline-item img {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: transform 0.4s ease;
}

.cohere-timeline-item:hover img {
    transform: scale(1.02);
}

.cohere-timeline-item h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.32px;
    color: #17171c;
}

.cohere-timeline-item p {
    color: #616161;
    font-size: 16px;
    line-height: 1.6;
}

/* ===== GALLERY CARD ===== */
.cohere-gallery-card {
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(74,144,217,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.cohere-gallery-card:hover {
    border-color: #d9d9dd;
    box-shadow: 0 8px 32px rgba(74,144,217,0.15);
    transform: translateY(-6px);
}

.cohere-gallery-card .img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 280px;
    background: #f5f5f0;
}

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

.cohere-gallery-card:hover img {
    transform: scale(1.05);
}

.cohere-gallery-card .caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cohere-gallery-card:hover .caption-overlay,
.cohere-gallery-card:active .caption-overlay {
    opacity: 1;
    transform: translateY(0);
}

.cohere-gallery-card .caption-overlay p {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
}

/* ===== PHOTO GRID ===== */
.cohere-photo-grid a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f2f2f2;
    box-shadow: 0 2px 12px rgba(74,144,217,0.06);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cohere-photo-grid a:hover {
    border-color: #d9d9dd;
    box-shadow: 0 6px 24px rgba(74,144,217,0.12);
    transform: scale(1.02);
}

.cohere-photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cohere-photo-grid a:hover img {
    transform: scale(1.05);
}

/* ===== FINALE ===== */
.cohere-finale {
    background: #17171c;
    border-radius: 22px;
    padding: 64px 32px;
    text-align: center;
    color: #ffffff;
}

.cohere-finale h2 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(32px, 5vw, 72px);
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.cohere-finale p {
    color: #93939f;
    font-size: 18px;
    margin-top: 16px;
}

/* ===== FOOTER ===== */
.cohere-footer {
    background: #17171c;
    color: #93939f;
    text-align: center;
    padding: 32px;
    font-size: 14px;
}

.cohere-footer strong {
    color: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .cohere-card-dark {
        padding: 40px 20px;
    }
    .cohere-letter {
        padding: 24px;
    }
    .cohere-timeline-item {
        padding: 20px;
    }
    .cohere-timeline-item img {
        height: 180px;
        object-fit: cover;
    }
    .cohere-timeline-item h3 {
        font-size: 22px;
    }
    .cohere-gallery-card .img-wrap {
        height: 200px;
        background: #f5f5f0;
    }
    .cohere-finale {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .cohere-timeline-item img {
        height: 200px;
        object-fit: cover;
    }
    .cohere-gallery-card .img-wrap {
        height: 180px;
        background: #f5f5f0;
    }
    .cohere-letter {
        padding: 20px;
        font-size: 15px;
    }
}
