/* --- تنظیمات پایه --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;

    /* پس‌زمینه فیبر کربن */
    background-color: #151515;
    background-image: 
        linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000),
        linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    box-shadow: inset 0 0 150px rgba(0,0,0,0.9);
}

.main-wrapper {
    width: 100%;
    max-width: 480px; /* استاندارد موبایل */
    text-align: center;
    padding: 15px;
    z-index: 1;
    box-sizing: border-box;
}

/* --- هدر --- */
.logo-icon i {
    font-size: 3.5rem;
    color: #00e676;
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.5);
    margin-bottom: 10px;
}

header h1 {
    font-size: 1.3rem;
    margin: 10px 0 20px 0;
    text-shadow: 2px 2px 4px #000;
    line-height: 1.6;
}

/* --- انیمیشن باتری --- */
.battery-section {
    margin: 20px auto;
    position: relative;
    width: 140px;
}

.battery-shell {
    width: 120px;
    height: 180px;
    border: 6px solid #555;
    border-radius: 20px;
    background: rgba(0,0,0,0.6);
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 25px rgba(0,0,0,0.9);
}

.battery-cap {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 15px;
    background: #555;
    border-radius: 6px 6px 0 0;
}

.battery-level {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
    top: 6px;
    border-radius: 12px;
    overflow: hidden;
    background: #222;
}

.liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #d50000, #ffea00, #00e676);
    animation: fillBattery 6s infinite ease-in-out;
    box-shadow: 0 0 40px rgba(0, 230, 118, 0.5);
}

@keyframes fillBattery {
    0% { height: 10%; filter: hue-rotate(-30deg); }
    50% { height: 60%; filter: hue-rotate(0deg); }
    100% { height: 95%; filter: hue-rotate(10deg); }
}

/* حباب‌ها */
.bubble {
    position: absolute;
    bottom: -10px;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: riseBubble 4s infinite linear;
}
.bubble:nth-child(2) { left: 30%; animation-delay: 1s; transform: scale(0.7); }
.bubble:nth-child(3) { left: 70%; animation-delay: 2.5s; transform: scale(1.2); }

@keyframes riseBubble {
    0% { bottom: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { bottom: 100%; opacity: 0; }
}

.charging-text {
    margin-top: 20px;
    color: #00e676;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    animation: blinkText 2s infinite;
    white-space: nowrap;
    width: max-content;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes blinkText {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px #00e676; }
    50% { opacity: 0.5; text-shadow: none; }
}

/* ============================================================
   4. CONTACT CARD (کارت تماس و خدمات)
   شامل: کادر زرد، کادر نارنجی، دکمه‌ها و آدرس
   ============================================================ */

/* --- بدنه اصلی کارت (شیشه‌ای) --- */
.contact-card {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #00e676; /* نوار سبز بالا */
    border-radius: 20px;
    padding: 25px 15px;
    margin-top: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

/* --- شماره تماس --- */
.phone-display {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 900;
    text-decoration: none;
    font-family: sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    margin-bottom: 25px;
}

.flip-icon {
    font-size: 1.8rem;
    color: #00e676;
    margin-right: 15px;
    transform: scaleX(-1);
}

/* --- کادر زرد (خدمات اصلی) --- */
.service-badge {
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107; /* زرد طلایی */
    padding: 10px 5px;
    border-radius: 50px; /* کاملا گرد */
    font-size: 0.95rem;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
    text-align: center;
}

.brand-name {
    color: #aaa;
    font-weight: normal;
    font-size: 0.85rem;
    margin-right: 5px;
}

/* --- کادر نارنجی (ماشین سنگین) - جدید --- */
.heavy-duty-badge {
    background: linear-gradient(90deg, rgba(255, 87, 34, 0.15), rgba(255, 87, 34, 0.25), rgba(255, 87, 34, 0.15));
    border: 1px solid rgba(255, 87, 34, 0.5); /* نارنجی */
    border-radius: 15px;
    padding: 15px 10px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: inset 0 0 15px rgba(255, 87, 34, 0.1);
}

.badge-title {
    color: #ff5722; /* نارنجی پررنگ */
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.badge-subtitle {
    color: #ffccbc; /* نارنجی خیلی روشن */
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- آدرس --- */
.address-box p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: center;
}

/* --- دکمه‌ها و خط جداکننده --- */
.divider-line {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 20px 0;
}

/* دکمه تماس اصلی */
.main-call-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #00c853, #64dd17);
    color: #000;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
    animation: pulseBtn 2s infinite;
}

.main-call-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.4), transparent);
    opacity: 0.3;
}

.btn-content {
    text-align: right;
}

.btn-content span {
    display: block;
    font-weight: 900;
    font-size: 1.1rem;
}

.btn-content small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* --- کانتینر دکمه‌های کنار هم --- */
.action-buttons {
    display: flex;
    gap: 10px; /* فاصله بین دو دکمه */
    margin-top: 20px;
    margin-bottom: 15px;
}

/* --- دکمه تماس (سبز و پهن) --- */
.btn-call-compact {
    flex: 3; /* یعنی ۳ واحد فضا بگیره (پهن‌تر) */
    background: linear-gradient(135deg, #00c853, #64dd17);
    color: #000;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
    transition: transform 0.2s;
}

.btn-call-compact i {
    font-size: 1.3rem;
    margin-left: 10px;
}

/* انیمیشن لرزش ملایم برای آیکون تلفن */
.shake-icon {
    animation: shakePhone 3s infinite;
}

@keyframes shakePhone {
    0%, 90% { transform: rotate(0deg); }
    92% { transform: rotate(-15deg); }
    94% { transform: rotate(15deg); }
    96% { transform: rotate(-15deg); }
    98% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

/* --- دکمه اینستاگرام (مربعی و خاص) --- */
.btn-insta-compact {
    flex: 1; /* یعنی ۱ واحد فضا بگیره (کوچکتر) */
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #8e44ad);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(188, 24, 136, 0.3);
    transition: transform 0.2s;
}

.btn-insta-compact i {
    color: #fff;
    font-size: 1.8rem; /* آیکون بزرگ */
}

/* افکت کلیک */
.btn-call-compact:active, .btn-insta-compact:active {
    transform: scale(0.95);
}

/* --- لینک مسیریابی (خیلی ساده و مینیمال زیر دکمه‌ها) --- */
.simple-map-link {
    display: block;
    text-align: center;
    color: #64b5f6; /* آبی روشن */
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 10px;
    opacity: 0.8;
}

.simple-map-link:hover {
    opacity: 1;
    text-decoration: underline;
}