:root {
    --color-background: #0a0a0a;
    --color-surface: #121212;
    --color-primary: #CD0F41;
    --color-secondary: #023464;
    --color-accent: #f43f5e;
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--color-background);
    color: #f3f4f6;
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Gradients (from websitespeed-io) */
.bg-layer {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background-color: rgba(205, 15, 65, 0.2); /* primary */
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background-color: rgba(2, 52, 100, 0.2); /* secondary */
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .7; transform: scale(1.05); }
}

/* Floating Lightning Animations */
.floating-lightning {
    position: absolute;
    opacity: 0.1;
    color: var(--color-primary);
    filter: drop-shadow(0 0 10px var(--color-primary));
    animation: float 10s ease-in-out infinite;
}

.lightning-1 { top: 15%; left: 10%; animation-duration: 8s; color: var(--color-accent); }
.lightning-2 { bottom: 20%; right: 15%; animation-duration: 12s; animation-delay: -3s; }
.lightning-3 { top: 40%; right: 5%; animation-duration: 10s; animation-delay: -5s; opacity: 0.05; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); filter: drop-shadow(0 0 20px var(--color-primary)); opacity: 0.2; }
}

/* Utilities */
.glass-panel {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, var(--color-primary), var(--color-secondary), var(--color-accent));
    background-size: 200% auto;
    animation: gradient 8s linear infinite;
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 800px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    z-index: 10;
}

.card {
    width: 100%;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    background: linear-gradient(90deg, rgba(205,15,65,0.2) 0%, rgba(2,52,100,0.2) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-img {
    height: 4rem;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

.desc {
    color: #9ca3af;
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

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

.feature-pill {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #d1d5db;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background-color: rgba(255,255,255,0.08);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 15, 65, 0.2);
}

.feature-pill svg {
    color: var(--color-accent);
}

.cta {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-sans);
    box-shadow: 0 4px 20px 0 rgba(205, 15, 65, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(205, 15, 65, 0.6);
}

.cta:active {
    transform: translateY(1px);
}

.hint {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Details Section */
.details-section {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 3rem;
}

@media (min-width: 640px) {
    .details-section {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-item {
    background-color: rgba(255,255,255,0.02);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255,255,255,0.04);
}

.detail-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.detail-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.detail-item p {
    color: #9ca3af;
    font-size: 0.95rem;
}

footer {
    margin-top: 3rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Modal */
.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
    padding: 1rem;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    width: 100%;
    max-width: 500px;
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.overlay.active .modal {
    transform: translateY(0);
}

.modal-x {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-x:hover {
    color: #fff;
}

.modal h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.modal p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

label {
    font-size: 0.875rem;
    color: #d1d5db;
    margin-bottom: 0.25rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.2s, background-color 0.2s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255,255,255,0.08);
}

.cta-submit {
    width: 100%;
}

.form-msg {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.msg-success { color: #10b981; }
.msg-error { color: #ef4444; }

@media (max-width: 480px) {
    .logo-text { font-size: 2.25rem; }
    .logo-img { height: 3rem; }
    .card { padding: 2rem 1.5rem; }
    .modal { padding: 2rem 1.5rem; }
    .floating-lightning { display: none; }
}

/* Entrance Animations */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

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