:root {
    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-secondary: #4a4a4a;
    --accent-teal: #00d2c4;
    --accent-teal-hover: #00baa8;
    
    /* Confetti Palette */
    --c-yellow: #ffdc00;
    --c-orange: #ff6e40;
    --c-pink: #ff2a85;
    --c-magenta: #e024c3;
    --c-mint: #2ee6ca;
    --c-cyan: #00e5ff;
    --c-sky: #70d6ff;
    --c-lavender: #c8b6ff;
    --c-pastel-pink: #ffc6ff;
    --c-black: #1a1a1a;

    --font-heading: 'Montserrat', 'Poppins', sans-serif;
    --font-body: 'Poppins', 'Montserrat', sans-serif;
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
}

/* Confetti Container & Shapes */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: gentleFloat 6s ease-in-out infinite alternate;
}

/* Individual Shape Delays for Natural Movement */
.shape:nth-child(2n) { animation-duration: 7s; animation-delay: -1.5s; }
.shape:nth-child(3n) { animation-duration: 5.5s; animation-delay: -3s; }
.shape:nth-child(4n) { animation-duration: 8s; animation-delay: -2s; }
.shape:nth-child(5n) { animation-duration: 6.5s; animation-delay: -4s; }

@keyframes gentleFloat {
    0% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-8px) rotate(calc(var(--rot, 0deg) + 4deg)); }
    100% { transform: translateY(6px) rotate(calc(var(--rot, 0deg) - 4deg)); }
}

/* Bar / Sprinkle Shape */
.shape.bar {
    width: 10px;
    height: 28px;
    border-radius: 4px;
}

/* Cross / Plus Shape */
.shape.cross {
    width: 22px;
    height: 22px;
    position: absolute;
}

.shape.cross::before,
.shape.cross::after {
    content: '';
    position: absolute;
    background-color: inherit;
    border-radius: 3px;
}

.shape.cross::before {
    top: 0;
    left: 7px;
    width: 8px;
    height: 22px;
}

.shape.cross::after {
    top: 7px;
    left: 0;
    width: 22px;
    height: 8px;
}

/* Polka Dot Shape */
.shape.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Confetti Colors */
.shape.yellow { background-color: var(--c-yellow); }
.shape.orange { background-color: var(--c-orange); }
.shape.pink { background-color: var(--c-pink); }
.shape.magenta { background-color: var(--c-magenta); }
.shape.mint, .shape.cyan { background-color: var(--c-mint); }
.shape.sky-blue { background-color: var(--c-sky); }
.shape.lavender { background-color: var(--c-lavender); }
.shape.pastel-pink { background-color: var(--c-pastel-pink); }
.shape.black { background-color: var(--c-black); }

/* Main Layout */
.page-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 32px 24px 24px;
    text-align: center;
}

/* Top Navigation */
.top-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-home {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-teal);
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-home:hover {
    color: var(--accent-teal-hover);
    transform: scale(1.05);
}

/* Center Content */
.content-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 40px auto;
}

/* Logo Wrapper */
.logo-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: scale(1.08) rotate(3deg);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 210, 196, 0.25));
}

/* Main Heading */
.main-heading {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* Subtitle */
.sub-text {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 580px;
}

/* Notify Button */
.notify-container {
    margin-top: 6px;
}

.notify-btn {
    background-color: var(--accent-teal);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 13px 34px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 210, 196, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.notify-btn:hover {
    background-color: var(--accent-teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 196, 0.55);
}

.notify-btn:active {
    transform: translateY(0);
}

/* Footer */
.page-footer {
    font-size: 0.85rem;
    color: #888888;
    padding: 16px 0 8px;
}

.page-footer strong {
    color: #444444;
}

.page-footer a {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.page-footer a:hover {
    color: var(--accent-teal-hover);
    text-decoration: underline;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #111;
}

.modal-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
}

.modal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscribe-form input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.subscribe-form input:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(0, 210, 196, 0.15);
}

.submit-btn {
    background-color: var(--accent-teal);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.submit-btn:hover {
    background-color: var(--accent-teal-hover);
    transform: translateY(-1px);
}

.form-feedback {
    margin-top: 14px;
    font-size: 0.88rem;
    font-weight: 600;
}

.form-feedback.success {
    color: #059669;
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #111827;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    z-index: 1100;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .page-wrapper {
        padding: 24px 16px 16px;
    }

    .main-heading {
        letter-spacing: 2px;
    }

    .logo-wrapper {
        width: 65px;
        height: 65px;
        margin-bottom: 18px;
    }

    .sub-text {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .notify-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}
