/* ═══════════════════════════════════════════
   HERO SECTION — White background + World Map
   ═══════════════════════════════════════════ */

.tds-hero {
    background: #ffffff;
    color: var(--tds-text);
    padding: var(--tds-space-3xl) 0 var(--tds-space-2xl);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--tds-border);
}

/* Dotted world map background — large, behind bubbles */
.tds-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 90%;
    height: 200%;
    background-image: url('../images/world-map-dots.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.tds-hero__inner {
    max-width: var(--tds-max-width);
    margin: 0 auto;
    padding: 0 var(--tds-space-lg);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--tds-space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.tds-hero__content {
    animation: fadeInUp 0.5s ease;
}

.tds-hero__title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--tds-space-sm);
    color: var(--tds-text);
}
.tds-hero__title span {
    color: var(--tds-primary-light);
}

.tds-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--tds-text-secondary);
    margin-bottom: var(--tds-space-md);
    line-height: 1.5;
}

.tds-hero__desc {
    font-size: 0.92rem;
    color: var(--tds-text-muted);
    line-height: 1.6;
    margin-bottom: var(--tds-space-xl);
    max-width: 480px;
}

.tds-hero__actions {
    display: flex;
    gap: var(--tds-space-md);
    flex-wrap: wrap;
}

/* Bubbles — colored icon boxes matching design exactly */
.tds-hero__bubbles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tds-space-md);
    animation: fadeInUp 0.5s ease 0.2s backwards;
    position: relative;
    z-index: 2;
}

.tds-hero__bubble {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--tds-border);
    border-radius: var(--tds-radius-md);
    text-align: left;
    text-decoration: none;
    color: var(--tds-text);
    transition: all var(--tds-transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tds-hero__bubble:hover {
    border-color: var(--tds-primary-light);
    box-shadow: var(--tds-shadow-md);
    transform: translateY(-2px);
    color: var(--tds-text);
}

.tds-hero__bubble-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--tds-radius-sm);
    font-size: 1.2rem;
    flex-shrink: 0;
    color: white;
}

/* Individual bubble icon colors matching design */
.tds-hero__bubble[data-tool="tds"] .tds-hero__bubble-icon { background: #1a2e6c; }
.tds-hero__bubble[data-tool="income-tax"] .tds-hero__bubble-icon { background: #2563eb; }
.tds-hero__bubble[data-tool="gst"] .tds-hero__bubble-icon { background: #059669; }
.tds-hero__bubble[data-tool="vat"] .tds-hero__bubble-icon { background: #7c3aed; }
.tds-hero__bubble[data-tool="salary"] .tds-hero__bubble-icon { background: #ea580c; }

.tds-hero__bubble-name {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--tds-text);
}

/* 2-row layout: top row 3, bottom row 2 centered */
.tds-hero__bubbles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tds-space-md);
}
.tds-hero__bubble:nth-child(4),
.tds-hero__bubble:nth-child(5) {
    /* These sit in the bottom row, offset to center */
}

@media (max-width: 768px) {
    .tds-hero__inner { grid-template-columns: 1fr; }
    .tds-hero__bubbles { grid-template-columns: repeat(3, 1fr); gap: var(--tds-space-sm); }
    .tds-hero__bubble { padding: 10px 12px; }
    .tds-hero__bubble-icon { width: 34px; height: 34px; font-size: 1rem; }
}
@media (max-width: 480px) {
    .tds-hero__bubbles { grid-template-columns: 1fr 1fr; }
}
