/* Design System & Root Variables */
:root {
    --bg-primary: #03000a;
    --bg-secondary: #0a0618;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --color-accent: #a855f7;
    --color-pink: #ec4899;
    --color-indigo: #6366f1;

    /* Elegant Purple/Indigo Gradients */
    --gradient-purple-text: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 20%, #a855f7 50%, #6366f1 80%, #4f46e5 100%);
    --gradient-purple-btn: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #4f46e5 100%);
    --gradient-purple-hover: linear-gradient(135deg, #c084fc 0%, #8b5cf6 50%, #6366f1 100%);
    --gradient-glow: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);

    /* Glassmorphism Styles */
    --glass-bg: rgba(10, 8, 20, 0.45);
    --glass-border: rgba(168, 85, 247, 0.12);
    --glass-border-focus: rgba(168, 85, 247, 0.35);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Core Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Mouse Tracker Spotlight Effect */
#cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(99, 102, 241, 0.03) 50%, transparent 80%);
    border-radius: 50%;
    top: -300px;
    left: -300px;
    z-index: 1;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transition: transform 0.1s ease-out;
    filter: blur(40px);
}

/* Main Layout Grid */
.app-container {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 1.5rem;
}

/* Header & Nav Styling */
.header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.logo-text .highlight {
    color: var(--color-accent);
    background: linear-gradient(135deg, #f472b6, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-icons {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    color: var(--text-muted);
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--text-primary);
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

/* Main content & Centered Glass Card */
.main-content {
    width: 100%;
    max-width: 850px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    margin: 2rem 0;
}

.glass-card {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3.5rem 3rem;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Animated Logo in the Center */
.logo-glow-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 2.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-glow-wrapper::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-purple-btn);
    filter: blur(25px);
    opacity: 0.6;
    animation: logo-glow-pulse 4s infinite alternate ease-in-out;
    z-index: 1;
}

.church-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.4));
    animation: logo-float 6s infinite ease-in-out;
    transition: var(--transition-smooth);
}

.church-logo:hover {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.8));
}

/* Title Gradient Text Styling */
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    background: var(--gradient-purple-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine-text 6s linear infinite;
    max-width: 700px;
}

/* Subtitle - website live soon badge */
.live-soon-badge-container {
    margin-bottom: 2.5rem;
}

.live-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #e9d5ff;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
    animation: pulse-border 2.5s infinite ease-in-out;
}

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

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 500px;
}

.countdown-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.2rem 0.5rem;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

.countdown-box:hover {
    background: rgba(168, 85, 247, 0.04);
    border-color: rgba(168, 85, 247, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.countdown-num {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.countdown-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.countdown-divider {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(168, 85, 247, 0.4);
    animation: pulse-divider 2s infinite ease-in-out;
}

/* Subscribe Email Form */
.subscribe-form {
    width: 100%;
    max-width: 580px;
    position: relative;
}

.input-group {
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.4rem;
    padding-left: 1.5rem;
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.input-group:focus-within {
    border-color: var(--glass-border-focus);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(168, 85, 247, 0.02);
}

.input-icon {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-right: 0.8rem;
    transition: var(--transition-smooth);
}

.input-group:focus-within .input-icon {
    color: var(--color-accent);
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.8rem 0;
    width: 100%;
}

.subscribe-form input::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

.submit-btn {
    background: var(--gradient-purple-btn);
    border: none;
    outline: none;
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.9rem 1.8rem;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: var(--gradient-purple-hover);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
    transform: scale(1.03);
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-arrow {
    transition: var(--transition-smooth);
    font-size: 1rem;
}

/* Success / Error Messages */
.form-message {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    height: 0;
    overflow: hidden;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-top: 1rem;
}

.form-message.success {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.form-message.error {
    color: #f87171;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.3);
}

/* Footer Styles */
.footer {
    text-align: center;
    width: 100%;
    margin-top: 2rem;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer .tagline {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.4rem;
    color: var(--color-accent);
    opacity: 0.8;
}

/* Entry Animations */
@keyframes shine-text {
    to {
        background-position: 200% center;
    }
}

@keyframes logo-glow-pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.95);
        filter: blur(25px);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.1);
        filter: blur(35px);
    }
}

@keyframes logo-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse-border {

    0%,
    100% {
        border-color: rgba(168, 85, 247, 0.2);
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.05);
    }

    50% {
        border-color: rgba(168, 85, 247, 0.45);
        box-shadow: 0 0 25px rgba(168, 85, 247, 0.25);
    }
}

@keyframes pulse-indicator {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

@keyframes pulse-divider {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.9;
    }
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-down {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

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

/* Address Styling */
.address-container {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.address-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    transition: var(--transition-smooth);
}

.address-link:hover {
    color: var(--text-primary);
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.15);
}

.address-icon {
    color: var(--color-accent);
    filter: drop-shadow(0 0 5px var(--color-accent));
}

/* Responsiveness Settings */
@media (max-width: 768px) {
    .glass-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .logo-glow-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 1.8rem;
    }

    .logo-glow-wrapper::before {
        width: 90px;
        height: 90px;
    }

    .countdown-container {
        gap: 0.5rem;
    }

    .countdown-box {
        min-width: 70px;
        padding: 0.8rem 0.3rem;
    }

    .countdown-num {
        font-size: 1.6rem;
    }

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

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 0.8rem;
        border-radius: 0;
    }

    .input-group:focus-within {
        box-shadow: none;
        background: transparent;
    }

    .input-group input {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--glass-border);
        border-radius: 100px;
        padding: 1rem 1.5rem;
        text-align: center;
        width: 100%;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .input-group input:focus {
        border-color: var(--glass-border-focus);
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.5);
        background: rgba(168, 85, 247, 0.02);
    }

    .input-icon {
        display: none;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
    }

    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}