/* ============================================================
   HERO.CSS – Hero Section Styles
   ============================================================ */

.hero-section {
    background: var(--grad-hero);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: background 0.35s ease;
}

/* ── Background Pattern ──────────────────────────────────── */
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, var(--hero-overlay-1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, var(--hero-overlay-2) 0%, transparent 40%);
    pointer-events: none;
}

.hero-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--hero-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ── Hero Container ──────────────────────────────────────── */
.hero-container {
    position: relative;
    z-index: 2;
}

/* ── Hero Badge ────────────────────────────────────────── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--badge-text);
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 var(--glow-red); }
    50% { box-shadow: 0 0 0 6px transparent; }
}

/* ── Hero Title ──────────────────────────────────────────── */
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-title-accent {
    background: var(--grad-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

/* ── Hero Subtitle ───────────────────────────────────────── */
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
}

/* ── Hero CTA Buttons ────────────────────────────────────── */
.btn-hero-primary {
    background: var(--grad-primary);
    color: var(--on-primary) !important;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-blue);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 60, 143, 0.45);
}

.btn-hero-outline {
    background: var(--glass-bg);
    color: var(--text-primary) !important;
    border: 1.5px solid var(--glass-border);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.btn-hero-outline:hover {
    background: var(--badge-bg);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

/* ── Hero Tags ───────────────────────────────────────────── */
.hero-tag {
    display: inline-flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    border-radius: 50px;
    padding: 0.3rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

/* ── Hero Visual ─────────────────────────────────────────── */
.hero-visual-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
}

/* Orbiting rings */
.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed var(--hero-orbit);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 300px;
    height: 300px;
    animation: orbit-rotate 20s linear infinite;
}

.ring-2 {
    width: 380px;
    height: 380px;
    border-color: var(--hero-orbit);
    animation: orbit-rotate 30s linear infinite reverse;
}

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

/* Center dot */
.hero-center-dot {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--grad-mixed);
    box-shadow: var(--glow-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating cards */
.hero-float-card {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.main-card {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--grad-hero);
    border-color: var(--border-blue);
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    border-radius: 16px;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.hfc-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.hfc-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hfc-value {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.card-2 {
    top: 10%; left: -5%;
    animation: float-card 4s ease-in-out infinite;
    border-color: var(--border-blue);
}

.card-3 {
    bottom: 10%; right: -5%;
    animation: float-card 5s ease-in-out infinite 0.5s;
    border-color: var(--border-red);
}

.card-4 {
    bottom: 10%; left: 0%;
    animation: float-card 6s ease-in-out infinite 1s;
    border-color: var(--border-blue);
}

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

/* ── Scroll Indicator ────────────────────────────────────── */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--border-color);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

@media (max-width: 991px) {
    .hero-section { padding: 80px 0 40px; text-align: center; min-height: auto; }
    .hero-title { font-size: 2.2rem; margin-top: 0.5rem; }
    .hero-subtitle { margin: 1rem auto; font-size: 1rem; }
    .hero-cta-group { justify-content: center; margin-top: 1.5rem !important; }
    .hero-tags { justify-content: center; }
    .hero-visual-wrapper, 
    .hero-scroll-indicator { display: none; } /* Hide on smaller screens for cleaner UI */
}
