/* ═══════════════════════════════════════════════════
   TRUSTDSC CITY COVERAGE — FRONTEND STYLES
   Premium, modern design with animations
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.tdsc-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #0a0f1e 0%, #0d1b3e 50%, #0a1628 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

/* Animated background dots */
.tdsc-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Glowing orbs in background */
.tdsc-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tdsc-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── Section Header ─────────────────────────────── */
.tdsc-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.tdsc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.4);
    color: #60a5fa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.tdsc-badge::before {
    content: '📍';
    font-size: 14px;
}

.tdsc-section-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.tdsc-section-title span {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tdsc-section-sub {
    color: rgba(255,255,255,0.55);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── City Cards Grid ────────────────────────────── */
.tdsc-cities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .tdsc-cities-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .tdsc-cities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 420px) {
    .tdsc-cities-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── City Card ──────────────────────────────────── */
.tdsc-city-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 16px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
                border-color 0.3s ease,
                background 0.3s ease,
                box-shadow 0.3s ease;
    animation: tdsc-fade-up 0.5s ease both;
    backdrop-filter: blur(10px);
}

@keyframes tdsc-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Glowing background on hover */
.tdsc-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(37,99,235,0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tdsc-city-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(59,130,246,0.5);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(59,130,246,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.tdsc-city-card:hover .tdsc-card-glow {
    opacity: 1;
}

.tdsc-city-card:hover .tdsc-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.tdsc-city-card:hover .tdsc-card-emoji {
    transform: scale(1.2);
}

/* Ribbon */
.tdsc-card-ribbon {
    position: absolute;
    top: 10px;
    right: -20px;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    color: white;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 24px;
    transform: rotate(35deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tdsc-city-card:hover .tdsc-card-ribbon {
    opacity: 1;
}

.tdsc-card-emoji {
    font-size: 32px;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.tdsc-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tdsc-city-name {
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
    text-align: center;
}

.tdsc-city-tag {
    color: rgba(148,163,184,0.7);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.tdsc-card-arrow {
    color: #60a5fa;
    font-size: 16px;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ── Section Footer ─────────────────────────────── */
.tdsc-section-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 24px 32px;
    backdrop-filter: blur(10px);
}

.tdsc-footer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
}

.tdsc-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tdsc-stat-num small {
    font-size: 14px;
}

.tdsc-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
}

.tdsc-footer-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

.tdsc-footer-cta {
    padding: 0 0 0 32px;
}

.tdsc-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(22,163,74,0.3);
    white-space: nowrap;
}

.tdsc-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(22,163,74,0.5);
    color: #fff !important;
    text-decoration: none;
}

@media (max-width: 768px) {
    .tdsc-section { padding: 60px 16px; }
    .tdsc-section-footer { flex-direction: column; gap: 16px; padding: 24px 20px; }
    .tdsc-footer-divider { width: 60px; height: 1px; }
    .tdsc-footer-stat { padding: 0; }
    .tdsc-footer-cta { padding: 0; }
    .tdsc-wa-btn { font-size: 12px; }
}
