/* ============================================================
   AKVIM TV - MAIN STYLES
   ============================================================
   استایل‌های اصلی: Background, Header, Hero, Countdown, Features, Footer, Launch Bar
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #e63946;
    --dark-red: #b71c2c;
    --deep-black: #08080c;
    --card-bg: rgba(18, 18, 26, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #9a9aae;
    --accent: #ff4d5e;
    --gold: #f4c430;
}

html, body {
    min-height: 100vh;
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--deep-black);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* ============ BACKGROUND ============ */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(230, 57, 70, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(183, 28, 44, 0.14) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(244, 196, 48, 0.04) 0%, transparent 70%),
        linear-gradient(135deg, #08080c 0%, #12121a 50%, #08080c 100%);
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 1;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: 2;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(230, 57, 70, 0.18);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: rgba(183, 28, 44, 0.14);
    bottom: -180px;
    right: -180px;
    animation-delay: -10s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(244, 196, 48, 0.06);
    top: 40%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.95); }
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(8, 8, 12, 0.7);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 4px 24px rgba(230, 57, 70, 0.45);
    position: relative;
    overflow: hidden;
}

.brand-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
    animation: shine 3.5s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-name .tv-badge {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    background: var(--primary-red);
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-left: 2px;
    transform: translateY(-1px);
}

.brand-tagline {
    font-size: 10px;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 5px;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: rgba(255,255,255,0.03);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* ============ MAIN ============ */
.main {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 140px 40px 80px;
}

.content {
    width: 100%;
    max-width: 1150px;
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ HERO ============ */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-left {
    animation: fadeUp 1.2s ease 0.1s both;
}

.status-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-red);
    padding: 8px 16px;
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 100px;
    background: rgba(230, 57, 70, 0.08);
    margin-bottom: 28px;
}

.status-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-red);
    animation: pulse 1.5s ease-in-out infinite;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

h1 .highlight {
    color: var(--primary-red);
    position: relative;
    display: inline-block;
}

h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 14px;
    background: rgba(230, 57, 70, 0.18);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 520px;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 6px 12px;
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.domain-badge svg {
    color: var(--primary-red);
}

/* ============ DATE CARD ============ */
.date-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.date-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(230, 57, 70, 0.12);
    border: 1px solid rgba(230, 57, 70, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    flex-shrink: 0;
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.date-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
}

.date-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

/* ============ COUNTDOWN CARD ============ */
.hero-right {
    animation: fadeUp 1.2s ease 0.2s both;
}

.countdown-card {
    padding: 36px 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.countdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.countdown-title {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 700;
}

.countdown-badge {
    font-size: 10px;
    padding: 5px 10px;
    background: rgba(230, 57, 70, 0.15);
    color: var(--accent);
    border-radius: 6px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.time-unit {
    text-align: center;
    padding: 18px 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.time-unit:hover {
    border-color: rgba(230, 57, 70, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.15);
}

.time-unit::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-unit:hover::after {
    opacity: 1;
}

.time-number {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #fff 0%, #b0b0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.time-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 8px;
    display: block;
}

/* ============ PROGRESS ============ */
.progress-wrapper {
    margin-top: 4px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.progress-track {
    height: 6px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--dark-red), var(--primary-red), var(--accent));
    border-radius: 10px;
    transition: width 1s linear;
    position: relative;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.6);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ============ FEATURES ============ */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeUp 1.2s ease 0.3s both;
}

.feature {
    padding: 26px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    margin-bottom: 16px;
}

.feature-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ FOOTER ============ */
.footer {
    position: relative;
    z-index: 10;
    padding: 24px 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(8, 8, 12, 0.5);
    backdrop-filter: blur(20px);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    font-weight: 600;
    color: var(--text-primary);
}

.footer-brand span {
    color: var(--primary-red);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.social-link svg {
    width: 15px;
    height: 15px;
}

/* ============ FLOATING LAUNCH BUTTONS ============ */
.launch-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 400;
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(18, 18, 26, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.launch-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.launch-btn:hover {
    background: rgba(230, 57, 70, 0.15);
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
}

.launch-btn.active {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-color: var(--primary-red);
    color: #fff;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.5);
}

.launch-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(230, 57, 70, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.launch-btn:hover .launch-btn-icon,
.launch-btn.active .launch-btn-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.launch-btn-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
}

.launch-btn-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.launch-btn-sub {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.6;
    line-height: 1.2;
}

.launch-btn.active .launch-btn-sub {
    opacity: 0.85;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 14px 20px;
    }

    .main {
        padding: 120px 20px 140px;
    }

    .footer {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        padding-bottom: 140px;
    }

    .launch-bar {
        bottom: 15px;
        left: 15px;
        right: 15px;
        transform: none;
        justify-content: center;
        padding: 8px;
        gap: 6px;
    }

    .launch-btn {
        padding: 10px 14px;
        flex: 1;
        justify-content: center;
    }

    .launch-btn-label {
        display: none;
    }

    .launch-btn-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .brand-name { font-size: 19px; }
    .brand-tagline { font-size: 8px; letter-spacing: 2px; }
    .brand-logo { width: 42px; height: 42px; font-size: 20px; }
    .live-badge { display: none; }
    .date-card { width: 100%; }
    .countdown-card { padding: 24px 20px; }
    .date-value { font-size: 12px; }
}