/* HypnoELP Account Deletion - Based on v3 Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #a855f7;
    --success: #22c55e;
    --success-dark: #16a34a;
    --error: #ef4444;
    --error-dark: #dc2626;
    --warning: #f59e0b;

    --bg-dark: #0f0f1a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);

    --border: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(99, 102, 241, 0.5);

    --radius: 16px;
    --radius-sm: 10px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Background Effects */
.bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(168, 85, 247, 0.2), transparent),
        var(--bg-dark);
    z-index: -2;
}

.bg-glow {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* App Container */
.app {
    max-width: 540px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 60px;
}

/* Header */
.header {
    padding: 20px 0;
    text-align: center;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
    opacity: 0.9;
}

/* Hero */
.hero {
    text-align: center;
    padding: 20px 0 40px;
}

.hero h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-error {
    background: linear-gradient(135deg, var(--error), #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Glass Effect */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* Sections */
.section {
    padding: 24px;
    margin-bottom: 16px;
}

/* State Containers */
.state-container {
    animation: fadeIn 0.4s ease;
}

.state-container.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loader */
.loader {
    text-align: center;
    padding: 40px 0;
}

.loader-ring {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 0.8s linear infinite;
}

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

.loader p {
    color: var(--text);
    font-size: 15px;
}

/* Completion */
.completion {
    text-align: center;
    padding: 40px 24px;
}

.completion-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: pop 0.4s ease;
}

.success-icon {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
}

.error-icon-circle {
    background: linear-gradient(135deg, var(--error), var(--error-dark));
}

@keyframes pop {
    0% { transform: scale(0); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.completion h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.completion > p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.completion > p strong {
    color: var(--text);
}

/* Info Box */
.info-box {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-sm);
    text-align: left;
    margin-bottom: 16px;
}

.info-icon {
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content {
    flex: 1;
}

.info-content strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content li {
    position: relative;
    padding-left: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.info-content li:last-child {
    margin-bottom: 0;
}

.info-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

/* Warning Box */
.warning-box {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    text-align: left;
}

.warning-icon {
    color: var(--warning);
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-content {
    flex: 1;
}

.warning-content strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--warning);
}

.warning-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Contact Button */
.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

/* Footer Text */
.footer-text {
    text-align: center;
    padding: 20px;
}

.footer-text p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 24px;
    }

    .completion {
        padding: 30px 18px;
    }

    .info-box,
    .warning-box {
        flex-direction: column;
        gap: 10px;
    }
}
