/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

.hsp-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--hsp-bg, #f8fafc);
    color: var(--hsp-text, #0f172a);
    padding: 20px 0px;
    box-sizing: border-box;
    z-index: 1;
}

.hsp-hero * {
    box-sizing: border-box;
}

/* Modern Abstract Shapes */
.hsp-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    z-index: -1;
    animation: hspFloatShape 12s ease-in-out infinite;
}
.hsp-shape-1 {
    width: 600px; height: 600px;
    background: none;
    top: -200px; left: -150px;
}
.hsp-shape-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--hsp-secondary) 0%, transparent 70%);
    bottom: -150px; right: -100px;
    animation-delay: 2s;
}
.hsp-shape-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
    top: 30%; left: 40%;
    animation-delay: 4s;
    opacity: 0.3;
}

@keyframes hspFloatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Layout */
.hsp-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hsp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hsp-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

/* Typography & Content */
.hsp-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--hsp-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 9999px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hsp-text);
    margin-bottom: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.hsp-badge-dot {
    width: 10px; height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: hspPulseDot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes hspPulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: .7; }
}

.hsp-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.15;
    margin: 0 0 24px 0;
    font-weight: 700;
    color: var(--hsp-text);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hsp-hero-title { font-size: 56px; }
}
@media (min-width: 1024px) {
    .hsp-hero-title { font-size: 65px; }
}

.hsp-text-gradient {
    background: linear-gradient(135deg, var(--hsp-primary), var(--hsp-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--hsp-primary); /* fallback */
}

.hsp-hero-subtitle {
    font-size: 18px;
    color: var(--hsp-text);
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 36rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Buttons */
.hsp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 48px;
}

.hsp-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--hsp-primary), var(--hsp-secondary));
    padding: 16px 36px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hsp-btn-icon {
    width: 20px; height: 20px;
    transition: transform 0.3s;
}

.hsp-btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.hsp-btn-cta:hover .hsp-btn-icon {
    transform: translateX(4px);
}

.hsp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--hsp-border);
    color: var(--hsp-text);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.hsp-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--hsp-bg);
    border-radius: 50%;
    color: var(--hsp-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hsp-play-icon svg {
    width: 14px; height: 14px;
    margin-left: 2px;
}

.hsp-btn-secondary:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Stats */
.hsp-stats {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 24px 32px;
    border-radius: 24px;
    border: 1px solid var(--hsp-border);
}

.hsp-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hsp-stat-num {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--hsp-primary), var(--hsp-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hsp-stat-label {
    font-size: 14px;
    color: var(--hsp-text);
    opacity: 0.7;
    font-weight: 500;
}

.hsp-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--hsp-border);
}

/* Visual Side - Modern Rings */
.hsp-hero-visual {
    position: relative;
    display: none;
}
@media (min-width: 1024px) {
    .hsp-hero-visual { display: block; }
}

.hsp-visual-wrap {
    position: relative;
    width: 100%;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rings */
.hsp-rings {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    z-index: 1;
}

.hsp-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px dashed var(--hsp-border);
    opacity: 0.6;
}

.hsp-ring-1 { width: 300px; height: 300px; animation: hspSpin 30s linear infinite; }
.hsp-ring-2 { width: 440px; height: 440px; animation: hspSpin 45s linear infinite reverse; }
.hsp-ring-3 { width: 580px; height: 580px; border-style: solid; opacity: 0.2; animation: hspSpin 60s linear infinite; }

@keyframes hspSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Center Core */
.hsp-center-core {
    position: relative;
    z-index: 5;
}

.hsp-core-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 180px; height: 180px;
    background: var(--hsp-primary);
    filter: blur(40px);
    opacity: 0.4;
    border-radius: 50%;
    animation: hspPulseGlow 3s ease-in-out infinite alternate;
}

@keyframes hspPulseGlow {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    to { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.hsp-center-circle {
    position: relative;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 0 0 8px rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hsp-text-center {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hsp-center-emoji {
    font-size: 100px;
    margin: 0;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.1));
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}
.hsp-center-emoji img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    box-shadow: none;
}

/* Orbiting Avatars */
.hsp-avatar {
    position: absolute;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hsp-av-inner {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--hsp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden; /* For images */
}

.hsp-av-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hsp-avatar:hover .hsp-av-inner {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--hsp-primary);
}

.hsp-avatar:hover .hsp-av-inner img {
    transform: scale(1.15);
    filter: contrast(1.1) saturate(1.15);
}

/* Placing Avatars along rings */
.hsp-av-1 { top: 0%; left: 50%; margin-left: -45px; margin-top: -45px; animation: hspFloatIcon 5s ease-in-out infinite; }
.hsp-av-2 { top: 25%; right: 10%; margin-right: -45px; animation: hspFloatIcon 6s ease-in-out infinite 1s; }
.hsp-av-3 { bottom: 15%; right: 20%; margin-right: -45px; animation: hspFloatIcon 5.5s ease-in-out infinite 2s; }
.hsp-av-4 { bottom: 10%; left: 15%; margin-left: -45px; animation: hspFloatIcon 6.5s ease-in-out infinite 3s; }
.hsp-av-5 { top: 20%; left: 5%; margin-left: -45px; animation: hspFloatIcon 5s ease-in-out infinite 4s; }

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

/* Animations */
.hsp-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.hsp-reveal.hsp-active {
    animation: hspRevealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hspRevealUp {
    to { opacity: 1; transform: translateY(0); }
}

.hsp-reveal-d1 { animation-delay: 0.1s; }
.hsp-reveal-d2 { animation-delay: 0.2s; }
.hsp-reveal-d3 { animation-delay: 0.3s; }
.hsp-reveal-d4 { animation-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hsp-hero { padding: 20px 0px; min-height: auto; }
    .hsp-grid { gap: 40px; }
    .hsp-stats { flex-direction: column; align-items: center; text-align: center; gap: 20px; width: 100%; }
    .hsp-stat-item { align-items: center; }
    .hsp-stat-divider { width: 100%; height: 1px; }
    .hsp-actions { flex-direction: column; width: 100%; }
    .hsp-btn-cta, .hsp-btn-secondary { width: 100%; justify-content: center; }
}