/* Import Google Fonts (already in HTML but good practice) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;800&display=swap');

:root {
    /* Brand Colors for a Leaf/Green theme */
    --primary: #10B981; 
    --primary-glow: rgba(16, 185, 129, 0.4);
    --secondary: #0D9488;
    
    /* Dark Theme Core Colors */
    --bg-dark: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(30, 41, 59, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    /* Smooth transition for loading */
    opacity: 0;
    animation: fadeInBody 0.8s ease-in forwards;
}

@keyframes fadeInBody {
    to { opacity: 1; }
}

/* --- Animated Background Blobs --- */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px); /* Creates the soft glow effect */
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--secondary);
    animation-delay: -5s;
    animation-direction: alternate-reverse;
}

.blob-3 {
    top: 30%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: #3b82f6; /* Blue accent for tech feel */
    animation-delay: -10s;
    transform: translateX(-50%);
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* --- Main Container --- */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    padding: 1.5rem;
}

/* --- Glassmorphism Card --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    /* Entry animation */
    transform: translateY(30px) scale(0.98);
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

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

/* --- Header & Logo --- */
.header {
    margin-bottom: 2.5rem;
}

.logo {
    max-width: 240px; /* Adjust according to actual logo dimensions */
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
    transform: scale(1.05) translateY(-2px);
}

/* --- Content Styling --- */
.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary-glow);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 var(--primary-glow); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

#main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.highlight {
    background: linear-gradient(135deg, #34d399, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

#main-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 2.5rem auto;
    font-weight: 400;
}

/* --- Progress Bar --- */
.progress-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 3.5rem auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), #3b82f6);
    background-size: 200% 200%;
    border-radius: 999px;
    box-shadow: 0 0 15px var(--primary-glow);
    animation: 
        loadProgress 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards,
        gradientShift 3s ease infinite;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 75%; } /* Simulated progress */
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    animation: flashText 2s infinite ease-in-out;
}

@keyframes flashText {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; text-shadow: 0 0 8px rgba(255,255,255,0.2); }
}

/* --- Contact Section --- */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

.contact-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.25rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px -6px var(--primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Button shine effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(30deg);
    transition: all 0.5s ease;
}

.btn-primary:hover::after {
    left: 140%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -6px var(--primary);
    filter: brightness(1.05);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px -4px var(--primary);
}

/* --- Footer --- */
.footer {
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    #main-title { font-size: 2.75rem; }
    .glass-card { padding: 3rem 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 1rem; }
    .glass-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    .logo { max-width: 180px; }
    
    #main-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    #main-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    
    .btn-primary { width: 100%; }
}
