@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

:root {
    --primary: #6C63FF;
    --dark: #2A2A2A;
    --light: #F4F6F8;
    --white: #ffffff;
}

body {
    font-family: 'Vazir', sans-serif;
    background-color: var(--light);
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
    color: var(--dark);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* Header & Nav */
header {
    background: var(--white);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo { font-size: 24px; font-weight: bold; color: var(--primary); }
.nav-links a { margin-right: 20px; color: var(--dark); }
.btn-primary { background: var(--primary); color: white; padding: 10px 20px; border-radius: 8px; transition: 0.3s; }
.btn-primary:hover { opacity: 0.9; }

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}
.hero h1 { font-size: 3em; margin-bottom: 20px; color: var(--dark); }
.hero p { font-size: 1.2em; color: #666; max-width: 600px; margin: 0 auto 40px; }

/* Forms */
.auth-box {
    max-width: 400px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; font-family: 'Vazir';
}

/* Dashboard */
.dash-container { max-width: 800px; margin: 50px auto; background: white; padding: 30px; border-radius: 15px; }
.alert { padding: 15px; border-radius: 5px; margin-bottom: 20px; }
.alert-warning { background: #fff3cd; color: #856404; }
.alert-success { background: #d4edda; color: #155724; }

/* Business Card Design */
.card-body {
    background: linear-gradient(to bottom right, #6C63FF, #3F3D56);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.digital-card {
    background: rgba(255, 255, 255, 0.95);
    width: 350px;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.profile-pic {
    width: 100px; height: 100px; background: #ddd; border-radius: 50%; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center; font-size: 40px; color: #666;
}
.card-name { font-size: 1.5em; font-weight: bold; margin-bottom: 10px; }
.card-bio { color: #666; font-size: 0.9em; margin-bottom: 30px; }
.contact-links a {
    display: block;
    background: white;
    border: 1px solid #eee;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 10px;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.contact-links a:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }