/* ═══════════════════════════════════════════════════════
   WELCH MARKETING — Homepage Styles (v2)
   Bold hero with animated floating cards
   ═══════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────── */
.hero {
    padding: 9rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: var(--charcoal);
    color: var(--white);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--orange);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: #4A90D9;
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 136, 0, 0.1);
    border: 1px solid rgba(255, 136, 0, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 1.75rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero title */
.hero-title {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    line-height: 1.1;
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--orange) 0%, #FFB800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    max-width: 520px;
}

.hero-subtitle strong {
    color: var(--white);
    font-weight: 600;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 2.25rem;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero trust */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.25rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.trust-stars {
    display: flex;
    gap: 2px;
}

.hero-trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
}

/* ── Hero floating cards ───────────────────────────── */
.hero-cards-stack {
    position: relative;
    height: 420px;
}

.hero-float-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.hero-float-main {
    width: 100%;
    max-width: 380px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    animation: floatMain 6s ease-in-out infinite;
}

@keyframes floatMain {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
}

.float-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.float-dot.green { background: var(--green); }

.float-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.float-stat { text-align: center; }

.float-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.float-stat-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.15rem;
}

.float-card-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.float-card-period {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Mini floating cards */
.hero-float-mini {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    max-width: 250px;
    z-index: 2;
}

.hero-float-mini strong {
    display: block;
    color: var(--white);
    font-size: 0.85rem;
}

.hero-float-mini span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.hero-float-seo {
    bottom: 100px;
    right: 0;
    animation: floatSeo 7s ease-in-out infinite;
}

@keyframes floatSeo {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.hero-float-web {
    top: 60px;
    right: -10px;
    animation: floatWeb 8s ease-in-out infinite;
}

@keyframes floatWeb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-float-leads {
    bottom: 10px;
    left: 20px;
    animation: floatLeads 5s ease-in-out infinite;
}

@keyframes floatLeads {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-1deg); }
}

/* ── Hero service pills row ────────────────────────── */
.hero-services-row {
    display: flex;
    gap: 1rem;
    margin-top: 3.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-service-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
}

.hero-service-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.pill-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-icon--blue { background: rgba(74, 144, 217, 0.15); color: #4A90D9; }
.pill-icon--orange { background: rgba(255, 136, 0, 0.15); color: var(--orange); }
.pill-icon--green { background: rgba(16, 185, 129, 0.15); color: #10B981; }

.pill-arrow {
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(-4px);
}

.hero-service-pill:hover .pill-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Trust Bar ─────────────────────────────────────── */
.trust-bar {
    padding: 2.5rem 0;
    background: var(--off-white);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.trust-stat {
    padding: 0.5rem;
}

.trust-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--charcoal);
}

.trust-label {
    display: block;
    font-size: 0.8rem;
    color: var(--mid-grey);
    margin-top: 0.25rem;
}

/* ── Logo placeholder styling ──────────────────────── */
.logo-placeholder {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-placeholder .logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--charcoal);
    letter-spacing: -0.03em;
}

.logo-placeholder .logo-sub {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-top: 1px;
}

.footer-logo .logo-placeholder .logo-text {
    color: var(--white);
}

.footer-logo .logo-placeholder .logo-sub {
    color: rgba(255, 255, 255, 0.4);
}

/* ── Calculator note ───────────────────────────────── */
.calc-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--blue-light);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--mid-grey);
    margin-top: 0.5rem;
}

.calc-note svg { flex-shrink: 0; margin-top: 1px; }

.range-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--mid-grey);
    margin-top: 0.35rem;
}

.range-info .range-value {
    font-weight: 700;
    color: var(--orange);
}
