:root {
    /* Brand Colors */
    --primary: #80d0db;       /* Muted teal (main accent) */
    --accent: #b3cc37;        /* Lime highlight */
    --secondary: #6b6a6a;     /* Neutral gray */

    /* Backgrounds */
    --bg-light: linear-gradient(135deg, #fffffd, #b6b8ab);
    --bg-dark: linear-gradient(135deg, #070707, #6b6a6a);

    /* Cards */
    --card-light: rgba(255, 255, 253, 0.85);
    --card-dark: rgba(7, 7, 7, 0.75);

    /* Text */
    --text-light: #6b6a6a;
    --text-dark: #fffffd;
}


* {
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, sans-serif;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg-light);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

body.dark {
    background: var(--bg-dark);
    color: var(--text-dark);
}

/* Dark mode toggle */
.toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}
.toggle {
    background: var(--secondary);
    color: var(--text-dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Content */
.content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 2rem;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.time-box h2 {
    font-size: 2rem;
    color: var(--accent);
    margin: 0;
}

.time-box {
    background: var(--card-light);
    backdrop-filter: blur(12px);
    padding: 1rem 1.2rem;
    border-radius: 16px;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    animation: pop 0.5s ease;
}

body.dark .time-box {
    background: var(--card-dark);
}
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 58px;
    height: 58px;
    background: var(--accent); /* brand lime */
    color: #070707;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: pulse 2.5s infinite;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Hover effect */
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.15);
    box-shadow: 0 20px 40px rgba(179, 204, 55, 0.45);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    bottom: 70px;
    right: 50%;
    transform: translateX(50%);
    background: var(--secondary);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(50%) translateY(-4px);
}
/* Make tooltip more mobile-friendly */
.whatsapp-tooltip {
    pointer-events: auto; /* allows tap toggle */
    touch-action: manipulation; /* prevents double tap issues */
}

/* Dark mode adjustment */
body.dark .whatsapp-float {
    background: var(--primary); /* muted teal */
    color: #fffffd;
}

body.dark .whatsapp-tooltip {
    background: var(--text-dark);
    color: var(--secondary);
}

/* Dark mode adjustment */
body.dark .whatsapp-float {
    background: var(--primary); /* muted teal */
    color: #070707;
}

@keyframes pop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.time-box h2 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0;
}

.time-box span {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Subscribe */
.subscribe {
    display: flex;
    max-width: 420px;
}

.subscribe input {
    flex: 1;
    padding: 0.9rem 1rem;
    border-radius: 12px 0 0 12px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.subscribe button {
    padding: 0.9rem 1.6rem;
    border-radius: 0 12px 12px 0;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.subscribe button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.4);
}

/* Image */
.image-wrapper img {
    width: 100%;
    max-width: 450px;
    display: block;
    margin: auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
   .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* space between heading/content and image */
    height: 100vh; /* fill full viewport height */
    max-width: 100%;
    padding-bottom: 10px; /* optional, for breathing room */
  }

  .content {
    padding: 1rem;
  }

  /* Image wrapper sticks to bottom */
  .image-wrapper {
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
    max-width: 450px;
    align-self: center;
  }

  .image-wrapper img {
    width: 100%;
    max-width: 450px;
    display: block;
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
        .content {
            padding: 0;
        }
    .content h1 {
        margin-top: 5.5rem;
        font-size: 2.2rem;
        margin-left: 1rem;
    }
    .content p{
        font-size: 0.9rem;
        margin-left: 1rem;
    }
    .time-box {
        min-width: 60px;
        padding: 0.5rem;
    }
    .time-box h2 {
        font-size: 1.2rem;
    }
    .image-wrapper img {
        width: 75%;
    }
}