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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdfa 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;          /* Stack vertically */
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;              /* Allow scroll instead of clipping */
    position: relative;
    padding: 5rem 2rem 3rem;        /* Top breathing room, bottom space */
}

/* Background shapes */
.bg-shape {
    position: fixed;               /* Fixed so they don't scroll away */
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.bg-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #99f6e4, #5eead4);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.bg-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #bfdbfe, #93c5fd);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.bg-shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ddd6fe, #c4b5fd);
    top: 50%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.container {
    text-align: center;
    padding: 0;
    max-width: 600px;
    width: 100%;
    z-index: 10;
    position: relative;
    margin: auto 0;                 /* Safe vertical centering */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 2.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.15), 0 0 0 1px rgba(13, 148, 136, 0.05);
    position: relative;
    flex-shrink: 0;                 /* Prevent squeezing */
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px dashed #5eead4;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-box {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 480px;
}

.progress-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 100%;
}

.progress-bar-wrapper {
    background: #e2e8f0;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, #0d9488, #14b8a6, #2dd4bf);
    border-radius: 999px;
    animation: progress 3s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes progress {
    0% { width: 55%; }
    100% { width: 85%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: #14b8a6;
    border-radius: 50%;
    animation: blink 2s infinite;
}

.feature:nth-child(2) .feature-dot { animation-delay: 0.3s; }
.feature:nth-child(3) .feature-dot { animation-delay: 0.6s; }

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background: white;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #14b8a6;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Footer — now in normal flow so it is always visible */
.footer {
    position: relative;
    margin-top: 3rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    flex-shrink: 0;
    z-index: 10;
}

.footer a {
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
    body { padding: 3rem 1.5rem 2rem; }
    h1 { font-size: 1.875rem; }
    .subtitle { font-size: 1rem; }
    .icon-wrapper { width: 120px; height: 120px; margin-bottom: 2rem; }
    .logo-box { width: 85px; height: 85px; }
    .features { gap: 1rem; }
    .progress-container { padding: 1.5rem; }
}