:root {
    --bg-primary: #0a0813;
    --bg-secondary: #120e24;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --success: #10b981;
    --error: #ef4444;
    --glass-bg: rgba(18, 14, 36, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background animated glow */
.background-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.container {
    width: 100%;
    max-width: 650px;
    padding: 20px;
    z-index: 10;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.1);
}

.header {
    text-align: center;
    margin-bottom: 35px;
}

.logo-container {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.logo-icon {
    font-size: 28px;
    color: #fff;
    animation: ring 4s infinite ease-in-out;
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(10deg); }
    20%, 40% { transform: rotate(-10deg); }
    50% { transform: rotate(0); }
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 60%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

/* Form Styles */
.reminder-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

textarea {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-primary);
    resize: none;
    line-height: 1.6;
}

textarea::placeholder {
    color: #4b5563;
}

.submit-btn {
    position: relative;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    filter: brightness(1.1);
}

.submit-btn:active {
    transform: translateY(1px);
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.submit-btn.loading .btn-text {
    visibility: hidden;
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    display: block;
}

/* Examples Section */
.examples-section {
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 25px;
}

.examples-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.examples-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.example-chip {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.example-chip:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Toast System */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.toast {
    min-width: 300px;
    background: rgba(18, 14, 36, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    animation: slideIn 0.3s forwards ease;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    animation: shrink 4s linear forwards;
}

.toast.success::before { background-color: var(--success); }
.toast.error::before { background-color: var(--error); }

.toast-icon {
    font-size: 18px;
}

.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--error); }

.toast-content {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

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

@keyframes shrink {
    to { width: 0; }
}

@media(max-width: 480px) {
    .glass-card {
        padding: 24px;
    }
    h1 {
        font-size: 26px;
    }
}
