:root {
    --primary-color: #4F46E5;
    --secondary-color: #7C3AED;
    --success-color: #10B981;
    --error-color: #EF4444;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --background: #F9FAFB;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
}

.container {
    padding: 20px;
    max-width: 600px;
    width: 100%;
}

.subscription-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.browser-specific-instructions {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    overflow: hidden;
}

.browser-hint {
    position: relative;
    height: 100%;
}

.browser-screenshot {
    max-height: 100%;
    object-fit: contain;
}

.hint-arrow {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 24px;
    animation: bounce 2s infinite;
}

.content-wrapper {
    margin-top: 100px;
}

.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
}

h1 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.steps-container {
    margin: 2rem 0;
    text-align: left;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: #F3F4F6;
    transition: transform 0.2s;
}

.step:hover {
    transform: translateX(5px);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.step-content p {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.subscribe-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 300px;
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.subscribe-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.status-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 12px;
    display: none;
}

.status-message.success {
    background: #ECFDF5;
    color: var(--success-color);
    display: block;
}

.status-message.error {
    background: #FEF2F2;
    color: var(--error-color);
    display: block;
}

.feedback-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Browser-specific styles */
.chrome .hint-arrow { color: #4CAF50; }
.firefox .hint-arrow { color: #FF9800; }
.safari .hint-arrow { color: #2196F3; }

/* Responsive adjustments */
@media (max-width: 480px) {
    .subscription-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .content-wrapper {
        margin-top: 80px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .step {
        padding: 0.75rem;
    }

    .subscribe-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
