/* ==========================================================================
   Web Font Declarations (IRANYekanWeb)
   ========================================================================== */
@font-face {
    font-family: 'IRANYekanWeb';
    src: url('fonts/IRANYekanWebThin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanWeb';
    src: url('fonts/IRANYekanWebLight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanWeb';
    src: url('fonts/IRANYekanWebRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanWeb';
    src: url('fonts/IRANYekanWebMedium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanWeb';
    src: url('fonts/IRANYekanWebBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanWeb';
    src: url('fonts/IRANYekanWebExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanWeb';
    src: url('fonts/IRANYekanWebBlack.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Design System & Custom Properties (Apple-inspired Theme)
   ========================================================================== */
:root {
    --bg-color: #04040a;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: #a1a1a6;
    --accent-color: #0a84ff;
    --accent-glow: rgba(10, 132, 255, 0.25);
    --success-color: #30d158;
    
    /* Font stacks */
    --font-fa: 'IRANYekanWeb', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Animation easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    height: 100%;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-fa);
    background: radial-gradient(circle at 50% 50%, #0c0d24 0%, #04050d 65%, #010103 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern responsive text scaling */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

/* ==========================================================================
   Ambient Background Blobs & Lights
   ========================================================================== */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

.bg-glow-1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.55) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation: float-blob-1 25s infinite alternate ease-in-out;
}

.bg-glow-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation: float-blob-2 20s infinite alternate ease-in-out;
}

.bg-glow-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, transparent 70%);
    top: 40%;
    left: 20%;
    animation: float-blob-3 30s infinite alternate ease-in-out;
}

@keyframes float-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 80px) scale(1.15); }
}

@keyframes float-blob-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, -120px) scale(0.9); }
}

@keyframes float-blob-3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, -50px) scale(1.2); }
}

/* ==========================================================================
   Page Layout & Container
   ========================================================================== */
.container {
    width: 100%;
    max-width: 620px;
    padding: 24px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   Glassmorphic Card
   ========================================================================== */
.card {
    position: relative;
    width: 100%;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 48px 40px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 40px rgba(255, 255, 255, 0.01);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.6s var(--ease-out-expo), border-color 0.4s ease;
    
    /* Animation entry */
    animation: card-appear 1.2s var(--ease-out-expo) forwards;
}

@keyframes card-appear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Glass Spotlight Hover Effect */
.spotlight {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(
        450px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(255, 255, 255, 0.09) 0%,
        rgba(10, 132, 255, 0.04) 40%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card:hover .spotlight {
    opacity: 1;
}

/* ==========================================================================
   Logo & Branding Section
   ========================================================================== */
.logo-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.03);
    transition: transform 0.4s var(--ease-out-expo);
}

.logo-wrapper::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 40%, rgba(255, 255, 255, 0.05));
    border-radius: 30px;
    z-index: -1;
    pointer-events: none;
}

.logo {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    transition: transform 0.6s var(--ease-out-expo);
}

.card:hover .logo-wrapper {
    transform: translateY(-5px);
    box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.3);
}

.card:hover .logo {
    transform: scale(1.04);
}

/* Brand Title & Headings */
.brand-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.coming-soon-text {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 32px;
    text-wrap: balance;
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
    margin-bottom: 32px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-info {
    width: 100%;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.contact-info h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 24px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

.contact-item {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 18px 20px;
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s var(--ease-out-expo);
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(10, 132, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 40px rgba(10, 132, 255, 0.15);
}

.icon-wrapper {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: rgba(0, 113, 227, 0.1);
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    box-shadow: 0 4px 12px var(--accent-glow);
    transition: transform 0.3s ease;
}

.contact-item:hover .icon-wrapper {
    transform: scale(1.08) rotate(-4deg);
}

.details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Phone details styling */
.phone-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.phone-link {
    font-family: var(--font-fa);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    direction: ltr;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.phone-link:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.bullet {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    user-select: none;
}

/* Address details styling */
.address-text {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.7;
    text-align: justify;
}

/* ==========================================================================
   Social Media Links Styling
   ========================================================================== */
.social-links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    animation: fade-slide-up 1.4s var(--ease-out-expo) forwards;
}

.social-title {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.social-link-item {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link-item svg {
    transition: transform 0.4s var(--ease-out-expo);
}

/* Hover effects with elegant brand brand glows */
.social-link-item:hover {
    transform: translateY(-4px) scale(1.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.social-link-item:hover svg {
    transform: scale(1.1);
}

.social-link-item.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    box-shadow: 0 8px 24px rgba(214, 36, 159, 0.35);
    border-color: transparent;
}

.social-link-item.telegram:hover {
    background-color: #0088cc;
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.35);
    border-color: transparent;
}

.social-link-item.whatsapp:hover {
    background-color: #25d366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    border-color: transparent;
}

.social-link-item.aparat:hover {
    background-color: #df0852;
    box-shadow: 0 8px 24px rgba(223, 8, 82, 0.35);
    border-color: transparent;
}

@keyframes fade-slide-up {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 520px) {
    .card {
        padding: 36px 24px;
        border-radius: 24px;
    }
    
    .logo-wrapper {
        width: 110px;
        height: 110px;
        margin-bottom: 20px;
    }
    
    .logo {
        max-width: 68px;
        max-height: 68px;
    }
    
    .brand-title {
        font-size: 1.8rem;
    }
    
    .coming-soon-text {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .divider {
        margin-bottom: 24px;
    }
    
    .contact-item {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .phone-links {
        gap: 4px;
    }
    
    .phone-link {
        font-size: 1rem;
    }
    
    .address-text {
        font-size: 0.9rem;
    }

    .social-link-item {
        width: 46px;
        height: 46px;
    }
}
