/* CSS Variables */
:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --inspire-blue: #2979ff;
    --inspire-cyan: #00e5ff;
    --accent-red: #ff1744;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden;
    /* Prevent scroll unless intended */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Background Vanta */
#vanta-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    /* Fade in via JS */
}

/* Custom Cursor - Brush Style */
body {
    cursor: none;
    /* Hide default cursor */
}

.brush-particle {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    /* Cursor - Comet Style */
    background: radial-gradient(circle, #ffffff 0%, var(--inspire-blue) 100%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    mix-blend-mode: screen;
    /* Glowing additive effect */
    filter: blur(2px);
    /* Soft brush edge */
    transition: opacity 0.3s ease;
}

.brush-tip {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    /* Always on top */
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px #fff;
}

/* Hover State - "Pressing" the brush */
body.hovering .brush-particle {
    filter: blur(4px);
    mix-blend-mode: difference;
    /* Creative inversion on hover */
    background: var(--accent-red);
}

body.hovering .brush-tip {
    transform: translate(-50%, -50%) scale(0.5);
    /* Precise tip */
}

/* Container */
.logo {
    position: relative;
    z-index: 1;
    height: 100px;
    /* Updated to 100px */
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 15px rgba(41, 121, 255, 0.4));
    transition: transform 0.5s var(--ease-smooth);
}

.container {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    /* Reduced from 2rem */
}

/* Logo */
/* Logo Wrapper */
.logo-wrapper {
    position: relative;
    margin-bottom: 1rem;
    /* Reduced from 2rem */
    display: inline-block;
    opacity: 0;
    /* JS handles fade in */
}


/* Coming Soon Badge */
.badge-wrapper {
    margin-bottom: 0.5rem;
    /* Reduced from 1.5rem */
    opacity: 0;
    /* JS Fade in */
    display: flex;
    justify-content: center;
}

.coming-soon-badge {
    position: relative;
    display: inline-flex;
    /* Pill */
    justify-content: center;
    align-items: center;
    padding: 8px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--inspire-blue) 0%, var(--inspire-cyan) 100%);
    /* Blue gradient bg */
    color: #ffffff;
    /* White text */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    /* Enhanced glow */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle inner border */
}

/* Text */
.text-content {
    margin-bottom: 2.5rem;
    /* Reduced from 3.5rem */
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.headline {
    font-family: 'Poppins', var(--font-heading);
    font-size: 4.5rem;
    /* Increased size significantly */
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    /* Reduced from 1rem */
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25em;
    /* Tighter gap */
}

.headline .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-break {
    display: none;
    /* Default hidden */
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--inspire-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(41, 121, 255, 0.4);
}

.subtext {
    font-size: 1.25rem;
    /* Increased from 1rem */
    color: #ffffff;
    /* White color */
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0;
    max-width: 600px;
    /* Increased max-width slightly to accommodate larger text */
    margin: 0 auto;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/*                               Loading Animation                            */
/* -------------------------------------------------------------------------- */
.progress-container {
    width: 100%;
    max-width: 460px;
    /* Increased width */
    margin: 0 auto 2.5rem auto;
    /* Reduced from 3rem */
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.progress-info {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 0.75rem;
    /* 12px */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    /* White color */
    padding: 0 2px;
}

.progress-bar-wrapper {
    width: 100%;
    height: 4px;
    /* Increased height */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    position: relative;
    overflow: visible;
}

/* Progress Bar - Seamless Beam (Refined) */
.progress-bar-fill {
    width: 100%;
    height: 100%;
    /* Sharper gradient for better visibility */
    background: linear-gradient(90deg,
            transparent 0%,
            var(--inspire-blue) 40%,
            #ffffff 50%,
            var(--inspire-blue) 60%,
            transparent 100%);
    background-size: 200% 100%;
    position: relative;
    border-radius: 10px;
    animation: seamlessBeam 2s infinite linear;
    /* Reduced blur, focused glow */
    filter: drop-shadow(0 0 3px var(--inspire-blue));
    box-shadow: inset 0 0 10px rgba(41, 121, 255, 0.2);
    /* Internal depth */
    will-change: background-position;
}

@keyframes seamlessBeam {
    0% {
        background-position: 150% 0;
    }

    100% {
        background-position: -50% 0;
    }
}

/* Tooltip */
.progress-bar-wrapper::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ddd;
    padding: 6px 12px;
    font-size: 0.7rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.progress-bar-wrapper:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* -------------------------------------------------------------------------- */
/*                               CTA Buttons                                  */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                               CTA Buttons                                  */
/* -------------------------------------------------------------------------- */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    /* 16px gap */
    opacity: 0;
    transform: translateY(15px);
}

.cta-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    min-width: 190px;
    height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    /* Pill shape */
    background: #000;
    /* Pure black body */
    color: #FFFFFF;
    font-family: 'Poppins', var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    overflow: hidden;
    /* masks the gradient border container */
    transition: transform 300ms ease-out, box-shadow 300ms ease-out;
    animation: breathingGlow 6s ease-in-out infinite;
    /* Idle animation */
    /* Box shadow for subtle inner inset depth */
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
}

/* 1. Animated Gradient Border (Background Layer) */
.cta-btn::before {
    content: '';
    position: absolute;
    top: -150%;
    left: -150%;
    width: 400%;
    height: 400%;
    background: conic-gradient(from 0deg,
            transparent 0%,
            var(--border-color-1) 10%,
            var(--border-color-2) 20%,
            var(--border-white) 30%,
            var(--border-color-2) 40%,
            var(--border-color-1) 50%,
            transparent 100%);
    animation: rotateBorder 8s linear infinite;
    /* Slow loop */
    z-index: 0;
    opacity: 0.85;
    /* Idle opacity */
    transition: opacity 300ms ease-out;
}

/* 2. Inner Black Background (Mask Layer) */
.cta-btn::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    /* Border thickness */
    background: #000;
    /* Revert to black */
    border-radius: 999px;
    z-index: 1;
}

