/* =========================================================
   Coming Soon - Shared Styles
   ========================================================= */

:root {
    --primary: #0066cc;
    --primary-dark: #004a99;
    --primary-light: #e6f0fa;
    --bg: #0a0e1a;
    --bg-2: #131829;
    --text: #ffffff;
    --text-muted: #a8b0bf;
    --border: #2a3142;
    --radius: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* پس‌زمینه گرادیان */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 102, 204, .15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 204, .1) 0%, transparent 50%);
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

/* کانتینر اصلی */
.container {
    width: 100%;
    max-width: 640px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* لوگو */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.logo-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 102, 204, .3);
    transition: transform .3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo-icon svg {
    width: 40px;
    height: 40px;
    fill: #fff;
}

/* بج */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: .5px;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.2); }
}

/* عنوان */
h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -.5px;
}

h1 span {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* شعار */
.tagline {
    font-size: clamp(16px, 2.5vw, 19px);
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 500;
    line-height: 1.8;
}

/* توضیح */
.description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.9;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* کارت */
.card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

/* فرم خبرنامه */
.newsletter {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.newsletter input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s ease;
}

.newsletter input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter input::placeholder {
    color: var(--text-muted);
}

.newsletter button {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, .3);
}

.newsletter button:active {
    transform: translateY(0);
}

/* شبکه‌های اجتماعی */
.social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all .2s ease;
    text-decoration: none;
}

.social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.social a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* فوتر */
footer {
    margin-top: 40px;
    font-size: 13px;
    color: var(--text-muted);
}

footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* ریسپانسیو */
@media (max-width: 576px) {
    body {
        padding: 16px;
    }
    
    .card {
        padding: 24px 16px;
    }
    
    .newsletter {
        flex-direction: column;
    }
    
    .newsletter button {
        width: 100%;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* انیمیشن */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > * {
    animation: fadeInUp .6s ease backwards;
}

.container > *:nth-child(1) { animation-delay: .1s; }
.container > *:nth-child(2) { animation-delay: .2s; }
.container > *:nth-child(3) { animation-delay: .3s; }
.container > *:nth-child(4) { animation-delay: .4s; }
.container > *:nth-child(5) { animation-delay: .5s; }
.container > *:nth-child(6) { animation-delay: .6s; }
