/* -------------------------------------------------------------
   itupita.lk - Coming Soon Landing Page Styles
   Modern UI/UX - No Scroll, Glassmorphic, Mobile Responsive
   ------------------------------------------------------------- */

/* Reset & Root Variables */
:root {
    --bg-dark: #070a12;
    --card-bg: rgba(15, 23, 42, 0.65);
    --card-border: rgba(255, 255, 255, 0.1);
    --primary-cyan: #06b6d4;
    --accent-teal: #14b8a6;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #128C7E;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #a5f3fc 50%, #38bdf8 100%);
    --shadow-glow: 0 0 35px rgba(6, 182, 212, 0.25);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden; /* STRICT REQUIREMENT: NO SCROLL */
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    user-select: none;
}

/* Background Glowing Lights & Grid */
.bg-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.light-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
    animation: blobFloat 14s infinite alternate ease-in-out;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.5) 0%, rgba(14, 165, 233, 0) 70%);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.35) 0%, rgba(16, 185, 129, 0) 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(139, 92, 246, 0) 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -8s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.1); }
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
}

/* App Viewport Container */
.app-viewport {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    padding: clamp(0.75rem, 2vh, 1.5rem) clamp(1rem, 3vw, 2rem);
}

/* Header */
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent-teal));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.accent-text {
    color: var(--primary-cyan);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--primary-cyan);
    backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
}

/* Hero Content (Flex child that scales within viewport) */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    flex-grow: 1;
    gap: clamp(0.6rem, 1.6vh, 1.2rem);
    max-height: calc(100vh - 120px);
}



/* MANDATORY TITLE BELOW IMAGE */
.title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.3;
    max-width: 800px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin: 0.1rem 0;
}

.main-subtitle {
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
    color: var(--text-muted);
    font-weight: 500;
    max-width: 600px;
    line-height: 1.4;
}

/* Categories Pills */
.categories-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.35rem, 1vw, 0.6rem);
    max-width: 700px;
}

.category-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: clamp(0.7rem, 1.2vw, 0.82rem);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.category-pill i {
    color: var(--primary-cyan);
}

.category-pill:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

/* WhatsApp Channel Section */
.whatsapp-card {
    width: min(100%, 650px);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(18, 140, 126, 0.05));
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 16px;
    padding: clamp(0.6rem, 1.5vh, 0.9rem) clamp(0.8rem, 2vw, 1.2rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), inset 0 0 15px rgba(37, 211, 102, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.6);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.2), inset 0 0 20px rgba(37, 211, 102, 0.12);
}

.whatsapp-icon-bg {
    width: clamp(40px, 8vw, 48px);
    height: clamp(40px, 8vw, 48px);
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-hover));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-text {
    flex-grow: 1;
    text-align: left;
}

.whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--whatsapp-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.live-ring {
    width: 6px;
    height: 6px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--whatsapp-green);
}

.whatsapp-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.whatsapp-text p {
    font-size: clamp(0.7rem, 1.3vw, 0.8rem);
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 0.15rem;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-hover));
    color: #ffffff;
    text-decoration: none;
    padding: clamp(0.5rem, 1.2vh, 0.65rem) clamp(0.8rem, 2vw, 1.2rem);
    border-radius: 10px;
    font-size: clamp(0.75rem, 1.4vw, 0.85rem);
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    flex-shrink: 0;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #28e06e, #149c8d);
}



/* Footer */
.footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: clamp(0.68rem, 1.2vw, 0.78rem);
    color: var(--text-muted);
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-link {
    color: var(--whatsapp-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.dot-separator {
    color: rgba(255, 255, 255, 0.2);
}

.contact-email {
    color: var(--text-muted);
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #06b6d4;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.4);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.hidden {
    opacity: 0;
    transform: translate(-50%, 20px);
    pointer-events: none;
}

/* Responsive Overrides for Compact Heights / Small Mobile */
@media (max-height: 680px) {
    .app-viewport {
        padding: 0.5rem 0.75rem;
    }
    .hero-content {
        gap: 0.4rem;
    }
    .skyline-wrapper {
        max-height: 80px;
        padding: 0.25rem;
    }
    .skyline-img {
        max-height: 65px;
    }
    .categories-container {
        display: none; /* Hide pills on very small height screens to preserve fit */
    }
    .whatsapp-card {
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 580px) {
    .header {
        justify-content: center;
        gap: 1rem;
    }
    .status-badge {
        padding: 0.3rem 0.6rem;
    }
    .whatsapp-card {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    .whatsapp-text {
        text-align: center;
    }
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
    .footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}
