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

:root {
    --christmas-red: #D72638;
    --christmas-green: #16794A;
    --christmas-gold: #FFD166;
    --snow-white: #FFFFFF;
    --ink: #1A1A1A;
    --paper: #FFFBF5;
    --airmail-blue: #2D6CDF;
    --airmail-red: #E63946;
    --mint: #C1F7DC;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #0f3a22 0%, #0a2416 100%);
    min-height: 100vh;
    color: var(--snow-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Snow background */
.snow-bg::before,
.snow-bg::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    background-image: radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.8), transparent),
                      radial-gradient(2px 2px at 60% 70%, rgba(255,255,255,0.8), transparent),
                      radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.8), transparent),
                      radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.8), transparent);
    z-index: 0;
    animation: drift 30s linear infinite;
}

.snow-bg::after { animation-duration: 45s; opacity: 0.6; }

@keyframes drift { from { transform: translateY(0); } to { transform: translateY(20px); } }

/* String Lights */
.string-lights {
    display: none;
}

@keyframes twinkle { 0%,100% { opacity: 0.8; } 50% { opacity: 1; } }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* Postcard Hero */
.hero { text-align: center; margin-bottom: 3rem; }

.postcard {
    position: relative;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    max-width: 800px;
    background: var(--paper);
    color: var(--ink);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    overflow: hidden;
    z-index: 1;
}

.postcard-airmail {
    position: absolute;
    inset: 0;
    padding: 8px;
    background:
      repeating-linear-gradient(45deg, var(--christmas-red) 0 16px, transparent 16px 24px),
      repeating-linear-gradient(-45deg, var(--christmas-green) 0 16px, transparent 16px 24px);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    border-radius: 24px;
    z-index: 0;
    pointer-events: none;
}

.postmark {
    position: absolute;
    top: 18px;
    right: 18px;
    color: rgba(0,0,0,0.6);
    font-weight: 800;
    letter-spacing: 0.08em;
    border: 3px dashed rgba(0,0,0,0.3);
    border-radius: 50px;
    padding: 6px 12px;
    transform: rotate(-8deg);
    background: rgba(255,255,255,0.9);
    font-size: 0.75rem;
}

.title {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2.6rem, 7vw, 4.2rem);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    color: var(--christmas-green);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}

.title-emoji { filter: drop-shadow(0 6px 10px rgba(214, 38, 56, 0.35)); }

.title-text {
    background: linear-gradient(
        90deg,
        #16794A 0%,
        #1e9d5f 20%,
        #FFD166 35%,
        #FFA500 45%,
        #D72638 60%,
        #C41E3A 75%,
        #16794A 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-family: 'Mountains of Christmas', cursive;
    font-size: clamp(1.2rem, 3.5vw, 2rem);
    color: var(--christmas-red);
    text-align: center;
    margin: 0.5rem 0 1.25rem 0;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

/* CTA */
.hero-cta {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(22, 121, 74, 0.1);
    border-radius: 18px;
    border: 3px solid var(--christmas-green);
}

.phone-icon { font-size: 2.2rem; margin-bottom: 0.5rem; }

.hero-phone {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.6rem, 5vw, 2.4rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-decoration: none;
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 14px;
    background: var(--snow-white);
    color: var(--ink);
    text-shadow: none;
    box-shadow: 0 6px 18px rgba(215, 38, 56, 0.45);
    border: 3px solid var(--christmas-red);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-phone:hover { transform: scale(1.06) rotate(-1deg); box-shadow: 0 10px 26px rgba(215, 38, 56, 0.6); }

.phone-prefix { color: var(--ink); font-weight: 900; }

.phone-hoho-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.phone-hoho { 
    color: var(--christmas-red); 
    font-weight: 900; 
}

.hoho-label {
    font-weight: 700;
    color: var(--christmas-green);
    font-size: 0.75em;
    letter-spacing: 0.05em;
    margin-top: -2px;
}

.hero-note { 
    font-weight: 700; 
    color: var(--christmas-red); 
    margin-top: 0.5rem; 
    font-size: 1.05rem;
}

.share-btn {
    margin-top: 1.25rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--christmas-green), var(--christmas-red));
    color: var(--snow-white);
    border: none;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(22, 121, 74, 0.4);
}

.share-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(22, 121, 74, 0.6);
}

.share-btn:active {
    transform: scale(0.98);
}

.share-icon {
    font-size: 1.2rem;
}

.share-text {
    letter-spacing: 0.02em;
}

/* Content */
.content {
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    border: 4px solid var(--christmas-green);
}

