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

:root {
    --primary-purple: #a855f7;
    --primary-purple-glow: #c084fc;
    --dark-bg: #0f172a;
    --dark-bg-secondary: #1e293b;
    --dark-border: rgba(168, 85, 247, 0.3);
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.7);
    --success-color: #10b981;
    --error-color: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    min-height: 100vh;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Grid Pattern */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

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

/* Gradient Glow at Bottom */
.gradient-glow {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.waitlist-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Main Content */
.main-content {
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 2rem;
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
    }
    to {
        text-shadow: 0 0 60px rgba(168, 85, 247, 0.8), 0 0 80px rgba(168, 85, 247, 0.4);
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Premium highlight for key phrase */
.headline-highlight {
    position: relative;
    display: inline-block;
    padding: 0 0.35rem;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(168,85,247,0.18) 0%, rgba(99,102,241,0.18) 100%);
    box-shadow: 0 4px 24px rgba(168, 85, 247, 0.25);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.headline-highlight .highlight-ink {
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: -8px;
    width: calc(100% + 8px);
    height: 20px;
    overflow: visible;
}

.headline-highlight .highlight-ink path {
    fill: none;
    /* Switch to theme-consistent violet/indigo underline */
    stroke: rgba(139, 92, 246, 0.95); /* #8b5cf6 */
    stroke-width: 8;
    stroke-linecap: round;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.45));
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: draw-ink 1.6s ease forwards 0.2s;
}

@keyframes draw-ink {
    to {
        stroke-dashoffset: 0;
    }
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: slideUp 0.8s ease-out 0.4s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    flex: 1;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--text-white);
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: var(--text-gray);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.submit-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-glow));
    background-size: 200% 200%;
    color: var(--text-white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    animation: gradient-shift 3s ease infinite;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover:not(:disabled)::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover:not(:disabled) {
    background: var(--primary-purple-glow);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(168, 85, 247, 0.6);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    color: white;
}

/* Message */
.message {
    margin: 0 auto 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: center;
    max-width: 600px;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.show {
    display: block;
}

.message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Success check icon inside message */
.message.with-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.check-icon {
    width: 26px;
    height: 26px;
    color: var(--success-color);
    stroke: var(--success-color);
    fill: none;
    transform-origin: center;
    animation: check-pop 0.48s cubic-bezier(.2,.9,.3,1) forwards;
}

@keyframes check-pop {
    0% {
        transform: scale(0) rotate(-20deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.1) rotate(6deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Confetti */
.confetti-container {
    position: fixed;
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 9999;
    width: 0;
    height: 0;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 12px;
    border-radius: 2px;
    opacity: 1;
    will-change: transform, opacity;
    animation: confetti-fall 1.6s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translate3d(0,0,0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate3d(var(--tx, 0px), 260px, 0) rotate(720deg);
        opacity: 0;
    }
}

/* small polish for the message text when with check */
.message.with-check span {
    font-weight: 700;
    color: var(--success-color);
}

/* Progress Bar Section */
.progress-section {
    max-width: 600px;
    margin: 0 auto 4rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.progress-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-count {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.progress-bar-container {
    margin-bottom: 0.75rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-purple-glow));
    border-radius: 100px;
    width: 0%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
    0% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    }
    50% {
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
    }
    100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    }
}

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

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

.progress-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Benefits Section */
.benefits-section {
    max-width: 800px;
    margin: 0 auto 4rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.benefits-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.benefit-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 14px;
    color: var(--primary-purple);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: rgba(168, 85, 247, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.benefit-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-weight: 400;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.avatars {
    display: flex;
    gap: -0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--dark-bg);
    margin-left: -0.5rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: block;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

/* Style for img avatars */
.avatar[src] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--dark-bg);
    display: block;
}

/* Placeholder avatars (gradient circles) */
.avatar-placeholder {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-glow));
}

.avatar-placeholder.avatar-1 {
    background: linear-gradient(135deg, #a855f7, #c084fc);
}

.avatar-placeholder.avatar-2 {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.avatar-placeholder.avatar-3 {
    background: linear-gradient(135deg, #7c3aed, #9365f6);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-1 {
    background: linear-gradient(135deg, #a855f7, #c084fc);
}

.avatar-2 {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.avatar-3 {
    background: linear-gradient(135deg, #7c3aed, #9365f6);
}

.social-proof-text {
    font-size: 0.9375rem;
    color: var(--text-gray);
    font-weight: 400;
}

.count {
    color: var(--text-white);
    font-weight: 600;
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 3rem;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.social-icon {
    color: var(--text-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.1);
}

.social-icon:hover {
    color: var(--primary-purple);
    background: rgba(168, 85, 247, 0.1);
    border-color: var(--dark-border);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .waitlist-form {
        flex-direction: column;
        gap: 1rem;
    }

    .submit-btn {
        width: 100%;
    }

    .container {
        padding: 3rem 1.5rem;
    }

    .social-icons {
        gap: 1.5rem;
    }

    .progress-section {
        margin-bottom: 3rem;
    }

    .benefits-section {
        margin-bottom: 3rem;
    }

    .benefits-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .benefit-item {
        padding: 1.5rem 1rem;
    }

    .benefit-icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }

    .waitlist-form {
        margin-bottom: 1.5rem;
    }

    .form-input {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }

    .submit-btn {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }

    .progress-section {
        margin-bottom: 2.5rem;
    }

    .progress-label {
        font-size: 0.75rem;
    }

    .progress-count {
        font-size: 0.75rem;
    }

    .progress-text {
        font-size: 0.8125rem;
    }

    .benefits-section {
        margin-bottom: 2.5rem;
    }

    .benefits-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefit-item {
        padding: 1.25rem 1rem;
    }

    .benefit-title {
        font-size: 1rem;
    }

    .benefit-description {
        font-size: 0.8125rem;
    }

    .social-proof {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 3rem;
    }

    .social-icons {
        gap: 1rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.5);
}

/* Floating Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--primary-purple);
    border-radius: 50%;
    filter: blur(1px);
    animation: float-particle linear infinite;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Burst Particles */
.burst-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--primary-purple);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

/* Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary-purple);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Shake Animation */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

/* Fade In Scale */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Input Focus */
.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1), 0 0 20px rgba(168, 85, 247, 0.2);
}

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

/* Social Icon Hover Enhancement */
.social-icon {
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.social-icon:hover::before {
    width: 60px;
    height: 60px;
}

/* Count Animation */
.count {
    display: inline-block;
    transition: transform 0.3s ease;
}

.count:hover {
    transform: scale(1.1);
}

