:root {
    --primary: #818cf8;
    --primary-glow: rgba(129, 140, 248, 0.4);
    --secondary: #c084fc;
    --accent: #fb7185;
    --bg: #030712;
    --card-bg: rgba(17, 24, 39, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #f9fafb;
    --text-dim: #9ca3af;
    --input-bg: rgba(255, 255, 255, 0.03);
}

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

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

/* Dynamic Liquid Background */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #111827 0%, #030712 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -100px;
    animation: float 20s infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    right: -50px;
    animation: float 25s infinite alternate-reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 30%;
    left: 50%;
    animation: float 18s infinite alternate;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.1); }
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    perspective: 1000px;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 50px -12px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px) rotateX(-5deg); }
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* Header & Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Content */
.title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.input-group {
    position: relative;
    display: flex;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 4px;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

input[type="email"] {
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    outline: none;
}

input[type="email"]::placeholder {
    color: #6b7280;
}

.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Badges & Info */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(129, 140, 248, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.pulse {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
}

.pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--primary);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(3); opacity: 0; }
}

/* Footer & Socials */
.socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    color: var(--text-dim);
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    color: white;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 768px) {
    .title { font-size: 2.75rem; }
    .glass-card { padding: 3rem 1.5rem; }
    .container { padding: 1rem; }
}