/* 3. Content Layer (Text & Icon) */
.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    /* 10px gap */
    width: 100%;
    justify-content: center;
}

.btn-content i {
    font-size: 16px;
    transition: transform 300ms ease-out;
    color: var(--icon-color);
}

/* --- Theme Colors --- */
/* --- Theme Colors (Brand Specific Borders) --- */
.whatsapp-btn {
    --border-color-1: #25d366;
    --border-color-2: #128c7e;
    --border-white: #ffffff;
    --icon-color: #25d366;
    /* Icon color matches brand */
}

.call-btn {
    --border-color-1: #ff1744;
    --border-color-2: #d50000;
    --border-white: #ffffff;
    --icon-color: #ff1744;
    /* Icon color matches brand */
}

/* Flip Phone Icon */
.fa-phone-alt {
    transform: scaleX(-1);
}

/* --- Hover Interactions --- */
.cta-btn:hover {
    transform: translateY(-2px);
    /* Lift */
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
    /* Lighter inner bg */
}

.cta-btn:hover::before {
    opacity: 1;
    /* Intensify glow */
}

.cta-btn:hover .btn-content i {
    transform: translateX(2px);
    /* Shift icon */
}

/* --- Animations --- */
@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes breathingGlow {

    0%,
    100% {
        opacity: 0.85;
    }

    50% {
        opacity: 1;
    }
}

/* --- Mobile Fallback --- */
@media (max-width: 768px) {
    .cta-btn::before {
        animation: none;
        /* Disable rotation */
        background: linear-gradient(90deg, var(--border-color-1), var(--border-color-2));
        /* Static Gradient */
    }

    .cta-btn {
        animation: none;
        /* Disable breathing */
        min-width: 100%;
        /* Full width on mobile often looks better, or keep px? Prompt says "Buttons remain clean" */
    }

    .cta-btn:hover {
        transform: none;
        /* Disable lift */
    }
}

/* Loader */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    opacity: 0;
}

.progress-ring-container {
    position: relative;
}

.progress-ring__circle {
    transition: stroke-dashoffset 1.5s ease-in-out;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke: var(--accent-red);
    stroke-linecap: round;
    /* Circumference = 2 * PI * 26 ≈ 163.36 */
    stroke-dasharray: 163.36 163.36;
    stroke-dashoffset: 163.36;
    /* Start empty */
    filter: drop-shadow(0 0 8px rgba(255, 23, 68, 0.6));
}

.loader-text {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Form */
.interaction-zone {
    width: 100%;
    max-width: 450px;
    opacity: 0;
    transform: translateY(20px);
}

.notify-form {
    position: relative;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 4px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--inspire-blue);
    box-shadow: 0 0 20px rgba(41, 121, 255, 0.2);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

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

.notify-btn {
    background: linear-gradient(90deg, var(--inspire-blue), var(--inspire-cyan));
    border: none;
    border-radius: 40px;
    padding: 12px 28px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.notify-btn:hover {
    transform: scale(1.05);
}

/* Success Message */
.success-message {
    margin-top: 1rem;
    color: var(--inspire-cyan);
    font-size: 0.9rem;
    display: none;
    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Socials */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        height: 80px;
        /* Responsive size */
    }

    .headline {
        font-size: 1.8rem;
    }

    .cursor,
    .cursor-follower {
        display: none;
        /* Hide custom cursor on touch */
    }

    .notify-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
        gap: 1.25rem;
        /* Tighter container gap for mobile */
    }

    .logo {
        height: 90px;
        /* Kept large as requested */
    }

    .headline {
        font-size: 2.1rem;
        /* Adjusted for 2 lines */
        line-height: 1.2;
    }

    .mobile-break {
        display: block;
        width: 100%;
        height: 0;
    }

    .subtext {
        font-size: 1rem;
        /* Specific mobile override */
    }

    .text-content {
        margin-bottom: 1.5rem;
        /* Reduced bottom margin */
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 0.8rem;
        /* Slightly tighter button gap */
    }

    .cta-btn {
        justify-content: center;
        width: 100%;
    }

    /* Disable Custom Cursor on Mobile */
    /* Disable Custom Cursor on Mobile */
    #cursor-container,
    .brush-tip,
    .brush-particle {
        display: none !important;
    }

    body,
    html {
        cursor: auto;
        height: 100%;
        overflow: hidden;
        /* STRICT NO SCROLL */
        position: fixed;
        /* Lock body */
        width: 100%;
    }

    .container {
        height: 100%;
        justify-content: center;
        /* Center content vertically */
    }
}