:root {
    --bg-dark: #040a18;
    --primary-blue: #0B2055;
    --accent-teal: #16C296;
    --accent-glow: rgba(22, 194, 150, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0aec0;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1200px;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at center, #0B2055 0%, #040a18 80%);
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 650px;
    padding: 20px;
    transform-style: preserve-3d;
}

/* Screen Reader Only (SEO purposes) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Glass Card with Animated Border */
.glass-card {
    position: relative;
    background: rgba(11, 32, 85, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 2px; /* For the gradient border */
    transform-style: preserve-3d;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 50px rgba(22, 194, 150, 0.05);
    transition: transform 0.1s ease-out;
    animation: entrance 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(120deg, transparent, var(--accent-teal), transparent, #4A90E2, transparent);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
    animation: borderGradient 6s linear infinite;
}

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

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

.card-content {
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
    border-radius: 28px;
    padding: 50px 40px;
    text-align: center;
    height: 100%;
    transform: translateZ(40px); /* 3D pop effect */
}

/* Logo Presentation */
.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
    transform: translateZ(60px);
}

.logo-inner {
    background: #ffffff;
    padding: 18px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4), inset 0 0 15px rgba(0,0,0,0.05);
    position: relative;
}

.logo-inner::after {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    background: linear-gradient(45deg, var(--accent-teal), #0B2055, var(--accent-teal));
    background-size: 200% 200%;
    border-radius: 23px;
    z-index: -1;
    animation: pulseBorder 4s linear infinite;
}

@keyframes pulseBorder {
    0% { opacity: 0.4; filter: blur(10px); background-position: 0% 50%; }
    50% { opacity: 0.8; filter: blur(15px); background-position: 100% 50%; }
    100% { opacity: 0.4; filter: blur(10px); background-position: 0% 50%; }
}

.logo {
    max-width: 170px;
    height: auto;
    display: block;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(22, 194, 150, 0.15);
    border: 1px solid rgba(22, 194, 150, 0.5);
    border-radius: 50px;
    color: var(--accent-teal);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    transform: translateZ(45px);
    box-shadow: 0 0 15px rgba(22, 194, 150, 0.2);
    animation: pulseBadge 2s infinite alternate;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 10px rgba(22, 194, 150, 0.2); }
    100% { box-shadow: 0 0 20px rgba(22, 194, 150, 0.5), inset 0 0 10px rgba(22, 194, 150, 0.1); }
}

/* Typography & Typewriter */
.main-heading {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    transform: translateZ(50px);
}

.typewriter {
    color: var(--accent-teal);
    background: linear-gradient(to right, #16C296, #50c2f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(22, 194, 150, 0.4);
}

.cursor {
    color: var(--accent-teal);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 480px;
    margin-inline: auto;
    transform: translateZ(35px);
}

.subtitle strong {
    color: #ffffff;
    font-weight: 500;
}

/* Glow Separator */
.glow-separator {
    width: 60px;
    height: 4px;
    background: var(--accent-teal);
    margin: 0 auto 40px auto;
    border-radius: 4px;
    box-shadow: 0 0 15px var(--accent-teal);
    transform: translateZ(30px);
    position: relative;
    overflow: hidden;
}

.glow-separator::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shimmer 2s infinite linear;
    transform: translateX(-100%);
}

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

/* Contact Button */
.contact-section {
    transform: translateZ(50px);
}

.contact-section p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.glow-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: rgba(22, 194, 150, 0.08);
    border: 1px solid rgba(22, 194, 150, 0.5);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(22, 194, 150, 0.15);
}

.glow-button svg {
    color: var(--accent-teal);
    transition: transform 0.3s ease;
}

.glow-button::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: all 0.5s ease;
}

.glow-button:hover {
    background: rgba(22, 194, 150, 0.2);
    border-color: var(--accent-teal);
    box-shadow: 0 0 40px rgba(22, 194, 150, 0.4);
    transform: translateY(-4px);
}

.glow-button:hover svg {
    transform: scale(1.15) rotate(-5deg);
}

.glow-button:hover::before {
    left: 100%;
    transition: all 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .card-content { padding: 40px 25px; }
    .main-heading { font-size: 2.4rem; }
    .subtitle { font-size: 1.05rem; }
    .glow-button { padding: 15px 28px; font-size: 1.05rem; }
}

@media (max-width: 480px) {
    body { perspective: none; }
    .glass-card { transform-style: flat; animation: mobileEntrance 1s forwards; }
    .card-content, .logo-wrapper, .main-heading, .subtitle, .glow-separator, .contact-section { transform: none; }
    
    @keyframes mobileEntrance {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .logo { max-width: 150px; }
    .main-heading { font-size: 2rem; }
    .glow-button { width: 100%; justify-content: center; }
}
