/* Reset & Design System */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9c27b0;
    --accent-color: #e91e63;
    --bg-gradient: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 50%, #ede7f6 100%);
    --card-bg: rgba(255, 255, 255, 0.94);
    --text-main: #333333;
    --text-muted: #666666;
    --shadow: 0 20px 40px rgba(156, 39, 176, 0.12);
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

/* Floating background icons */
.floating-decor {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.floating-decor span {
    position: absolute;
    display: block;
    font-size: 24px;
    animation: floatUp 14s linear infinite;
    bottom: -60px;
    opacity: 0.5;
}

.floating-decor span:nth-child(1) { left: 5%; animation-duration: 12s; }
.floating-decor span:nth-child(2) { left: 18%; animation-duration: 16s; animation-delay: 2s; font-size: 20px; }
.floating-decor span:nth-child(3) { left: 32%; animation-duration: 10s; animation-delay: 1s; font-size: 28px; }
.floating-decor span:nth-child(4) { left: 45%; animation-duration: 15s; animation-delay: 3s; }
.floating-decor span:nth-child(5) { left: 58%; animation-duration: 11s; animation-delay: 0.5s; font-size: 32px; }
.floating-decor span:nth-child(6) { left: 72%; animation-duration: 13s; animation-delay: 4s; }
.floating-decor span:nth-child(7) { left: 85%; animation-duration: 17s; animation-delay: 2.5s; font-size: 22px; }
.floating-decor span:nth-child(8) { left: 92%; animation-duration: 9s; animation-delay: 5s; }
.floating-decor span:nth-child(9) { left: 25%; animation-duration: 14s; animation-delay: 6s; }
.floating-decor span:nth-child(10) { left: 65%; animation-duration: 11s; animation-delay: 1.5s; }

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* Main Layout Wrapper */
.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    text-align: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.badge {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: #2c2c2c;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Counters Container (Side by side on desktop) */
.counters-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.counter-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.counter-card:hover {
    transform: translateY(-5px);
}

.counter-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.counter-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #880e4f;
    margin-bottom: 5px;
}

.counter-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.counter-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.c-box {
    background: #fafafa;
    padding: 12px 8px;
    border-radius: 12px;
    min-width: 65px;
    border: 1px solid #f3e5f5;
}

.c-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #9c27b0;
    display: block;
}

.c-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-top: 3px;
    display: block;
}

/* Story / Chapters Section */
.story-section {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.story-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    text-align: center;
    color: #2c2c2c;
    margin-bottom: 30px;
}

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

.story-box {
    background: #faf5fa;
    padding: 25px 20px;
    border-radius: 18px;
    border: 1px solid #f8bbd0;
    position: relative;
    transition: all 0.3s ease;
}

.story-box:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.1);
    transform: translateY(-4px);
}

.story-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e91e63;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.story-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.story-box p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Personal Letter Card */
.letter-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 45px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-left: 6px solid #e91e63;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.letter-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: #2c2c2c;
    margin-bottom: 25px;
}

.letter-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.letter-text p:last-child {
    margin-bottom: 0;
}

.closing {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.3rem !important;
    color: #880e4f;
    font-weight: 700;
    margin-top: 30px !important;
}

/* Quote Banner */
.quote-banner {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.quote-banner blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
}

/* Footer */
.site-footer {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: #880e4f;
    padding: 20px 0;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-25px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInDown { animation: fadeInDown 1s ease forwards; }
.animate-fadeIn { animation: fadeIn 1.2s ease forwards; }
.animate-slideUp { animation: slideUp 1s ease forwards; }

/* Responsive Design */
@media (max-width: 768px) {
    .counters-container {
        grid-template-columns: 1fr;
    }
    .story-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
    .card, .story-section, .letter-card, .hero {
        padding: 25px;
    }
}