:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    animation: move 20s infinite alternate linear;
}

.blob-1 { top: -100px; left: -100px; }
.blob-2 { bottom: -100px; right: -100px; background: linear-gradient(135deg, #0ea5e9 0%, #2dd4bf 100%); }
.blob-3 { top: 50%; left: 50%; transform: translate(-50%, -50%); background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%); opacity: 0.2; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 50px) scale(1.1); }
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.main-card {
    margin-top: 2rem;
}

/* Form Styling */
.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    padding: 1rem;
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
    color: white;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.5);
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
}

/* Results Styling */
.result-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.result-item:hover {
    transform: scale(1.01);
    background: rgba(255, 255, 255, 0.05);
}

.label-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    background: rgba(79, 70, 229, 0.2);
    color: #818cf8;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.original-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.suggested-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.suggestion-box {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
}

.seo-meta {
    font-size: 0.95rem;
    line-height: 1.6;
}

.char-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    float: right;
}

.char-count.warning {
    color: #f59e0b;
}

.char-count.success {
    color: #10b981;
}

.char-count.danger {
    color: #ef4444;
}