.intro { text-align: center; margin-bottom: 2rem; }

.tagline { 
    font-size: clamp(1.1rem, 2.8vw, 1.4rem); 
    font-weight: 700; 
    color: var(--christmas-red); 
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.how-it-works { margin: 2rem 0; }
.how-it-works h2 { 
    font-family: 'Baloo 2', cursive; 
    font-size: clamp(1.8rem, 5vw, 2.4rem); 
    color: var(--christmas-green); 
    text-align: center; 
    margin-bottom: 2rem; 
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    letter-spacing: 0.02em;
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }

.step {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, var(--paper) 0%, #fff 100%);
    border-radius: 16px;
    border: 3px solid var(--christmas-red);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.step::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at top left, rgba(255,209,102,0.15), transparent 60%);
}

.step-stamp { font-size: 2rem; margin-bottom: 0.5rem; filter: drop-shadow(0 6px 10px rgba(22,121,74,0.2)); }

.step h3 { 
    font-family: 'Baloo 2', cursive; 
    color: var(--christmas-green); 
    margin-bottom: 0.5rem; 
    font-size: 1.3rem;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.08);
    letter-spacing: 0.01em;
}
.step p { 
    color: #1a2e25; 
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Call Section */
.call-section {
    text-align: center; 
    margin: 2.5rem 0; 
    padding: 2.5rem 2rem; 
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(22,121,74,0.2), rgba(215,38,56,0.2));
    border: 3px solid var(--christmas-red);
    backdrop-filter: blur(5px);
}

.phone-display { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.phone-number { 
    font-family: 'Nunito', sans-serif; 
    font-weight: 900; 
    font-size: clamp(1.5rem, 4.5vw, 2.1rem); 
    color: #0a3d1f; 
    text-decoration: none; 
    letter-spacing: 0.08em; 
    padding: 0.75rem 1.25rem; 
    background: #fff; 
    border-radius: 12px; 
    border: 3px solid var(--christmas-green); 
    box-shadow: 0 6px 16px rgba(22,121,74,0.25);
    text-shadow: none;
}

.call-section .phone-prefix { 
    color: #0a3d1f !important; 
}

.call-section .phone-hoho { 
    color: var(--christmas-green) !important; 
    font-weight: 900;
    text-shadow: none;
}

.phone-number:hover { transform: scale(1.04); }
.call-note { 
    font-weight: 700; 
    color: var(--christmas-red); 
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

/* Features (Envelope Cards) */
.features { margin-top: 2rem; }
.features h2 { 
    font-family: 'Baloo 2', cursive; 
    text-align: center; 
    color: var(--christmas-red); 
    margin-bottom: 2rem; 
    font-size: clamp(1.8rem, 5vw, 2.4rem); 
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    letter-spacing: 0.02em;
}
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }

.envelope {
    position: relative;
    padding: 1.5rem 1.25rem 1.25rem 1.25rem;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border-radius: 14px;
    border: 3px solid var(--christmas-red);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}


.feature-icon { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }
.feature h3 { 
    font-family: 'Baloo 2', cursive; 
    color: var(--christmas-green); 
    margin-bottom: 0.75rem; 
    font-size: 1.3rem;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.08);
    letter-spacing: 0.01em;
    text-align: center;
}
.feature p { 
    color: #1a2e25; 
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    max-width: 100%;
}

.envelope:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 14px 28px rgba(0,0,0,0.15); }

/* Footer */
.footer {
    text-align: center; 
    margin-top: 3rem; 
    padding: 2.5rem 1.5rem; 
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(22, 121, 74, 0.15), rgba(215, 38, 56, 0.15));
    border-top: 2px solid var(--christmas-red);
    backdrop-filter: blur(10px);
}

.footer p { 
    margin: 0.75rem 0; 
    color: var(--snow-white); 
    font-weight: 500; 
    font-size: 1rem;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.footer p:first-child {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer a { 
    color: var(--christmas-gold); 
    text-decoration: none; 
    font-weight: 700; 
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.footer a:hover { 
    color: #fff; 
    border-bottom-color: var(--christmas-red);
    text-shadow: 0 0 8px rgba(215, 38, 56, 0.4);
}

.disclaimer { 
    font-weight: 400; 
    opacity: 0.85; 
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .content { padding: 1.5rem; }
    .steps { grid-template-columns: 1fr; }
    .feature-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
    .hero-phone { font-size: clamp(1.3rem, 4vw, 1.8rem) !important; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .string-lights { animation: none; }
    .snow-bg::before, .snow-bg::after { animation: none; }
}
