@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ===== DESIGN TOKENS (from main Thukilinam site) ===== */
:root {
    --primary-purple: #6A38B6;
    --neon-violet: #A855F7;
    --electric-blue: #3B82F6;
    --midnight-navy: #0F172A;
    --royal-blue: #2563EB;
    --frost-blue: #E0E7FF;
    --lavender-soft: #F3F0FF;

    --white: #ffffff;
    --silver-light: #F8FAFC;
    --gray-muted: #64748B;

    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(16px);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);

    --grad-vibrant: linear-gradient(135deg, #6A38B6 0%, #3B82F6 100%);
    --grad-soft: linear-gradient(135deg, #F3F0FF 0%, #E0E7FF 100%);
    --grad-dark: linear-gradient(180deg, #1E1B4B 0%, #0F172A 100%);

    --radius-lg: 24px;
    --radius-md: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--midnight-navy);
    color: var(--white);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

h1,
h2,
h3,
h4,
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* ===== BACKGROUND ===== */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/bg.png') center/cover no-repeat;
    z-index: 0;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(106, 56, 182, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

/* ===== PARTICLES CANVAS ===== */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ===== GLASSMORPHISM CARD ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-md);
}

/* ===== TEXT GRADIENT ===== */
.text-gradient {
    background: var(--grad-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== PREMIUM BUTTON ===== */
.btn-premium {
    background: var(--grad-vibrant);
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3B82F6 0%, #6A38B6 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(106, 56, 182, 0.4);
}

.btn-premium i {
    transition: transform 0.3s ease;
}

.btn-premium:hover i {
    transform: translateX(4px);
}

/* ===== MAIN WRAPPER ===== */
.coming-soon-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 40px 24px;
    text-align: center;
    gap: 36px;
}

/* ===== LOGO ===== */
.logo-container {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
    animation: revealDown 0.8s ease-out 0.3s forwards;
}

.logo {
    height: 200px;
    filter: drop-shadow(0 4px 20px rgba(106, 56, 182, 0.3));
    transition: var(--transition-smooth);
    border-radius: 60px;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 30px rgba(106, 56, 182, 0.5));
}

/* ===== HEADING ===== */
.heading-container {
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s ease-out 0.6s forwards;
}

.pre-heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--neon-violet);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.main-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--white);
}

.sub-heading {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== COUNTDOWN ===== */
.countdown-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 28px 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s ease-out 0.9s forwards;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
}

.countdown-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    background: var(--grad-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.countdown-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 6px;
}

.countdown-divider {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
    padding-bottom: 18px;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ===== SUBSCRIBE ===== */
.subscribe-container {
    max-width: 520px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s ease-out 1.2s forwards;
}

.subscribe-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.subscribe-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 4px 4px 20px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.input-wrapper:focus-within {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 20px rgba(106, 56, 182, 0.2), var(--glass-shadow);
}

.input-wrapper i {
    color: rgba(255, 255, 255, 0.35);
    font-size: 16px;
    flex-shrink: 0;
}

.input-wrapper input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    width: 100%;
    padding: 14px 0;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 24px;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6EE7B7;
    font-size: 14px;
    font-weight: 500;
    animation: revealUp 0.5s ease-out forwards;
}

.success-message.show {
    display: flex;
}

.success-message i {
    font-size: 18px;
}

/* ===== SOCIAL LINKS ===== */
.social-container {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s ease-out 1.5s forwards;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--grad-vibrant);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(106, 56, 182, 0.35);
}

/* ===== FOOTER ===== */
.footer-text {
    opacity: 0;
    animation: revealUp 0.8s ease-out 1.7s forwards;
}

.footer-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
}

/* ===== ANIMATIONS ===== */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealDown {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== AMBIENT GLOW (decorative pseudo-elements) ===== */
body::before {
    content: '';
    position: fixed;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(106, 56, 182, 0.08) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
    animation: ambientDrift 15s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
    animation: ambientDrift 18s ease-in-out infinite alternate-reverse;
}

@keyframes ambientDrift {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(40px, -30px);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        overflow: hidden;
    }

    .coming-soon-wrapper {
        height: 100vh;
        height: 100dvh;
        min-height: unset;
        max-height: 100vh;
        max-height: 100dvh;
        padding: 32px 24px;
        gap: 0;
        overflow: hidden;
        justify-content: space-between;
    }

    .logo {
        height: 120px;
        border-radius: 36px;
    }

    .heading-container {
        max-width: 100%;
        padding: 0 4px;
    }

    .pre-heading {
        font-size: 11px;
        letter-spacing: 0.35em;
        margin-bottom: 12px;
    }

    .main-heading {
        font-size: 2.6rem;
        margin-bottom: 14px;
    }

    .sub-heading {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
    }

    .countdown-container {
        padding: 22px 28px;
        gap: 6px;
        width: auto;
    }

    .countdown-item {
        min-width: 60px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 10px;
        margin-top: 5px;
        letter-spacing: 0.15em;
    }

    .countdown-divider {
        font-size: 1.6rem;
        padding-bottom: 14px;
    }

    .subscribe-container {
        max-width: 100%;
    }

    .subscribe-text {
        font-size: 13px;
        margin-bottom: 12px;
    }

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

    .input-wrapper {
        padding: 2px 2px 2px 16px;
    }

    .input-wrapper input {
        padding: 14px 0;
        font-size: 14px;
    }

    .btn-premium {
        justify-content: center;
        padding: 14px 32px;
        font-size: 15px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .social-container {
        gap: 18px;
    }

    .footer-text p {
        font-size: 11px;
    }

    .bg-image {
        background-position: center center;
        top: 0;
    }
}

/* Small phones (iPhone SE, etc.) */
@media (max-width: 480px) {
    .coming-soon-wrapper {
        padding: 28px 20px;
    }

    .logo {
        height: 110px;
        border-radius: 32px;
    }

    .pre-heading {
        font-size: 10px;
    }

    .main-heading {
        font-size: 2.3rem;
    }

    .sub-heading {
        font-size: 0.95rem;
    }

    .countdown-container {
        padding: 18px 20px;
    }

    .countdown-item {
        min-width: 54px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 9px;
    }

    .countdown-divider {
        font-size: 1.4rem;
        padding-bottom: 12px;
    }

    .social-link {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}

/* Very short screens (landscape / short devices) */
@media (max-height: 700px) and (max-width: 768px) {
    .coming-soon-wrapper {
        padding: 16px 20px;
    }

    .logo {
        height: 70px;
        border-radius: 20px;
    }

    .main-heading {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .sub-heading {
        font-size: 0.85rem;
    }

    .pre-heading {
        margin-bottom: 6px;
        font-size: 9px;
    }

    .countdown-container {
        padding: 14px 16px;
    }

    .countdown-number {
        font-size: 1.4rem;
    }

    .countdown-label {
        font-size: 8px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .subscribe-text {
        margin-bottom: 6px;
    }
}