@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --primary-glow: rgba(16, 185, 129, 0.35);
    --bg-dark: #07090e;
    --card-bg: rgba(13, 20, 36, 0.62);
    --card-border: rgba(255, 255, 255, 0.12);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    position: relative;
}

/* =========================================
   Apple Interactive Aurora / Mesh Background
   ========================================= */
.aurora-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    display: block;
    filter: blur(46px) saturate(185%) contrast(115%) brightness(105%);
    transform: scale(1.08); /* prevents blur edges */
}

/* Subtle Apple-style film grain overlay for organic texture */
.aurora-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Dark cinematic vignette around edges */
.aurora-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, transparent 32%, rgba(7, 9, 14, 0.88) 100%);
}

/* Main Container */
.container {
    width: 100%;
    max-width: 680px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    position: relative;
}

/* Header & Brand */
.brand-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-wrapper {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    margin-bottom: 4px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.logo-wrapper:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 20px 40px var(--primary-glow);
}

.brand-icon {
    font-size: 36px;
    color: var(--primary-light);
    filter: drop-shadow(0 2px 12px var(--primary));
}

.brand-name {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 40%, #a7f3d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.brand-name span {
    color: var(--primary-light);
    -webkit-text-fill-color: var(--primary-light);
}

.company-tagline {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: -0.2px;
}

/* Main Card (Apple Frosted Glass) */
.card {
    width: 100%;
    background: rgba(10, 14, 26, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 40px 36px;
    box-shadow: 
        0 28px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 2px rgba(255, 255, 255, 0.28),
        inset 0 -1px 1px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(34px) saturate(220%) brightness(108%);
    -webkit-backdrop-filter: blur(34px) saturate(220%) brightness(108%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: blink 1.6s infinite ease-in-out;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.75); }
}

.headline {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.6;
    color: #ffffff;
}

.description {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.85;
    max-width: 550px;
}

/* Progress */
.progress-box {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

#progress-percent {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.95rem;
}

.progress-bar-bg {
    width: 100%;
    height: 9px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #06b6d4, #8b5cf6);
    border-radius: 100px;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
    margin-top: 4px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item i {
    font-size: 1.45rem;
    color: var(--primary-light);
    transition: transform 0.28s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-3px);
}

.feature-item:hover i {
    transform: scale(1.15);
}

/* Contact */
.contact-section {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding-top: 22px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.contact-title {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    direction: ltr;
    backdrop-filter: blur(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn:hover {
    background: #10b981;
    color: #03231a;
    font-weight: 600;
    border-color: #34d399;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    text-align: center;
    font-size: 0.84rem;
    color: #64748b;
}

.footer strong {
    color: #94a3b8;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .card {
        padding: 28px 20px;
        border-radius: 22px;
        gap: 18px;
    }
    
    .headline {
        font-size: 1.3rem;
    }
    
    .description {
        font-size: 0.92rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature-item {
        flex-direction: row;
        justify-content: flex-start;
        padding: 14px 18px;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }
}
