/* Global Dark Theme */
:root {
    --primary: #2dd4bf;
    /* Teal 400 */
    --primary-hover: #14b8a6;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    margin: 0;
    background-color: #0f172a;
    /* Slate 900 */
    color: white;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow-x: hidden;
}

/* Background Orbs Effect */
body::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.15) 0%, transparent 70%);
    /* Teal glow */
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    /* Blue glow */
    pointer-events: none;
    z-index: -1;
}

.landing-content {
    padding: 4rem 1rem;
    flex: 1;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(45, 212, 191, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(45, 212, 191, 0.2);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    font-weight: 800;
    letter-spacing: -1px;
}

@media(max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
}

.text-gradient {
    background: linear-gradient(135deg, #2dd4bf 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

@media(max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-col {
        order: 2;
    }
}

/* Features */
.feature-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
    margin-top: 0;
}

.feature-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* Form Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
}

.form-header p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
    /* Fix for padding overflow */
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2);
}

.cta-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2dd4bf 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    transition: opacity 0.2s;
}

.cta-button:hover {
    opacity: 0.9;
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success View */
.success-view {
    text-align: center;
    padding: 2rem 0;
}

.check-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

.spinner-small {
    margin: 1.5rem auto 0;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

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

/* Animations */
.reveal-on-load {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.reveal-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 1rem;
    margin-top: 4rem;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    color: #94a3b8;
}

.footer-col .trust-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.trust-icon {
    font-size: 1.5rem;
}

.privacy-note {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

@media(max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}