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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1425 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

nav a:hover {
    color: #8b5cf6;
}

nav a.active {
    color: #8b5cf6;
    border-bottom: 2px solid #8b5cf6;
    padding-bottom: 5px;
}

.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.container:has(.policy-content) {
    align-items: flex-start;
    padding-top: 40px;
}

.content {
    display: none;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 0.3s ease-in;
}

.content:has(.policy-content) {
    max-width: 900px;
}

.content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Home Page */
.home-content {
    text-align: center;
}

.icon-box {
    width: 120px;
    height: 120px;
    background-color: #6c63ff; 
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 60px;
}

.icon-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.home-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-content p {
    font-size: 18px;
    color: #a5b4fc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    padding: 15px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

/* Privacy Policy Page */
.policy-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.policy-content h2 {
    color: #8b5cf6;
    margin-bottom: 20px;
    font-size: 28px;
}

.policy-content h3 {
    color: #a5b4fc;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 18px;
}

.policy-content p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Delete User Page */
.delete-content {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.delete-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fca5a5;
}

.delete-content p {
    font-size: 16px;
    color: #a5b4fc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.delete-content a {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.3s;
}

.delete-content a:hover {
    color: #a78bfa;
    text-decoration: underline;
}

.warning-box {
    background: rgba(252, 165, 165, 0.1);
    border: 2px solid rgba(252, 165, 165, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.warning-box p {
    color: #fecaca;
    font-size: 14px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
}

.input-group input::placeholder {
    color: #64748b;
}

.input-group input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.delete-button {
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.delete-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(244, 63, 94, 0.4);
}

.delete-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.success-message {
    display: none;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.success-message.show {
    display: block;
}

/* Recovery/Password Reset Page */
.recovery-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    max-width: 500px;
    margin: 0 auto;
}

.recovery-content h2 {
    color: #8b5cf6;
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recovery-content #passwordForm {
    margin-bottom: 20px;
}

.recovery-content #passwordForm .input-group {
    margin-bottom: 20px;
}

.recovery-content #passwordForm input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.recovery-content #passwordForm input::placeholder {
    color: #64748b;
}

.recovery-content #passwordForm input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.recovery-content #msg {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    min-height: 20px;
    transition: color 0.3s;
}

.recovery-content #msg:empty {
    display: none;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .logo {
        font-size: 20px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        width: 100%;
    }

    nav a {
        font-size: 14px;
        padding-bottom: 5px;
    }

    .container {
        padding: 20px 15px;
    }

    .container:has(.policy-content) {
        padding-top: 20px;
    }

    .content {
        max-width: 100%;
    }

    .content:has(.policy-content) {
        max-width: 100%;
    }

    .home-content h1 {
        font-size: 32px;
    }

    .home-content p {
        font-size: 16px;
    }

    .icon-box {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .icon-image {
        width: 70px;
        height: 70px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }

    .policy-content {
        padding: 20px;
    }

    .policy-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .policy-content h3 {
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .policy-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .delete-content {
        padding: 20px;
    }

    .delete-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .delete-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .recovery-content {
        padding: 25px;
    }

    .recovery-content h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .recovery-content #passwordForm input {
        font-size: 15px;
        padding: 11px 14px;
    }

    .submit-button {
        padding: 11px 25px;
        font-size: 15px;
    }

    .recovery-content #msg {
        font-size: 13px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 15px;
        gap: 12px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 13px;
    }

    .container {
        padding: 15px 10px;
    }

    .container:has(.policy-content) {
        padding-top: 15px;
    }

    .home-content h1 {
        font-size: 28px;
    }

    .home-content p {
        font-size: 15px;
    }

    .icon-box {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .icon-image {
        width: 60px;
        height: 60px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }

    .policy-content {
        padding: 15px;
    }

    .policy-content h2 {
        font-size: 22px;
    }

    .policy-content h3 {
        font-size: 15px;
    }

    .policy-content p {
        font-size: 13px;
    }

    .delete-content {
        padding: 15px;
    }

    .delete-content h2 {
        font-size: 22px;
    }

    .delete-content p {
        font-size: 13px;
    }

    .recovery-content {
        padding: 20px;
    }

    .recovery-content h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .recovery-content #passwordForm input {
        font-size: 14px;
        padding: 10px 12px;
    }

    .submit-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .recovery-content #msg {
        font-size: 12px;
        padding: 8px;
    }
}

